Downloads · 30 days
38
9% of all-time downloads
krishanwalia30/DeepSeek-R1-Distill-Alpaca-FineTuned
DeepSeek-R1-Distill-Alpaca-FineTuned is a text generation model from krishanwalia30. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
The DeepSeek-R1 Alpaca Fine-Tuned Model is a powerful large language model optimized for generating accurate, context-aware responses to domain-specific queries. Fine-tuned on Alpaca using specialized techniques, this…
Downloads · 30 days
38
9% of all-time downloads
All-time downloads
408
Public
Parameters
8B
32.1 GB on disk
Likes
5
Public
Click a slice to open those files.
.bin16.1 GB · 50%
From the Hugging Face model README
The DeepSeek-R1 Alpaca Fine-Tuned Model is a powerful large language model optimized for generating accurate, context-aware responses to domain-specific queries. Fine-tuned on Alpaca using specialized techniques, this model is tailored for advanced natural language understanding and generation tasks.
This fine-tuned model builds upon the foundational strengths of Alpaca while improving adaptability for research and enterprise applications, delivering enhanced performance and accuracy for custom use cases.
The model was fine-tuned using the DeepSeek approach, ensuring:
For a detailed walkthrough, please refer to this article on Medium.
The fine-tuned model achieves state-of-the-art performance metrics on specialized datasets:
To use this model, install the required packages and load the model directly from the Hugging Face Hub:
from transformers import AutoTokenizer, AutoModelForCausalLM
import onnxruntime
# Load Model and Tokenizer
model_name = "krishanwalia30/deepseek-r1-alpaca-finetuned"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Example Query
input_text = "What is the best way to fine-tune an AI model?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
response = tokenizer.decode(outputs[0])
print(response)
Thanks to the ongoing contributions from the ML community and readers who engage with the insights shared on Medium.
If you use this model, please cite the work as follows:
@article{DeepSeekFineTuning,
author = {Krishan Walia},
title = {DeepSeek Fine-Tuning Made Simple},
year = {2025},
journal = {Medium},
url = {https://medium.com/@krishanw30/deepseek-fine-tuning-made-simple-create-custom-ai-models-with-python-7b98f091c824}
}
We hope this model accelerates your AI development projects!
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.