Downloads · 30 days
29
7% of all-time downloads
alpha-ai/llama-3.2-3B-Reason-Reflect-Lite
llama-3.2-3B-Reason-Reflect-Lite is a text generation model from alpha-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.
<div align="center" <img src="https://cdn-uploads.huggingface.co/production/uploads/669777597cb32718c20d97e9/4emWKPB-RrifIbrCUjE8.png" alt="Title card" style="width: 500px; height: auto; object-position: center top;"…
Downloads · 30 days
29
7% of all-time downloads
All-time downloads
402
Public
Parameters
3.2B
12.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin6.4 GB · 50%
From the Hugging Face model README
Website - https://www.alphaai.biz
This model, llama-3.2-3B-Reason-Reflect-Lite, is a fine-tuned version of Llama-3.2-3B-Instruct designed to not only reason through problems but also introspect on the reasoning process itself before delivering the final response. Its unique selling proposition (USP) is that it generates both a detailed reasoning and an internal thought on why that reasoning was made, all before presenting the final answer.
llama-3.2-3B-Reason-Reflect-Lite has been finetuned using GRPO and advanced reward modelling techniques—including custom functions such as sequence_format_reward_func—to enforce a strict response structure and encourage deep reasoning. While we won't divulge all the details, these techniques ensure that the model generates responses in a precise sequence that includes both a detailed reasoning process and a subsequent internal reflection before providing the final answer.
The model is designed to generate responses in the following exact format:
Respond in the following exact format:
<think>
[Your detailed reasoning here...]
</think>
<reflection>
[Your internal thought process about the reasoning...]
</reflection>
<answer>
[Your final answer here...]
</answer>
<think> tags and follows it with an internal thought process (the "why" behind the reasoning) enclosed in <reflection> tags before giving the final answer in <answer> tags.llama-3.2-3B-Reason-Reflect-Lite is best suited for:
This model is released under the Apache-2.0 license.
Special thanks to the Unsloth team for providing an optimized training pipeline and to Hugging Face’s TRL library for enabling advanced fine-tuning techniques.
This model has been saved in the .bin format because it was trained using Unsloth. The .bin format is the default PyTorch serialization method and functions as expected. However, .bin files use Python's pickle module, which can execute arbitrary code during loading.
If security is a concern, we strongly recommend loading the model in a sandboxed environment such as staging servers, Kaggle, or Google Colab before deploying in production. You can also convert the model to .safetensors, a more secure and optimized format, using the following approach:
from transformers import AutoModel
from safetensors.torch import save_file
# Load model
model = AutoModel.from_pretrained("path/to/model")
state_dict = model.state_dict()
# Convert to safetensors
save_file(state_dict, "model.safetensors")
print("Model converted to safetensors successfully.")
Alternatively, you can use our GGUF models, which are optimized for inference with llama.cpp, exllama, and other efficient runtimes. GGUF provides better performance on CPU/GPU and is a more portable option for deployment.
Choose the format that best suits your security, performance, and deployment needs.