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 +4 -4
- adapter_config.json +8 -6
- adapter_model.safetensors +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +0 -1
- 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 |
|
|
@@ -36,8 +36,8 @@ This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing
|
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
- TRL: 1.9.2
|
| 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/b7vjnlar)
|
| 31 |
|
| 32 |
|
| 33 |
|
|
|
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
- TRL: 1.9.2
|
| 39 |
+
- Transformers: 5.3.0
|
| 40 |
+
- Pytorch: 2.7.0a0+79aa17489c.nv25.4
|
| 41 |
- Datasets: 5.0.1
|
| 42 |
- Tokenizers: 0.22.2
|
| 43 |
|
adapter_config.json
CHANGED
|
@@ -23,20 +23,21 @@
|
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
|
|
|
| 26 |
"peft_type": "LORA",
|
| 27 |
-
"peft_version": "0.
|
| 28 |
"qalora_group_size": 16,
|
| 29 |
"r": 16,
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
| 33 |
-
"gate_proj",
|
| 34 |
"o_proj",
|
| 35 |
-
"
|
|
|
|
| 36 |
"v_proj",
|
| 37 |
"q_proj",
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
"task_type": "CAUSAL_LM",
|
|
@@ -44,5 +45,6 @@
|
|
| 44 |
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
| 46 |
"use_qalora": false,
|
| 47 |
-
"use_rslora": false
|
|
|
|
| 48 |
}
|
|
|
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
+
"monteclora_config": null,
|
| 27 |
"peft_type": "LORA",
|
| 28 |
+
"peft_version": "0.20.0",
|
| 29 |
"qalora_group_size": 16,
|
| 30 |
"r": 16,
|
| 31 |
"rank_pattern": {},
|
| 32 |
"revision": null,
|
| 33 |
"target_modules": [
|
|
|
|
| 34 |
"o_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"k_proj",
|
| 37 |
"v_proj",
|
| 38 |
"q_proj",
|
| 39 |
+
"up_proj",
|
| 40 |
+
"down_proj"
|
| 41 |
],
|
| 42 |
"target_parameters": null,
|
| 43 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 45 |
"use_bdlora": null,
|
| 46 |
"use_dora": false,
|
| 47 |
"use_qalora": false,
|
| 48 |
+
"use_rslora": false,
|
| 49 |
+
"velora_config": null
|
| 50 |
}
|
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:1070e778f2ea6da9424b27c47fa0d9a4d1a417d2c11fee99c7bebef7aa366158
|
| 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:79cb3c783570f1b8fe73b9ed530ae50cae9ce4b6344c0b5edefc50478847eaa4
|
| 3 |
+
size 11422817
|
tokenizer_config.json
CHANGED
|
@@ -21,7 +21,6 @@
|
|
| 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,
|
|
|
|
| 21 |
"<|video_pad|>"
|
| 22 |
],
|
| 23 |
"is_local": false,
|
|
|
|
| 24 |
"model_max_length": 131072,
|
| 25 |
"pad_token": "<|endoftext|>",
|
| 26 |
"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:8aec2f4056baa3a047c5f2ef64a150190e7c9feea56cad7aad5c7c5fd0c79016
|
| 3 |
+
size 7427
|