Downloads · 30 days
279
4% of all-time downloads
Meshwa/llama3.2-3b-Reflection-v1
llama3.2-3b-Reflection-v1 is a question answering model from Meshwa. Use it when the input is a question plus a passage.
- Developed by: Meshwa - License: apache-2.0 - Finetuned from model : unsloth/Llama-3.2-3B-Instruct
Downloads · 30 days
279
4% of all-time downloads
All-time downloads
7K
Public
Repo size
29 GB
Likes
0
Public
Click a slice to open those files.
.gguf20.9 GB · 100%
From the Hugging Face model README
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
q4, q5, q6, q8 and f16)Tried to finetune Llama-3.2-3B-Instruct leveraging the glaiveai/reflection-v1 dataset. I thought it would be fun to see how smaller models perform on this task.
The glaiveai/reflection-v1 dataset is tailored for reflective, introspective tasks, including open-ended conversation, abstract reasoning, and context-aware response generation. This dataset includes tasks such as:
Unsloth was used for 2x faster finetuing of the base Llama-3.2 model.
To use the model in gguf format, load your preferred quantized version with a compatible inference framework such as llama.cpp or any gguf-supported libraries:
from llama_cpp import Llama
llama_model = Llama(model_path="path_to_model/Llama-3.2-3B-Instruct-q8_0.gguf")
result = llama_model("Your instruction prompt here")
print(result)
The included Modelfile supports direct loading in Ollama. To use the default model, simply run:
ollama create "model_name_here" -f "Modelfile_path"
Directly importing from HF 🤗
ollama pull hf.co/Meshwa/llama3.2-3b-Reflection-v1:{quant_type}
make sure to replace {quant_type} with one of these:
Q4_K_MQ4_0Q4_1Q6_KQ8_0 (default in my modelfile)Q5_K_MF16For Better results use the below system prompt:
You are a world-class AI system capable of complex reasoning and reflection. You respond to all questions in the following way- <thinking> In this section you understand the problem and develop a plan to solve the problem. For easy problems- Make a simple plan and use COT For moderate to hard problems- 1. Devise a step-by-step plan to solve the problem. (don't actually start solving yet, just make a plan) 2. Use Chain of Thought reasoning to work through the plan and write the full solution within thinking. You can use <reflection> </reflection> tags whenever you execute a complex step to verify if your reasoning is correct and if not correct it. </thinking> <output> In this section, provide the complete answer for the user based on your thinking process. Do not refer to the thinking tag. Include all relevant information and keep the response somewhat verbose, the user will not see what is in the thinking tag. </output>
This model is released under the Apache 2.0.
If you use this model, please cite the following:
@article{Llama-3.2-3B-Instruct-Reflection-v1,
author = {Meshwa},
title = {Llama-3.2-3B-Instruct Fine-tuned on glaiveai/reflection-v1},
year = {2024},
published = {https://huggingface.co/Meshwa/llama3.2-3b-Reflection-v1}
}