File size: 961 Bytes
db087b3 063abd0 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa db087b3 7ce6efa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
---
library_name: transformers
tags:
- trl
- sft
base_model:
- HuggingFaceTB/SmolLM2-1.7B-Instruct
datasets:
- ngxson/MiniThinky-dataset
---
# MiniThinky 1.7B (based on SmolLM2)
> [!IMPORTANT]
> This checkpoint still have a high loss value, so the model will hallucinate the response quite a lot.
My first trial to fine tune a small model to add reasoning capability.
Chat template is the same with llama 3, but the response will be as follow:
```
<|thinking|>{thinking_process}
<|answer|>
{real_answer}
```
## IMPORTANT: System message
The model is **very sensitive** to system message. Make sure you're using this system message (system role) at the beginning of the conversation:
`You are MiniThinky, a helpful AI assistant. You always think before giving the answer. Use <|thinking|> before thinking and <|answer|> before giving the answer.`
---
TODO: include more info here + maybe do some benchmarks? (Plz add a discussion if you're interested)
|