Text Generation
Transformers
Safetensors
TensorBoard
English
llama
bitsandbytes
deepseek
unsloth
text-generation-inference
5B
conversational
4-bit precision
How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Aeshp/deepseekR1_tunedchat" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Aeshp/deepseekR1_tunedchat",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "Aeshp/deepseekR1_tunedchat" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Aeshp/deepseekR1_tunedchat",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Aeshp/deepseekR1_tunedchat

This model is a fine-tuned version of deepseek-ai/DeepSeek-R1-Distill-Llama-8B, loaded via Unsloth in 4-bit as unsloth/DeepSeek-R1-Distill-Llama-8B-unsloth-bnb-4bit. It has been trained on customer service and general chat datasets:

The training was performed in three steps, and the final weights were merged with the base model and pushed here. It is a light model.

📝 License

This model is released under the MIT license, allowing free use, modification, and further fine-tuning.

💡 How to Fine-Tune Further

All code and instructions for further fine-tuning, inference, and pushing to the Hugging Face Hub are available in the open-source GitHub repository:
https://github.com/Aeshp/deepseekR1finetune

  • You can fine-tune this model on your own domain-specific data.
  • Please adjust hyperparameters and dataset size as needed.
  • Example scripts and notebooks are provided for both base model and checkpoint-based fine-tuning.

⚠️ Notes

  • The model may sometimes hallucinate, as is common with LLMs.
  • For best results, use a large, high-quality dataset for further fine-tuning to avoid overfitting.

📚 References

Hugging Face Models

Datasets

GitHub Repositories

Papers


For all usage instructions, fine-tuning guides, and code, please see the GitHub repository.

Downloads last month
15
Safetensors
Model size
8B params
Tensor type
F16
·
F32
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Aeshp/deepseekR1_tunedchat

Quantized
(47)
this model

Datasets used to train Aeshp/deepseekR1_tunedchat