smohammadi commited on
Commit
b40419f
·
verified ·
1 Parent(s): 4e76a98

End of training

Browse files
README.md ADDED
@@ -0,0 +1,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
+ ---
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
+ ```
pytorch_model-00001-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c487ffc8b3219e6311d905b1e08ddf18acdb253bdb237fc5ce465aa574f015dc
3
  size 4956532514
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09d319cd2d7b83922d623f11f85697ddc50d6ac7ca25cc4361506a60035a4d55
3
  size 4956532514
pytorch_model-00002-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fff8d9b1fdb2d1a53328d293d3232c118aca2cdda7835c2f14b582ac181a00fa
3
  size 1214397090
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81dcf587bb82ef77bc7e82a6d15b76316a836b4db51c30976bbb66e2f8e10c8e
3
  size 1214397090