Upload iter_0009
Browse files- .gitattributes +1 -0
- iter_0009/README.md +207 -0
- iter_0009/adapter_config.json +46 -0
- iter_0009/adapter_model.safetensors +3 -0
- iter_0009/chat_template.jinja +54 -0
- iter_0009/dual_variables.pt +3 -0
- iter_0009/log.json +182 -0
- iter_0009/tokenizer.json +3 -0
- iter_0009/tokenizer_config.json +31 -0
- iter_0009/train_state.pt +3 -0
- iter_0009/value_heads.pt +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
iter_0004/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
iter_0004/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
iter_0009/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
iter_0009/README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
|
| 19 |
+
### Model Description
|
| 20 |
+
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
+
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
+
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
| 36 |
+
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
+
|
| 41 |
+
## Uses
|
| 42 |
+
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
+
|
| 45 |
+
### Direct Use
|
| 46 |
+
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
+
|
| 49 |
+
[More Information Needed]
|
| 50 |
+
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
+
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
+
|
| 55 |
+
[More Information Needed]
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
+
|
| 61 |
+
[More Information Needed]
|
| 62 |
+
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
+
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
+
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
| 82 |
+
|
| 83 |
+
### Training Data
|
| 84 |
+
|
| 85 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 86 |
+
|
| 87 |
+
[More Information Needed]
|
| 88 |
+
|
| 89 |
+
### Training Procedure
|
| 90 |
+
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 92 |
+
|
| 93 |
+
#### Preprocessing [optional]
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
#### Training Hyperparameters
|
| 99 |
+
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
+
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
+
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
+
|
| 106 |
+
[More Information Needed]
|
| 107 |
+
|
| 108 |
+
## Evaluation
|
| 109 |
+
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 111 |
+
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
+
|
| 114 |
+
#### Testing Data
|
| 115 |
+
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
+
|
| 118 |
+
[More Information Needed]
|
| 119 |
+
|
| 120 |
+
#### Factors
|
| 121 |
+
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
+
|
| 124 |
+
[More Information Needed]
|
| 125 |
+
|
| 126 |
+
#### Metrics
|
| 127 |
+
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
+
|
| 202 |
+
## Model Card Contact
|
| 203 |
+
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
+
|
| 207 |
+
- PEFT 0.18.1
|
iter_0009/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"q_proj",
|
| 33 |
+
"gate_proj",
|
| 34 |
+
"v_proj",
|
| 35 |
+
"k_proj",
|
| 36 |
+
"down_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"up_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
iter_0009/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee782583fa4f04b8fca9d687fa4621322011f3eeebace7ce96cf86151f0e69d8
|
| 3 |
+
size 161533192
|
iter_0009/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\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.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
iter_0009/dual_variables.pt
ADDED
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"iteration": 0,
|
| 4 |
+
"elapsed_s": 391.3745548725128,
|
| 5 |
+
"lambda1": 0.0,
|
| 6 |
+
"lambda2": 0.0,
|
| 7 |
+
"n_episodes": 32,
|
| 8 |
+
"avg_reward": 0.6811992694805196,
|
| 9 |
+
"avg_questions": 0.75,
|
| 10 |
+
"avg_turns": 1.71875,
|
| 11 |
+
"ppo_loss": 0.004306373502393919,
|
| 12 |
+
"value_loss": 1.0939653792551585,
|
| 13 |
+
"approx_kl": 0.007651447518063443,
|
| 14 |
+
"clip_frac": 0.13775510394147464,
|
| 15 |
+
"entropy": 0.2519512538399015,
|
| 16 |
+
"kl_penalty": 0.023890904017857144,
|
| 17 |
+
"kl_per_seq": 0.023890904017857144,
|
| 18 |
+
"kl_seq_max": 0.17354910714285715
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"iteration": 1,
|
| 22 |
+
"elapsed_s": 396.91996574401855,
|
| 23 |
+
"lambda1": 0.0,
|
| 24 |
+
"lambda2": 0.0,
|
| 25 |
+
"n_episodes": 32,
|
| 26 |
+
"avg_reward": 0.7128395909645909,
|
| 27 |
+
"avg_questions": 1.0,
|
| 28 |
+
"avg_turns": 2.0,
|
| 29 |
+
"ppo_loss": -6.200931966304779e-05,
|
| 30 |
+
"value_loss": 1.34129982534796,
|
| 31 |
+
"approx_kl": 0.007126425625756383,
|
| 32 |
+
"clip_frac": 0.10546875,
|
| 33 |
+
"entropy": 0.23710179142653942,
|
| 34 |
+
"kl_penalty": 0.006378173828125,
|
| 35 |
+
"kl_per_seq": 0.006378173828125,
|
| 36 |
+
"kl_seq_max": 0.139892578125
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"iteration": 2,
|
| 40 |
+
"elapsed_s": 401.90613555908203,
|
| 41 |
+
"lambda1": 0.0,
|
| 42 |
+
"lambda2": 0.0,
|
| 43 |
+
"n_episodes": 32,
|
| 44 |
+
"avg_reward": 0.6647683046120546,
|
| 45 |
+
"avg_questions": 0.84375,
|
| 46 |
+
"avg_turns": 1.84375,
|
| 47 |
+
"ppo_loss": -0.0019026017398573458,
|
| 48 |
+
"value_loss": 0.41530144587159157,
|
| 49 |
+
"approx_kl": 0.00716985405961168,
|
| 50 |
+
"clip_frac": 0.10546875,
|
| 51 |
+
"entropy": 0.22521109459921718,
|
| 52 |
+
"kl_penalty": 0.021810531616210938,
|
| 53 |
+
"kl_per_seq": 0.021810531616210938,
|
| 54 |
+
"kl_seq_max": 0.16015625
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"iteration": 3,
|
| 58 |
+
"elapsed_s": 353.3246395587921,
|
| 59 |
+
"lambda1": 0.0,
|
| 60 |
+
"lambda2": 0.0,
|
| 61 |
+
"n_episodes": 32,
|
| 62 |
+
"avg_reward": 0.7448705808080808,
|
| 63 |
+
"avg_questions": 0.71875,
|
| 64 |
+
"avg_turns": 1.71875,
|
| 65 |
+
"ppo_loss": -0.014360849878617696,
|
| 66 |
+
"value_loss": 0.3274324876921518,
|
| 67 |
+
"approx_kl": 0.007058224391325244,
|
| 68 |
+
"clip_frac": 0.13839285873941012,
|
| 69 |
+
"entropy": 0.25282684128199306,
|
| 70 |
+
"kl_penalty": 0.013009207589285714,
|
| 71 |
+
"kl_per_seq": 0.013009207589285714,
|
| 72 |
+
"kl_seq_max": 0.19224330357142858
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"iteration": 4,
|
| 76 |
+
"elapsed_s": 373.22468972206116,
|
| 77 |
+
"lambda1": 0.0,
|
| 78 |
+
"lambda2": 0.0,
|
| 79 |
+
"n_episodes": 32,
|
| 80 |
+
"avg_reward": 0.696688988095238,
|
| 81 |
+
"avg_questions": 0.8125,
|
| 82 |
+
"avg_turns": 1.8125,
|
| 83 |
+
"ppo_loss": -0.006632264354266226,
|
| 84 |
+
"value_loss": 0.2759131940547377,
|
| 85 |
+
"approx_kl": 0.007126917596906424,
|
| 86 |
+
"clip_frac": 0.09765625,
|
| 87 |
+
"entropy": 0.27006574370898306,
|
| 88 |
+
"kl_penalty": 0.01776123046875,
|
| 89 |
+
"kl_per_seq": 0.01776123046875,
|
| 90 |
+
"kl_seq_max": 0.1474609375
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"iteration": 5,
|
| 94 |
+
"elapsed_s": 331.5490596294403,
|
| 95 |
+
"lambda1": 0.0,
|
| 96 |
+
"lambda2": 0.0,
|
| 97 |
+
"n_episodes": 32,
|
| 98 |
+
"avg_reward": 0.7473958333333334,
|
| 99 |
+
"avg_questions": 0.6875,
|
| 100 |
+
"avg_turns": 1.65625,
|
| 101 |
+
"ppo_loss": 0.014228555839508772,
|
| 102 |
+
"value_loss": 0.4080925668988909,
|
| 103 |
+
"approx_kl": 0.007350156366425965,
|
| 104 |
+
"clip_frac": 0.12589285735573089,
|
| 105 |
+
"entropy": 0.23711106394018447,
|
| 106 |
+
"kl_penalty": 0.014600481305803572,
|
| 107 |
+
"kl_per_seq": 0.014600481305803572,
|
| 108 |
+
"kl_seq_max": 0.14801897321428573
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"iteration": 6,
|
| 112 |
+
"elapsed_s": 341.383020401001,
|
| 113 |
+
"lambda1": 0.0,
|
| 114 |
+
"lambda2": 0.0,
|
| 115 |
+
"n_episodes": 32,
|
| 116 |
+
"avg_reward": 0.7013764880952381,
|
| 117 |
+
"avg_questions": 0.78125,
|
| 118 |
+
"avg_turns": 1.75,
|
| 119 |
+
"ppo_loss": -0.018149102372782572,
|
| 120 |
+
"value_loss": 0.29358129096882685,
|
| 121 |
+
"approx_kl": 0.005304289449538503,
|
| 122 |
+
"clip_frac": 0.08928571428571429,
|
| 123 |
+
"entropy": 0.22091922430055483,
|
| 124 |
+
"kl_penalty": 0.009870256696428572,
|
| 125 |
+
"kl_per_seq": 0.009870256696428572,
|
| 126 |
+
"kl_seq_max": 0.16964285714285715
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"iteration": 7,
|
| 130 |
+
"elapsed_s": 376.68281722068787,
|
| 131 |
+
"lambda1": 0.0,
|
| 132 |
+
"lambda2": 0.0,
|
| 133 |
+
"n_episodes": 32,
|
| 134 |
+
"avg_reward": 0.6373480685980686,
|
| 135 |
+
"avg_questions": 0.71875,
|
| 136 |
+
"avg_turns": 1.71875,
|
| 137 |
+
"ppo_loss": 0.004498574583392058,
|
| 138 |
+
"value_loss": 0.37072710426790373,
|
| 139 |
+
"approx_kl": 0.009875988438060241,
|
| 140 |
+
"clip_frac": 0.14795918390154839,
|
| 141 |
+
"entropy": 0.21651536146444933,
|
| 142 |
+
"kl_penalty": 0.021937779017857144,
|
| 143 |
+
"kl_per_seq": 0.021937779017857144,
|
| 144 |
+
"kl_seq_max": 0.19810267857142858
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"iteration": 8,
|
| 148 |
+
"elapsed_s": 357.74306988716125,
|
| 149 |
+
"lambda1": 0.0,
|
| 150 |
+
"lambda2": 0.0,
|
| 151 |
+
"n_episodes": 32,
|
| 152 |
+
"avg_reward": 0.714941829004329,
|
| 153 |
+
"avg_questions": 0.84375,
|
| 154 |
+
"avg_turns": 1.8125,
|
| 155 |
+
"ppo_loss": -0.0019490616396069527,
|
| 156 |
+
"value_loss": 0.23783158784499392,
|
| 157 |
+
"approx_kl": 0.007750324672088027,
|
| 158 |
+
"clip_frac": 0.125,
|
| 159 |
+
"entropy": 0.23043718142434955,
|
| 160 |
+
"kl_penalty": 0.0068511962890625,
|
| 161 |
+
"kl_per_seq": 0.0068511962890625,
|
| 162 |
+
"kl_seq_max": 0.153564453125
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"iteration": 9,
|
| 166 |
+
"elapsed_s": 349.43006443977356,
|
| 167 |
+
"lambda1": 0.0,
|
| 168 |
+
"lambda2": 0.0,
|
| 169 |
+
"n_episodes": 32,
|
| 170 |
+
"avg_reward": 0.6326783459595958,
|
| 171 |
+
"avg_questions": 0.78125,
|
| 172 |
+
"avg_turns": 1.75,
|
| 173 |
+
"ppo_loss": -0.011805641597935132,
|
| 174 |
+
"value_loss": 0.41574244254401754,
|
| 175 |
+
"approx_kl": 0.006929813751152584,
|
| 176 |
+
"clip_frac": 0.09375,
|
| 177 |
+
"entropy": 0.2451656689601285,
|
| 178 |
+
"kl_penalty": 0.0011160714285714285,
|
| 179 |
+
"kl_per_seq": 0.0011160714285714285,
|
| 180 |
+
"kl_seq_max": 0.13169642857142858
|
| 181 |
+
}
|
| 182 |
+
]
|
iter_0009/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbb9ccc29b4517e9dccf26d1b9f1bb48113a6eb969a61c50ba9c8a2b0089d586
|
| 3 |
+
size 11421990
|
iter_0009/tokenizer_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"model_max_length": 32768,
|
| 25 |
+
"pad_token": "<|endoftext|>",
|
| 26 |
+
"padding_side": "left",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"truncation_side": "left",
|
| 30 |
+
"unk_token": null
|
| 31 |
+
}
|
iter_0009/train_state.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1987fbc0ecbb58be877d6b501a0248f6dfb719399c937a2857f007be0cea20ef
|
| 3 |
+
size 104946244
|
iter_0009/value_heads.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dac5244df47eaaae34f96a2f8e4837d7a90772f22867a22e3183d6c45aa46c90
|
| 3 |
+
size 44096056
|