Update README.md
Browse files
README.md
CHANGED
@@ -1,58 +1,21 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
-
|
7 |
-
- trl
|
8 |
-
- sft
|
9 |
-
licence: license
|
10 |
---
|
11 |
|
12 |
-
# Model
|
13 |
|
14 |
-
|
15 |
-
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
-
|
|
|
18 |
|
19 |
-
|
20 |
-
from transformers import pipeline
|
21 |
|
22 |
-
|
23 |
-
generator = pipeline("text-generation", model="qfq/Qwen2.5-32B-Instruct-20250208_093537", device="cuda")
|
24 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
-
print(output["generated_text"])
|
26 |
-
```
|
27 |
|
28 |
-
|
29 |
|
30 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/hashimoto-group/o1/runs/m1ilia77)
|
31 |
-
|
32 |
-
|
33 |
-
This model was trained with SFT.
|
34 |
-
|
35 |
-
### Framework versions
|
36 |
-
|
37 |
-
- TRL: 0.14.0
|
38 |
-
- Transformers: 4.48.3
|
39 |
-
- Pytorch: 2.3.1
|
40 |
-
- Datasets: 3.0.1
|
41 |
-
- Tokenizers: 0.21.0
|
42 |
-
|
43 |
-
## Citations
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
Cite TRL as:
|
48 |
-
|
49 |
-
```bibtex
|
50 |
-
@misc{vonwerra2022trl,
|
51 |
-
title = {{TRL: Transformer Reinforcement Learning}},
|
52 |
-
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
53 |
-
year = 2020,
|
54 |
-
journal = {GitHub repository},
|
55 |
-
publisher = {GitHub},
|
56 |
-
howpublished = {\url{https://github.com/huggingface/trl}}
|
57 |
-
}
|
58 |
-
```
|
|
|
1 |
---
|
2 |
+
pipeline_tag: text-generation
|
3 |
+
inference: true
|
4 |
+
license: apache-2.0
|
5 |
+
datasets:
|
6 |
+
- simplescaling/s1K-r1
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
+
# Model Summary
|
10 |
|
11 |
+
> s1 is a reasoning model finetuned from Qwen2.5-32B-Instruct on just 1,000 examples. It matches o1-preview & exhibits test-time scaling via budget forcing.
|
|
|
12 |
|
13 |
+
- **Repository:** [simplescaling/s1](https://github.com/simplescaling/s1)
|
14 |
+
- **Paper:** https://arxiv.org/abs/2501.19393
|
15 |
|
16 |
+
This model is a successor of [s1-32B](https://huggingface.co/simplescaling/s1-32B) with slightly better performance. Huge credits to [Ryan Marten](https://huggingface.co/ryanmarten) for helping assemble the dataset.
|
|
|
17 |
|
18 |
+
# Use
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
The model usage is documented [here](https://github.com/simplescaling/s1?tab=readme-ov-file#inference).
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|