princepride commited on
Commit
043415a
·
verified ·
1 Parent(s): b173dac

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Math-7B
3
+ datasets: DigitalLearningGmbH/MATH-lighteval
4
+ library_name: transformers
5
+ model_name: Qwen-2.5-7B_Base_Math_smalllr
6
+ tags:
7
+ - generated_from_trainer
8
+ - open-r1
9
+ - trl
10
+ - grpo
11
+ licence: license
12
+ ---
13
+
14
+ # Model Card for Qwen-2.5-7B-Simple-RL
15
+
16
+ This model is a fine-tuned version of [Qwen/Qwen2.5-Math-7B](https://huggingface.co/Qwen/Qwen2.5-Math-7B) on the [DigitalLearningGmbH/MATH-lighteval](https://huggingface.co/datasets/DigitalLearningGmbH/MATH-lighteval) dataset.
17
+ It has been trained using [TRL](https://github.com/huggingface/trl).
18
+
19
+ ## Quick start
20
+
21
+ ```python
22
+ from transformers import pipeline
23
+
24
+ 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?"
25
+ generator = pipeline("text-generation", model="Dongwei/Qwen-2.5-7B_Base_Math_smalllr", device="cuda")
26
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
27
+ print(output["generated_text"])
28
+ ```
29
+
30
+ ## Training procedure
31
+
32
+ [<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/naruto628/huggingface/runs/x04sketk?nw=nwusernaruto628)
33
+
34
+
35
+ 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).
36
+
37
+ ### Framework versions
38
+
39
+ - TRL: 0.15.0.dev0
40
+ - Transformers: 4.49.0.dev0
41
+ - Pytorch: 2.5.1+cu121
42
+ - Datasets: 3.2.0
43
+ - Tokenizers: 0.21.0
44
+
45
+ ## Citations
46
+
47
+ Cite GRPO as:
48
+
49
+ ```bibtex
50
+ @article{zhihong2024deepseekmath,
51
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
52
+ 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},
53
+ year = 2024,
54
+ eprint = {arXiv:2402.03300},
55
+ }
56
+
57
+ ```
58
+
59
+ Cite TRL as:
60
+
61
+ ```bibtex
62
+ @misc{vonwerra2022trl,
63
+ title = {{TRL: Transformer Reinforcement Learning}},
64
+ 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},
65
+ year = 2020,
66
+ journal = {GitHub repository},
67
+ publisher = {GitHub},
68
+ howpublished = {\url{https://github.com/huggingface/trl}}
69
+ }
70
+ ```