Files changed (1) hide show
  1. README.md +82 -68
README.md CHANGED
@@ -1,69 +1,83 @@
1
- ---
2
- base_model: Qwen/Qwen2.5-0.5B-Instruct
3
- datasets: AI-MO/NuminaMath-TIR
4
- library_name: transformers
5
- model_name: DeepBrainz-0.5B-v0.01
6
- tags:
7
- - generated_from_trainer
8
- - trl
9
- - grpo
10
- licence: license
11
- ---
12
-
13
- # Model Card for DeepBrainz-0.5B-v0.01
14
-
15
- This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) on the [AI-MO/NuminaMath-TIR](https://huggingface.co/datasets/AI-MO/NuminaMath-TIR) dataset.
16
- It has been trained using [TRL](https://github.com/huggingface/trl).
17
-
18
- ## Quick start
19
-
20
- ```python
21
- from transformers import pipeline
22
-
23
- 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?"
24
- generator = pipeline("text-generation", model="ArunkumarVR/DeepBrainz-0.5B-v0.01", device="cuda")
25
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
- print(output["generated_text"])
27
- ```
28
-
29
- ## Training procedure
30
-
31
-
32
-
33
-
34
- 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).
35
-
36
- ### Framework versions
37
-
38
- - TRL: 0.14.0
39
- - Transformers: 4.47.1
40
- - Pytorch: 2.6.0
41
- - Datasets: 3.2.0
42
- - Tokenizers: 0.21.0
43
-
44
- ## Citations
45
-
46
- Cite GRPO as:
47
-
48
- ```bibtex
49
- @article{zhihong2024deepseekmath,
50
- title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
51
- 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},
52
- year = 2024,
53
- eprint = {arXiv:2402.03300},
54
- }
55
-
56
- ```
57
-
58
- Cite TRL as:
59
-
60
- ```bibtex
61
- @misc{vonwerra2022trl,
62
- title = {{TRL: Transformer Reinforcement Learning}},
63
- 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},
64
- year = 2020,
65
- journal = {GitHub repository},
66
- publisher = {GitHub},
67
- howpublished = {\url{https://github.com/huggingface/trl}}
68
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  ```
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-0.5B-Instruct
3
+ datasets: AI-MO/NuminaMath-TIR
4
+ library_name: transformers
5
+ model_name: DeepBrainz-0.5B-v0.01
6
+ tags:
7
+ - generated_from_trainer
8
+ - trl
9
+ - grpo
10
+ licence: license
11
+ language:
12
+ - zho
13
+ - eng
14
+ - fra
15
+ - spa
16
+ - por
17
+ - deu
18
+ - ita
19
+ - rus
20
+ - jpn
21
+ - kor
22
+ - vie
23
+ - tha
24
+ - ara
25
+ ---
26
+
27
+ # Model Card for DeepBrainz-0.5B-v0.01
28
+
29
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) on the [AI-MO/NuminaMath-TIR](https://huggingface.co/datasets/AI-MO/NuminaMath-TIR) dataset.
30
+ It has been trained using [TRL](https://github.com/huggingface/trl).
31
+
32
+ ## Quick start
33
+
34
+ ```python
35
+ from transformers import pipeline
36
+
37
+ 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?"
38
+ generator = pipeline("text-generation", model="ArunkumarVR/DeepBrainz-0.5B-v0.01", device="cuda")
39
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
40
+ print(output["generated_text"])
41
+ ```
42
+
43
+ ## Training procedure
44
+
45
+
46
+
47
+
48
+ 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).
49
+
50
+ ### Framework versions
51
+
52
+ - TRL: 0.14.0
53
+ - Transformers: 4.47.1
54
+ - Pytorch: 2.6.0
55
+ - Datasets: 3.2.0
56
+ - Tokenizers: 0.21.0
57
+
58
+ ## Citations
59
+
60
+ Cite GRPO as:
61
+
62
+ ```bibtex
63
+ @article{zhihong2024deepseekmath,
64
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
65
+ 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},
66
+ year = 2024,
67
+ eprint = {arXiv:2402.03300},
68
+ }
69
+
70
+ ```
71
+
72
+ Cite TRL as:
73
+
74
+ ```bibtex
75
+ @misc{vonwerra2022trl,
76
+ title = {{TRL: Transformer Reinforcement Learning}},
77
+ 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},
78
+ year = 2020,
79
+ journal = {GitHub repository},
80
+ publisher = {GitHub},
81
+ howpublished = {\url{https://github.com/huggingface/trl}}
82
+ }
83
  ```