Satyach/Distill-qwen-7b-full-finetuning
Browse files- README.md +1 -1
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- chat_template.jinja +9 -9
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -28,7 +28,7 @@ print(output["generated_text"])
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
-
[<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/satyanarayana1999-sn-amazon-web-services/huggingface/runs/huggingface-pytorch-training-2025-05-02-
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
|
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
+
[<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/satyanarayana1999-sn-amazon-web-services/huggingface/runs/huggingface-pytorch-training-2025-05-02-20-50-44-978-fb5q2e-algo-1)
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
adapter_config.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"k_proj",
|
| 24 |
-
"q_proj",
|
| 25 |
"up_proj",
|
| 26 |
-
"
|
|
|
|
| 27 |
"v_proj",
|
| 28 |
-
"
|
| 29 |
-
"
|
|
|
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
|
|
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
|
|
|
| 23 |
"up_proj",
|
| 24 |
+
"k_proj",
|
| 25 |
+
"down_proj",
|
| 26 |
"v_proj",
|
| 27 |
+
"gate_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"o_proj"
|
| 30 |
],
|
| 31 |
"task_type": "CAUSAL_LM",
|
| 32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1291899160
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f250506331b7362272befab0de290c0daaf6435798433571d653bc286648e0cc
|
| 3 |
size 1291899160
|
chat_template.jinja
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
{{- "\n" }}
|
| 11 |
{{- tool | tojson }}
|
| 12 |
{%- endfor %}
|
| 13 |
-
{{- "\n</api>\n\nFor each function call, return a json object with function name and arguments within <
|
| 14 |
{%- else %}
|
| 15 |
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
{{- '<think>system\n' + messages[0]['content'] + '</think>\n' }}
|
|
@@ -19,22 +19,22 @@
|
|
| 19 |
{%- endif %}
|
| 20 |
{%- endif %}
|
| 21 |
{%- for message in messages %}
|
| 22 |
-
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.
|
| 23 |
{{- '<think>' + message.role + '\n' + message.content + '</think>' + '\n' }}
|
| 24 |
{%- elif message.role == "assistant" %}
|
| 25 |
{{- '<think>' + message.role }}
|
| 26 |
{%- if message.content %}
|
| 27 |
{{- '\n' + message.content }}
|
| 28 |
{%- endif %}
|
| 29 |
-
{%- for
|
| 30 |
-
{%- if
|
| 31 |
-
{%- set
|
| 32 |
{%- endif %}
|
| 33 |
-
{{- '\n<
|
| 34 |
-
{{-
|
| 35 |
{{- '", "arguments": ' }}
|
| 36 |
-
{{-
|
| 37 |
-
{{- '}\n</
|
| 38 |
{%- endfor %}
|
| 39 |
{{- '</think>\n' }}
|
| 40 |
{%- elif message.role == "tool" %}
|
|
|
|
| 10 |
{{- "\n" }}
|
| 11 |
{{- tool | tojson }}
|
| 12 |
{%- endfor %}
|
| 13 |
+
{{- "\n</api>\n\nFor each function call, return a json object with function name and arguments within <api></api> XML tags:\n<api>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</api></think>\n" }}
|
| 14 |
{%- else %}
|
| 15 |
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
{{- '<think>system\n' + messages[0]['content'] + '</think>\n' }}
|
|
|
|
| 19 |
{%- endif %}
|
| 20 |
{%- endif %}
|
| 21 |
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.apis) %}
|
| 23 |
{{- '<think>' + message.role + '\n' + message.content + '</think>' + '\n' }}
|
| 24 |
{%- elif message.role == "assistant" %}
|
| 25 |
{{- '<think>' + message.role }}
|
| 26 |
{%- if message.content %}
|
| 27 |
{{- '\n' + message.content }}
|
| 28 |
{%- endif %}
|
| 29 |
+
{%- for api in message.apis %}
|
| 30 |
+
{%- if api.function is defined %}
|
| 31 |
+
{%- set api = api.function %}
|
| 32 |
{%- endif %}
|
| 33 |
+
{{- '\n<api>\n{"name": "' }}
|
| 34 |
+
{{- api.name }}
|
| 35 |
{{- '", "arguments": ' }}
|
| 36 |
+
{{- api.arguments | tojson }}
|
| 37 |
+
{{- '}\n</api>' }}
|
| 38 |
{%- endfor %}
|
| 39 |
{{- '</think>\n' }}
|
| 40 |
{%- elif message.role == "tool" %}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5752
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a15ffe87360ed6c096dbd19eb26ee6c73ea79d59df803c761a91e4392594dac6
|
| 3 |
size 5752
|