Update README.md
Browse files
README.md
CHANGED
@@ -22,6 +22,50 @@ tags:
|
|
22 |
This model was converted to GGUF format from [`Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit`](https://huggingface.co/Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
23 |
Refer to the [original model card](https://huggingface.co/Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit) for more details on the model.
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
## Use with llama.cpp
|
26 |
Install llama.cpp through brew (works on Mac and Linux)
|
27 |
|
|
|
22 |
This model was converted to GGUF format from [`Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit`](https://huggingface.co/Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
23 |
Refer to the [original model card](https://huggingface.co/Solshine/reflection-llama-3.1-8B-Solshine-trainround4-16bit) for more details on the model.
|
24 |
|
25 |
+
|
26 |
+
# Full model info
|
27 |
+
|
28 |
+
- **Developed by:** Solshine (Caleb DeLeeuw)
|
29 |
+
- **License:** LLama 3.1 License
|
30 |
+
- **Finetuned from model :** Solshine/reflection-llama-3.1-8B-Solshine-trainround2-16bit
|
31 |
+
|
32 |
+
Inspired by and featuring the Reflection Tuning technique pioneered by Matt Shumer (possibly earlier innovated by the team at Anthropic.)
|
33 |
+
|
34 |
+
*To the authors' knowledge, this is V4 of the first "reflection tuned" Llama 3.1 8B LLM*
|
35 |
+
|
36 |
+
|
37 |
+
**As per the inspiring model "mattshumer/Reflection-Llama-3.1-70B" (this mode was not used in the training process nor as a foundational model, but only served as inspiration) :**
|
38 |
+
|
39 |
+
'''
|
40 |
+
|
41 |
+
During sampling, the model will start by outputting reasoning inside <thinking> and </thinking> tags, and then once it is satisfied with its reasoning, it will output the final answer inside <output> and </output> tags. Each of these tags are special tokens, trained into the model.
|
42 |
+
|
43 |
+
This enables the model to separate its internal thoughts and reasoning from its final answer, improving the experience for the user.
|
44 |
+
|
45 |
+
Inside the <thinking> section, the model may output one or more <reflection> tags, which signals the model has caught an error in its reasoning and will attempt to correct it before providing a final answer.
|
46 |
+
|
47 |
+
System Prompt:
|
48 |
+
The system prompt used for training this model is:
|
49 |
+
|
50 |
+
You are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags.
|
51 |
+
|
52 |
+
We recommend using this exact system prompt to get the best results from Reflection Llama-3.1 70B. You may also want to experiment combining this system prompt with your own custom instructions to customize the behavior of the model.
|
53 |
+
|
54 |
+
Chat Format:
|
55 |
+
As mentioned above, the model uses the standard Llama 3.1 chat format. Here’s an example:
|
56 |
+
|
57 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
58 |
+
|
59 |
+
You are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags.<|eot_id|><|start_header_id|>user<|end_header_id|>
|
60 |
+
|
61 |
+
what is 2+2?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
62 |
+
|
63 |
+
'''
|
64 |
+
|
65 |
+
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
66 |
+
|
67 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
68 |
+
|
69 |
## Use with llama.cpp
|
70 |
Install llama.cpp through brew (works on Mac and Linux)
|
71 |
|