RichardErkhov commited on
Commit
e7f6181
·
verified ·
1 Parent(s): 0acce1b

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ simpo-math-model - AWQ
11
+ - Model creator: https://huggingface.co/rawsh/
12
+ - Original model: https://huggingface.co/rawsh/simpo-math-model/
13
+
14
+
15
+
16
+
17
+ Original model description:
18
+ ---
19
+ base_model: rawsh/mirrorqwen2.5-0.5b-SFT
20
+ library_name: transformers
21
+ model_name: simpo-math-model
22
+ tags:
23
+ - generated_from_trainer
24
+ - trl
25
+ - cpo
26
+ - unsloth
27
+ licence: license
28
+ ---
29
+
30
+ # Model Card for simpo-math-model
31
+
32
+ This model is a fine-tuned version of [rawsh/mirrorqwen2.5-0.5b-SFT](https://huggingface.co/rawsh/mirrorqwen2.5-0.5b-SFT).
33
+ It has been trained using [TRL](https://github.com/huggingface/trl).
34
+
35
+ ## Quick start
36
+
37
+ ```python
38
+ from transformers import pipeline
39
+
40
+ 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?"
41
+ generator = pipeline("text-generation", model="rawsh/simpo-math-model", device="cuda")
42
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
43
+ print(output["generated_text"])
44
+ ```
45
+
46
+ ## Training procedure
47
+
48
+ [<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/dankgpt/simpo-training/runs/q29stpw6)
49
+
50
+ This model was trained with CPO, a method introduced in [Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation](https://huggingface.co/papers/2401.08417).
51
+
52
+ ### Framework versions
53
+
54
+ - TRL: 0.12.0
55
+ - Transformers: 4.46.2
56
+ - Pytorch: 2.4.1
57
+ - Datasets: 3.1.0
58
+ - Tokenizers: 0.20.3
59
+
60
+ ## Citations
61
+
62
+ Cite CPO as:
63
+
64
+ ```bibtex
65
+ @inproceedings{xu2024contrastive,
66
+ title = {{Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation}},
67
+ author = {Haoran Xu and Amr Sharaf and Yunmo Chen and Weiting Tan and Lingfeng Shen and Benjamin Van Durme and Kenton Murray and Young Jin Kim},
68
+ year = 2024,
69
+ booktitle = {Forty-first International Conference on Machine Learning, {ICML} 2024, Vienna, Austria, July 21-27, 2024},
70
+ publisher = {OpenReview.net},
71
+ url = {https://openreview.net/forum?id=51iwkioZpn}
72
+ }
73
+ ```
74
+
75
+ Cite TRL as:
76
+
77
+ ```bibtex
78
+ @misc{vonwerra2022trl,
79
+ title = {{TRL: Transformer Reinforcement Learning}},
80
+ 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},
81
+ year = 2020,
82
+ journal = {GitHub repository},
83
+ publisher = {GitHub},
84
+ howpublished = {\url{https://github.com/huggingface/trl}}
85
+ }
86
+ ```
87
+