GGUF
English
qwen2
conversational
Smol-reason2 / README.md
Sweaterdog's picture
Update README.md
6541310 verified
|
raw
history blame
1.91 kB
metadata
license: apache-2.0

🧠Smol-Reason2🧠

This is my second GRPO reasoning model, I was exploring fine tuning on my own hardware, and found it to work with 3B models.

System prompt:

Respond in the following format:
<think>

...your reasoning here...

</think>

...your answer here...

When reasoning, encounter loops that go seemingly nowhere, contradict yourself in order to get the correct answer.
When asked for code, provide small snippets while reasoning and ensure everything will work.
When thinking, provide 5 different ideas, how you would do each, and then provide examples for all five. 
Before finishing your thinking, explain to yourself of what you will do, why you will do it, and then confirm what you're doing is the best idea.

And in accordance to the output format, the model responds like this:

<think>

Okay, lets break down the users issue.

...more reasoning...

Therefore x should be the answer
</think>

X is the answer because...

Features

Flexible reasoning

You can modify the system prompt to change the way the model reasons, by default, it is told to reason about code snippets, which I found works best for everything.

Logical reasoning

This is the first model I have seen which can answer "The Mango Puzzle", which goes like this:

If I give you 15 mangoes, and then you give 14 away, then recieve 60 more mangoes, how many mangoes did you not sell?

The correct answer is 75 Mangoes, most LLMs take "Give Away" as a form of sale, so they typically say 61 Mangoes

Code reasoning

This model is capable of reasoning about code snippets before responding. Even though it was not trained on any code, nor designed for coding, it can still beat some 7B or 14B non-reasoning code models.

Design

This model was trained off of Qwen2.5 3B and trained on OpenAI's gsm8k dataset, as well as the Andy-4-preview-reasoning dataset