Model save
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
model_name: Qwen2-0.5B-GRPO-test
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
- trl
|
7 |
+
- grpo
|
8 |
+
licence: license
|
9 |
+
---
|
10 |
+
|
11 |
+
# Model Card for Qwen2-0.5B-GRPO-test
|
12 |
+
|
13 |
+
This model is a fine-tuned version of [None](https://huggingface.co/None).
|
14 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
15 |
+
|
16 |
+
## Quick start
|
17 |
+
|
18 |
+
```python
|
19 |
+
from transformers import pipeline
|
20 |
+
|
21 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
22 |
+
generator = pipeline("text-generation", model="bobzy/Qwen2-0.5B-GRPO-test", device="cuda")
|
23 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
24 |
+
print(output["generated_text"])
|
25 |
+
```
|
26 |
+
|
27 |
+
## Training procedure
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.14.0
|
37 |
+
- Transformers: 4.48.3
|
38 |
+
- Pytorch: 2.5.1+cu118
|
39 |
+
- Datasets: 3.2.0
|
40 |
+
- Tokenizers: 0.21.0
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
Cite GRPO as:
|
45 |
+
|
46 |
+
```bibtex
|
47 |
+
@article{zhihong2024deepseekmath,
|
48 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
49 |
+
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
50 |
+
year = 2024,
|
51 |
+
eprint = {arXiv:2402.03300},
|
52 |
+
}
|
53 |
+
|
54 |
+
```
|
55 |
+
|
56 |
+
Cite TRL as:
|
57 |
+
|
58 |
+
```bibtex
|
59 |
+
@misc{vonwerra2022trl,
|
60 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
61 |
+
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},
|
62 |
+
year = 2020,
|
63 |
+
journal = {GitHub repository},
|
64 |
+
publisher = {GitHub},
|
65 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
66 |
+
}
|
67 |
+
```
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2175168
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e05789ceab2d8267a1bbf8eca8dbfb599265d93c753f5b43c398bd47aa05126
|
3 |
size 2175168
|
runs/Feb10_05-58-48_paradise-pgp-dos-fx1-bobzy-wang-master-0/events.out.tfevents.1739167129.paradise-pgp-dos-fx1-bobzy-wang-master-0.103.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb803c11ab0c7138e0dfa755215963410e733330517a69d4ed53ffc7a923c80a
|
3 |
+
size 18328
|