Downloads · 30 days
2
2% of all-time downloads
kmseong/llama3_2_3b_instruct_MATH_lr5e-5
llama3_2_3b_instruct_MATH_lr5e-5 is a machine learning model from kmseong. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a Safety Neuron-Tuned (SN-Tune) version of Llama-3.2-3B-Instruct.
Downloads · 30 days
2
2% of all-time downloads
All-time downloads
124
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
This is a Safety Neuron-Tuned (SN-Tune) version of Llama-3.2-3B-Instruct.
SN-Tune is a selective fine-tuning approach that:
This approach allows for:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "kmseong/llama3_2_3b_instruct_MATH_lr5e-5"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Generate text
prompt = "How can I help you today?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
print(tokenizer.decode(outputs[0]))
This model has been fine-tuned specifically for safety using the SN-Tune method. It should provide improved safety alignment compared to the base model.
This model is licensed under the Apache 2.0 License. See the base model (meta-llama/Llama-3.2-3B-Instruct) for more details.