Downloads · 30 days
24
31% of all-time downloads
its-magick/Llama-3.2-3b-Ultrachat
Llama-3.2-3b-Ultrachat is a text generation model from its-magick. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
24
31% of all-time downloads
All-time downloads
78
Public
Parameters
3.2B
6.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
import torch
from transformers import pipeline
model_id = "its-magick/Llama-3.2-3b-Ultrachat"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
{"role": "user", "content": "Who are you?"},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])