Downloads · 30 days
98
10% of all-time downloads
SLT-AI/SLT-0.5b-GoToSpeak
SLT-0.5b-GoToSpeak is a text generation model from SLT-AI. 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.
A small 0.5B parameter conversational model based on Qwen2.5-0.5B.
Downloads · 30 days
98
10% of all-time downloads
All-time downloads
1K
Public
Parameters
494M
1.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors988 MB · 71%
From the Hugging Face model README
A small 0.5B parameter conversational model based on Qwen2.5-0.5B.
The model was fine-tuned on 7500 examples.
The dataset includes:
Training method: Supervised Fine-Tuning (SFT).
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_name = "SLT-AI/SLT-0.5b-GoToSpeak"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [{"role": "user", "content": "Hello!"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))