Downloads · 30 days
3
4% of all-time downloads
Canfield/llama-3-2-3b-instruct-new-atlas-dataset
llama-3-2-3b-instruct-new-atlas-dataset is a text generation model from Canfield. 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.
Fine-tuned version of meta-llama/Llama-3.2-3B-Instruct.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
71
Public
Parameters
3.3B
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
How the weights are stored.
U82.9B · 88%
From the Hugging Face model README
Fine-tuned version of meta-llama/Llama-3.2-3B-Instruct.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Canfield/llama-3-2-3b-instruct-new-atlas-dataset")
tokenizer = AutoTokenizer.from_pretrained("Canfield/llama-3-2-3b-instruct-new-atlas-dataset")
# Generate text
messages = [
{"role": "user", "content": "Hello, how are you?"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0]))