Downloads · 30 days
6
6% of all-time downloads
venkateshchsagalm/SagaLM-slm1-merged
SagaLM-slm1-merged is a text generation model from venkateshchsagalm. Use it when you need the model to write or continue text. It is set up for transformers.
Standalone merged model: Qwen/Qwen2.5-3B-Instruct + SagaLM LoRA training.
Downloads · 30 days
6
6% of all-time downloads
All-time downloads
98
Public
Parameters
3.1B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
Standalone merged model: Qwen/Qwen2.5-3B-Instruct + SagaLM LoRA training.
Only samples with detailed, long assistant answers were kept, training the model to always respond comprehensively.
5 identity-focused training samples were injected to ensure the model consistently identifies as SagaLM (not Qwen or any other model).
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("venkateshchsagalm/SagaLM-slm1-merged", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("venkateshchsagalm/SagaLM-slm1-merged")
For best long answers, generate with:
model.generate(**inputs, max_new_tokens=2048, min_new_tokens=250,
temperature=0.7, top_p=0.9, repetition_penalty=1.1,
do_sample=True)