NovatasticRoScript commited on
Commit
91cde09
·
verified ·
1 Parent(s): 4e76bc1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -9
README.md CHANGED
@@ -1,21 +1,73 @@
1
  ---
2
  base_model: unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
 
 
3
  tags:
4
- - text-generation-inference
5
- - transformers
 
6
  - unsloth
7
- - qwen2
8
  license: mit
 
 
9
  language:
10
  - en
11
  ---
12
 
13
- # Uploaded finetuned model
14
 
15
- - **Developed by:** NovatasticRoScript
16
- - **License:** mit
17
- - **Finetuned from model :** unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
18
 
19
- This model was trained 2x faster with [Unsloth] and Huggingface's TRL library.
20
 
21
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  base_model: unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
3
+ library_name: transformers
4
+ model_name: results
5
  tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - grpo
9
  - unsloth
10
+ licence: license
11
  license: mit
12
+ datasets:
13
+ - bespokelabs/Bespoke-Stratos-17k
14
  language:
15
  - en
16
  ---
17
 
18
+ # Model Card for results
19
 
20
+ This model is a fine-tuned version of [unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit](https://huggingface.co/unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit).
21
+ It has been trained using [TRL](https://github.com/huggingface/trl).
 
22
 
23
+ ## Quick start
24
 
25
+ ```python
26
+ from transformers import pipeline
27
+
28
+ 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?"
29
+ generator = pipeline("text-generation", model="NovatasticRoScript/results", device="cuda")
30
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
31
+ print(output["generated_text"])
32
+ ```
33
+
34
+ ## Training procedure
35
+
36
+
37
+
38
+
39
+
40
+ 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).
41
+
42
+ ### Framework versions
43
+
44
+ - TRL: 1.5.0
45
+ - Transformers: 5.9.0
46
+ - Pytorch: 2.10.0
47
+ - Datasets: 4.8.5
48
+ - Tokenizers: 0.22.2
49
+
50
+ ## Citations
51
+
52
+ Cite GRPO as:
53
+
54
+ ```bibtex
55
+ @article{shao2024deepseekmath,
56
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
57
+ 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},
58
+ year = 2024,
59
+ eprint = {arXiv:2402.03300},
60
+ }
61
+ ```
62
+
63
+ Cite TRL as:
64
+
65
+ ```bibtex
66
+ @software{vonwerra2020trl,
67
+ title = {{TRL: Transformers Reinforcement Learning}},
68
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
69
+ license = {Apache-2.0},
70
+ url = {https://github.com/huggingface/trl},
71
+ year = {2020}
72
+ }
73
+ ```