Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- README.md +75 -0
- adapter_config.json +46 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +1 -0
- checkpoint-471/README.md +209 -0
- checkpoint-471/adapter_config.json +46 -0
- checkpoint-471/adapter_model.safetensors +3 -0
- checkpoint-471/chat_template.jinja +1 -0
- checkpoint-471/optimizer.pt +3 -0
- checkpoint-471/rng_state.pth +3 -0
- checkpoint-471/scaler.pt +3 -0
- checkpoint-471/scheduler.pt +3 -0
- checkpoint-471/special_tokens_map.json +17 -0
- checkpoint-471/tokenizer.json +3 -0
- checkpoint-471/tokenizer_config.json +194 -0
- checkpoint-471/trainer_state.json +504 -0
- checkpoint-471/training_args.bin +3 -0
- special_tokens_map.json +17 -0
- tokenizer.json +3 -0
- tokenizer_config.json +194 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip 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
|
|
|
|
|
|
|
|
|
| 33 |
*.zip 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 |
+
checkpoint-471/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: typescript-slm-7b-reasoning
|
| 5 |
+
tags:
|
| 6 |
+
- typescript
|
| 7 |
+
- code-generation
|
| 8 |
+
- react
|
| 9 |
+
- nextjs
|
| 10 |
+
- angular
|
| 11 |
+
- nodejs
|
| 12 |
+
- lora
|
| 13 |
+
- sft
|
| 14 |
+
- 7b
|
| 15 |
+
- reasoning
|
| 16 |
+
- transformers
|
| 17 |
+
- trl
|
| 18 |
+
license: mit
|
| 19 |
+
pipeline_tag: text-generation
|
| 20 |
+
language:
|
| 21 |
+
- en
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# TypeScript SLM 7B - Reasoning Variant
|
| 25 |
+
|
| 26 |
+
7B TypeScript model with reasoning capabilities for TypeScript code generation, optimized for React, Next.js, Angular, and Node.js.
|
| 27 |
+
|
| 28 |
+
## Model Details
|
| 29 |
+
|
| 30 |
+
- **Base Model**: [deepseek-ai/DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B)
|
| 31 |
+
- **Model Size**: 7B parameters
|
| 32 |
+
- **Training Method**: LoRA (Low-Rank Adaptation)
|
| 33 |
+
- **Context Length**: 2048 tokens
|
| 34 |
+
- **LoRA Rank**: 64
|
| 35 |
+
- **Training Dataset**: 5,000 high-quality TypeScript samples
|
| 36 |
+
|
| 37 |
+
## Reasoning Capabilities
|
| 38 |
+
This variant includes chain-of-thought reasoning for better code understanding and generation.
|
| 39 |
+
|
| 40 |
+
## Training Configuration
|
| 41 |
+
|
| 42 |
+
- Batch Size: 2
|
| 43 |
+
- Gradient Accumulation: 16
|
| 44 |
+
- Effective Batch Size: 32
|
| 45 |
+
- Learning Rate: 0.0001
|
| 46 |
+
- Epochs: 3
|
| 47 |
+
- Hardware: Google Colab A100 40GB
|
| 48 |
+
|
| 49 |
+
## Usage
|
| 50 |
+
|
| 51 |
+
```python
|
| 52 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 53 |
+
from peft import PeftModel
|
| 54 |
+
|
| 55 |
+
base_model = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B"
|
| 56 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 57 |
+
base_model,
|
| 58 |
+
device_map="auto",
|
| 59 |
+
torch_dtype="auto"
|
| 60 |
+
)
|
| 61 |
+
tokenizer = AutoTokenizer.from_pretrained(base_model)
|
| 62 |
+
|
| 63 |
+
# Load LoRA adapter
|
| 64 |
+
model = PeftModel.from_pretrained(model, "sylvester-francis/typescript-slm-7b-reasoning")
|
| 65 |
+
|
| 66 |
+
# Generate code
|
| 67 |
+
prompt = "Write a React component with TypeScript:"
|
| 68 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 69 |
+
outputs = model.generate(**inputs, max_new_tokens=512)
|
| 70 |
+
print(tokenizer.decode(outputs[0]))
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Repository
|
| 74 |
+
|
| 75 |
+
https://github.com/sylvester-francis/slm-typescript-model
|
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": "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.0",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"o_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"k_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"down_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 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb28ae9992d2da9853a74b0b2a8b74066f27816d33b0ee83fa09accf7ace9169
|
| 3 |
+
size 645975704
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
checkpoint-471/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model 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.18.0
|
checkpoint-471/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": "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.0",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"o_proj",
|
| 33 |
+
"v_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"k_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"down_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 |
+
}
|
checkpoint-471/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb28ae9992d2da9853a74b0b2a8b74066f27816d33b0ee83fa09accf7ace9169
|
| 3 |
+
size 645975704
|
checkpoint-471/chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
checkpoint-471/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:086a50c3d7c25bef8076faf087a3b5752a7bd3ebb31d1f28ae271f4d31f7d957
|
| 3 |
+
size 1292176635
|
checkpoint-471/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe1f5aa402ed224bd21ac75e3b11f55687ab3108a7f59896ea21ca23e469b699
|
| 3 |
+
size 14645
|
checkpoint-471/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a43ec84ce17ac70535435458670af11900888cd9a53a55de5cc4f7045427326a
|
| 3 |
+
size 1383
|
checkpoint-471/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:440e88cdd2b8f02a69e37eb0571770eaefbce9ec77b189187cfdbff43e7aac63
|
| 3 |
+
size 1465
|
checkpoint-471/special_tokens_map.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin▁of▁sentence|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|end▁of▁sentence|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<|end▁of▁sentence|>"
|
| 17 |
+
}
|
checkpoint-471/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893
|
| 3 |
+
size 11422778
|
checkpoint-471/tokenizer_config.json
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"151643": {
|
| 7 |
+
"content": "<|end▁of▁sentence|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"151644": {
|
| 15 |
+
"content": "<|User|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": false
|
| 21 |
+
},
|
| 22 |
+
"151645": {
|
| 23 |
+
"content": "<|Assistant|>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"151646": {
|
| 31 |
+
"content": "<|begin▁of▁sentence|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"151647": {
|
| 39 |
+
"content": "<|EOT|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"151648": {
|
| 47 |
+
"content": "<think>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"151649": {
|
| 55 |
+
"content": "</think>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"151650": {
|
| 63 |
+
"content": "<|quad_start|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"151651": {
|
| 71 |
+
"content": "<|quad_end|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"151652": {
|
| 79 |
+
"content": "<|vision_start|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"151653": {
|
| 87 |
+
"content": "<|vision_end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"151654": {
|
| 95 |
+
"content": "<|vision_pad|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"151655": {
|
| 103 |
+
"content": "<|image_pad|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"151656": {
|
| 111 |
+
"content": "<|video_pad|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
},
|
| 118 |
+
"151657": {
|
| 119 |
+
"content": "<tool_call>",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": false,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"151658": {
|
| 127 |
+
"content": "</tool_call>",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": false,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"151659": {
|
| 135 |
+
"content": "<|fim_prefix|>",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": false,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"151660": {
|
| 143 |
+
"content": "<|fim_middle|>",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": false,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"151661": {
|
| 151 |
+
"content": "<|fim_suffix|>",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": false,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"151662": {
|
| 159 |
+
"content": "<|fim_pad|>",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": false,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"151663": {
|
| 167 |
+
"content": "<|repo_name|>",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": false,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"151664": {
|
| 175 |
+
"content": "<|file_sep|>",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": false,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 184 |
+
"clean_up_tokenization_spaces": false,
|
| 185 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 186 |
+
"extra_special_tokens": {},
|
| 187 |
+
"legacy": true,
|
| 188 |
+
"model_max_length": 2048,
|
| 189 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 190 |
+
"sp_model_kwargs": {},
|
| 191 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
| 192 |
+
"unk_token": null,
|
| 193 |
+
"use_default_system_prompt": false
|
| 194 |
+
}
|
checkpoint-471/trainer_state.json
ADDED
|
@@ -0,0 +1,504 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 471,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 1.132301941141486,
|
| 14 |
+
"epoch": 0.064,
|
| 15 |
+
"grad_norm": 0.5353747010231018,
|
| 16 |
+
"learning_rate": 6e-05,
|
| 17 |
+
"loss": 1.906,
|
| 18 |
+
"mean_token_accuracy": 0.664031008630991,
|
| 19 |
+
"num_tokens": 322944.0,
|
| 20 |
+
"step": 10
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.6638864956796169,
|
| 24 |
+
"epoch": 0.128,
|
| 25 |
+
"grad_norm": 2.618912935256958,
|
| 26 |
+
"learning_rate": 9.998101535124758e-05,
|
| 27 |
+
"loss": 1.6494,
|
| 28 |
+
"mean_token_accuracy": 0.6862719308584928,
|
| 29 |
+
"num_tokens": 545000.0,
|
| 30 |
+
"step": 20
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.6117467258125544,
|
| 34 |
+
"epoch": 0.192,
|
| 35 |
+
"grad_norm": 0.3634222745895386,
|
| 36 |
+
"learning_rate": 9.976760358471686e-05,
|
| 37 |
+
"loss": 1.621,
|
| 38 |
+
"mean_token_accuracy": 0.6831253364682197,
|
| 39 |
+
"num_tokens": 672098.0,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.638535926118493,
|
| 44 |
+
"epoch": 0.256,
|
| 45 |
+
"grad_norm": 0.344290167093277,
|
| 46 |
+
"learning_rate": 9.931806517013612e-05,
|
| 47 |
+
"loss": 1.6359,
|
| 48 |
+
"mean_token_accuracy": 0.6802711755037307,
|
| 49 |
+
"num_tokens": 751980.0,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.478830385953188,
|
| 54 |
+
"epoch": 0.32,
|
| 55 |
+
"grad_norm": 0.2297399342060089,
|
| 56 |
+
"learning_rate": 9.86345329809282e-05,
|
| 57 |
+
"loss": 1.4647,
|
| 58 |
+
"mean_token_accuracy": 0.7069825578480959,
|
| 59 |
+
"num_tokens": 1072943.0,
|
| 60 |
+
"step": 50
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 1.3794383138418198,
|
| 64 |
+
"epoch": 0.384,
|
| 65 |
+
"grad_norm": 0.32549116015434265,
|
| 66 |
+
"learning_rate": 9.772025009397537e-05,
|
| 67 |
+
"loss": 1.3838,
|
| 68 |
+
"mean_token_accuracy": 0.7154554862529039,
|
| 69 |
+
"num_tokens": 1293367.0,
|
| 70 |
+
"step": 60
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.3911591000854968,
|
| 74 |
+
"epoch": 0.448,
|
| 75 |
+
"grad_norm": 0.5462145209312439,
|
| 76 |
+
"learning_rate": 9.657955440256395e-05,
|
| 77 |
+
"loss": 1.3962,
|
| 78 |
+
"mean_token_accuracy": 0.7130337696522474,
|
| 79 |
+
"num_tokens": 1421079.0,
|
| 80 |
+
"step": 70
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 1.3676836647093296,
|
| 84 |
+
"epoch": 0.512,
|
| 85 |
+
"grad_norm": 0.49329081177711487,
|
| 86 |
+
"learning_rate": 9.521785803487889e-05,
|
| 87 |
+
"loss": 1.3622,
|
| 88 |
+
"mean_token_accuracy": 0.7188269149512052,
|
| 89 |
+
"num_tokens": 1528707.0,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 1.4105482891201973,
|
| 94 |
+
"epoch": 0.576,
|
| 95 |
+
"grad_norm": 0.2888951599597931,
|
| 96 |
+
"learning_rate": 9.364162167569907e-05,
|
| 97 |
+
"loss": 1.3927,
|
| 98 |
+
"mean_token_accuracy": 0.715605778619647,
|
| 99 |
+
"num_tokens": 1847533.0,
|
| 100 |
+
"step": 90
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 1.305791912227869,
|
| 104 |
+
"epoch": 0.64,
|
| 105 |
+
"grad_norm": 0.37133723497390747,
|
| 106 |
+
"learning_rate": 9.185832391312644e-05,
|
| 107 |
+
"loss": 1.2926,
|
| 108 |
+
"mean_token_accuracy": 0.7268331546336413,
|
| 109 |
+
"num_tokens": 2059118.0,
|
| 110 |
+
"step": 100
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.3148710001260042,
|
| 114 |
+
"epoch": 0.704,
|
| 115 |
+
"grad_norm": 0.5283713340759277,
|
| 116 |
+
"learning_rate": 8.987642575578545e-05,
|
| 117 |
+
"loss": 1.3115,
|
| 118 |
+
"mean_token_accuracy": 0.7234834432601929,
|
| 119 |
+
"num_tokens": 2178666.0,
|
| 120 |
+
"step": 110
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.2872359901666641,
|
| 124 |
+
"epoch": 0.768,
|
| 125 |
+
"grad_norm": 0.31060078740119934,
|
| 126 |
+
"learning_rate": 8.770533048884482e-05,
|
| 127 |
+
"loss": 1.3189,
|
| 128 |
+
"mean_token_accuracy": 0.7234059758484364,
|
| 129 |
+
"num_tokens": 2312681.0,
|
| 130 |
+
"step": 120
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.32672161757946,
|
| 134 |
+
"epoch": 0.832,
|
| 135 |
+
"grad_norm": 0.35454726219177246,
|
| 136 |
+
"learning_rate": 8.535533905932738e-05,
|
| 137 |
+
"loss": 1.3119,
|
| 138 |
+
"mean_token_accuracy": 0.7258770205080509,
|
| 139 |
+
"num_tokens": 2614727.0,
|
| 140 |
+
"step": 130
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.269866293296218,
|
| 144 |
+
"epoch": 0.896,
|
| 145 |
+
"grad_norm": 0.4277479648590088,
|
| 146 |
+
"learning_rate": 8.283760120238672e-05,
|
| 147 |
+
"loss": 1.2517,
|
| 148 |
+
"mean_token_accuracy": 0.7334814827889204,
|
| 149 |
+
"num_tokens": 2803243.0,
|
| 150 |
+
"step": 140
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.2557352636009456,
|
| 154 |
+
"epoch": 0.96,
|
| 155 |
+
"grad_norm": 0.6087638735771179,
|
| 156 |
+
"learning_rate": 8.016406254043595e-05,
|
| 157 |
+
"loss": 1.2487,
|
| 158 |
+
"mean_token_accuracy": 0.7337574414908886,
|
| 159 |
+
"num_tokens": 2904223.0,
|
| 160 |
+
"step": 150
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.2229601785137847,
|
| 164 |
+
"epoch": 1.0192,
|
| 165 |
+
"grad_norm": 0.44533705711364746,
|
| 166 |
+
"learning_rate": 7.734740790612136e-05,
|
| 167 |
+
"loss": 1.2122,
|
| 168 |
+
"mean_token_accuracy": 0.7438250542492479,
|
| 169 |
+
"num_tokens": 3032557.0,
|
| 170 |
+
"step": 160
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.2207391697913408,
|
| 174 |
+
"epoch": 1.0832,
|
| 175 |
+
"grad_norm": 0.3342125117778778,
|
| 176 |
+
"learning_rate": 7.440100115804991e-05,
|
| 177 |
+
"loss": 1.1944,
|
| 178 |
+
"mean_token_accuracy": 0.7436507247388363,
|
| 179 |
+
"num_tokens": 3340465.0,
|
| 180 |
+
"step": 170
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.152220581099391,
|
| 184 |
+
"epoch": 1.1472,
|
| 185 |
+
"grad_norm": 0.4164928197860718,
|
| 186 |
+
"learning_rate": 7.133882177482019e-05,
|
| 187 |
+
"loss": 1.1309,
|
| 188 |
+
"mean_token_accuracy": 0.7519198808819055,
|
| 189 |
+
"num_tokens": 3536780.0,
|
| 190 |
+
"step": 180
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.097483652085066,
|
| 194 |
+
"epoch": 1.2112,
|
| 195 |
+
"grad_norm": 0.6432936191558838,
|
| 196 |
+
"learning_rate": 6.817539852819149e-05,
|
| 197 |
+
"loss": 1.0807,
|
| 198 |
+
"mean_token_accuracy": 0.7617782432585954,
|
| 199 |
+
"num_tokens": 3648002.0,
|
| 200 |
+
"step": 190
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.101779579371214,
|
| 204 |
+
"epoch": 1.2752,
|
| 205 |
+
"grad_norm": 0.3559873700141907,
|
| 206 |
+
"learning_rate": 6.492574055008473e-05,
|
| 207 |
+
"loss": 1.1104,
|
| 208 |
+
"mean_token_accuracy": 0.7594126090407372,
|
| 209 |
+
"num_tokens": 3805977.0,
|
| 210 |
+
"step": 200
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 1.2463787905871868,
|
| 214 |
+
"epoch": 1.3392,
|
| 215 |
+
"grad_norm": 0.3985288441181183,
|
| 216 |
+
"learning_rate": 6.16052661204734e-05,
|
| 217 |
+
"loss": 1.2003,
|
| 218 |
+
"mean_token_accuracy": 0.7433346386998891,
|
| 219 |
+
"num_tokens": 4104268.0,
|
| 220 |
+
"step": 210
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 1.0747566115111113,
|
| 224 |
+
"epoch": 1.4032,
|
| 225 |
+
"grad_norm": 0.453317254781723,
|
| 226 |
+
"learning_rate": 5.8229729514036705e-05,
|
| 227 |
+
"loss": 1.065,
|
| 228 |
+
"mean_token_accuracy": 0.7647760558873415,
|
| 229 |
+
"num_tokens": 4287843.0,
|
| 230 |
+
"step": 220
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 1.0693928685039282,
|
| 234 |
+
"epoch": 1.4672,
|
| 235 |
+
"grad_norm": 0.7264474034309387,
|
| 236 |
+
"learning_rate": 5.481514625265709e-05,
|
| 237 |
+
"loss": 1.0366,
|
| 238 |
+
"mean_token_accuracy": 0.7683495875447989,
|
| 239 |
+
"num_tokens": 4385796.0,
|
| 240 |
+
"step": 230
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 1.0543854005634785,
|
| 244 |
+
"epoch": 1.5312000000000001,
|
| 245 |
+
"grad_norm": 0.3641473352909088,
|
| 246 |
+
"learning_rate": 5.1377717118408105e-05,
|
| 247 |
+
"loss": 1.0748,
|
| 248 |
+
"mean_token_accuracy": 0.7658001605421305,
|
| 249 |
+
"num_tokens": 4569560.0,
|
| 250 |
+
"step": 240
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 1.1630858287215233,
|
| 254 |
+
"epoch": 1.5952,
|
| 255 |
+
"grad_norm": 0.3796912729740143,
|
| 256 |
+
"learning_rate": 4.7933751287559335e-05,
|
| 257 |
+
"loss": 1.1153,
|
| 258 |
+
"mean_token_accuracy": 0.7540735069662332,
|
| 259 |
+
"num_tokens": 4862452.0,
|
| 260 |
+
"step": 250
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"entropy": 1.0660202108323573,
|
| 264 |
+
"epoch": 1.6592,
|
| 265 |
+
"grad_norm": 0.4816920757293701,
|
| 266 |
+
"learning_rate": 4.449958895029604e-05,
|
| 267 |
+
"loss": 1.0595,
|
| 268 |
+
"mean_token_accuracy": 0.7640244543552399,
|
| 269 |
+
"num_tokens": 5039415.0,
|
| 270 |
+
"step": 260
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"entropy": 1.0577839758247136,
|
| 274 |
+
"epoch": 1.7231999999999998,
|
| 275 |
+
"grad_norm": 0.7822772264480591,
|
| 276 |
+
"learning_rate": 4.109152378329036e-05,
|
| 277 |
+
"loss": 1.0062,
|
| 278 |
+
"mean_token_accuracy": 0.776426025852561,
|
| 279 |
+
"num_tokens": 5131586.0,
|
| 280 |
+
"step": 270
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"entropy": 1.0857372380793096,
|
| 284 |
+
"epoch": 1.7872,
|
| 285 |
+
"grad_norm": 0.3258715271949768,
|
| 286 |
+
"learning_rate": 3.772572564296005e-05,
|
| 287 |
+
"loss": 1.1158,
|
| 288 |
+
"mean_token_accuracy": 0.7566418334841728,
|
| 289 |
+
"num_tokens": 5342733.0,
|
| 290 |
+
"step": 280
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"entropy": 1.1667305041104554,
|
| 294 |
+
"epoch": 1.8512,
|
| 295 |
+
"grad_norm": 0.42681819200515747,
|
| 296 |
+
"learning_rate": 3.4418163846202944e-05,
|
| 297 |
+
"loss": 1.1042,
|
| 298 |
+
"mean_token_accuracy": 0.757396611571312,
|
| 299 |
+
"num_tokens": 5617863.0,
|
| 300 |
+
"step": 290
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"entropy": 1.0168558854609728,
|
| 304 |
+
"epoch": 1.9152,
|
| 305 |
+
"grad_norm": 0.5727287530899048,
|
| 306 |
+
"learning_rate": 3.118453140260823e-05,
|
| 307 |
+
"loss": 1.011,
|
| 308 |
+
"mean_token_accuracy": 0.7758277267217636,
|
| 309 |
+
"num_tokens": 5778629.0,
|
| 310 |
+
"step": 300
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"entropy": 1.0282332608476281,
|
| 314 |
+
"epoch": 1.9792,
|
| 315 |
+
"grad_norm": 0.8733853101730347,
|
| 316 |
+
"learning_rate": 2.804017055763149e-05,
|
| 317 |
+
"loss": 0.9916,
|
| 318 |
+
"mean_token_accuracy": 0.779886880889535,
|
| 319 |
+
"num_tokens": 5856923.0,
|
| 320 |
+
"step": 310
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"entropy": 1.0680723073514733,
|
| 324 |
+
"epoch": 2.0384,
|
| 325 |
+
"grad_norm": 0.3376860022544861,
|
| 326 |
+
"learning_rate": 2.500000000000001e-05,
|
| 327 |
+
"loss": 1.0635,
|
| 328 |
+
"mean_token_accuracy": 0.7676570141637648,
|
| 329 |
+
"num_tokens": 6065114.0,
|
| 330 |
+
"step": 320
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"entropy": 1.104596570879221,
|
| 334 |
+
"epoch": 2.1024,
|
| 335 |
+
"grad_norm": 0.39200761914253235,
|
| 336 |
+
"learning_rate": 2.207844407871929e-05,
|
| 337 |
+
"loss": 1.0555,
|
| 338 |
+
"mean_token_accuracy": 0.766394791379571,
|
| 339 |
+
"num_tokens": 6346728.0,
|
| 340 |
+
"step": 330
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"entropy": 0.9890212159603834,
|
| 344 |
+
"epoch": 2.1664,
|
| 345 |
+
"grad_norm": 0.5592104196548462,
|
| 346 |
+
"learning_rate": 1.928936436551661e-05,
|
| 347 |
+
"loss": 0.9469,
|
| 348 |
+
"mean_token_accuracy": 0.7860675264149904,
|
| 349 |
+
"num_tokens": 6511390.0,
|
| 350 |
+
"step": 340
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"entropy": 0.9454210236668587,
|
| 354 |
+
"epoch": 2.2304,
|
| 355 |
+
"grad_norm": 0.899586021900177,
|
| 356 |
+
"learning_rate": 1.6645993887429345e-05,
|
| 357 |
+
"loss": 0.8828,
|
| 358 |
+
"mean_token_accuracy": 0.7986020620912313,
|
| 359 |
+
"num_tokens": 6593692.0,
|
| 360 |
+
"step": 350
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"entropy": 0.9820889582857489,
|
| 364 |
+
"epoch": 2.2944,
|
| 365 |
+
"grad_norm": 0.4264833927154541,
|
| 366 |
+
"learning_rate": 1.4160874341577446e-05,
|
| 367 |
+
"loss": 1.0165,
|
| 368 |
+
"mean_token_accuracy": 0.7796833466738462,
|
| 369 |
+
"num_tokens": 6832431.0,
|
| 370 |
+
"step": 360
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"entropy": 1.0525997491553425,
|
| 374 |
+
"epoch": 2.3584,
|
| 375 |
+
"grad_norm": 0.44459110498428345,
|
| 376 |
+
"learning_rate": 1.1845796590009683e-05,
|
| 377 |
+
"loss": 1.0138,
|
| 378 |
+
"mean_token_accuracy": 0.7756964165717364,
|
| 379 |
+
"num_tokens": 7104046.0,
|
| 380 |
+
"step": 370
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"entropy": 1.035184795409441,
|
| 384 |
+
"epoch": 2.4224,
|
| 385 |
+
"grad_norm": 0.6024214029312134,
|
| 386 |
+
"learning_rate": 9.711744716951093e-06,
|
| 387 |
+
"loss": 0.9495,
|
| 388 |
+
"mean_token_accuracy": 0.7859720509499312,
|
| 389 |
+
"num_tokens": 7263723.0,
|
| 390 |
+
"step": 380
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"entropy": 0.9147607890889049,
|
| 394 |
+
"epoch": 2.4864,
|
| 395 |
+
"grad_norm": 0.9132835865020752,
|
| 396 |
+
"learning_rate": 7.768843913876756e-06,
|
| 397 |
+
"loss": 0.8301,
|
| 398 |
+
"mean_token_accuracy": 0.8119621507823467,
|
| 399 |
+
"num_tokens": 7338521.0,
|
| 400 |
+
"step": 390
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"entropy": 1.0235382271930575,
|
| 404 |
+
"epoch": 2.5504,
|
| 405 |
+
"grad_norm": 0.44815948605537415,
|
| 406 |
+
"learning_rate": 6.026312439675552e-06,
|
| 407 |
+
"loss": 1.0674,
|
| 408 |
+
"mean_token_accuracy": 0.7642808057367801,
|
| 409 |
+
"num_tokens": 7606163.0,
|
| 410 |
+
"step": 400
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"entropy": 0.9868468202650547,
|
| 414 |
+
"epoch": 2.6144,
|
| 415 |
+
"grad_norm": 0.4431731402873993,
|
| 416 |
+
"learning_rate": 4.492417883833155e-06,
|
| 417 |
+
"loss": 0.9819,
|
| 418 |
+
"mean_token_accuracy": 0.7802640642970801,
|
| 419 |
+
"num_tokens": 7862086.0,
|
| 420 |
+
"step": 410
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"entropy": 0.961590089276433,
|
| 424 |
+
"epoch": 2.6784,
|
| 425 |
+
"grad_norm": 0.604184627532959,
|
| 426 |
+
"learning_rate": 3.1744379401472677e-06,
|
| 427 |
+
"loss": 0.8934,
|
| 428 |
+
"mean_token_accuracy": 0.7974989850074052,
|
| 429 |
+
"num_tokens": 8011332.0,
|
| 430 |
+
"step": 420
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"entropy": 0.9186336389742792,
|
| 434 |
+
"epoch": 2.7424,
|
| 435 |
+
"grad_norm": 1.3265639543533325,
|
| 436 |
+
"learning_rate": 2.0786258770873647e-06,
|
| 437 |
+
"loss": 0.7948,
|
| 438 |
+
"mean_token_accuracy": 0.8204942990094424,
|
| 439 |
+
"num_tokens": 8077794.0,
|
| 440 |
+
"step": 430
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"entropy": 1.0783039350062609,
|
| 444 |
+
"epoch": 2.8064,
|
| 445 |
+
"grad_norm": 0.42422202229499817,
|
| 446 |
+
"learning_rate": 1.210180868628219e-06,
|
| 447 |
+
"loss": 1.0754,
|
| 448 |
+
"mean_token_accuracy": 0.7629928629845381,
|
| 449 |
+
"num_tokens": 8372249.0,
|
| 450 |
+
"step": 440
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"entropy": 0.9569812569767236,
|
| 454 |
+
"epoch": 2.8704,
|
| 455 |
+
"grad_norm": 0.4604170024394989,
|
| 456 |
+
"learning_rate": 5.732233263245845e-07,
|
| 457 |
+
"loss": 0.9381,
|
| 458 |
+
"mean_token_accuracy": 0.7869165271520615,
|
| 459 |
+
"num_tokens": 8602659.0,
|
| 460 |
+
"step": 450
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"entropy": 0.9460787598043681,
|
| 464 |
+
"epoch": 2.9344,
|
| 465 |
+
"grad_norm": 0.6459949612617493,
|
| 466 |
+
"learning_rate": 1.7077534966650766e-07,
|
| 467 |
+
"loss": 0.8793,
|
| 468 |
+
"mean_token_accuracy": 0.7999289013445378,
|
| 469 |
+
"num_tokens": 8739138.0,
|
| 470 |
+
"step": 460
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"entropy": 0.8972176358103752,
|
| 474 |
+
"epoch": 2.9984,
|
| 475 |
+
"grad_norm": 1.523201823234558,
|
| 476 |
+
"learning_rate": 4.746387470044855e-09,
|
| 477 |
+
"loss": 0.7761,
|
| 478 |
+
"mean_token_accuracy": 0.8227238561958075,
|
| 479 |
+
"num_tokens": 8798961.0,
|
| 480 |
+
"step": 470
|
| 481 |
+
}
|
| 482 |
+
],
|
| 483 |
+
"logging_steps": 10,
|
| 484 |
+
"max_steps": 471,
|
| 485 |
+
"num_input_tokens_seen": 0,
|
| 486 |
+
"num_train_epochs": 3,
|
| 487 |
+
"save_steps": 500,
|
| 488 |
+
"stateful_callbacks": {
|
| 489 |
+
"TrainerControl": {
|
| 490 |
+
"args": {
|
| 491 |
+
"should_epoch_stop": false,
|
| 492 |
+
"should_evaluate": false,
|
| 493 |
+
"should_log": false,
|
| 494 |
+
"should_save": true,
|
| 495 |
+
"should_training_stop": true
|
| 496 |
+
},
|
| 497 |
+
"attributes": {}
|
| 498 |
+
}
|
| 499 |
+
},
|
| 500 |
+
"total_flos": 3.822788172446208e+17,
|
| 501 |
+
"train_batch_size": 2,
|
| 502 |
+
"trial_name": null,
|
| 503 |
+
"trial_params": null
|
| 504 |
+
}
|
checkpoint-471/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16b124ed960a544ac444d3a42df9a57a8587eb07a5b54b6b7ebbf610d163a226
|
| 3 |
+
size 6225
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin▁of▁sentence|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|end▁of▁sentence|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<|end▁of▁sentence|>"
|
| 17 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893
|
| 3 |
+
size 11422778
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"151643": {
|
| 7 |
+
"content": "<|end▁of▁sentence|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"151644": {
|
| 15 |
+
"content": "<|User|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": false
|
| 21 |
+
},
|
| 22 |
+
"151645": {
|
| 23 |
+
"content": "<|Assistant|>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"151646": {
|
| 31 |
+
"content": "<|begin▁of▁sentence|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"151647": {
|
| 39 |
+
"content": "<|EOT|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"151648": {
|
| 47 |
+
"content": "<think>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"151649": {
|
| 55 |
+
"content": "</think>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"151650": {
|
| 63 |
+
"content": "<|quad_start|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"151651": {
|
| 71 |
+
"content": "<|quad_end|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"151652": {
|
| 79 |
+
"content": "<|vision_start|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"151653": {
|
| 87 |
+
"content": "<|vision_end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"151654": {
|
| 95 |
+
"content": "<|vision_pad|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"151655": {
|
| 103 |
+
"content": "<|image_pad|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"151656": {
|
| 111 |
+
"content": "<|video_pad|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
},
|
| 118 |
+
"151657": {
|
| 119 |
+
"content": "<tool_call>",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": false,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"151658": {
|
| 127 |
+
"content": "</tool_call>",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": false,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"151659": {
|
| 135 |
+
"content": "<|fim_prefix|>",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": false,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"151660": {
|
| 143 |
+
"content": "<|fim_middle|>",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": false,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"151661": {
|
| 151 |
+
"content": "<|fim_suffix|>",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": false,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"151662": {
|
| 159 |
+
"content": "<|fim_pad|>",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": false,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"151663": {
|
| 167 |
+
"content": "<|repo_name|>",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": false,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"151664": {
|
| 175 |
+
"content": "<|file_sep|>",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": false,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 184 |
+
"clean_up_tokenization_spaces": false,
|
| 185 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 186 |
+
"extra_special_tokens": {},
|
| 187 |
+
"legacy": true,
|
| 188 |
+
"model_max_length": 2048,
|
| 189 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 190 |
+
"sp_model_kwargs": {},
|
| 191 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
| 192 |
+
"unk_token": null,
|
| 193 |
+
"use_default_system_prompt": false
|
| 194 |
+
}
|