lbourdois commited on
Commit
2195cad
·
verified ·
1 Parent(s): a576f77

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 +70 -56
README.md CHANGED
@@ -1,57 +1,71 @@
1
- ---
2
- base_model: Qwen/Qwen2.5-1.5B-Instruct
3
- datasets: zhouzl/filtered_data_train_control_cwe_data_sft
4
- library_name: transformers
5
- tags:
6
- - generated_from_trainer
7
- - open-r1
8
- licence: license
9
- ---
10
-
11
- # Model Card for None
12
-
13
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [zhouzl/filtered_data_train_control_cwe_data_sft](https://huggingface.co/datasets/zhouzl/filtered_data_train_control_cwe_data_sft) dataset.
14
- It has been trained using [TRL](https://github.com/huggingface/trl).
15
-
16
- ## Quick start
17
-
18
- ```python
19
- from transformers import pipeline
20
-
21
- 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?"
22
- generator = pipeline("text-generation", model="None", device="cuda")
23
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
- print(output["generated_text"])
25
- ```
26
-
27
- ## Training procedure
28
-
29
-
30
-
31
-
32
- This model was trained with SFT.
33
-
34
- ### Framework versions
35
-
36
- - TRL: 0.15.2
37
- - Transformers: 4.50.3
38
- - Pytorch: 2.5.1
39
- - Datasets: 3.5.0
40
- - Tokenizers: 0.21.1
41
-
42
- ## Citations
43
-
44
-
45
-
46
- Cite TRL as:
47
-
48
- ```bibtex
49
- @misc{vonwerra2022trl,
50
- title = {{TRL: Transformer Reinforcement Learning}},
51
- 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},
52
- year = 2020,
53
- journal = {GitHub repository},
54
- publisher = {GitHub},
55
- howpublished = {\url{https://github.com/huggingface/trl}}
56
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  ```
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
3
+ datasets: zhouzl/filtered_data_train_control_cwe_data_sft
4
+ library_name: transformers
5
+ tags:
6
+ - generated_from_trainer
7
+ - open-r1
8
+ licence: license
9
+ language:
10
+ - zho
11
+ - eng
12
+ - fra
13
+ - spa
14
+ - por
15
+ - deu
16
+ - ita
17
+ - rus
18
+ - jpn
19
+ - kor
20
+ - vie
21
+ - tha
22
+ - ara
23
+ ---
24
+
25
+ # Model Card for None
26
+
27
+ This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [zhouzl/filtered_data_train_control_cwe_data_sft](https://huggingface.co/datasets/zhouzl/filtered_data_train_control_cwe_data_sft) dataset.
28
+ It has been trained using [TRL](https://github.com/huggingface/trl).
29
+
30
+ ## Quick start
31
+
32
+ ```python
33
+ from transformers import pipeline
34
+
35
+ 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?"
36
+ generator = pipeline("text-generation", model="None", device="cuda")
37
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
38
+ print(output["generated_text"])
39
+ ```
40
+
41
+ ## Training procedure
42
+
43
+
44
+
45
+
46
+ This model was trained with SFT.
47
+
48
+ ### Framework versions
49
+
50
+ - TRL: 0.15.2
51
+ - Transformers: 4.50.3
52
+ - Pytorch: 2.5.1
53
+ - Datasets: 3.5.0
54
+ - Tokenizers: 0.21.1
55
+
56
+ ## Citations
57
+
58
+
59
+
60
+ Cite TRL as:
61
+
62
+ ```bibtex
63
+ @misc{vonwerra2022trl,
64
+ title = {{TRL: Transformer Reinforcement Learning}},
65
+ 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},
66
+ year = 2020,
67
+ journal = {GitHub repository},
68
+ publisher = {GitHub},
69
+ howpublished = {\url{https://github.com/huggingface/trl}}
70
+ }
71
  ```