Upload folder using huggingface_hub
Browse files- README.md +60 -0
- added_tokens.json +44 -0
- all_results.json +9 -0
- config.json +36 -0
- generation_config.json +6 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +298 -0
- special_tokens_map.json +34 -0
- tokenization_inflm.py +292 -0
- tokenizer.model +3 -0
- tokenizer_config.json +396 -0
- train_results.json +9 -0
- trainer_log.jsonl +48 -0
- trainer_state.json +419 -0
- training_args.bin +3 -0
- training_loss.png +0 -0
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: other
|
| 4 |
+
base_model: infly/OpenCoder-8B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- freeze
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: opencoder_under8_nlx
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# opencoder_under8_nlx
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [infly/OpenCoder-8B-Instruct](https://huggingface.co/infly/OpenCoder-8B-Instruct) on the codes_nlx_under8 dataset.
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 5e-05
|
| 39 |
+
- train_batch_size: 16
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- distributed_type: multi-GPU
|
| 43 |
+
- num_devices: 4
|
| 44 |
+
- gradient_accumulation_steps: 8
|
| 45 |
+
- total_train_batch_size: 512
|
| 46 |
+
- total_eval_batch_size: 32
|
| 47 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: cosine
|
| 49 |
+
- num_epochs: 1.0
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Framework versions
|
| 56 |
+
|
| 57 |
+
- Transformers 4.48.2
|
| 58 |
+
- Pytorch 2.5.1+cu124
|
| 59 |
+
- Datasets 3.2.0
|
| 60 |
+
- Tokenizers 0.21.0
|
added_tokens.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<code_to_intermediate>": 96521,
|
| 3 |
+
"<empty_output>": 96520,
|
| 4 |
+
"<file_sep>": 96511,
|
| 5 |
+
"<fim_middle>": 96508,
|
| 6 |
+
"<fim_prefix>": 96507,
|
| 7 |
+
"<fim_suffix>": 96509,
|
| 8 |
+
"<intermediate_to_code>": 96522,
|
| 9 |
+
"<issue_closed>": 96514,
|
| 10 |
+
"<issue_comment>": 96513,
|
| 11 |
+
"<issue_start>": 96512,
|
| 12 |
+
"<jupyter_code>": 96517,
|
| 13 |
+
"<jupyter_output>": 96518,
|
| 14 |
+
"<jupyter_script>": 96519,
|
| 15 |
+
"<jupyter_start>": 96515,
|
| 16 |
+
"<jupyter_text>": 96516,
|
| 17 |
+
"<pr>": 96523,
|
| 18 |
+
"<pr_base>": 96526,
|
| 19 |
+
"<pr_base_code>": 96528,
|
| 20 |
+
"<pr_comment>": 96531,
|
| 21 |
+
"<pr_diff>": 96529,
|
| 22 |
+
"<pr_diff_hunk>": 96530,
|
| 23 |
+
"<pr_diff_hunk_comment_line>": 96538,
|
| 24 |
+
"<pr_event_id>": 96532,
|
| 25 |
+
"<pr_file>": 96527,
|
| 26 |
+
"<pr_in_reply_to_comment_id>": 96537,
|
| 27 |
+
"<pr_in_reply_to_review_id>": 96536,
|
| 28 |
+
"<pr_is_merged>": 96525,
|
| 29 |
+
"<pr_review>": 96533,
|
| 30 |
+
"<pr_review_comment>": 96535,
|
| 31 |
+
"<pr_review_state>": 96534,
|
| 32 |
+
"<pr_status>": 96524,
|
| 33 |
+
"<repo_name>": 96510,
|
| 34 |
+
"<|endoftext|>": 96506,
|
| 35 |
+
"<|end|>": 96500,
|
| 36 |
+
"<|im_end|>": 96539,
|
| 37 |
+
"<|im_start|>": 96540,
|
| 38 |
+
"<|message|>": 96501,
|
| 39 |
+
"<|pad|>": 96505,
|
| 40 |
+
"<|start|>": 96499,
|
| 41 |
+
"<|tool_end|>": 96504,
|
| 42 |
+
"<|tool_excute|>": 96503,
|
| 43 |
+
"<|tool_start|>": 96502
|
| 44 |
+
}
|
all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 0.9868766404199475,
|
| 3 |
+
"num_input_tokens_seen": 98566144,
|
| 4 |
+
"total_flos": 4.361803532655919e+18,
|
| 5 |
+
"train_loss": 0.6996991406095788,
|
| 6 |
+
"train_runtime": 8190.5414,
|
| 7 |
+
"train_samples_per_second": 2.973,
|
| 8 |
+
"train_steps_per_second": 0.006
|
| 9 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "infly/OpenCoder-8B-Instruct",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 96540,
|
| 9 |
+
"eos_token_id": 96539,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 14336,
|
| 15 |
+
"max_position_embeddings": 8192,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 32,
|
| 20 |
+
"num_key_value_heads": 8,
|
| 21 |
+
"pretraining_tp": 1,
|
| 22 |
+
"rms_norm_eps": 1e-05,
|
| 23 |
+
"rope_scaling": {
|
| 24 |
+
"factor": 1.0,
|
| 25 |
+
"high_freq_factor": 4.0,
|
| 26 |
+
"low_freq_factor": 1.0,
|
| 27 |
+
"original_max_position_embeddings": 8192,
|
| 28 |
+
"rope_type": "llama3"
|
| 29 |
+
},
|
| 30 |
+
"rope_theta": 500000.0,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"torch_dtype": "bfloat16",
|
| 33 |
+
"transformers_version": "4.48.2",
|
| 34 |
+
"use_cache": false,
|
| 35 |
+
"vocab_size": 96640
|
| 36 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 96540,
|
| 4 |
+
"eos_token_id": 96539,
|
| 5 |
+
"transformers_version": "4.48.2"
|
| 6 |
+
}
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:182be20097743536eb8333475d94fdb0eeea45e2d7f20103b65a61c2771ee9bf
|
| 3 |
+
size 4919027568
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7eaf7fc3833d4f0150a3d3a19d11133d4769d35dc82e0f301824097de6a12f89
|
| 3 |
+
size 4915915128
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0a3bb567b07eca75c691d5b9832073c084ebf7b958bc01f75f306dfb5bd7875
|
| 3 |
+
size 4999819112
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:580b1ceaa651f743f213580934e6260e830e0039bb7fa6fe409a913ad1ccc6fe
|
| 3 |
+
size 1580246000
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 16414973952
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 7 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 27 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 28 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 29 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 30 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 31 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 32 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 33 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 34 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 35 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 36 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 37 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 108 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 109 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 112 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 117 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 118 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 119 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 120 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 121 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 122 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 123 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 124 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 125 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 126 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 127 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 128 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 129 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 130 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 131 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 132 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 133 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 134 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 135 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 136 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 137 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 138 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 139 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 140 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 141 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 142 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 143 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 144 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 145 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 146 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 147 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 148 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 149 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 150 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 151 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 152 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 153 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 154 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 155 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 156 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 157 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 158 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 159 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 160 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 161 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 162 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 163 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 164 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 165 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 169 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 170 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 171 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 172 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 173 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 174 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 175 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 176 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 177 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 178 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 179 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 180 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 181 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 182 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 216 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 217 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 218 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 219 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 220 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 221 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 222 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 223 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 224 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 234 |
+
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 235 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 236 |
+
"model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 237 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 238 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 240 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 242 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 243 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 244 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 245 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 246 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 247 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 248 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 249 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 250 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 251 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 252 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 253 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 254 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 255 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 256 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 257 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 258 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 259 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 260 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 261 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 262 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 263 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 266 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 267 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 268 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 269 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 270 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 271 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 272 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 274 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 275 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 276 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 277 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 278 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 279 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 280 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 281 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 282 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 283 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 284 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 285 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 286 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 287 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 288 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 289 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 290 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 291 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 292 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 293 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 294 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 295 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 296 |
+
"model.norm.weight": "model-00004-of-00004.safetensors"
|
| 297 |
+
}
|
| 298 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_end|>",
|
| 4 |
+
"<|im_start|>"
|
| 5 |
+
],
|
| 6 |
+
"bos_token": {
|
| 7 |
+
"content": "<|im_start|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"content": "<|im_end|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"pad_token": {
|
| 21 |
+
"content": "<pad>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
},
|
| 27 |
+
"unk_token": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false
|
| 33 |
+
}
|
| 34 |
+
}
|
tokenization_inflm.py
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
# Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
|
| 5 |
+
# and OPT implementations in this library. It has been modified from its
|
| 6 |
+
# original forms to accommodate minor architectural differences compared
|
| 7 |
+
# to GPT-NeoX and OPT used by the Meta AI team that trained the model.
|
| 8 |
+
#
|
| 9 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
+
# you may not use this file except in compliance with the License.
|
| 11 |
+
# You may obtain a copy of the License at
|
| 12 |
+
#
|
| 13 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
+
#
|
| 15 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 16 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
+
# See the License for the specific language governing permissions and
|
| 19 |
+
# limitations under the License.
|
| 20 |
+
|
| 21 |
+
"""Tokenization classes for INFLMTokenizer."""
|
| 22 |
+
import os
|
| 23 |
+
from shutil import copyfile
|
| 24 |
+
from typing import Any, Dict, List, Optional, Tuple
|
| 25 |
+
|
| 26 |
+
import sentencepiece as spm
|
| 27 |
+
|
| 28 |
+
from transformers.tokenization_utils import PreTrainedTokenizer
|
| 29 |
+
from transformers.utils import logging
|
| 30 |
+
|
| 31 |
+
from tokenizers import pre_tokenizers,Regex,decoders
|
| 32 |
+
from tokenizers.pre_tokenizers import Digits, Split, ByteLevel
|
| 33 |
+
import os
|
| 34 |
+
|
| 35 |
+
# same as gpt4 cl-base-100k
|
| 36 |
+
PATTERN = Regex("(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\r\n\p{L}\p{N}]?\p{L}+|\p{N}{1,3}| ?[^\s\p{L}\p{N}]+[\r\n]*|\s*[\r\n]+|\s+(?!\S)|\s+\s+(\S)+")
|
| 37 |
+
|
| 38 |
+
logger = logging.get_logger(__name__)
|
| 39 |
+
|
| 40 |
+
VOCAB_FILES_NAMES = {"vocab_file": "./tokenizer.model"}
|
| 41 |
+
|
| 42 |
+
PRETRAINED_VOCAB_FILES_MAP = {}
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class INFLMTokenizer(PreTrainedTokenizer):
|
| 46 |
+
"""
|
| 47 |
+
Construct a INFLMTokenizer tokenizer based on sentence-piece
|
| 48 |
+
|
| 49 |
+
Args:
|
| 50 |
+
vocab_file (`str`):
|
| 51 |
+
Path to the vocabulary file.
|
| 52 |
+
"""
|
| 53 |
+
|
| 54 |
+
vocab_files_names = VOCAB_FILES_NAMES
|
| 55 |
+
pretrained_vocab_files_map = PRETRAINED_VOCAB_FILES_MAP
|
| 56 |
+
model_input_names = ["input_ids", "attention_mask"]
|
| 57 |
+
_auto_class = "AutoTokenizer"
|
| 58 |
+
|
| 59 |
+
def __init__(
|
| 60 |
+
self,
|
| 61 |
+
vocab_file,
|
| 62 |
+
unk_token="<unk>",
|
| 63 |
+
bos_token="<s>",
|
| 64 |
+
eos_token="</s>",
|
| 65 |
+
pad_token="<pad>",
|
| 66 |
+
sp_model_kwargs: Optional[Dict[str, Any]] = None,
|
| 67 |
+
add_bos_token=False,
|
| 68 |
+
add_eos_token=False,
|
| 69 |
+
decode_with_prefix_space=False,
|
| 70 |
+
clean_up_tokenization_spaces=False,
|
| 71 |
+
spaces_between_special_tokens=False,
|
| 72 |
+
**kwargs,
|
| 73 |
+
):
|
| 74 |
+
self.sp_model_kwargs = {} if sp_model_kwargs is None else sp_model_kwargs
|
| 75 |
+
self.vocab_file = vocab_file
|
| 76 |
+
self.add_bos_token = add_bos_token
|
| 77 |
+
self.add_eos_token = add_eos_token
|
| 78 |
+
self.decode_with_prefix_space = decode_with_prefix_space
|
| 79 |
+
self.sp_model = spm.SentencePieceProcessor(**self.sp_model_kwargs)
|
| 80 |
+
self.sp_model.Load(vocab_file)
|
| 81 |
+
self._no_prefix_space_tokens = None
|
| 82 |
+
self.pre_tokenizer = pre_tokenizers.Sequence([Split(pattern =PATTERN,behavior = "isolated", invert = False)])
|
| 83 |
+
super().__init__(
|
| 84 |
+
bos_token=bos_token,
|
| 85 |
+
eos_token=eos_token,
|
| 86 |
+
unk_token=unk_token,
|
| 87 |
+
pad_token=pad_token,
|
| 88 |
+
clean_up_tokenization_spaces=clean_up_tokenization_spaces,
|
| 89 |
+
spaces_between_special_tokens=spaces_between_special_tokens,
|
| 90 |
+
**kwargs,
|
| 91 |
+
)
|
| 92 |
+
|
| 93 |
+
""" Initialisation"""
|
| 94 |
+
|
| 95 |
+
@property
|
| 96 |
+
def no_prefix_space_tokens(self):
|
| 97 |
+
if self._no_prefix_space_tokens is None:
|
| 98 |
+
vocab = self.convert_ids_to_tokens(list(range(self.vocab_size)))
|
| 99 |
+
self._no_prefix_space_tokens = {i for i, tok in enumerate(vocab) if not tok.startswith("▁")}
|
| 100 |
+
return self._no_prefix_space_tokens
|
| 101 |
+
|
| 102 |
+
@property
|
| 103 |
+
def vocab_size(self):
|
| 104 |
+
"""Returns vocab size"""
|
| 105 |
+
return self.sp_model.get_piece_size()
|
| 106 |
+
|
| 107 |
+
@property
|
| 108 |
+
def bos_token_id(self) -> Optional[int]:
|
| 109 |
+
return self.sp_model.bos_id()
|
| 110 |
+
|
| 111 |
+
@property
|
| 112 |
+
def eos_token_id(self) -> Optional[int]:
|
| 113 |
+
return self.sp_model.eos_id()
|
| 114 |
+
|
| 115 |
+
def get_vocab(self):
|
| 116 |
+
"""Returns vocab as a dict"""
|
| 117 |
+
vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}
|
| 118 |
+
vocab.update(self.added_tokens_encoder)
|
| 119 |
+
return vocab
|
| 120 |
+
|
| 121 |
+
def _tokenize(self, text):
|
| 122 |
+
"""Returns a tokenized string."""
|
| 123 |
+
|
| 124 |
+
splits = self.pre_tokenizer.pre_tokenize_str(text)
|
| 125 |
+
texts=[]
|
| 126 |
+
|
| 127 |
+
for split in splits:
|
| 128 |
+
texts.extend(self.sp_model.encode(split[0], out_type=str))
|
| 129 |
+
return texts
|
| 130 |
+
|
| 131 |
+
def _convert_token_to_id(self, token):
|
| 132 |
+
"""Converts a token (str) in an id using the vocab."""
|
| 133 |
+
|
| 134 |
+
return self.sp_model.piece_to_id(token)
|
| 135 |
+
|
| 136 |
+
def _convert_id_to_token(self, index):
|
| 137 |
+
"""Converts an index (integer) in a token (str) using the vocab."""
|
| 138 |
+
token = self.sp_model.IdToPiece(index)
|
| 139 |
+
return token
|
| 140 |
+
|
| 141 |
+
def _maybe_add_prefix_space(self, tokens, decoded):
|
| 142 |
+
if tokens and tokens[0] not in self.no_prefix_space_tokens:
|
| 143 |
+
return " " + decoded
|
| 144 |
+
else:
|
| 145 |
+
return decoded
|
| 146 |
+
|
| 147 |
+
def convert_tokens_to_string(self, tokens):
|
| 148 |
+
"""Converts a sequence of tokens (string) in a single string."""
|
| 149 |
+
current_sub_tokens = []
|
| 150 |
+
out_string = ""
|
| 151 |
+
prev_is_special = False
|
| 152 |
+
for token in tokens:
|
| 153 |
+
# make sure that special tokens are not decoded using sentencepiece model
|
| 154 |
+
if token in self.all_special_tokens:
|
| 155 |
+
out_string += self.sp_model.decode(current_sub_tokens) + token
|
| 156 |
+
prev_is_special = True
|
| 157 |
+
current_sub_tokens = []
|
| 158 |
+
else:
|
| 159 |
+
current_sub_tokens.append(token)
|
| 160 |
+
prev_is_special = False
|
| 161 |
+
out_string += self.sp_model.decode(current_sub_tokens)
|
| 162 |
+
|
| 163 |
+
return out_string
|
| 164 |
+
|
| 165 |
+
def save_vocabulary(self, save_directory, filename_prefix: Optional[str] = None) -> Tuple[str]:
|
| 166 |
+
"""
|
| 167 |
+
Save the vocabulary and special tokens file to a directory.
|
| 168 |
+
|
| 169 |
+
Args:
|
| 170 |
+
save_directory (`str`):
|
| 171 |
+
The directory in which to save the vocabulary.
|
| 172 |
+
|
| 173 |
+
Returns:
|
| 174 |
+
`Tuple(str)`: Paths to the files saved.
|
| 175 |
+
"""
|
| 176 |
+
if not os.path.isdir(save_directory):
|
| 177 |
+
logger.error(f"Vocabulary path ({save_directory}) should be a directory")
|
| 178 |
+
return
|
| 179 |
+
out_vocab_file = os.path.join(
|
| 180 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["vocab_file"]
|
| 181 |
+
)
|
| 182 |
+
|
| 183 |
+
if os.path.abspath(self.vocab_file) != os.path.abspath(out_vocab_file) and os.path.isfile(self.vocab_file):
|
| 184 |
+
copyfile(self.vocab_file, out_vocab_file)
|
| 185 |
+
elif not os.path.isfile(self.vocab_file):
|
| 186 |
+
with open(out_vocab_file, "wb") as fi:
|
| 187 |
+
content_spiece_model = self.sp_model.serialized_model_proto()
|
| 188 |
+
fi.write(content_spiece_model)
|
| 189 |
+
|
| 190 |
+
return (out_vocab_file,)
|
| 191 |
+
|
| 192 |
+
def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None):
|
| 193 |
+
if self.add_bos_token:
|
| 194 |
+
bos_token_ids = [self.bos_token_id]
|
| 195 |
+
else:
|
| 196 |
+
bos_token_ids = []
|
| 197 |
+
|
| 198 |
+
output = bos_token_ids + token_ids_0
|
| 199 |
+
|
| 200 |
+
if token_ids_1 is not None:
|
| 201 |
+
output = output + token_ids_1
|
| 202 |
+
|
| 203 |
+
if self.add_eos_token:
|
| 204 |
+
output = output + [self.eos_token_id]
|
| 205 |
+
|
| 206 |
+
return output
|
| 207 |
+
|
| 208 |
+
def get_special_tokens_mask(
|
| 209 |
+
self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None, already_has_special_tokens: bool = False
|
| 210 |
+
) -> List[int]:
|
| 211 |
+
"""
|
| 212 |
+
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding
|
| 213 |
+
special tokens using the tokenizer `prepare_for_model` method.
|
| 214 |
+
|
| 215 |
+
Args:
|
| 216 |
+
token_ids_0 (`List[int]`):
|
| 217 |
+
List of IDs.
|
| 218 |
+
token_ids_1 (`List[int]`, *optional*):
|
| 219 |
+
Optional second list of IDs for sequence pairs.
|
| 220 |
+
already_has_special_tokens (`bool`, *optional*, defaults to `False`):
|
| 221 |
+
Whether or not the token list is already formatted with special tokens for the model.
|
| 222 |
+
|
| 223 |
+
Returns:
|
| 224 |
+
`List[int]`: A list of integers in the range [0, 1]: 1 for a special token, 0 for a sequence token.
|
| 225 |
+
"""
|
| 226 |
+
if already_has_special_tokens:
|
| 227 |
+
return super().get_special_tokens_mask(
|
| 228 |
+
token_ids_0=token_ids_0, token_ids_1=token_ids_1, already_has_special_tokens=True
|
| 229 |
+
)
|
| 230 |
+
|
| 231 |
+
eos_token_id = [1] if self.add_eos_token else []
|
| 232 |
+
if token_ids_1 is None:
|
| 233 |
+
return ([0] * len(token_ids_0)) + eos_token_id
|
| 234 |
+
return ([0] * len(token_ids_0)) + eos_token_id + ([0] * len(token_ids_1)) + eos_token_id
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
def create_token_type_ids_from_sequences(
|
| 238 |
+
self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None
|
| 239 |
+
) -> List[int]:
|
| 240 |
+
"""
|
| 241 |
+
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT
|
| 242 |
+
sequence pair mask has the following format:
|
| 243 |
+
|
| 244 |
+
```
|
| 245 |
+
0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1
|
| 246 |
+
| first sequence | second sequence |
|
| 247 |
+
```
|
| 248 |
+
|
| 249 |
+
if token_ids_1 is None, only returns the first portion of the mask (0s).
|
| 250 |
+
|
| 251 |
+
Note this is only used for back compatiblity, thus list of zero is returned.
|
| 252 |
+
|
| 253 |
+
Args:
|
| 254 |
+
token_ids_0 (`List[int]`):
|
| 255 |
+
List of ids.
|
| 256 |
+
token_ids_1 (`List[int]`, *optional*):
|
| 257 |
+
Optional second list of IDs for sequence pairs.
|
| 258 |
+
|
| 259 |
+
Returns:
|
| 260 |
+
`List[int]`: List of zeros.
|
| 261 |
+
"""
|
| 262 |
+
eos = [self.eos_token_id]
|
| 263 |
+
|
| 264 |
+
if token_ids_1 is None:
|
| 265 |
+
return len(token_ids_0 + eos) * [0]
|
| 266 |
+
return len(token_ids_0 + eos + token_ids_1 + eos) * [0]
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
@property
|
| 270 |
+
def default_chat_template(self):
|
| 271 |
+
return None
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
def decode(
|
| 275 |
+
self,
|
| 276 |
+
token_ids,
|
| 277 |
+
skip_special_tokens: bool = False,
|
| 278 |
+
clean_up_tokenization_spaces: Optional[bool] = False,
|
| 279 |
+
spaces_between_special_tokens: bool = False,
|
| 280 |
+
**kwargs,
|
| 281 |
+
) -> str:
|
| 282 |
+
# default spaces_between_special_tokens should be false.
|
| 283 |
+
if spaces_between_special_tokens:
|
| 284 |
+
logger.warning_once('spaces_between_special_tokens is set. \
|
| 285 |
+
It has no effect for bos,eos,pad,unk when transformers<=4.38.')
|
| 286 |
+
return super().decode(
|
| 287 |
+
token_ids,
|
| 288 |
+
skip_special_tokens=skip_special_tokens,
|
| 289 |
+
clean_up_tokenization_spaces=clean_up_tokenization_spaces,
|
| 290 |
+
spaces_between_special_tokens=spaces_between_special_tokens,
|
| 291 |
+
**kwargs,
|
| 292 |
+
)
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76d43d618fc0c5a7c79dc4e72579f9f29bb803b36e4a4d709d1233626fd8fe2a
|
| 3 |
+
size 1535725
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<unk>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<s>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<pad>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"96499": {
|
| 37 |
+
"content": "<|start|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"96500": {
|
| 45 |
+
"content": "<|end|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"96501": {
|
| 53 |
+
"content": "<|message|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"96502": {
|
| 61 |
+
"content": "<|tool_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"96503": {
|
| 69 |
+
"content": "<|tool_excute|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"96504": {
|
| 77 |
+
"content": "<|tool_end|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"96505": {
|
| 85 |
+
"content": "<|pad|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"96506": {
|
| 93 |
+
"content": "<|endoftext|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"96507": {
|
| 101 |
+
"content": "<fim_prefix>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"96508": {
|
| 109 |
+
"content": "<fim_middle>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"96509": {
|
| 117 |
+
"content": "<fim_suffix>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": true
|
| 123 |
+
},
|
| 124 |
+
"96510": {
|
| 125 |
+
"content": "<repo_name>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": true
|
| 131 |
+
},
|
| 132 |
+
"96511": {
|
| 133 |
+
"content": "<file_sep>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": true
|
| 139 |
+
},
|
| 140 |
+
"96512": {
|
| 141 |
+
"content": "<issue_start>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": true
|
| 147 |
+
},
|
| 148 |
+
"96513": {
|
| 149 |
+
"content": "<issue_comment>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": true
|
| 155 |
+
},
|
| 156 |
+
"96514": {
|
| 157 |
+
"content": "<issue_closed>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": true
|
| 163 |
+
},
|
| 164 |
+
"96515": {
|
| 165 |
+
"content": "<jupyter_start>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": true
|
| 171 |
+
},
|
| 172 |
+
"96516": {
|
| 173 |
+
"content": "<jupyter_text>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": true
|
| 179 |
+
},
|
| 180 |
+
"96517": {
|
| 181 |
+
"content": "<jupyter_code>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": true
|
| 187 |
+
},
|
| 188 |
+
"96518": {
|
| 189 |
+
"content": "<jupyter_output>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": true
|
| 195 |
+
},
|
| 196 |
+
"96519": {
|
| 197 |
+
"content": "<jupyter_script>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": true
|
| 203 |
+
},
|
| 204 |
+
"96520": {
|
| 205 |
+
"content": "<empty_output>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": true
|
| 211 |
+
},
|
| 212 |
+
"96521": {
|
| 213 |
+
"content": "<code_to_intermediate>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"96522": {
|
| 221 |
+
"content": "<intermediate_to_code>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"96523": {
|
| 229 |
+
"content": "<pr>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"96524": {
|
| 237 |
+
"content": "<pr_status>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"96525": {
|
| 245 |
+
"content": "<pr_is_merged>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"96526": {
|
| 253 |
+
"content": "<pr_base>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"96527": {
|
| 261 |
+
"content": "<pr_file>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
},
|
| 268 |
+
"96528": {
|
| 269 |
+
"content": "<pr_base_code>",
|
| 270 |
+
"lstrip": false,
|
| 271 |
+
"normalized": false,
|
| 272 |
+
"rstrip": false,
|
| 273 |
+
"single_word": false,
|
| 274 |
+
"special": true
|
| 275 |
+
},
|
| 276 |
+
"96529": {
|
| 277 |
+
"content": "<pr_diff>",
|
| 278 |
+
"lstrip": false,
|
| 279 |
+
"normalized": false,
|
| 280 |
+
"rstrip": false,
|
| 281 |
+
"single_word": false,
|
| 282 |
+
"special": true
|
| 283 |
+
},
|
| 284 |
+
"96530": {
|
| 285 |
+
"content": "<pr_diff_hunk>",
|
| 286 |
+
"lstrip": false,
|
| 287 |
+
"normalized": false,
|
| 288 |
+
"rstrip": false,
|
| 289 |
+
"single_word": false,
|
| 290 |
+
"special": true
|
| 291 |
+
},
|
| 292 |
+
"96531": {
|
| 293 |
+
"content": "<pr_comment>",
|
| 294 |
+
"lstrip": false,
|
| 295 |
+
"normalized": false,
|
| 296 |
+
"rstrip": false,
|
| 297 |
+
"single_word": false,
|
| 298 |
+
"special": true
|
| 299 |
+
},
|
| 300 |
+
"96532": {
|
| 301 |
+
"content": "<pr_event_id>",
|
| 302 |
+
"lstrip": false,
|
| 303 |
+
"normalized": false,
|
| 304 |
+
"rstrip": false,
|
| 305 |
+
"single_word": false,
|
| 306 |
+
"special": true
|
| 307 |
+
},
|
| 308 |
+
"96533": {
|
| 309 |
+
"content": "<pr_review>",
|
| 310 |
+
"lstrip": false,
|
| 311 |
+
"normalized": false,
|
| 312 |
+
"rstrip": false,
|
| 313 |
+
"single_word": false,
|
| 314 |
+
"special": true
|
| 315 |
+
},
|
| 316 |
+
"96534": {
|
| 317 |
+
"content": "<pr_review_state>",
|
| 318 |
+
"lstrip": false,
|
| 319 |
+
"normalized": false,
|
| 320 |
+
"rstrip": false,
|
| 321 |
+
"single_word": false,
|
| 322 |
+
"special": true
|
| 323 |
+
},
|
| 324 |
+
"96535": {
|
| 325 |
+
"content": "<pr_review_comment>",
|
| 326 |
+
"lstrip": false,
|
| 327 |
+
"normalized": false,
|
| 328 |
+
"rstrip": false,
|
| 329 |
+
"single_word": false,
|
| 330 |
+
"special": true
|
| 331 |
+
},
|
| 332 |
+
"96536": {
|
| 333 |
+
"content": "<pr_in_reply_to_review_id>",
|
| 334 |
+
"lstrip": false,
|
| 335 |
+
"normalized": false,
|
| 336 |
+
"rstrip": false,
|
| 337 |
+
"single_word": false,
|
| 338 |
+
"special": true
|
| 339 |
+
},
|
| 340 |
+
"96537": {
|
| 341 |
+
"content": "<pr_in_reply_to_comment_id>",
|
| 342 |
+
"lstrip": false,
|
| 343 |
+
"normalized": false,
|
| 344 |
+
"rstrip": false,
|
| 345 |
+
"single_word": false,
|
| 346 |
+
"special": true
|
| 347 |
+
},
|
| 348 |
+
"96538": {
|
| 349 |
+
"content": "<pr_diff_hunk_comment_line>",
|
| 350 |
+
"lstrip": false,
|
| 351 |
+
"normalized": false,
|
| 352 |
+
"rstrip": false,
|
| 353 |
+
"single_word": false,
|
| 354 |
+
"special": true
|
| 355 |
+
},
|
| 356 |
+
"96539": {
|
| 357 |
+
"content": "<|im_end|>",
|
| 358 |
+
"lstrip": false,
|
| 359 |
+
"normalized": false,
|
| 360 |
+
"rstrip": false,
|
| 361 |
+
"single_word": false,
|
| 362 |
+
"special": true
|
| 363 |
+
},
|
| 364 |
+
"96540": {
|
| 365 |
+
"content": "<|im_start|>",
|
| 366 |
+
"lstrip": false,
|
| 367 |
+
"normalized": false,
|
| 368 |
+
"rstrip": false,
|
| 369 |
+
"single_word": false,
|
| 370 |
+
"special": true
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
"additional_special_tokens": [
|
| 374 |
+
"<|im_end|>",
|
| 375 |
+
"<|im_start|>"
|
| 376 |
+
],
|
| 377 |
+
"auto_map": {
|
| 378 |
+
"AutoTokenizer": [
|
| 379 |
+
"tokenization_inflm.INFLMTokenizer",
|
| 380 |
+
null
|
| 381 |
+
]
|
| 382 |
+
},
|
| 383 |
+
"bos_token": "<|im_start|>",
|
| 384 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are OpenCoder, created by OpenCoder Team.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
| 385 |
+
"clean_up_tokenization_spaces": false,
|
| 386 |
+
"eos_token": "<|im_end|>",
|
| 387 |
+
"extra_special_tokens": {},
|
| 388 |
+
"model_max_length": 4096,
|
| 389 |
+
"pad_token": "<pad>",
|
| 390 |
+
"padding_side": "right",
|
| 391 |
+
"return_tensors": true,
|
| 392 |
+
"spaces_between_special_tokens": false,
|
| 393 |
+
"split_special_tokens": false,
|
| 394 |
+
"tokenizer_class": "INFLMTokenizer",
|
| 395 |
+
"unk_token": "<unk>"
|
| 396 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 0.9868766404199475,
|
| 3 |
+
"num_input_tokens_seen": 98566144,
|
| 4 |
+
"total_flos": 4.361803532655919e+18,
|
| 5 |
+
"train_loss": 0.6996991406095788,
|
| 6 |
+
"train_runtime": 8190.5414,
|
| 7 |
+
"train_samples_per_second": 2.973,
|
| 8 |
+
"train_steps_per_second": 0.006
|
| 9 |
+
}
|
trainer_log.jsonl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 1, "total_steps": 47, "loss": 1.099, "lr": 4.9944171965578836e-05, "epoch": 0.02099737532808399, "percentage": 2.13, "elapsed_time": "0:03:01", "remaining_time": "2:18:47", "throughput": 11584.36, "total_tokens": 2097152}
|
| 2 |
+
{"current_steps": 2, "total_steps": 47, "loss": 1.0954, "lr": 4.97769372038695e-05, "epoch": 0.04199475065616798, "percentage": 4.26, "elapsed_time": "0:05:54", "remaining_time": "2:13:07", "throughput": 11815.38, "total_tokens": 4194304}
|
| 3 |
+
{"current_steps": 3, "total_steps": 47, "loss": 1.0273, "lr": 4.9499042625914674e-05, "epoch": 0.06299212598425197, "percentage": 6.38, "elapsed_time": "0:08:49", "remaining_time": "2:09:21", "throughput": 11889.36, "total_tokens": 6291456}
|
| 4 |
+
{"current_steps": 4, "total_steps": 47, "loss": 0.9301, "lr": 4.911172937635942e-05, "epoch": 0.08398950131233596, "percentage": 8.51, "elapsed_time": "0:11:43", "remaining_time": "2:05:59", "throughput": 11929.11, "total_tokens": 8388608}
|
| 5 |
+
{"current_steps": 5, "total_steps": 47, "loss": 0.8696, "lr": 4.861672729019797e-05, "epoch": 0.10498687664041995, "percentage": 10.64, "elapsed_time": "0:14:37", "remaining_time": "2:02:50", "throughput": 11950.39, "total_tokens": 10485760}
|
| 6 |
+
{"current_steps": 6, "total_steps": 47, "loss": 0.8379, "lr": 4.801624716691072e-05, "epoch": 0.12598425196850394, "percentage": 12.77, "elapsed_time": "0:17:31", "remaining_time": "1:59:47", "throughput": 11963.64, "total_tokens": 12582912}
|
| 7 |
+
{"current_steps": 7, "total_steps": 47, "loss": 0.8087, "lr": 4.731297089649703e-05, "epoch": 0.14698162729658792, "percentage": 14.89, "elapsed_time": "0:20:25", "remaining_time": "1:56:45", "throughput": 11974.16, "total_tokens": 14680064}
|
| 8 |
+
{"current_steps": 8, "total_steps": 47, "loss": 0.8071, "lr": 4.651003948150349e-05, "epoch": 0.1679790026246719, "percentage": 17.02, "elapsed_time": "0:23:20", "remaining_time": "1:53:45", "throughput": 11982.48, "total_tokens": 16777216}
|
| 9 |
+
{"current_steps": 9, "total_steps": 47, "loss": 0.7521, "lr": 4.561103900854401e-05, "epoch": 0.1889763779527559, "percentage": 19.15, "elapsed_time": "0:26:14", "remaining_time": "1:50:47", "throughput": 11987.35, "total_tokens": 18874368}
|
| 10 |
+
{"current_steps": 10, "total_steps": 47, "loss": 0.7666, "lr": 4.4619984631966524e-05, "epoch": 0.2099737532808399, "percentage": 21.28, "elapsed_time": "0:29:09", "remaining_time": "1:47:51", "throughput": 11990.25, "total_tokens": 20971520}
|
| 11 |
+
{"current_steps": 11, "total_steps": 47, "loss": 0.7226, "lr": 4.354130264119894e-05, "epoch": 0.23097112860892388, "percentage": 23.4, "elapsed_time": "0:32:03", "remaining_time": "1:44:54", "throughput": 11994.52, "total_tokens": 23068672}
|
| 12 |
+
{"current_steps": 12, "total_steps": 47, "loss": 0.719, "lr": 4.2379810691866064e-05, "epoch": 0.25196850393700787, "percentage": 25.53, "elapsed_time": "0:34:57", "remaining_time": "1:41:57", "throughput": 11998.58, "total_tokens": 25165824}
|
| 13 |
+
{"current_steps": 13, "total_steps": 47, "loss": 0.7129, "lr": 4.114069628897006e-05, "epoch": 0.27296587926509186, "percentage": 27.66, "elapsed_time": "0:37:51", "remaining_time": "1:39:01", "throughput": 12001.09, "total_tokens": 27262976}
|
| 14 |
+
{"current_steps": 14, "total_steps": 47, "loss": 0.7029, "lr": 3.982949361823388e-05, "epoch": 0.29396325459317585, "percentage": 29.79, "elapsed_time": "0:40:45", "remaining_time": "1:36:05", "throughput": 12003.39, "total_tokens": 29360128}
|
| 15 |
+
{"current_steps": 15, "total_steps": 47, "loss": 0.693, "lr": 3.845205882908432e-05, "epoch": 0.31496062992125984, "percentage": 31.91, "elapsed_time": "0:43:40", "remaining_time": "1:33:09", "throughput": 12005.3, "total_tokens": 31457280}
|
| 16 |
+
{"current_steps": 16, "total_steps": 47, "loss": 0.689, "lr": 3.7014543879667094e-05, "epoch": 0.3359580052493438, "percentage": 34.04, "elapsed_time": "0:46:34", "remaining_time": "1:30:14", "throughput": 12006.81, "total_tokens": 33554432}
|
| 17 |
+
{"current_steps": 17, "total_steps": 47, "loss": 0.6898, "lr": 3.552336906070838e-05, "epoch": 0.3569553805774278, "percentage": 36.17, "elapsed_time": "0:49:28", "remaining_time": "1:27:18", "throughput": 12008.94, "total_tokens": 35651584}
|
| 18 |
+
{"current_steps": 18, "total_steps": 47, "loss": 0.6596, "lr": 3.398519432093782e-05, "epoch": 0.3779527559055118, "percentage": 38.3, "elapsed_time": "0:52:22", "remaining_time": "1:24:23", "throughput": 12010.5, "total_tokens": 37748736}
|
| 19 |
+
{"current_steps": 19, "total_steps": 47, "loss": 0.6796, "lr": 3.2406889522140856e-05, "epoch": 0.3989501312335958, "percentage": 40.43, "elapsed_time": "0:55:16", "remaining_time": "1:21:28", "throughput": 12012.77, "total_tokens": 39845888}
|
| 20 |
+
{"current_steps": 20, "total_steps": 47, "loss": 0.6595, "lr": 3.079550375668821e-05, "epoch": 0.4199475065616798, "percentage": 42.55, "elapsed_time": "0:58:10", "remaining_time": "1:18:32", "throughput": 12016.11, "total_tokens": 41943040}
|
| 21 |
+
{"current_steps": 21, "total_steps": 47, "loss": 0.655, "lr": 2.9158233864578254e-05, "epoch": 0.4409448818897638, "percentage": 44.68, "elapsed_time": "1:01:03", "remaining_time": "1:15:35", "throughput": 12021.16, "total_tokens": 44040192}
|
| 22 |
+
{"current_steps": 22, "total_steps": 47, "loss": 0.6566, "lr": 2.7502392290602463e-05, "epoch": 0.46194225721784776, "percentage": 46.81, "elapsed_time": "1:03:56", "remaining_time": "1:12:39", "throughput": 12025.76, "total_tokens": 46137344}
|
| 23 |
+
{"current_steps": 23, "total_steps": 47, "loss": 0.6483, "lr": 2.5835374425191866e-05, "epoch": 0.48293963254593175, "percentage": 48.94, "elapsed_time": "1:06:49", "remaining_time": "1:09:44", "throughput": 12029.04, "total_tokens": 48234496}
|
| 24 |
+
{"current_steps": 24, "total_steps": 47, "loss": 0.6319, "lr": 2.4164625574808146e-05, "epoch": 0.5039370078740157, "percentage": 51.06, "elapsed_time": "1:09:42", "remaining_time": "1:06:48", "throughput": 12032.55, "total_tokens": 50331648}
|
| 25 |
+
{"current_steps": 25, "total_steps": 47, "loss": 0.6479, "lr": 2.2497607709397543e-05, "epoch": 0.5249343832020997, "percentage": 53.19, "elapsed_time": "1:12:36", "remaining_time": "1:03:53", "throughput": 12035.5, "total_tokens": 52428800}
|
| 26 |
+
{"current_steps": 26, "total_steps": 47, "loss": 0.6253, "lr": 2.0841766135421752e-05, "epoch": 0.5459317585301837, "percentage": 55.32, "elapsed_time": "1:15:29", "remaining_time": "1:00:58", "throughput": 12037.82, "total_tokens": 54525952}
|
| 27 |
+
{"current_steps": 27, "total_steps": 47, "loss": 0.6248, "lr": 1.920449624331179e-05, "epoch": 0.5669291338582677, "percentage": 57.45, "elapsed_time": "1:18:23", "remaining_time": "0:58:03", "throughput": 12039.18, "total_tokens": 56623104}
|
| 28 |
+
{"current_steps": 28, "total_steps": 47, "loss": 0.6237, "lr": 1.7593110477859153e-05, "epoch": 0.5879265091863517, "percentage": 59.57, "elapsed_time": "1:21:16", "remaining_time": "0:55:09", "throughput": 12040.88, "total_tokens": 58720256}
|
| 29 |
+
{"current_steps": 29, "total_steps": 47, "loss": 0.63, "lr": 1.6014805679062185e-05, "epoch": 0.6089238845144357, "percentage": 61.7, "elapsed_time": "1:24:10", "remaining_time": "0:52:14", "throughput": 12042.42, "total_tokens": 60817408}
|
| 30 |
+
{"current_steps": 30, "total_steps": 47, "loss": 0.6241, "lr": 1.447663093929163e-05, "epoch": 0.6299212598425197, "percentage": 63.83, "elapsed_time": "1:27:03", "remaining_time": "0:49:20", "throughput": 12043.81, "total_tokens": 62914560}
|
| 31 |
+
{"current_steps": 31, "total_steps": 47, "loss": 0.6062, "lr": 1.2985456120332906e-05, "epoch": 0.6509186351706037, "percentage": 65.96, "elapsed_time": "1:29:57", "remaining_time": "0:46:25", "throughput": 12044.95, "total_tokens": 65011712}
|
| 32 |
+
{"current_steps": 32, "total_steps": 47, "loss": 0.6356, "lr": 1.1547941170915686e-05, "epoch": 0.6719160104986877, "percentage": 68.09, "elapsed_time": "1:32:51", "remaining_time": "0:43:31", "throughput": 12046.11, "total_tokens": 67108864}
|
| 33 |
+
{"current_steps": 33, "total_steps": 47, "loss": 0.6151, "lr": 1.0170506381766121e-05, "epoch": 0.6929133858267716, "percentage": 70.21, "elapsed_time": "1:35:44", "remaining_time": "0:40:37", "throughput": 12046.85, "total_tokens": 69206016}
|
| 34 |
+
{"current_steps": 34, "total_steps": 47, "loss": 0.6198, "lr": 8.85930371102994e-06, "epoch": 0.7139107611548556, "percentage": 72.34, "elapsed_time": "1:38:38", "remaining_time": "0:37:43", "throughput": 12047.18, "total_tokens": 71303168}
|
| 35 |
+
{"current_steps": 35, "total_steps": 47, "loss": 0.5952, "lr": 7.620189308133943e-06, "epoch": 0.7349081364829396, "percentage": 74.47, "elapsed_time": "1:41:32", "remaining_time": "0:34:48", "throughput": 12047.45, "total_tokens": 73400320}
|
| 36 |
+
{"current_steps": 36, "total_steps": 47, "loss": 0.6126, "lr": 6.458697358801061e-06, "epoch": 0.7559055118110236, "percentage": 76.6, "elapsed_time": "1:44:26", "remaining_time": "0:31:54", "throughput": 12047.72, "total_tokens": 75497472}
|
| 37 |
+
{"current_steps": 37, "total_steps": 47, "loss": 0.637, "lr": 5.380015368033476e-06, "epoch": 0.7769028871391076, "percentage": 78.72, "elapsed_time": "1:47:20", "remaining_time": "0:29:00", "throughput": 12047.79, "total_tokens": 77594624}
|
| 38 |
+
{"current_steps": 38, "total_steps": 47, "loss": 0.6432, "lr": 4.388960991455998e-06, "epoch": 0.7979002624671916, "percentage": 80.85, "elapsed_time": "1:50:15", "remaining_time": "0:26:06", "throughput": 12047.09, "total_tokens": 79691776}
|
| 39 |
+
{"current_steps": 39, "total_steps": 47, "loss": 0.6329, "lr": 3.489960518496521e-06, "epoch": 0.8188976377952756, "percentage": 82.98, "elapsed_time": "1:53:08", "remaining_time": "0:23:12", "throughput": 12047.43, "total_tokens": 81788928}
|
| 40 |
+
{"current_steps": 40, "total_steps": 47, "loss": 0.629, "lr": 2.687029103502972e-06, "epoch": 0.8398950131233596, "percentage": 85.11, "elapsed_time": "1:56:03", "remaining_time": "0:20:18", "throughput": 12047.22, "total_tokens": 83886080}
|
| 41 |
+
{"current_steps": 41, "total_steps": 47, "loss": 0.6277, "lr": 1.983752833089278e-06, "epoch": 0.8608923884514436, "percentage": 87.23, "elapsed_time": "1:58:57", "remaining_time": "0:17:24", "throughput": 12046.86, "total_tokens": 85983232}
|
| 42 |
+
{"current_steps": 42, "total_steps": 47, "loss": 0.6192, "lr": 1.3832727098020332e-06, "epoch": 0.8818897637795275, "percentage": 89.36, "elapsed_time": "2:01:52", "remaining_time": "0:14:30", "throughput": 12045.85, "total_tokens": 88080384}
|
| 43 |
+
{"current_steps": 43, "total_steps": 47, "loss": 0.6203, "lr": 8.882706236405886e-07, "epoch": 0.9028871391076115, "percentage": 91.49, "elapsed_time": "2:04:47", "remaining_time": "0:11:36", "throughput": 12043.63, "total_tokens": 90177536}
|
| 44 |
+
{"current_steps": 44, "total_steps": 47, "loss": 0.6155, "lr": 5.009573740853313e-07, "epoch": 0.9238845144356955, "percentage": 93.62, "elapsed_time": "2:07:37", "remaining_time": "0:08:42", "throughput": 12050.55, "total_tokens": 92274688}
|
| 45 |
+
{"current_steps": 45, "total_steps": 47, "loss": 0.6273, "lr": 2.230627961304993e-07, "epoch": 0.9448818897637795, "percentage": 95.74, "elapsed_time": "2:10:26", "remaining_time": "0:05:47", "throughput": 12057.85, "total_tokens": 94371840}
|
| 46 |
+
{"current_steps": 46, "total_steps": 47, "loss": 0.624, "lr": 5.5828034421170907e-08, "epoch": 0.9658792650918635, "percentage": 97.87, "elapsed_time": "2:13:15", "remaining_time": "0:02:53", "throughput": 12064.68, "total_tokens": 96468992}
|
| 47 |
+
{"current_steps": 47, "total_steps": 47, "loss": 0.6356, "lr": 0.0, "epoch": 0.9868766404199475, "percentage": 100.0, "elapsed_time": "2:16:05", "remaining_time": "0:00:00", "throughput": 12071.55, "total_tokens": 98566144}
|
| 48 |
+
{"current_steps": 47, "total_steps": 47, "epoch": 0.9868766404199475, "percentage": 100.0, "elapsed_time": "2:16:29", "remaining_time": "0:00:00", "throughput": 12035.81, "total_tokens": 98566144}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,419 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 0.9868766404199475,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 47,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.02099737532808399,
|
| 13 |
+
"grad_norm": 1.512850046157837,
|
| 14 |
+
"learning_rate": 4.9944171965578836e-05,
|
| 15 |
+
"loss": 1.099,
|
| 16 |
+
"num_input_tokens_seen": 2097152,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.04199475065616798,
|
| 21 |
+
"grad_norm": 1.480190396308899,
|
| 22 |
+
"learning_rate": 4.97769372038695e-05,
|
| 23 |
+
"loss": 1.0954,
|
| 24 |
+
"num_input_tokens_seen": 4194304,
|
| 25 |
+
"step": 2
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 0.06299212598425197,
|
| 29 |
+
"grad_norm": 1.2695276737213135,
|
| 30 |
+
"learning_rate": 4.9499042625914674e-05,
|
| 31 |
+
"loss": 1.0273,
|
| 32 |
+
"num_input_tokens_seen": 6291456,
|
| 33 |
+
"step": 3
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"epoch": 0.08398950131233596,
|
| 37 |
+
"grad_norm": 1.0559132099151611,
|
| 38 |
+
"learning_rate": 4.911172937635942e-05,
|
| 39 |
+
"loss": 0.9301,
|
| 40 |
+
"num_input_tokens_seen": 8388608,
|
| 41 |
+
"step": 4
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"epoch": 0.10498687664041995,
|
| 45 |
+
"grad_norm": 0.8047496676445007,
|
| 46 |
+
"learning_rate": 4.861672729019797e-05,
|
| 47 |
+
"loss": 0.8696,
|
| 48 |
+
"num_input_tokens_seen": 10485760,
|
| 49 |
+
"step": 5
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"epoch": 0.12598425196850394,
|
| 53 |
+
"grad_norm": 0.6325356364250183,
|
| 54 |
+
"learning_rate": 4.801624716691072e-05,
|
| 55 |
+
"loss": 0.8379,
|
| 56 |
+
"num_input_tokens_seen": 12582912,
|
| 57 |
+
"step": 6
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"epoch": 0.14698162729658792,
|
| 61 |
+
"grad_norm": 0.504206120967865,
|
| 62 |
+
"learning_rate": 4.731297089649703e-05,
|
| 63 |
+
"loss": 0.8087,
|
| 64 |
+
"num_input_tokens_seen": 14680064,
|
| 65 |
+
"step": 7
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.1679790026246719,
|
| 69 |
+
"grad_norm": 0.4543064534664154,
|
| 70 |
+
"learning_rate": 4.651003948150349e-05,
|
| 71 |
+
"loss": 0.8071,
|
| 72 |
+
"num_input_tokens_seen": 16777216,
|
| 73 |
+
"step": 8
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.1889763779527559,
|
| 77 |
+
"grad_norm": 0.35835036635398865,
|
| 78 |
+
"learning_rate": 4.561103900854401e-05,
|
| 79 |
+
"loss": 0.7521,
|
| 80 |
+
"num_input_tokens_seen": 18874368,
|
| 81 |
+
"step": 9
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.2099737532808399,
|
| 85 |
+
"grad_norm": 0.33651018142700195,
|
| 86 |
+
"learning_rate": 4.4619984631966524e-05,
|
| 87 |
+
"loss": 0.7666,
|
| 88 |
+
"num_input_tokens_seen": 20971520,
|
| 89 |
+
"step": 10
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 0.23097112860892388,
|
| 93 |
+
"grad_norm": 0.2762841284275055,
|
| 94 |
+
"learning_rate": 4.354130264119894e-05,
|
| 95 |
+
"loss": 0.7226,
|
| 96 |
+
"num_input_tokens_seen": 23068672,
|
| 97 |
+
"step": 11
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"epoch": 0.25196850393700787,
|
| 101 |
+
"grad_norm": 0.2664271891117096,
|
| 102 |
+
"learning_rate": 4.2379810691866064e-05,
|
| 103 |
+
"loss": 0.719,
|
| 104 |
+
"num_input_tokens_seen": 25165824,
|
| 105 |
+
"step": 12
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 0.27296587926509186,
|
| 109 |
+
"grad_norm": 0.21707402169704437,
|
| 110 |
+
"learning_rate": 4.114069628897006e-05,
|
| 111 |
+
"loss": 0.7129,
|
| 112 |
+
"num_input_tokens_seen": 27262976,
|
| 113 |
+
"step": 13
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"epoch": 0.29396325459317585,
|
| 117 |
+
"grad_norm": 0.19864299893379211,
|
| 118 |
+
"learning_rate": 3.982949361823388e-05,
|
| 119 |
+
"loss": 0.7029,
|
| 120 |
+
"num_input_tokens_seen": 29360128,
|
| 121 |
+
"step": 14
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 0.31496062992125984,
|
| 125 |
+
"grad_norm": 0.20525172352790833,
|
| 126 |
+
"learning_rate": 3.845205882908432e-05,
|
| 127 |
+
"loss": 0.693,
|
| 128 |
+
"num_input_tokens_seen": 31457280,
|
| 129 |
+
"step": 15
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.3359580052493438,
|
| 133 |
+
"grad_norm": 0.18027806282043457,
|
| 134 |
+
"learning_rate": 3.7014543879667094e-05,
|
| 135 |
+
"loss": 0.689,
|
| 136 |
+
"num_input_tokens_seen": 33554432,
|
| 137 |
+
"step": 16
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"epoch": 0.3569553805774278,
|
| 141 |
+
"grad_norm": 0.16686110198497772,
|
| 142 |
+
"learning_rate": 3.552336906070838e-05,
|
| 143 |
+
"loss": 0.6898,
|
| 144 |
+
"num_input_tokens_seen": 35651584,
|
| 145 |
+
"step": 17
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 0.3779527559055118,
|
| 149 |
+
"grad_norm": 0.15808887779712677,
|
| 150 |
+
"learning_rate": 3.398519432093782e-05,
|
| 151 |
+
"loss": 0.6596,
|
| 152 |
+
"num_input_tokens_seen": 37748736,
|
| 153 |
+
"step": 18
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"epoch": 0.3989501312335958,
|
| 157 |
+
"grad_norm": 0.15036313235759735,
|
| 158 |
+
"learning_rate": 3.2406889522140856e-05,
|
| 159 |
+
"loss": 0.6796,
|
| 160 |
+
"num_input_tokens_seen": 39845888,
|
| 161 |
+
"step": 19
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"epoch": 0.4199475065616798,
|
| 165 |
+
"grad_norm": 0.13290229439735413,
|
| 166 |
+
"learning_rate": 3.079550375668821e-05,
|
| 167 |
+
"loss": 0.6595,
|
| 168 |
+
"num_input_tokens_seen": 41943040,
|
| 169 |
+
"step": 20
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"epoch": 0.4409448818897638,
|
| 173 |
+
"grad_norm": 0.12948521971702576,
|
| 174 |
+
"learning_rate": 2.9158233864578254e-05,
|
| 175 |
+
"loss": 0.655,
|
| 176 |
+
"num_input_tokens_seen": 44040192,
|
| 177 |
+
"step": 21
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"epoch": 0.46194225721784776,
|
| 181 |
+
"grad_norm": 0.12121973931789398,
|
| 182 |
+
"learning_rate": 2.7502392290602463e-05,
|
| 183 |
+
"loss": 0.6566,
|
| 184 |
+
"num_input_tokens_seen": 46137344,
|
| 185 |
+
"step": 22
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.48293963254593175,
|
| 189 |
+
"grad_norm": 0.11144606024026871,
|
| 190 |
+
"learning_rate": 2.5835374425191866e-05,
|
| 191 |
+
"loss": 0.6483,
|
| 192 |
+
"num_input_tokens_seen": 48234496,
|
| 193 |
+
"step": 23
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 0.5039370078740157,
|
| 197 |
+
"grad_norm": 0.09845685958862305,
|
| 198 |
+
"learning_rate": 2.4164625574808146e-05,
|
| 199 |
+
"loss": 0.6319,
|
| 200 |
+
"num_input_tokens_seen": 50331648,
|
| 201 |
+
"step": 24
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 0.5249343832020997,
|
| 205 |
+
"grad_norm": 0.10502230376005173,
|
| 206 |
+
"learning_rate": 2.2497607709397543e-05,
|
| 207 |
+
"loss": 0.6479,
|
| 208 |
+
"num_input_tokens_seen": 52428800,
|
| 209 |
+
"step": 25
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"epoch": 0.5459317585301837,
|
| 213 |
+
"grad_norm": 0.103838250041008,
|
| 214 |
+
"learning_rate": 2.0841766135421752e-05,
|
| 215 |
+
"loss": 0.6253,
|
| 216 |
+
"num_input_tokens_seen": 54525952,
|
| 217 |
+
"step": 26
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"epoch": 0.5669291338582677,
|
| 221 |
+
"grad_norm": 0.09724501520395279,
|
| 222 |
+
"learning_rate": 1.920449624331179e-05,
|
| 223 |
+
"loss": 0.6248,
|
| 224 |
+
"num_input_tokens_seen": 56623104,
|
| 225 |
+
"step": 27
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 0.5879265091863517,
|
| 229 |
+
"grad_norm": 0.09455479681491852,
|
| 230 |
+
"learning_rate": 1.7593110477859153e-05,
|
| 231 |
+
"loss": 0.6237,
|
| 232 |
+
"num_input_tokens_seen": 58720256,
|
| 233 |
+
"step": 28
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"epoch": 0.6089238845144357,
|
| 237 |
+
"grad_norm": 0.09271286427974701,
|
| 238 |
+
"learning_rate": 1.6014805679062185e-05,
|
| 239 |
+
"loss": 0.63,
|
| 240 |
+
"num_input_tokens_seen": 60817408,
|
| 241 |
+
"step": 29
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.6299212598425197,
|
| 245 |
+
"grad_norm": 0.09387161582708359,
|
| 246 |
+
"learning_rate": 1.447663093929163e-05,
|
| 247 |
+
"loss": 0.6241,
|
| 248 |
+
"num_input_tokens_seen": 62914560,
|
| 249 |
+
"step": 30
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"epoch": 0.6509186351706037,
|
| 253 |
+
"grad_norm": 0.09017566591501236,
|
| 254 |
+
"learning_rate": 1.2985456120332906e-05,
|
| 255 |
+
"loss": 0.6062,
|
| 256 |
+
"num_input_tokens_seen": 65011712,
|
| 257 |
+
"step": 31
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 0.6719160104986877,
|
| 261 |
+
"grad_norm": 0.09072048217058182,
|
| 262 |
+
"learning_rate": 1.1547941170915686e-05,
|
| 263 |
+
"loss": 0.6356,
|
| 264 |
+
"num_input_tokens_seen": 67108864,
|
| 265 |
+
"step": 32
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 0.6929133858267716,
|
| 269 |
+
"grad_norm": 0.09561938792467117,
|
| 270 |
+
"learning_rate": 1.0170506381766121e-05,
|
| 271 |
+
"loss": 0.6151,
|
| 272 |
+
"num_input_tokens_seen": 69206016,
|
| 273 |
+
"step": 33
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"epoch": 0.7139107611548556,
|
| 277 |
+
"grad_norm": 0.0859409049153328,
|
| 278 |
+
"learning_rate": 8.85930371102994e-06,
|
| 279 |
+
"loss": 0.6198,
|
| 280 |
+
"num_input_tokens_seen": 71303168,
|
| 281 |
+
"step": 34
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"epoch": 0.7349081364829396,
|
| 285 |
+
"grad_norm": 0.08907345682382584,
|
| 286 |
+
"learning_rate": 7.620189308133943e-06,
|
| 287 |
+
"loss": 0.5952,
|
| 288 |
+
"num_input_tokens_seen": 73400320,
|
| 289 |
+
"step": 35
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"epoch": 0.7559055118110236,
|
| 293 |
+
"grad_norm": 0.08716382831335068,
|
| 294 |
+
"learning_rate": 6.458697358801061e-06,
|
| 295 |
+
"loss": 0.6126,
|
| 296 |
+
"num_input_tokens_seen": 75497472,
|
| 297 |
+
"step": 36
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.7769028871391076,
|
| 301 |
+
"grad_norm": 0.08723893016576767,
|
| 302 |
+
"learning_rate": 5.380015368033476e-06,
|
| 303 |
+
"loss": 0.637,
|
| 304 |
+
"num_input_tokens_seen": 77594624,
|
| 305 |
+
"step": 37
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 0.7979002624671916,
|
| 309 |
+
"grad_norm": 0.09199921041727066,
|
| 310 |
+
"learning_rate": 4.388960991455998e-06,
|
| 311 |
+
"loss": 0.6432,
|
| 312 |
+
"num_input_tokens_seen": 79691776,
|
| 313 |
+
"step": 38
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"epoch": 0.8188976377952756,
|
| 317 |
+
"grad_norm": 0.08754907548427582,
|
| 318 |
+
"learning_rate": 3.489960518496521e-06,
|
| 319 |
+
"loss": 0.6329,
|
| 320 |
+
"num_input_tokens_seen": 81788928,
|
| 321 |
+
"step": 39
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"epoch": 0.8398950131233596,
|
| 325 |
+
"grad_norm": 0.08782719820737839,
|
| 326 |
+
"learning_rate": 2.687029103502972e-06,
|
| 327 |
+
"loss": 0.629,
|
| 328 |
+
"num_input_tokens_seen": 83886080,
|
| 329 |
+
"step": 40
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"epoch": 0.8608923884514436,
|
| 333 |
+
"grad_norm": 0.08878407627344131,
|
| 334 |
+
"learning_rate": 1.983752833089278e-06,
|
| 335 |
+
"loss": 0.6277,
|
| 336 |
+
"num_input_tokens_seen": 85983232,
|
| 337 |
+
"step": 41
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"epoch": 0.8818897637795275,
|
| 341 |
+
"grad_norm": 0.08673521876335144,
|
| 342 |
+
"learning_rate": 1.3832727098020332e-06,
|
| 343 |
+
"loss": 0.6192,
|
| 344 |
+
"num_input_tokens_seen": 88080384,
|
| 345 |
+
"step": 42
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"epoch": 0.9028871391076115,
|
| 349 |
+
"grad_norm": 0.09247046709060669,
|
| 350 |
+
"learning_rate": 8.882706236405886e-07,
|
| 351 |
+
"loss": 0.6203,
|
| 352 |
+
"num_input_tokens_seen": 90177536,
|
| 353 |
+
"step": 43
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 0.9238845144356955,
|
| 357 |
+
"grad_norm": 0.08419251441955566,
|
| 358 |
+
"learning_rate": 5.009573740853313e-07,
|
| 359 |
+
"loss": 0.6155,
|
| 360 |
+
"num_input_tokens_seen": 92274688,
|
| 361 |
+
"step": 44
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"epoch": 0.9448818897637795,
|
| 365 |
+
"grad_norm": 0.08720867335796356,
|
| 366 |
+
"learning_rate": 2.230627961304993e-07,
|
| 367 |
+
"loss": 0.6273,
|
| 368 |
+
"num_input_tokens_seen": 94371840,
|
| 369 |
+
"step": 45
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"epoch": 0.9658792650918635,
|
| 373 |
+
"grad_norm": 0.08411751687526703,
|
| 374 |
+
"learning_rate": 5.5828034421170907e-08,
|
| 375 |
+
"loss": 0.624,
|
| 376 |
+
"num_input_tokens_seen": 96468992,
|
| 377 |
+
"step": 46
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"epoch": 0.9868766404199475,
|
| 381 |
+
"grad_norm": 0.08487113565206528,
|
| 382 |
+
"learning_rate": 0.0,
|
| 383 |
+
"loss": 0.6356,
|
| 384 |
+
"num_input_tokens_seen": 98566144,
|
| 385 |
+
"step": 47
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"epoch": 0.9868766404199475,
|
| 389 |
+
"num_input_tokens_seen": 98566144,
|
| 390 |
+
"step": 47,
|
| 391 |
+
"total_flos": 4.361803532655919e+18,
|
| 392 |
+
"train_loss": 0.6996991406095788,
|
| 393 |
+
"train_runtime": 8190.5414,
|
| 394 |
+
"train_samples_per_second": 2.973,
|
| 395 |
+
"train_steps_per_second": 0.006
|
| 396 |
+
}
|
| 397 |
+
],
|
| 398 |
+
"logging_steps": 1.0,
|
| 399 |
+
"max_steps": 47,
|
| 400 |
+
"num_input_tokens_seen": 98566144,
|
| 401 |
+
"num_train_epochs": 1,
|
| 402 |
+
"save_steps": 1000,
|
| 403 |
+
"stateful_callbacks": {
|
| 404 |
+
"TrainerControl": {
|
| 405 |
+
"args": {
|
| 406 |
+
"should_epoch_stop": false,
|
| 407 |
+
"should_evaluate": false,
|
| 408 |
+
"should_log": false,
|
| 409 |
+
"should_save": true,
|
| 410 |
+
"should_training_stop": true
|
| 411 |
+
},
|
| 412 |
+
"attributes": {}
|
| 413 |
+
}
|
| 414 |
+
},
|
| 415 |
+
"total_flos": 4.361803532655919e+18,
|
| 416 |
+
"train_batch_size": 16,
|
| 417 |
+
"trial_name": null,
|
| 418 |
+
"trial_params": null
|
| 419 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:671114193a3823ad5a89e2f6394b2ff9bf4502f73a43e936a619b95cec825f31
|
| 3 |
+
size 5688
|
training_loss.png
ADDED
|