Instructions to use Balab2021/Qwen3-1.7B-GRPO-Math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Balab2021/Qwen3-1.7B-GRPO-Math with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Balab2021/Qwen3-1.7B-GRPO-Math", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +5 -5
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +1 -0
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -4,8 +4,8 @@ library_name: transformers
|
|
| 4 |
model_name: Qwen3-1.7B-GRPO-Math
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
-
- trl
|
| 8 |
- grpo
|
|
|
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
|
@@ -27,7 +27,7 @@ print(output["generated_text"])
|
|
| 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/balabala76/qwen3-grpo-math/runs/
|
| 31 |
|
| 32 |
|
| 33 |
|
|
@@ -35,9 +35,9 @@ This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing
|
|
| 35 |
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
-
- TRL: 1.
|
| 39 |
-
- Transformers: 5.
|
| 40 |
-
- Pytorch: 2.
|
| 41 |
- Datasets: 5.0.1
|
| 42 |
- Tokenizers: 0.22.2
|
| 43 |
|
|
|
|
| 4 |
model_name: Qwen3-1.7B-GRPO-Math
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
- grpo
|
| 8 |
+
- trl
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
|
|
|
| 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/balabala76/qwen3-grpo-math/runs/g8mns2la)
|
| 31 |
|
| 32 |
|
| 33 |
|
|
|
|
| 35 |
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
+
- TRL: 1.10.0
|
| 39 |
+
- Transformers: 5.15.1
|
| 40 |
+
- Pytorch: 2.14.0a0+4fdf77b940.nvinternal.main.63259151
|
| 41 |
- Datasets: 5.0.1
|
| 42 |
- Tokenizers: 0.22.2
|
| 43 |
|
adapter_config.json
CHANGED
|
@@ -31,13 +31,13 @@
|
|
| 31 |
"rank_pattern": {},
|
| 32 |
"revision": null,
|
| 33 |
"target_modules": [
|
| 34 |
-
"
|
|
|
|
|
|
|
| 35 |
"k_proj",
|
| 36 |
-
"q_proj",
|
| 37 |
"gate_proj",
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"v_proj"
|
| 41 |
],
|
| 42 |
"target_parameters": null,
|
| 43 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 31 |
"rank_pattern": {},
|
| 32 |
"revision": null,
|
| 33 |
"target_modules": [
|
| 34 |
+
"o_proj",
|
| 35 |
+
"v_proj",
|
| 36 |
+
"down_proj",
|
| 37 |
"k_proj",
|
|
|
|
| 38 |
"gate_proj",
|
| 39 |
+
"up_proj",
|
| 40 |
+
"q_proj"
|
|
|
|
| 41 |
],
|
| 42 |
"target_parameters": null,
|
| 43 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 34917504
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de17abff3402f5b4e6574638a0a73baad9d4f66a654b21208e0a552eaed4523
|
| 3 |
size 34917504
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
tokenizer_config.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
"is_local": false,
|
|
|
|
| 24 |
"model_max_length": 131072,
|
| 25 |
"pad_token": "<|endoftext|>",
|
| 26 |
"split_special_tokens": false,
|
|
|
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
"model_max_length": 131072,
|
| 26 |
"pad_token": "<|endoftext|>",
|
| 27 |
"split_special_tokens": false,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e188ae6daff92a5382b165a8fa55773047f33b7d19dd6e1802cbee6d1513c2bd
|
| 3 |
+
size 7633
|