Duplicate from sn56c1/b18b973c-a023-487c-8fe4-fe23cfb905b5
Browse filesCo-authored-by: Tracy Zhang <[email protected]>
- .gitattributes +35 -0
- README.md +152 -0
- adapter_config.json +33 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +32 -0
- last-checkpoint/README.md +202 -0
- last-checkpoint/adapter_config.json +33 -0
- last-checkpoint/adapter_model.safetensors +3 -0
- last-checkpoint/merges.txt +0 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state_0.pth +3 -0
- last-checkpoint/rng_state_1.pth +3 -0
- last-checkpoint/rng_state_2.pth +3 -0
- last-checkpoint/rng_state_3.pth +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +30 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer_config.json +31 -0
- last-checkpoint/trainer_state.json +345 -0
- last-checkpoint/training_args.bin +3 -0
- last-checkpoint/vocab.json +0 -0
- merges.txt +0 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=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 |
+
license: other
|
| 4 |
+
base_model: facebook/opt-125m
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: b18b973c-a023-487c-8fe4-fe23cfb905b5
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 17 |
+
<details><summary>See axolotl config</summary>
|
| 18 |
+
|
| 19 |
+
axolotl version: `0.4.1`
|
| 20 |
+
```yaml
|
| 21 |
+
adapter: lora
|
| 22 |
+
base_model: facebook/opt-125m
|
| 23 |
+
bf16: auto
|
| 24 |
+
chat_template: llama3
|
| 25 |
+
dataset_prepared_path: null
|
| 26 |
+
datasets:
|
| 27 |
+
- data_files:
|
| 28 |
+
- fa45899a4384c2c8_train_data.json
|
| 29 |
+
ds_type: json
|
| 30 |
+
format: custom
|
| 31 |
+
path: /workspace/input_data/fa45899a4384c2c8_train_data.json
|
| 32 |
+
type:
|
| 33 |
+
field_instruction: instruction
|
| 34 |
+
field_output: output
|
| 35 |
+
format: '{instruction}'
|
| 36 |
+
no_input_format: '{instruction}'
|
| 37 |
+
system_format: '{system}'
|
| 38 |
+
system_prompt: ''
|
| 39 |
+
debug: null
|
| 40 |
+
deepspeed: null
|
| 41 |
+
early_stopping_patience: 1
|
| 42 |
+
eval_max_new_tokens: 128
|
| 43 |
+
eval_steps: 25
|
| 44 |
+
eval_table_size: null
|
| 45 |
+
flash_attention: false
|
| 46 |
+
fp16: false
|
| 47 |
+
fsdp: null
|
| 48 |
+
fsdp_config: null
|
| 49 |
+
gradient_accumulation_steps: 16
|
| 50 |
+
gradient_checkpointing: true
|
| 51 |
+
group_by_length: true
|
| 52 |
+
hub_model_id: sn56c1/b18b973c-a023-487c-8fe4-fe23cfb905b5
|
| 53 |
+
hub_repo: null
|
| 54 |
+
hub_strategy: checkpoint
|
| 55 |
+
hub_token: null
|
| 56 |
+
learning_rate: 0.0001
|
| 57 |
+
load_in_4bit: false
|
| 58 |
+
load_in_8bit: false
|
| 59 |
+
local_rank: null
|
| 60 |
+
logging_steps: 1
|
| 61 |
+
lora_alpha: 64
|
| 62 |
+
lora_dropout: 0.05
|
| 63 |
+
lora_fan_in_fan_out: null
|
| 64 |
+
lora_model_dir: null
|
| 65 |
+
lora_r: 32
|
| 66 |
+
lora_target_linear: true
|
| 67 |
+
lr_scheduler: cosine
|
| 68 |
+
max_steps: 50
|
| 69 |
+
micro_batch_size: 2
|
| 70 |
+
mlflow_experiment_name: /tmp/fa45899a4384c2c8_train_data.json
|
| 71 |
+
model_type: AutoModelForCausalLM
|
| 72 |
+
num_epochs: 3
|
| 73 |
+
optimizer: adamw_torch
|
| 74 |
+
output_dir: miner_id_24
|
| 75 |
+
pad_to_sequence_len: true
|
| 76 |
+
resume_from_checkpoint: null
|
| 77 |
+
s2_attention: null
|
| 78 |
+
sample_packing: false
|
| 79 |
+
save_steps: 25
|
| 80 |
+
sequence_len: 2048
|
| 81 |
+
strict: false
|
| 82 |
+
tf32: false
|
| 83 |
+
tokenizer_type: AutoTokenizer
|
| 84 |
+
train_on_inputs: false
|
| 85 |
+
trust_remote_code: true
|
| 86 |
+
val_set_size: 0.05
|
| 87 |
+
wandb_entity: sn56-miner
|
| 88 |
+
wandb_mode: disabled
|
| 89 |
+
wandb_name: b18b973c-a023-487c-8fe4-fe23cfb905b5
|
| 90 |
+
wandb_project: god
|
| 91 |
+
wandb_run: mbcv
|
| 92 |
+
wandb_runid: b18b973c-a023-487c-8fe4-fe23cfb905b5
|
| 93 |
+
warmup_ratio: 0.05
|
| 94 |
+
weight_decay: 0.01
|
| 95 |
+
xformers_attention: true
|
| 96 |
+
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
</details><br>
|
| 100 |
+
|
| 101 |
+
# b18b973c-a023-487c-8fe4-fe23cfb905b5
|
| 102 |
+
|
| 103 |
+
This model is a fine-tuned version of [facebook/opt-125m](https://huggingface.co/facebook/opt-125m) on the None dataset.
|
| 104 |
+
It achieves the following results on the evaluation set:
|
| 105 |
+
- Loss: 2.6521
|
| 106 |
+
|
| 107 |
+
## Model description
|
| 108 |
+
|
| 109 |
+
More information needed
|
| 110 |
+
|
| 111 |
+
## Intended uses & limitations
|
| 112 |
+
|
| 113 |
+
More information needed
|
| 114 |
+
|
| 115 |
+
## Training and evaluation data
|
| 116 |
+
|
| 117 |
+
More information needed
|
| 118 |
+
|
| 119 |
+
## Training procedure
|
| 120 |
+
|
| 121 |
+
### Training hyperparameters
|
| 122 |
+
|
| 123 |
+
The following hyperparameters were used during training:
|
| 124 |
+
- learning_rate: 0.0001
|
| 125 |
+
- train_batch_size: 2
|
| 126 |
+
- eval_batch_size: 2
|
| 127 |
+
- seed: 42
|
| 128 |
+
- distributed_type: multi-GPU
|
| 129 |
+
- num_devices: 4
|
| 130 |
+
- gradient_accumulation_steps: 16
|
| 131 |
+
- total_train_batch_size: 128
|
| 132 |
+
- total_eval_batch_size: 8
|
| 133 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 134 |
+
- lr_scheduler_type: cosine
|
| 135 |
+
- lr_scheduler_warmup_steps: 2
|
| 136 |
+
- training_steps: 41
|
| 137 |
+
|
| 138 |
+
### Training results
|
| 139 |
+
|
| 140 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 141 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 142 |
+
| 36.282 | 0.0748 | 1 | 3.0608 |
|
| 143 |
+
| 38.2965 | 1.8692 | 25 | 2.6521 |
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
### Framework versions
|
| 147 |
+
|
| 148 |
+
- PEFT 0.13.2
|
| 149 |
+
- Transformers 4.46.0
|
| 150 |
+
- Pytorch 2.5.0+cu124
|
| 151 |
+
- Datasets 3.0.1
|
| 152 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "facebook/opt-125m",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": null,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 32,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"k_proj",
|
| 24 |
+
"q_proj",
|
| 25 |
+
"v_proj",
|
| 26 |
+
"fc1",
|
| 27 |
+
"fc2",
|
| 28 |
+
"out_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"use_dora": false,
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:966f004f9a3cba0fa5e1a14b7ceaefa5d7fe3076a9f4f3abce0f1acf1211cc47
|
| 3 |
+
size 21286218
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a75e68844f2c991ee6f599b68047dc738d6ee1d3089780157ee2ffc84b90d099
|
| 3 |
+
size 21253336
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "facebook/opt-125m",
|
| 4 |
+
"_remove_final_layer_norm": false,
|
| 5 |
+
"activation_dropout": 0.0,
|
| 6 |
+
"activation_function": "relu",
|
| 7 |
+
"architectures": [
|
| 8 |
+
"OPTForCausalLM"
|
| 9 |
+
],
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 2,
|
| 12 |
+
"do_layer_norm_before": true,
|
| 13 |
+
"dropout": 0.1,
|
| 14 |
+
"enable_bias": true,
|
| 15 |
+
"eos_token_id": 2,
|
| 16 |
+
"ffn_dim": 3072,
|
| 17 |
+
"hidden_size": 768,
|
| 18 |
+
"init_std": 0.02,
|
| 19 |
+
"layer_norm_elementwise_affine": true,
|
| 20 |
+
"layerdrop": 0.0,
|
| 21 |
+
"max_position_embeddings": 2048,
|
| 22 |
+
"model_type": "opt",
|
| 23 |
+
"num_attention_heads": 12,
|
| 24 |
+
"num_hidden_layers": 12,
|
| 25 |
+
"pad_token_id": 1,
|
| 26 |
+
"prefix": "</s>",
|
| 27 |
+
"torch_dtype": "float16",
|
| 28 |
+
"transformers_version": "4.46.0",
|
| 29 |
+
"use_cache": false,
|
| 30 |
+
"vocab_size": 50272,
|
| 31 |
+
"word_embed_proj_dim": 768
|
| 32 |
+
}
|
last-checkpoint/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: facebook/opt-125m
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.13.2
|
last-checkpoint/adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "facebook/opt-125m",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": null,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 32,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"k_proj",
|
| 24 |
+
"q_proj",
|
| 25 |
+
"v_proj",
|
| 26 |
+
"fc1",
|
| 27 |
+
"fc2",
|
| 28 |
+
"out_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"use_dora": false,
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
last-checkpoint/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:814c8d4998aaec2e2a055d6cfa7026e2f6db1c34857d064ccbf26e43cb336e8e
|
| 3 |
+
size 21253336
|
last-checkpoint/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd3071895ea7f3d1a7e05325ff1377cc7c6e70278469ebcd903890a53b078f3e
|
| 3 |
+
size 42588474
|
last-checkpoint/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00fe1d6a510ecd3ca31281ecc6b907cf1be68ad6c26c3e7e6c32205add64ea2a
|
| 3 |
+
size 14960
|
last-checkpoint/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5c47d63d5502eb42da4031d0d868b5fb5d45bdcf6deb692cc1b2b64f097265c
|
| 3 |
+
size 15024
|
last-checkpoint/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5950d4e0aa8cce66e8e7bc53a74839c4b890608455d1319d1344f1bc7b42af42
|
| 3 |
+
size 15024
|
last-checkpoint/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21dc65bc65af76a2cda267ab46a1c1fdbc4ce93d8e97a020454d933c2ffa6ca8
|
| 3 |
+
size 15024
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84fc982e8229d2121603832a24f4c07bbdbf63985ed1d38e11762164a04dad3b
|
| 3 |
+
size 1064
|
last-checkpoint/special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "</s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "</s>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": true,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/tokenizer_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"1": {
|
| 6 |
+
"content": "<pad>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": true,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"2": {
|
| 14 |
+
"content": "</s>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": true,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"bos_token": "</s>",
|
| 23 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
|
| 24 |
+
"clean_up_tokenization_spaces": false,
|
| 25 |
+
"eos_token": "</s>",
|
| 26 |
+
"errors": "replace",
|
| 27 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 28 |
+
"pad_token": "<pad>",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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 2.6521220207214355,
|
| 3 |
+
"best_model_checkpoint": "miner_id_24/checkpoint-25",
|
| 4 |
+
"epoch": 3.0654205607476634,
|
| 5 |
+
"eval_steps": 25,
|
| 6 |
+
"global_step": 41,
|
| 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.07476635514018691,
|
| 13 |
+
"grad_norm": 12.758352279663086,
|
| 14 |
+
"learning_rate": 5e-05,
|
| 15 |
+
"loss": 36.282,
|
| 16 |
+
"step": 1
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.07476635514018691,
|
| 20 |
+
"eval_loss": 3.060811758041382,
|
| 21 |
+
"eval_runtime": 0.217,
|
| 22 |
+
"eval_samples_per_second": 414.771,
|
| 23 |
+
"eval_steps_per_second": 55.303,
|
| 24 |
+
"step": 1
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.14953271028037382,
|
| 28 |
+
"grad_norm": 20.263750076293945,
|
| 29 |
+
"learning_rate": 0.0001,
|
| 30 |
+
"loss": 42.7203,
|
| 31 |
+
"step": 2
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.22429906542056074,
|
| 35 |
+
"grad_norm": 57.88479995727539,
|
| 36 |
+
"learning_rate": 9.983786540671051e-05,
|
| 37 |
+
"loss": 55.9926,
|
| 38 |
+
"step": 3
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.29906542056074764,
|
| 42 |
+
"grad_norm": 44.08774948120117,
|
| 43 |
+
"learning_rate": 9.935251313189564e-05,
|
| 44 |
+
"loss": 46.6793,
|
| 45 |
+
"step": 4
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.37383177570093457,
|
| 49 |
+
"grad_norm": 11.229438781738281,
|
| 50 |
+
"learning_rate": 9.85470908713026e-05,
|
| 51 |
+
"loss": 39.1964,
|
| 52 |
+
"step": 5
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.4485981308411215,
|
| 56 |
+
"grad_norm": 39.31789016723633,
|
| 57 |
+
"learning_rate": 9.742682209735727e-05,
|
| 58 |
+
"loss": 49.6059,
|
| 59 |
+
"step": 6
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.5233644859813084,
|
| 63 |
+
"grad_norm": 60.52045822143555,
|
| 64 |
+
"learning_rate": 9.599897218294122e-05,
|
| 65 |
+
"loss": 53.2442,
|
| 66 |
+
"step": 7
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.5981308411214953,
|
| 70 |
+
"grad_norm": 12.900232315063477,
|
| 71 |
+
"learning_rate": 9.42728012826605e-05,
|
| 72 |
+
"loss": 37.8815,
|
| 73 |
+
"step": 8
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.6728971962616822,
|
| 77 |
+
"grad_norm": 21.519189834594727,
|
| 78 |
+
"learning_rate": 9.225950427718975e-05,
|
| 79 |
+
"loss": 44.2056,
|
| 80 |
+
"step": 9
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.7476635514018691,
|
| 84 |
+
"grad_norm": 56.32939529418945,
|
| 85 |
+
"learning_rate": 8.997213817017507e-05,
|
| 86 |
+
"loss": 51.4103,
|
| 87 |
+
"step": 10
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.822429906542056,
|
| 91 |
+
"grad_norm": 14.446544647216797,
|
| 92 |
+
"learning_rate": 8.742553740855506e-05,
|
| 93 |
+
"loss": 37.1102,
|
| 94 |
+
"step": 11
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.897196261682243,
|
| 98 |
+
"grad_norm": 17.83036231994629,
|
| 99 |
+
"learning_rate": 8.463621767547998e-05,
|
| 100 |
+
"loss": 41.9033,
|
| 101 |
+
"step": 12
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.9719626168224299,
|
| 105 |
+
"grad_norm": 46.029293060302734,
|
| 106 |
+
"learning_rate": 8.162226877976887e-05,
|
| 107 |
+
"loss": 54.8429,
|
| 108 |
+
"step": 13
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 1.0467289719626167,
|
| 112 |
+
"grad_norm": 17.31562614440918,
|
| 113 |
+
"learning_rate": 7.840323733655778e-05,
|
| 114 |
+
"loss": 38.5449,
|
| 115 |
+
"step": 14
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 1.1214953271028036,
|
| 119 |
+
"grad_norm": 15.410332679748535,
|
| 120 |
+
"learning_rate": 7.500000000000001e-05,
|
| 121 |
+
"loss": 38.6461,
|
| 122 |
+
"step": 15
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 1.1962616822429906,
|
| 126 |
+
"grad_norm": 18.735742568969727,
|
| 127 |
+
"learning_rate": 7.143462807015271e-05,
|
| 128 |
+
"loss": 43.017,
|
| 129 |
+
"step": 16
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.2710280373831775,
|
| 133 |
+
"grad_norm": 37.610233306884766,
|
| 134 |
+
"learning_rate": 6.773024435212678e-05,
|
| 135 |
+
"loss": 47.2818,
|
| 136 |
+
"step": 17
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.3457943925233644,
|
| 140 |
+
"grad_norm": 12.432938575744629,
|
| 141 |
+
"learning_rate": 6.391087319582264e-05,
|
| 142 |
+
"loss": 37.0608,
|
| 143 |
+
"step": 18
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.4205607476635513,
|
| 147 |
+
"grad_norm": 15.482471466064453,
|
| 148 |
+
"learning_rate": 6.0001284688802226e-05,
|
| 149 |
+
"loss": 43.5062,
|
| 150 |
+
"step": 19
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.4953271028037383,
|
| 154 |
+
"grad_norm": 44.31102752685547,
|
| 155 |
+
"learning_rate": 5.602683401276615e-05,
|
| 156 |
+
"loss": 48.2458,
|
| 157 |
+
"step": 20
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.5700934579439252,
|
| 161 |
+
"grad_norm": 10.056441307067871,
|
| 162 |
+
"learning_rate": 5.201329700547076e-05,
|
| 163 |
+
"loss": 35.6037,
|
| 164 |
+
"step": 21
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.644859813084112,
|
| 168 |
+
"grad_norm": 14.291549682617188,
|
| 169 |
+
"learning_rate": 4.798670299452926e-05,
|
| 170 |
+
"loss": 40.7725,
|
| 171 |
+
"step": 22
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.719626168224299,
|
| 175 |
+
"grad_norm": 35.73259353637695,
|
| 176 |
+
"learning_rate": 4.397316598723385e-05,
|
| 177 |
+
"loss": 47.5375,
|
| 178 |
+
"step": 23
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.794392523364486,
|
| 182 |
+
"grad_norm": 27.332090377807617,
|
| 183 |
+
"learning_rate": 3.9998715311197785e-05,
|
| 184 |
+
"loss": 40.5958,
|
| 185 |
+
"step": 24
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.8691588785046729,
|
| 189 |
+
"grad_norm": 12.312621116638184,
|
| 190 |
+
"learning_rate": 3.608912680417737e-05,
|
| 191 |
+
"loss": 38.2965,
|
| 192 |
+
"step": 25
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.8691588785046729,
|
| 196 |
+
"eval_loss": 2.6521220207214355,
|
| 197 |
+
"eval_runtime": 0.2136,
|
| 198 |
+
"eval_samples_per_second": 421.387,
|
| 199 |
+
"eval_steps_per_second": 56.185,
|
| 200 |
+
"step": 25
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 1.9439252336448598,
|
| 204 |
+
"grad_norm": 24.132015228271484,
|
| 205 |
+
"learning_rate": 3.226975564787322e-05,
|
| 206 |
+
"loss": 45.587,
|
| 207 |
+
"step": 26
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"epoch": 2.0186915887850465,
|
| 211 |
+
"grad_norm": 37.26287078857422,
|
| 212 |
+
"learning_rate": 2.8565371929847284e-05,
|
| 213 |
+
"loss": 44.63,
|
| 214 |
+
"step": 27
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 2.0934579439252334,
|
| 218 |
+
"grad_norm": 8.607263565063477,
|
| 219 |
+
"learning_rate": 2.500000000000001e-05,
|
| 220 |
+
"loss": 35.3202,
|
| 221 |
+
"step": 28
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 2.1682242990654204,
|
| 225 |
+
"grad_norm": 15.418391227722168,
|
| 226 |
+
"learning_rate": 2.1596762663442218e-05,
|
| 227 |
+
"loss": 40.6338,
|
| 228 |
+
"step": 29
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 2.2429906542056073,
|
| 232 |
+
"grad_norm": 45.875850677490234,
|
| 233 |
+
"learning_rate": 1.837773122023114e-05,
|
| 234 |
+
"loss": 48.1675,
|
| 235 |
+
"step": 30
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"epoch": 2.317757009345794,
|
| 239 |
+
"grad_norm": 8.112244606018066,
|
| 240 |
+
"learning_rate": 1.536378232452003e-05,
|
| 241 |
+
"loss": 34.1341,
|
| 242 |
+
"step": 31
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 2.392523364485981,
|
| 246 |
+
"grad_norm": 11.951674461364746,
|
| 247 |
+
"learning_rate": 1.257446259144494e-05,
|
| 248 |
+
"loss": 38.6645,
|
| 249 |
+
"step": 32
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"epoch": 2.467289719626168,
|
| 253 |
+
"grad_norm": 26.10127067565918,
|
| 254 |
+
"learning_rate": 1.0027861829824952e-05,
|
| 255 |
+
"loss": 46.5139,
|
| 256 |
+
"step": 33
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"epoch": 2.542056074766355,
|
| 260 |
+
"grad_norm": 22.941789627075195,
|
| 261 |
+
"learning_rate": 7.740495722810271e-06,
|
| 262 |
+
"loss": 39.0511,
|
| 263 |
+
"step": 34
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"epoch": 2.616822429906542,
|
| 267 |
+
"grad_norm": 10.500677108764648,
|
| 268 |
+
"learning_rate": 5.727198717339511e-06,
|
| 269 |
+
"loss": 38.4031,
|
| 270 |
+
"step": 35
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"epoch": 2.691588785046729,
|
| 274 |
+
"grad_norm": 20.41301918029785,
|
| 275 |
+
"learning_rate": 4.001027817058789e-06,
|
| 276 |
+
"loss": 43.299,
|
| 277 |
+
"step": 36
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"epoch": 2.7663551401869158,
|
| 281 |
+
"grad_norm": 41.006507873535156,
|
| 282 |
+
"learning_rate": 2.573177902642726e-06,
|
| 283 |
+
"loss": 46.7328,
|
| 284 |
+
"step": 37
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"epoch": 2.8411214953271027,
|
| 288 |
+
"grad_norm": 9.30128002166748,
|
| 289 |
+
"learning_rate": 1.4529091286973995e-06,
|
| 290 |
+
"loss": 37.2758,
|
| 291 |
+
"step": 38
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"epoch": 2.9158878504672896,
|
| 295 |
+
"grad_norm": 15.678587913513184,
|
| 296 |
+
"learning_rate": 6.474868681043578e-07,
|
| 297 |
+
"loss": 41.8466,
|
| 298 |
+
"step": 39
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"epoch": 2.9906542056074765,
|
| 302 |
+
"grad_norm": 43.43739318847656,
|
| 303 |
+
"learning_rate": 1.6213459328950352e-07,
|
| 304 |
+
"loss": 47.5823,
|
| 305 |
+
"step": 40
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 3.0654205607476634,
|
| 309 |
+
"grad_norm": 11.734439849853516,
|
| 310 |
+
"learning_rate": 0.0,
|
| 311 |
+
"loss": 35.6739,
|
| 312 |
+
"step": 41
|
| 313 |
+
}
|
| 314 |
+
],
|
| 315 |
+
"logging_steps": 1,
|
| 316 |
+
"max_steps": 41,
|
| 317 |
+
"num_input_tokens_seen": 0,
|
| 318 |
+
"num_train_epochs": 4,
|
| 319 |
+
"save_steps": 25,
|
| 320 |
+
"stateful_callbacks": {
|
| 321 |
+
"EarlyStoppingCallback": {
|
| 322 |
+
"args": {
|
| 323 |
+
"early_stopping_patience": 1,
|
| 324 |
+
"early_stopping_threshold": 0.0
|
| 325 |
+
},
|
| 326 |
+
"attributes": {
|
| 327 |
+
"early_stopping_patience_counter": 0
|
| 328 |
+
}
|
| 329 |
+
},
|
| 330 |
+
"TrainerControl": {
|
| 331 |
+
"args": {
|
| 332 |
+
"should_epoch_stop": false,
|
| 333 |
+
"should_evaluate": false,
|
| 334 |
+
"should_log": false,
|
| 335 |
+
"should_save": true,
|
| 336 |
+
"should_training_stop": true
|
| 337 |
+
},
|
| 338 |
+
"attributes": {}
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
"total_flos": 5827368409104384.0,
|
| 342 |
+
"train_batch_size": 2,
|
| 343 |
+
"trial_name": null,
|
| 344 |
+
"trial_params": null
|
| 345 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64f524371b6c8148c4419329b5f0658c2967e17c8773af52e1db583dee68044c
|
| 3 |
+
size 6776
|
last-checkpoint/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "</s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "</s>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": true,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"1": {
|
| 6 |
+
"content": "<pad>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": true,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"2": {
|
| 14 |
+
"content": "</s>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": true,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"bos_token": "</s>",
|
| 23 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
|
| 24 |
+
"clean_up_tokenization_spaces": false,
|
| 25 |
+
"eos_token": "</s>",
|
| 26 |
+
"errors": "replace",
|
| 27 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 28 |
+
"pad_token": "<pad>",
|
| 29 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 30 |
+
"unk_token": "</s>"
|
| 31 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64f524371b6c8148c4419329b5f0658c2967e17c8773af52e1db583dee68044c
|
| 3 |
+
size 6776
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|