lbourdois commited on
Commit
2cf4fa8
·
verified ·
1 Parent(s): b40419f

Improve language tag

Browse files

Hi! As the model is multilingual, this is a PR to add other languages than English to the language tag to improve the referencing. Note that 29 languages are announced in the README, but only 13 are explicitly listed. I was therefore only able to add these 13 languages.

Files changed (1) hide show
  1. README.md +81 -67
README.md CHANGED
@@ -1,68 +1,82 @@
1
- ---
2
- base_model: Qwen/Qwen2.5-3B
3
- library_name: transformers
4
- model_name: Qwen2.5-3B-MathShepherd
5
- tags:
6
- - generated_from_trainer
7
- - axolotl
8
- - trl
9
- - prm
10
- licence: license
11
- ---
12
-
13
- # Model Card for Qwen2.5-3B-MathShepherd
14
-
15
- This model is a fine-tuned version of [Qwen/Qwen2.5-3B](https://huggingface.co/Qwen/Qwen2.5-3B).
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="smohammadi/Qwen2.5-3B-MathShepherd", 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
- [<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/axolotl-ai/prm/runs/nync0fcs)
32
-
33
-
34
- This model was trained with PRM.
35
-
36
- ### Framework versions
37
-
38
- - TRL: 0.13.0
39
- - Transformers: 4.47.1
40
- - Pytorch: 2.5.1+cu124
41
- - Datasets: 3.2.0
42
- - Tokenizers: 0.21.0
43
-
44
- ## Citations
45
-
46
- Cite PRM as:
47
-
48
- ```bibtex
49
- @article{uesato2022solving,
50
- title = {Solving Math Word Problems With Process- and Outcome-Based Feedback},
51
- author = {Uesato, Jonathan and Kushman, Nate and Kumar, Ramana and Song, Francis and Siegel, Noah and Wang, Lisa and Creswell, Antonia and Irving, Geoffrey and Higgins, Irina},
52
- year = 2022,
53
- journal = {arXiv preprint arXiv:2211.14275}
54
- }
55
- ```
56
-
57
- Cite TRL as:
58
-
59
- ```bibtex
60
- @misc{vonwerra2022trl,
61
- title = {{TRL: Transformer Reinforcement Learning}},
62
- 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},
63
- year = 2020,
64
- journal = {GitHub repository},
65
- publisher = {GitHub},
66
- howpublished = {\url{https://github.com/huggingface/trl}}
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  ```
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-3B
3
+ library_name: transformers
4
+ model_name: Qwen2.5-3B-MathShepherd
5
+ tags:
6
+ - generated_from_trainer
7
+ - axolotl
8
+ - trl
9
+ - prm
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 Qwen2.5-3B-MathShepherd
28
+
29
+ This model is a fine-tuned version of [Qwen/Qwen2.5-3B](https://huggingface.co/Qwen/Qwen2.5-3B).
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="smohammadi/Qwen2.5-3B-MathShepherd", 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
+ [<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/axolotl-ai/prm/runs/nync0fcs)
46
+
47
+
48
+ This model was trained with PRM.
49
+
50
+ ### Framework versions
51
+
52
+ - TRL: 0.13.0
53
+ - Transformers: 4.47.1
54
+ - Pytorch: 2.5.1+cu124
55
+ - Datasets: 3.2.0
56
+ - Tokenizers: 0.21.0
57
+
58
+ ## Citations
59
+
60
+ Cite PRM as:
61
+
62
+ ```bibtex
63
+ @article{uesato2022solving,
64
+ title = {Solving Math Word Problems With Process- and Outcome-Based Feedback},
65
+ author = {Uesato, Jonathan and Kushman, Nate and Kumar, Ramana and Song, Francis and Siegel, Noah and Wang, Lisa and Creswell, Antonia and Irving, Geoffrey and Higgins, Irina},
66
+ year = 2022,
67
+ journal = {arXiv preprint arXiv:2211.14275}
68
+ }
69
+ ```
70
+
71
+ Cite TRL as:
72
+
73
+ ```bibtex
74
+ @misc{vonwerra2022trl,
75
+ title = {{TRL: Transformer Reinforcement Learning}},
76
+ 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},
77
+ year = 2020,
78
+ journal = {GitHub repository},
79
+ publisher = {GitHub},
80
+ howpublished = {\url{https://github.com/huggingface/trl}}
81
+ }
82
  ```