bmbgsj commited on
Commit
adeeb8d
·
verified ·
1 Parent(s): 7bac8f5

update model weights and config

Browse files
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-4B
3
+ library_name: transformers
4
+ model_name: prm
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - reward-trainer
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for prm
13
+
14
+ This model is a fine-tuned version of [Qwen/Qwen3-4B](https://huggingface.co/Qwen/Qwen3-4B).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ 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?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+ [<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/lilin22/zhaowang/runs/s85hes38)
31
+
32
+
33
+ This model was trained with Reward.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.21.0
38
+ - Transformers: 4.57.3
39
+ - Pytorch: 2.9.0
40
+ - Datasets: 4.4.1
41
+ - Tokenizers: 0.22.1
42
+
43
+ ## Citations
44
+
45
+
46
+
47
+ Cite TRL as:
48
+
49
+ ```bibtex
50
+ @misc{vonwerra2022trl,
51
+ title = {{TRL: Transformer Reinforcement Learning}},
52
+ 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{\'e}dec},
53
+ year = 2020,
54
+ journal = {GitHub repository},
55
+ publisher = {GitHub},
56
+ howpublished = {\url{https://github.com/huggingface/trl}}
57
+ }
58
+ ```
config.json CHANGED
@@ -67,7 +67,7 @@
67
  "rope_theta": 1000000,
68
  "sliding_window": null,
69
  "tie_word_embeddings": true,
70
- "transformers_version": "4.57.1",
71
  "use_cache": true,
72
  "use_sliding_window": false,
73
  "vocab_size": 151679
 
67
  "rope_theta": 1000000,
68
  "sliding_window": null,
69
  "tie_word_embeddings": true,
70
+ "transformers_version": "4.57.3",
71
  "use_cache": true,
72
  "use_sliding_window": false,
73
  "vocab_size": 151679
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff507fca1135f54c459cfecc2ee2754ab7dd528da5a1eecb44bb4f6a38670c5e
3
  size 4965899520
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d144d5691fa6e33e5ec31172bf26435448d10a4d033e275d1f68fba4170b0b5
3
  size 4965899520
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37cb7be3823c486d42245e1608b40f5e2dd793707cd041bb78d07506ae7b4ba3
3
  size 3077771840
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10162fe106dec6d3ee6f86d9980debe2a9ff642e3e2870a7346d2f3218a502d8
3
  size 3077771840
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:947810923a619afe3775d997d3561efc121f753a6292def063f37bbfa19372c4
3
  size 7313
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eec7215f53485db1f16e152c5e76ce25ce62a4c4cbfc1470883746e1c34752bf
3
  size 7313