Downloads · 30 days
5
4% of all-time downloads
sa16feb24/jmpers-lig-auto-1-dsr1-l8b
jmpers-lig-auto-1-dsr1-l8b is a text generation model from sa16feb24. 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.
This is a fine-tuned version of the DeepSeek-R1-Distill-Llama-8B model <button class="citation-flag" data-index="1" using the sa16feb24/jmpers1 dataset via Lightning AI. The model is merged with LoRA adapters for effi…
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
139
Public
Repo size
32.1 GB
Likes
0
Public
Click a slice to open those files.
.bin16.1 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of the DeepSeek-R1-Distill-Llama-8B model <button class="citation-flag" data-index="1"> using the sa16feb24/jmpers1 dataset via Lightning AI. The model is merged with LoRA adapters for efficient deployment <button class="citation-flag" data-index="3">.
LoraConfig(
r=16,
lora_alpha=32,
target_modules=["q_proj", "v_proj"],
lora_dropout=0.1,
bias="none",
task_type="CAUSAL_LM"
)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained( "sa16feb24/jmpers-lig-auto-1-dsr1-l8b", torch_dtype="auto" ) tokenizer = AutoTokenizer.from_pretrained( "sa16feb24/jmpers-lig-auto-1-dsr1-l8b" )
inputs = tokenizer("How did the AI chatbot project improve HR efficiency?", return_tensors="pt") outputs = model.generate(**inputs, max_new_tokens=100) print(tokenizer.decode(outputs[0]))
Hardware: NVIDIA T4 GPU (Colab) Optimizations: 8-bit quantization Gradient checkpointing Mixed precision (FP16)