Instructions to use ddidacus/phi-tiny-moe-cache-reward with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ddidacus/phi-tiny-moe-cache-reward with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-tiny-MoE-instruct") model = PeftModel.from_pretrained(base_model, "ddidacus/phi-tiny-moe-cache-reward") - Transformers
How to use ddidacus/phi-tiny-moe-cache-reward with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ddidacus/phi-tiny-moe-cache-reward") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ddidacus/phi-tiny-moe-cache-reward", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ddidacus/phi-tiny-moe-cache-reward with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ddidacus/phi-tiny-moe-cache-reward" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ddidacus/phi-tiny-moe-cache-reward", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ddidacus/phi-tiny-moe-cache-reward
- SGLang
How to use ddidacus/phi-tiny-moe-cache-reward with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ddidacus/phi-tiny-moe-cache-reward" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ddidacus/phi-tiny-moe-cache-reward", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ddidacus/phi-tiny-moe-cache-reward" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ddidacus/phi-tiny-moe-cache-reward", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ddidacus/phi-tiny-moe-cache-reward with Docker Model Runner:
docker model run hf.co/ddidacus/phi-tiny-moe-cache-reward
Upload folder using huggingface_hub
Browse files- README.md +209 -0
- adapter_config.json +56 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +4 -0
- optimizer.pt +3 -0
- rng_state_0.pth +3 -0
- rng_state_1.pth +3 -0
- rng_state_2.pth +3 -0
- rng_state_3.pth +3 -0
- scheduler.pt +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- trainer_state.json +614 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- 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. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
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).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.19.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {
|
| 4 |
+
".*\\.gate_up_proj": 64
|
| 5 |
+
},
|
| 6 |
+
"arrow_config": null,
|
| 7 |
+
"auto_mapping": null,
|
| 8 |
+
"base_model_name_or_path": "microsoft/Phi-tiny-MoE-instruct",
|
| 9 |
+
"bias": "none",
|
| 10 |
+
"corda_config": null,
|
| 11 |
+
"ensure_weight_tying": false,
|
| 12 |
+
"eva_config": null,
|
| 13 |
+
"exclude_modules": null,
|
| 14 |
+
"fan_in_fan_out": false,
|
| 15 |
+
"inference_mode": true,
|
| 16 |
+
"init_lora_weights": true,
|
| 17 |
+
"layer_replication": null,
|
| 18 |
+
"layers_pattern": null,
|
| 19 |
+
"layers_to_transform": null,
|
| 20 |
+
"loftq_config": {},
|
| 21 |
+
"lora_alpha": 32,
|
| 22 |
+
"lora_bias": false,
|
| 23 |
+
"lora_dropout": 0.0,
|
| 24 |
+
"lora_ga_config": null,
|
| 25 |
+
"megatron_config": null,
|
| 26 |
+
"megatron_core": "megatron.core",
|
| 27 |
+
"modules_to_save": null,
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.19.1",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 16,
|
| 32 |
+
"rank_pattern": {
|
| 33 |
+
".*\\.gate_up_proj": 32
|
| 34 |
+
},
|
| 35 |
+
"revision": null,
|
| 36 |
+
"target_modules": [
|
| 37 |
+
"up_proj",
|
| 38 |
+
"o_proj",
|
| 39 |
+
"gate_proj",
|
| 40 |
+
"q_proj",
|
| 41 |
+
"v_proj",
|
| 42 |
+
"down_proj",
|
| 43 |
+
"k_proj"
|
| 44 |
+
],
|
| 45 |
+
"target_parameters": [
|
| 46 |
+
"experts.gate_up_proj",
|
| 47 |
+
"experts.down_proj",
|
| 48 |
+
"router.weight"
|
| 49 |
+
],
|
| 50 |
+
"task_type": "CAUSAL_LM",
|
| 51 |
+
"trainable_token_indices": null,
|
| 52 |
+
"use_bdlora": null,
|
| 53 |
+
"use_dora": false,
|
| 54 |
+
"use_qalora": false,
|
| 55 |
+
"use_rslora": false
|
| 56 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17aa2abe397bfab9f67c460c7c95a8e569abf536f3b3fae82d6cd58b376b2ecf
|
| 3 |
+
size 528575792
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{{'<|' + message['role'] + '|>' + '
|
| 2 |
+
' + message['content'] + '<|end|>
|
| 3 |
+
' }}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>
|
| 4 |
+
' }}{% else %}{{ eos_token }}{% endif %}
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd3233fc482e9d53ef5479126ff97a1df0450d0592c122c43a33260842858b71
|
| 3 |
+
size 1057414883
|
rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03bf306d9773e53636d8214fbbf9aaa92373718df13d50d694415af3b80b7035
|
| 3 |
+
size 15429
|
rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0e9298eee0e5369b66ad2d5ad8d4130090b303c32421f6ed2284ebb89a77422
|
| 3 |
+
size 15365
|
rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee27f3a291d5be071038ec5f08019d0423cdfca9c7bd05ecda4e8b2c7b49a39f
|
| 3 |
+
size 15429
|
rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9da1ab1e243accf371b1b4af8245d21aa78bf7185b684b0159f6af7d5e9c1389
|
| 3 |
+
size 15429
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3336668d1a4abea674cdf2f97d84dbc38557a073c80d8fc2c06d15f6cae19c4c
|
| 3 |
+
size 1465
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<|endoftext|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"legacy": false,
|
| 8 |
+
"local_files_only": true,
|
| 9 |
+
"model_max_length": 4096,
|
| 10 |
+
"pad_token": "<|endoftext|>",
|
| 11 |
+
"padding_side": "left",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"tokenizer_class": "TokenizersBackend",
|
| 14 |
+
"unk_token": "<unk>",
|
| 15 |
+
"use_default_system_prompt": false
|
| 16 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,614 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.5037593984962406,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 201,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"cache_hit_rate": 0.2987321466207504,
|
| 14 |
+
"clip_ratio/high_max": 0.0,
|
| 15 |
+
"clip_ratio/high_mean": 0.0,
|
| 16 |
+
"clip_ratio/low_mean": 0.0,
|
| 17 |
+
"clip_ratio/low_min": 0.0,
|
| 18 |
+
"clip_ratio/region_mean": 0.0,
|
| 19 |
+
"completions/clipped_ratio": 0.8671875,
|
| 20 |
+
"completions/max_length": 1024.0,
|
| 21 |
+
"completions/max_terminated_length": 809.9,
|
| 22 |
+
"completions/mean_length": 961.46875,
|
| 23 |
+
"completions/mean_terminated_length": 563.5086151123047,
|
| 24 |
+
"completions/min_length": 327.9,
|
| 25 |
+
"completions/min_terminated_length": 327.9,
|
| 26 |
+
"entropy": 0.7783569753170013,
|
| 27 |
+
"epoch": 0.02506265664160401,
|
| 28 |
+
"frac_reward_zero_std": 0.0,
|
| 29 |
+
"grad_norm": 0.19229525327682495,
|
| 30 |
+
"kl": 0.025735817663371564,
|
| 31 |
+
"learning_rate": 9e-05,
|
| 32 |
+
"loss": 0.03023299276828766,
|
| 33 |
+
"num_tokens": 773884.0,
|
| 34 |
+
"reward": 0.2986815273761749,
|
| 35 |
+
"reward_std": 0.021126844733953477,
|
| 36 |
+
"rewards/cache_reward/mean": 0.2986815273761749,
|
| 37 |
+
"rewards/cache_reward/std": 0.021126844733953477,
|
| 38 |
+
"step": 10,
|
| 39 |
+
"step_time": 90.0082708384376
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"cache_hit_rate": 0.3069839864969254,
|
| 43 |
+
"clip_ratio/high_max": 0.0,
|
| 44 |
+
"clip_ratio/high_mean": 0.0,
|
| 45 |
+
"clip_ratio/low_mean": 0.0,
|
| 46 |
+
"clip_ratio/low_min": 0.0,
|
| 47 |
+
"clip_ratio/region_mean": 0.0,
|
| 48 |
+
"completions/clipped_ratio": 0.8828125,
|
| 49 |
+
"completions/max_length": 1024.0,
|
| 50 |
+
"completions/max_terminated_length": 821.6,
|
| 51 |
+
"completions/mean_length": 971.9640625,
|
| 52 |
+
"completions/mean_terminated_length": 570.3135467529297,
|
| 53 |
+
"completions/min_length": 287.1,
|
| 54 |
+
"completions/min_terminated_length": 287.1,
|
| 55 |
+
"entropy": 0.754186350107193,
|
| 56 |
+
"epoch": 0.05012531328320802,
|
| 57 |
+
"frac_reward_zero_std": 0.0,
|
| 58 |
+
"grad_norm": 1.0587414503097534,
|
| 59 |
+
"kl": 0.028826666437089442,
|
| 60 |
+
"learning_rate": 0.0001,
|
| 61 |
+
"loss": -0.013258826732635499,
|
| 62 |
+
"num_tokens": 1581589.0,
|
| 63 |
+
"reward": 0.306694495677948,
|
| 64 |
+
"reward_std": 0.021151169389486312,
|
| 65 |
+
"rewards/cache_reward/mean": 0.306694495677948,
|
| 66 |
+
"rewards/cache_reward/std": 0.021151169389486312,
|
| 67 |
+
"step": 20,
|
| 68 |
+
"step_time": 90.82258757026867
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"cache_hit_rate": 0.3231631815433502,
|
| 72 |
+
"clip_ratio/high_max": 0.0,
|
| 73 |
+
"clip_ratio/high_mean": 0.0,
|
| 74 |
+
"clip_ratio/low_mean": 0.0,
|
| 75 |
+
"clip_ratio/low_min": 0.0,
|
| 76 |
+
"clip_ratio/region_mean": 0.0,
|
| 77 |
+
"completions/clipped_ratio": 0.9515625,
|
| 78 |
+
"completions/max_length": 1024.0,
|
| 79 |
+
"completions/max_terminated_length": 664.1,
|
| 80 |
+
"completions/mean_length": 1000.9328125,
|
| 81 |
+
"completions/mean_terminated_length": 459.4166717529297,
|
| 82 |
+
"completions/min_length": 412.7,
|
| 83 |
+
"completions/min_terminated_length": 310.3,
|
| 84 |
+
"entropy": 0.5696786761283874,
|
| 85 |
+
"epoch": 0.07518796992481203,
|
| 86 |
+
"frac_reward_zero_std": 0.0,
|
| 87 |
+
"grad_norm": 0.1489810347557068,
|
| 88 |
+
"kl": 0.5070431146770715,
|
| 89 |
+
"learning_rate": 0.0001,
|
| 90 |
+
"loss": 0.052439266443252565,
|
| 91 |
+
"num_tokens": 2390842.0,
|
| 92 |
+
"reward": 0.3228506237268448,
|
| 93 |
+
"reward_std": 0.02563070598989725,
|
| 94 |
+
"rewards/cache_reward/mean": 0.3228506237268448,
|
| 95 |
+
"rewards/cache_reward/std": 0.02563070598989725,
|
| 96 |
+
"step": 30,
|
| 97 |
+
"step_time": 90.69367619913537
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"cache_hit_rate": 0.3287877798080444,
|
| 101 |
+
"clip_ratio/high_max": 0.0,
|
| 102 |
+
"clip_ratio/high_mean": 0.0,
|
| 103 |
+
"clip_ratio/low_mean": 0.0,
|
| 104 |
+
"clip_ratio/low_min": 0.0,
|
| 105 |
+
"clip_ratio/region_mean": 0.0,
|
| 106 |
+
"completions/clipped_ratio": 0.9921875,
|
| 107 |
+
"completions/max_length": 1024.0,
|
| 108 |
+
"completions/max_terminated_length": 150.8,
|
| 109 |
+
"completions/mean_length": 1018.8375,
|
| 110 |
+
"completions/mean_terminated_length": 93.1,
|
| 111 |
+
"completions/min_length": 752.2,
|
| 112 |
+
"completions/min_terminated_length": 35.4,
|
| 113 |
+
"entropy": 0.5493248522281646,
|
| 114 |
+
"epoch": 0.10025062656641603,
|
| 115 |
+
"frac_reward_zero_std": 0.0,
|
| 116 |
+
"grad_norm": 0.15555262565612793,
|
| 117 |
+
"kl": 0.04194357730448246,
|
| 118 |
+
"learning_rate": 0.0001,
|
| 119 |
+
"loss": 0.004945866391062736,
|
| 120 |
+
"num_tokens": 3234082.0,
|
| 121 |
+
"reward": 0.3287609279155731,
|
| 122 |
+
"reward_std": 0.024521841667592525,
|
| 123 |
+
"rewards/cache_reward/mean": 0.3287609279155731,
|
| 124 |
+
"rewards/cache_reward/std": 0.024521841667592525,
|
| 125 |
+
"step": 40,
|
| 126 |
+
"step_time": 90.52190033134539
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"cache_hit_rate": 0.3247293561697006,
|
| 130 |
+
"clip_ratio/high_max": 0.0,
|
| 131 |
+
"clip_ratio/high_mean": 0.0,
|
| 132 |
+
"clip_ratio/low_mean": 0.0,
|
| 133 |
+
"clip_ratio/low_min": 0.0,
|
| 134 |
+
"clip_ratio/region_mean": 0.0,
|
| 135 |
+
"completions/clipped_ratio": 0.9921875,
|
| 136 |
+
"completions/max_length": 1024.0,
|
| 137 |
+
"completions/max_terminated_length": 361.6,
|
| 138 |
+
"completions/mean_length": 1021.65,
|
| 139 |
+
"completions/mean_terminated_length": 361.6,
|
| 140 |
+
"completions/min_length": 873.6,
|
| 141 |
+
"completions/min_terminated_length": 361.6,
|
| 142 |
+
"entropy": 0.6632817029953003,
|
| 143 |
+
"epoch": 0.12531328320802004,
|
| 144 |
+
"frac_reward_zero_std": 0.0,
|
| 145 |
+
"grad_norm": 0.18938110768795013,
|
| 146 |
+
"kl": 0.054390712082386015,
|
| 147 |
+
"learning_rate": 0.0001,
|
| 148 |
+
"loss": 0.008095483481884002,
|
| 149 |
+
"num_tokens": 4060218.0,
|
| 150 |
+
"reward": 0.32472453713417054,
|
| 151 |
+
"reward_std": 0.025068807974457742,
|
| 152 |
+
"rewards/cache_reward/mean": 0.32472453713417054,
|
| 153 |
+
"rewards/cache_reward/std": 0.025068807974457742,
|
| 154 |
+
"step": 50,
|
| 155 |
+
"step_time": 90.76908840958495
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"cache_hit_rate": 0.33069254755973815,
|
| 159 |
+
"clip_ratio/high_max": 0.0,
|
| 160 |
+
"clip_ratio/high_mean": 0.0,
|
| 161 |
+
"clip_ratio/low_mean": 0.0,
|
| 162 |
+
"clip_ratio/low_min": 0.0,
|
| 163 |
+
"clip_ratio/region_mean": 0.0,
|
| 164 |
+
"completions/clipped_ratio": 0.98125,
|
| 165 |
+
"completions/max_length": 1024.0,
|
| 166 |
+
"completions/max_terminated_length": 455.7,
|
| 167 |
+
"completions/mean_length": 1014.6015625,
|
| 168 |
+
"completions/mean_terminated_length": 384.475,
|
| 169 |
+
"completions/min_length": 629.5,
|
| 170 |
+
"completions/min_terminated_length": 322.3,
|
| 171 |
+
"entropy": 0.6398827135562897,
|
| 172 |
+
"epoch": 0.15037593984962405,
|
| 173 |
+
"frac_reward_zero_std": 0.0,
|
| 174 |
+
"grad_norm": 0.1729903519153595,
|
| 175 |
+
"kl": 0.04443241953849793,
|
| 176 |
+
"learning_rate": 0.0001,
|
| 177 |
+
"loss": -1.8284097313880922e-05,
|
| 178 |
+
"num_tokens": 4852611.0,
|
| 179 |
+
"reward": 0.3305449992418289,
|
| 180 |
+
"reward_std": 0.02162333866581321,
|
| 181 |
+
"rewards/cache_reward/mean": 0.3305449992418289,
|
| 182 |
+
"rewards/cache_reward/std": 0.02162333866581321,
|
| 183 |
+
"step": 60,
|
| 184 |
+
"step_time": 90.52109750902746
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"cache_hit_rate": 0.3291244089603424,
|
| 188 |
+
"clip_ratio/high_max": 0.0,
|
| 189 |
+
"clip_ratio/high_mean": 0.0,
|
| 190 |
+
"clip_ratio/low_mean": 0.0,
|
| 191 |
+
"clip_ratio/low_min": 0.0,
|
| 192 |
+
"clip_ratio/region_mean": 0.0,
|
| 193 |
+
"completions/clipped_ratio": 0.9953125,
|
| 194 |
+
"completions/max_length": 1024.0,
|
| 195 |
+
"completions/max_terminated_length": 118.3,
|
| 196 |
+
"completions/mean_length": 1021.0484375,
|
| 197 |
+
"completions/mean_terminated_length": 118.3,
|
| 198 |
+
"completions/min_length": 835.1,
|
| 199 |
+
"completions/min_terminated_length": 118.3,
|
| 200 |
+
"entropy": 0.6163755863904953,
|
| 201 |
+
"epoch": 0.17543859649122806,
|
| 202 |
+
"frac_reward_zero_std": 0.0,
|
| 203 |
+
"grad_norm": 0.6231634020805359,
|
| 204 |
+
"kl": 0.04733915701508522,
|
| 205 |
+
"learning_rate": 0.0001,
|
| 206 |
+
"loss": -0.0013297975063323974,
|
| 207 |
+
"num_tokens": 5682834.0,
|
| 208 |
+
"reward": 0.3290934026241302,
|
| 209 |
+
"reward_std": 0.025694792345166206,
|
| 210 |
+
"rewards/cache_reward/mean": 0.3290934026241302,
|
| 211 |
+
"rewards/cache_reward/std": 0.025694792345166206,
|
| 212 |
+
"step": 70,
|
| 213 |
+
"step_time": 91.40459936279804
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"cache_hit_rate": 0.32914042472839355,
|
| 217 |
+
"clip_ratio/high_max": 0.0,
|
| 218 |
+
"clip_ratio/high_mean": 0.0,
|
| 219 |
+
"clip_ratio/low_mean": 0.0,
|
| 220 |
+
"clip_ratio/low_min": 0.0,
|
| 221 |
+
"clip_ratio/region_mean": 0.0,
|
| 222 |
+
"completions/clipped_ratio": 0.9859375,
|
| 223 |
+
"completions/max_length": 1024.0,
|
| 224 |
+
"completions/max_terminated_length": 280.2,
|
| 225 |
+
"completions/mean_length": 1016.7546875,
|
| 226 |
+
"completions/mean_terminated_length": 271.95,
|
| 227 |
+
"completions/min_length": 673.3,
|
| 228 |
+
"completions/min_terminated_length": 263.7,
|
| 229 |
+
"entropy": 0.6250631839036942,
|
| 230 |
+
"epoch": 0.20050125313283207,
|
| 231 |
+
"frac_reward_zero_std": 0.0,
|
| 232 |
+
"grad_norm": 0.14358767867088318,
|
| 233 |
+
"kl": 0.04605277068912983,
|
| 234 |
+
"learning_rate": 0.0001,
|
| 235 |
+
"loss": 0.0016001952812075616,
|
| 236 |
+
"num_tokens": 6469845.0,
|
| 237 |
+
"reward": 0.3290808916091919,
|
| 238 |
+
"reward_std": 0.027931400947272776,
|
| 239 |
+
"rewards/cache_reward/mean": 0.3290808916091919,
|
| 240 |
+
"rewards/cache_reward/std": 0.027931400947272776,
|
| 241 |
+
"step": 80,
|
| 242 |
+
"step_time": 90.27690456421115
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"cache_hit_rate": 0.3384521096944809,
|
| 246 |
+
"clip_ratio/high_max": 0.0,
|
| 247 |
+
"clip_ratio/high_mean": 0.0,
|
| 248 |
+
"clip_ratio/low_mean": 0.0,
|
| 249 |
+
"clip_ratio/low_min": 0.0,
|
| 250 |
+
"clip_ratio/region_mean": 0.0,
|
| 251 |
+
"completions/clipped_ratio": 0.990625,
|
| 252 |
+
"completions/max_length": 1024.0,
|
| 253 |
+
"completions/max_terminated_length": 164.9,
|
| 254 |
+
"completions/mean_length": 1017.1234375,
|
| 255 |
+
"completions/mean_terminated_length": 164.3,
|
| 256 |
+
"completions/min_length": 675.7,
|
| 257 |
+
"completions/min_terminated_length": 163.7,
|
| 258 |
+
"entropy": 0.44799884855747224,
|
| 259 |
+
"epoch": 0.22556390977443608,
|
| 260 |
+
"frac_reward_zero_std": 0.0,
|
| 261 |
+
"grad_norm": 0.19581231474876404,
|
| 262 |
+
"kl": 0.042757127434015274,
|
| 263 |
+
"learning_rate": 0.0001,
|
| 264 |
+
"loss": -0.004632307216525078,
|
| 265 |
+
"num_tokens": 7271556.0,
|
| 266 |
+
"reward": 0.3383351147174835,
|
| 267 |
+
"reward_std": 0.023683687672019005,
|
| 268 |
+
"rewards/cache_reward/mean": 0.3383351147174835,
|
| 269 |
+
"rewards/cache_reward/std": 0.023683687672019005,
|
| 270 |
+
"step": 90,
|
| 271 |
+
"step_time": 91.19093074775301
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"cache_hit_rate": 0.3332447409629822,
|
| 275 |
+
"clip_ratio/high_max": 0.0,
|
| 276 |
+
"clip_ratio/high_mean": 0.0,
|
| 277 |
+
"clip_ratio/low_mean": 0.0,
|
| 278 |
+
"clip_ratio/low_min": 0.0,
|
| 279 |
+
"clip_ratio/region_mean": 0.0,
|
| 280 |
+
"completions/clipped_ratio": 0.9921875,
|
| 281 |
+
"completions/max_length": 1024.0,
|
| 282 |
+
"completions/max_terminated_length": 279.5,
|
| 283 |
+
"completions/mean_length": 1020.3671875,
|
| 284 |
+
"completions/mean_terminated_length": 279.5,
|
| 285 |
+
"completions/min_length": 791.5,
|
| 286 |
+
"completions/min_terminated_length": 279.5,
|
| 287 |
+
"entropy": 0.5914906859397888,
|
| 288 |
+
"epoch": 0.2506265664160401,
|
| 289 |
+
"frac_reward_zero_std": 0.0,
|
| 290 |
+
"grad_norm": 0.22322462499141693,
|
| 291 |
+
"kl": 0.04192206896841526,
|
| 292 |
+
"learning_rate": 0.0001,
|
| 293 |
+
"loss": 0.004385053366422653,
|
| 294 |
+
"num_tokens": 8067287.0,
|
| 295 |
+
"reward": 0.33321733176708224,
|
| 296 |
+
"reward_std": 0.02411998054012656,
|
| 297 |
+
"rewards/cache_reward/mean": 0.33321733176708224,
|
| 298 |
+
"rewards/cache_reward/std": 0.02411998054012656,
|
| 299 |
+
"step": 100,
|
| 300 |
+
"step_time": 90.90292567885481
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"cache_hit_rate": 0.33464895784854887,
|
| 304 |
+
"clip_ratio/high_max": 0.0,
|
| 305 |
+
"clip_ratio/high_mean": 0.0,
|
| 306 |
+
"clip_ratio/low_mean": 0.0,
|
| 307 |
+
"clip_ratio/low_min": 0.0,
|
| 308 |
+
"clip_ratio/region_mean": 0.0,
|
| 309 |
+
"completions/clipped_ratio": 0.98125,
|
| 310 |
+
"completions/max_length": 1024.0,
|
| 311 |
+
"completions/max_terminated_length": 373.3,
|
| 312 |
+
"completions/mean_length": 1013.3484375,
|
| 313 |
+
"completions/mean_terminated_length": 336.025,
|
| 314 |
+
"completions/min_length": 503.6,
|
| 315 |
+
"completions/min_terminated_length": 298.8,
|
| 316 |
+
"entropy": 0.4564924329519272,
|
| 317 |
+
"epoch": 0.2756892230576441,
|
| 318 |
+
"frac_reward_zero_std": 0.0,
|
| 319 |
+
"grad_norm": 0.1496705561876297,
|
| 320 |
+
"kl": 0.0379826420918107,
|
| 321 |
+
"learning_rate": 0.0001,
|
| 322 |
+
"loss": 0.0033605631440877916,
|
| 323 |
+
"num_tokens": 8892334.0,
|
| 324 |
+
"reward": 0.33460802435874937,
|
| 325 |
+
"reward_std": 0.024270175583660604,
|
| 326 |
+
"rewards/cache_reward/mean": 0.33460802435874937,
|
| 327 |
+
"rewards/cache_reward/std": 0.024270175583660604,
|
| 328 |
+
"step": 110,
|
| 329 |
+
"step_time": 91.2041310617933
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"cache_hit_rate": 0.3374886929988861,
|
| 333 |
+
"clip_ratio/high_max": 0.0,
|
| 334 |
+
"clip_ratio/high_mean": 0.0,
|
| 335 |
+
"clip_ratio/low_mean": 0.0,
|
| 336 |
+
"clip_ratio/low_min": 0.0,
|
| 337 |
+
"clip_ratio/region_mean": 0.0,
|
| 338 |
+
"completions/clipped_ratio": 0.9828125,
|
| 339 |
+
"completions/max_length": 1024.0,
|
| 340 |
+
"completions/max_terminated_length": 459.2,
|
| 341 |
+
"completions/mean_length": 1015.209375,
|
| 342 |
+
"completions/mean_terminated_length": 380.6,
|
| 343 |
+
"completions/min_length": 506.8,
|
| 344 |
+
"completions/min_terminated_length": 302.0,
|
| 345 |
+
"entropy": 0.5316164076328278,
|
| 346 |
+
"epoch": 0.3007518796992481,
|
| 347 |
+
"frac_reward_zero_std": 0.0,
|
| 348 |
+
"grad_norm": 0.16703373193740845,
|
| 349 |
+
"kl": 0.0434085251763463,
|
| 350 |
+
"learning_rate": 0.0001,
|
| 351 |
+
"loss": 0.008729323744773865,
|
| 352 |
+
"num_tokens": 9680356.0,
|
| 353 |
+
"reward": 0.33764258623123167,
|
| 354 |
+
"reward_std": 0.024684826284646987,
|
| 355 |
+
"rewards/cache_reward/mean": 0.33764258623123167,
|
| 356 |
+
"rewards/cache_reward/std": 0.024684826284646987,
|
| 357 |
+
"step": 120,
|
| 358 |
+
"step_time": 91.07375006200746
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"cache_hit_rate": 0.33408362567424776,
|
| 362 |
+
"clip_ratio/high_max": 0.0,
|
| 363 |
+
"clip_ratio/high_mean": 0.0,
|
| 364 |
+
"clip_ratio/low_mean": 0.0,
|
| 365 |
+
"clip_ratio/low_min": 0.0,
|
| 366 |
+
"clip_ratio/region_mean": 0.0,
|
| 367 |
+
"completions/clipped_ratio": 0.9859375,
|
| 368 |
+
"completions/max_length": 1024.0,
|
| 369 |
+
"completions/max_terminated_length": 328.1,
|
| 370 |
+
"completions/mean_length": 1015.221875,
|
| 371 |
+
"completions/mean_terminated_length": 301.4,
|
| 372 |
+
"completions/min_length": 581.9,
|
| 373 |
+
"completions/min_terminated_length": 274.7,
|
| 374 |
+
"entropy": 0.5473819822072983,
|
| 375 |
+
"epoch": 0.3258145363408521,
|
| 376 |
+
"frac_reward_zero_std": 0.0,
|
| 377 |
+
"grad_norm": 0.17018599808216095,
|
| 378 |
+
"kl": 0.08177528716623783,
|
| 379 |
+
"learning_rate": 0.0001,
|
| 380 |
+
"loss": 0.008963721990585326,
|
| 381 |
+
"num_tokens": 10495674.0,
|
| 382 |
+
"reward": 0.3341580301523209,
|
| 383 |
+
"reward_std": 0.024980502761900426,
|
| 384 |
+
"rewards/cache_reward/mean": 0.3341580301523209,
|
| 385 |
+
"rewards/cache_reward/std": 0.024980502761900426,
|
| 386 |
+
"step": 130,
|
| 387 |
+
"step_time": 90.68363874959759
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"cache_hit_rate": 0.33405864536762236,
|
| 391 |
+
"clip_ratio/high_max": 0.0,
|
| 392 |
+
"clip_ratio/high_mean": 0.0,
|
| 393 |
+
"clip_ratio/low_mean": 0.0,
|
| 394 |
+
"clip_ratio/low_min": 0.0,
|
| 395 |
+
"clip_ratio/region_mean": 0.0,
|
| 396 |
+
"completions/clipped_ratio": 0.9859375,
|
| 397 |
+
"completions/max_length": 1024.0,
|
| 398 |
+
"completions/max_terminated_length": 253.5,
|
| 399 |
+
"completions/mean_length": 1015.403125,
|
| 400 |
+
"completions/mean_terminated_length": 207.71666870117187,
|
| 401 |
+
"completions/min_length": 675.1,
|
| 402 |
+
"completions/min_terminated_length": 163.1,
|
| 403 |
+
"entropy": 0.5471912950277329,
|
| 404 |
+
"epoch": 0.3508771929824561,
|
| 405 |
+
"frac_reward_zero_std": 0.0,
|
| 406 |
+
"grad_norm": 0.20733150839805603,
|
| 407 |
+
"kl": 0.35445162318646906,
|
| 408 |
+
"learning_rate": 0.0001,
|
| 409 |
+
"loss": 0.04615514874458313,
|
| 410 |
+
"num_tokens": 11295188.0,
|
| 411 |
+
"reward": 0.3339251846075058,
|
| 412 |
+
"reward_std": 0.02682190975174308,
|
| 413 |
+
"rewards/cache_reward/mean": 0.3339251846075058,
|
| 414 |
+
"rewards/cache_reward/std": 0.02682190975174308,
|
| 415 |
+
"step": 140,
|
| 416 |
+
"step_time": 91.03833641626406
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"cache_hit_rate": 0.33871919512748716,
|
| 420 |
+
"clip_ratio/high_max": 0.0,
|
| 421 |
+
"clip_ratio/high_mean": 0.0,
|
| 422 |
+
"clip_ratio/low_mean": 0.0,
|
| 423 |
+
"clip_ratio/low_min": 0.0,
|
| 424 |
+
"clip_ratio/region_mean": 0.0,
|
| 425 |
+
"completions/clipped_ratio": 0.978125,
|
| 426 |
+
"completions/max_length": 1024.0,
|
| 427 |
+
"completions/max_terminated_length": 519.8,
|
| 428 |
+
"completions/mean_length": 1013.0640625,
|
| 429 |
+
"completions/mean_terminated_length": 432.925,
|
| 430 |
+
"completions/min_length": 537.9,
|
| 431 |
+
"completions/min_terminated_length": 333.1,
|
| 432 |
+
"entropy": 0.49129725992679596,
|
| 433 |
+
"epoch": 0.37593984962406013,
|
| 434 |
+
"frac_reward_zero_std": 0.0,
|
| 435 |
+
"grad_norm": 0.1506304144859314,
|
| 436 |
+
"kl": 0.045265543088316915,
|
| 437 |
+
"learning_rate": 0.0001,
|
| 438 |
+
"loss": -0.0007558207958936692,
|
| 439 |
+
"num_tokens": 12104301.0,
|
| 440 |
+
"reward": 0.3386825680732727,
|
| 441 |
+
"reward_std": 0.025650268793106078,
|
| 442 |
+
"rewards/cache_reward/mean": 0.3386825680732727,
|
| 443 |
+
"rewards/cache_reward/std": 0.025650268793106078,
|
| 444 |
+
"step": 150,
|
| 445 |
+
"step_time": 91.25925274270121
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"cache_hit_rate": 0.33684642016887667,
|
| 449 |
+
"clip_ratio/high_max": 0.0,
|
| 450 |
+
"clip_ratio/high_mean": 0.0,
|
| 451 |
+
"clip_ratio/low_mean": 0.0,
|
| 452 |
+
"clip_ratio/low_min": 0.0,
|
| 453 |
+
"clip_ratio/region_mean": 0.0,
|
| 454 |
+
"completions/clipped_ratio": 0.98125,
|
| 455 |
+
"completions/max_length": 1024.0,
|
| 456 |
+
"completions/max_terminated_length": 453.5,
|
| 457 |
+
"completions/mean_length": 1014.05,
|
| 458 |
+
"completions/mean_terminated_length": 370.8833374023437,
|
| 459 |
+
"completions/min_length": 471.5,
|
| 460 |
+
"completions/min_terminated_length": 266.7,
|
| 461 |
+
"entropy": 0.5017873764038085,
|
| 462 |
+
"epoch": 0.40100250626566414,
|
| 463 |
+
"frac_reward_zero_std": 0.0,
|
| 464 |
+
"grad_norm": 2.4631996154785156,
|
| 465 |
+
"kl": 24.154931166768073,
|
| 466 |
+
"learning_rate": 0.0001,
|
| 467 |
+
"loss": 3.8478744506835936,
|
| 468 |
+
"num_tokens": 12925005.0,
|
| 469 |
+
"reward": 0.3366888463497162,
|
| 470 |
+
"reward_std": 0.02669309824705124,
|
| 471 |
+
"rewards/cache_reward/mean": 0.3366888463497162,
|
| 472 |
+
"rewards/cache_reward/std": 0.02669309824705124,
|
| 473 |
+
"step": 160,
|
| 474 |
+
"step_time": 90.7307717730524
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"cache_hit_rate": 0.3352246254682541,
|
| 478 |
+
"clip_ratio/high_max": 0.0,
|
| 479 |
+
"clip_ratio/high_mean": 0.0,
|
| 480 |
+
"clip_ratio/low_mean": 0.0,
|
| 481 |
+
"clip_ratio/low_min": 0.0,
|
| 482 |
+
"clip_ratio/region_mean": 0.0,
|
| 483 |
+
"completions/clipped_ratio": 0.984375,
|
| 484 |
+
"completions/max_length": 1024.0,
|
| 485 |
+
"completions/max_terminated_length": 195.4,
|
| 486 |
+
"completions/mean_length": 1014.4828125,
|
| 487 |
+
"completions/mean_terminated_length": 127.05000305175781,
|
| 488 |
+
"completions/min_length": 784.3,
|
| 489 |
+
"completions/min_terminated_length": 67.5,
|
| 490 |
+
"entropy": 0.5599089354276657,
|
| 491 |
+
"epoch": 0.42606516290726815,
|
| 492 |
+
"frac_reward_zero_std": 0.0,
|
| 493 |
+
"grad_norm": 0.6771759390830994,
|
| 494 |
+
"kl": 0.057728367298841475,
|
| 495 |
+
"learning_rate": 0.0001,
|
| 496 |
+
"loss": -0.005303345993161202,
|
| 497 |
+
"num_tokens": 13762762.0,
|
| 498 |
+
"reward": 0.33506683707237245,
|
| 499 |
+
"reward_std": 0.022994110081344842,
|
| 500 |
+
"rewards/cache_reward/mean": 0.33506683707237245,
|
| 501 |
+
"rewards/cache_reward/std": 0.022994110081344842,
|
| 502 |
+
"step": 170,
|
| 503 |
+
"step_time": 91.37958506643773
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"cache_hit_rate": 0.33833766877651217,
|
| 507 |
+
"clip_ratio/high_max": 0.0,
|
| 508 |
+
"clip_ratio/high_mean": 0.0,
|
| 509 |
+
"clip_ratio/low_mean": 0.0,
|
| 510 |
+
"clip_ratio/low_min": 0.0,
|
| 511 |
+
"clip_ratio/region_mean": 0.0,
|
| 512 |
+
"completions/clipped_ratio": 0.99375,
|
| 513 |
+
"completions/max_length": 1024.0,
|
| 514 |
+
"completions/max_terminated_length": 346.8,
|
| 515 |
+
"completions/mean_length": 1023.01875,
|
| 516 |
+
"completions/mean_terminated_length": 346.8,
|
| 517 |
+
"completions/min_length": 961.2,
|
| 518 |
+
"completions/min_terminated_length": 346.8,
|
| 519 |
+
"entropy": 0.5654248386621475,
|
| 520 |
+
"epoch": 0.45112781954887216,
|
| 521 |
+
"frac_reward_zero_std": 0.0,
|
| 522 |
+
"grad_norm": 0.14284838736057281,
|
| 523 |
+
"kl": 2.4538527205586433,
|
| 524 |
+
"learning_rate": 0.0001,
|
| 525 |
+
"loss": 0.39122982025146485,
|
| 526 |
+
"num_tokens": 14591590.0,
|
| 527 |
+
"reward": 0.33830906450748444,
|
| 528 |
+
"reward_std": 0.02580958418548107,
|
| 529 |
+
"rewards/cache_reward/mean": 0.33830906450748444,
|
| 530 |
+
"rewards/cache_reward/std": 0.02580958418548107,
|
| 531 |
+
"step": 180,
|
| 532 |
+
"step_time": 91.57028467489872
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"cache_hit_rate": 0.3408436506986618,
|
| 536 |
+
"clip_ratio/high_max": 0.0,
|
| 537 |
+
"clip_ratio/high_mean": 0.0,
|
| 538 |
+
"clip_ratio/low_mean": 0.0,
|
| 539 |
+
"clip_ratio/low_min": 0.0,
|
| 540 |
+
"clip_ratio/region_mean": 0.0,
|
| 541 |
+
"completions/clipped_ratio": 0.9890625,
|
| 542 |
+
"completions/max_length": 1024.0,
|
| 543 |
+
"completions/max_terminated_length": 202.6,
|
| 544 |
+
"completions/mean_length": 1016.6109375,
|
| 545 |
+
"completions/mean_terminated_length": 183.8,
|
| 546 |
+
"completions/min_length": 677.0,
|
| 547 |
+
"completions/min_terminated_length": 165.0,
|
| 548 |
+
"entropy": 0.5419578611850738,
|
| 549 |
+
"epoch": 0.47619047619047616,
|
| 550 |
+
"frac_reward_zero_std": 0.0,
|
| 551 |
+
"grad_norm": 0.13886591792106628,
|
| 552 |
+
"kl": 0.07005284689366817,
|
| 553 |
+
"learning_rate": 0.0001,
|
| 554 |
+
"loss": 0.008208285272121429,
|
| 555 |
+
"num_tokens": 15394349.0,
|
| 556 |
+
"reward": 0.3408004969358444,
|
| 557 |
+
"reward_std": 0.025611967965960502,
|
| 558 |
+
"rewards/cache_reward/mean": 0.3408004969358444,
|
| 559 |
+
"rewards/cache_reward/std": 0.025611967965960502,
|
| 560 |
+
"step": 190,
|
| 561 |
+
"step_time": 91.14261374084745
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"cache_hit_rate": 0.3391114443540573,
|
| 565 |
+
"clip_ratio/high_max": 0.0,
|
| 566 |
+
"clip_ratio/high_mean": 0.0,
|
| 567 |
+
"clip_ratio/low_mean": 0.0,
|
| 568 |
+
"clip_ratio/low_min": 0.0,
|
| 569 |
+
"clip_ratio/region_mean": 0.0,
|
| 570 |
+
"completions/clipped_ratio": 0.9921875,
|
| 571 |
+
"completions/max_length": 1024.0,
|
| 572 |
+
"completions/max_terminated_length": 179.6,
|
| 573 |
+
"completions/mean_length": 1019.0921875,
|
| 574 |
+
"completions/mean_terminated_length": 179.0,
|
| 575 |
+
"completions/min_length": 792.8,
|
| 576 |
+
"completions/min_terminated_length": 178.4,
|
| 577 |
+
"entropy": 0.5290060758590698,
|
| 578 |
+
"epoch": 0.5012531328320802,
|
| 579 |
+
"frac_reward_zero_std": 0.0,
|
| 580 |
+
"grad_norm": 0.1409655660390854,
|
| 581 |
+
"kl": 0.0499697394669056,
|
| 582 |
+
"learning_rate": 0.0001,
|
| 583 |
+
"loss": 0.004792223125696183,
|
| 584 |
+
"num_tokens": 16176376.0,
|
| 585 |
+
"reward": 0.33905126750469206,
|
| 586 |
+
"reward_std": 0.026329115405678748,
|
| 587 |
+
"rewards/cache_reward/mean": 0.33905126750469206,
|
| 588 |
+
"rewards/cache_reward/std": 0.026329115405678748,
|
| 589 |
+
"step": 200,
|
| 590 |
+
"step_time": 90.93274403410032
|
| 591 |
+
}
|
| 592 |
+
],
|
| 593 |
+
"logging_steps": 10,
|
| 594 |
+
"max_steps": 200,
|
| 595 |
+
"num_input_tokens_seen": 16261463,
|
| 596 |
+
"num_train_epochs": 1,
|
| 597 |
+
"save_steps": 50,
|
| 598 |
+
"stateful_callbacks": {
|
| 599 |
+
"TrainerControl": {
|
| 600 |
+
"args": {
|
| 601 |
+
"should_epoch_stop": false,
|
| 602 |
+
"should_evaluate": false,
|
| 603 |
+
"should_log": false,
|
| 604 |
+
"should_save": true,
|
| 605 |
+
"should_training_stop": true
|
| 606 |
+
},
|
| 607 |
+
"attributes": {}
|
| 608 |
+
}
|
| 609 |
+
},
|
| 610 |
+
"total_flos": 0.0,
|
| 611 |
+
"train_batch_size": 16,
|
| 612 |
+
"trial_name": null,
|
| 613 |
+
"trial_params": null
|
| 614 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fa0515887e3471c404fa0917b4bd4f0dff257d719ef4ce4a6dadc0daac7ba8c
|
| 3 |
+
size 7825
|