End of training
Browse files- README.md +151 -0
- adapter_config.json +31 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +139 -0
- last-checkpoint/README.md +202 -0
- last-checkpoint/adapter_config.json +31 -0
- last-checkpoint/adapter_model.safetensors +3 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state.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 +137 -0
- last-checkpoint/trainer_state.json +135 -0
- last-checkpoint/training_args.bin +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +137 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: numind/NuExtract-v1.5
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: cbde3e7f-f0eb-468e-b839-35d47b3497fa
|
| 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: numind/NuExtract-v1.5
|
| 23 |
+
bf16: auto
|
| 24 |
+
chat_template: llama3
|
| 25 |
+
dataset_prepared_path: null
|
| 26 |
+
datasets:
|
| 27 |
+
- data_files:
|
| 28 |
+
- cb442f6a83698aeb_train_data.json
|
| 29 |
+
ds_type: json
|
| 30 |
+
format: custom
|
| 31 |
+
path: /workspace/input_data/cb442f6a83698aeb_train_data.json
|
| 32 |
+
type:
|
| 33 |
+
field_instruction: problem_statement
|
| 34 |
+
field_output: FAIL_TO_PASS
|
| 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: null
|
| 42 |
+
eval_max_new_tokens: 128
|
| 43 |
+
eval_table_size: null
|
| 44 |
+
evals_per_epoch: 4
|
| 45 |
+
flash_attention: false
|
| 46 |
+
fp16: null
|
| 47 |
+
fsdp: null
|
| 48 |
+
fsdp_config: null
|
| 49 |
+
gradient_accumulation_steps: 4
|
| 50 |
+
gradient_checkpointing: false
|
| 51 |
+
group_by_length: false
|
| 52 |
+
hub_model_id: null
|
| 53 |
+
hub_repo: null
|
| 54 |
+
hub_strategy: checkpoint
|
| 55 |
+
hub_token: null
|
| 56 |
+
learning_rate: 0.0002
|
| 57 |
+
load_in_4bit: false
|
| 58 |
+
load_in_8bit: false
|
| 59 |
+
local_rank: null
|
| 60 |
+
logging_steps: 1
|
| 61 |
+
lora_alpha: 16
|
| 62 |
+
lora_dropout: 0.05
|
| 63 |
+
lora_fan_in_fan_out: null
|
| 64 |
+
lora_model_dir: null
|
| 65 |
+
lora_r: 8
|
| 66 |
+
lora_target_linear: true
|
| 67 |
+
lr_scheduler: cosine
|
| 68 |
+
max_steps: 10
|
| 69 |
+
micro_batch_size: 2
|
| 70 |
+
mlflow_experiment_name: /tmp/cb442f6a83698aeb_train_data.json
|
| 71 |
+
model_type: AutoModelForCausalLM
|
| 72 |
+
num_epochs: 1
|
| 73 |
+
optimizer: adamw_bnb_8bit
|
| 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 |
+
saves_per_epoch: 4
|
| 80 |
+
sequence_len: 512
|
| 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: null
|
| 88 |
+
wandb_mode: online
|
| 89 |
+
wandb_name: 76b4914d-908a-4fe1-871c-87ef23cb57f2
|
| 90 |
+
wandb_project: Gradients-On-Demand
|
| 91 |
+
wandb_run: your_name
|
| 92 |
+
wandb_runid: 76b4914d-908a-4fe1-871c-87ef23cb57f2
|
| 93 |
+
warmup_steps: 10
|
| 94 |
+
weight_decay: 0.0
|
| 95 |
+
xformers_attention: null
|
| 96 |
+
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
</details><br>
|
| 100 |
+
|
| 101 |
+
# cbde3e7f-f0eb-468e-b839-35d47b3497fa
|
| 102 |
+
|
| 103 |
+
This model is a fine-tuned version of [numind/NuExtract-v1.5](https://huggingface.co/numind/NuExtract-v1.5) on the None dataset.
|
| 104 |
+
It achieves the following results on the evaluation set:
|
| 105 |
+
- Loss: 8.3927
|
| 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.0002
|
| 125 |
+
- train_batch_size: 2
|
| 126 |
+
- eval_batch_size: 2
|
| 127 |
+
- seed: 42
|
| 128 |
+
- gradient_accumulation_steps: 4
|
| 129 |
+
- total_train_batch_size: 8
|
| 130 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 131 |
+
- lr_scheduler_type: cosine
|
| 132 |
+
- lr_scheduler_warmup_steps: 10
|
| 133 |
+
- training_steps: 10
|
| 134 |
+
|
| 135 |
+
### Training results
|
| 136 |
+
|
| 137 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 138 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 139 |
+
| 48.4162 | 0.0004 | 1 | 12.0711 |
|
| 140 |
+
| 52.3777 | 0.0012 | 3 | 11.9944 |
|
| 141 |
+
| 56.7691 | 0.0024 | 6 | 11.1880 |
|
| 142 |
+
| 24.6913 | 0.0036 | 9 | 8.3927 |
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
### Framework versions
|
| 146 |
+
|
| 147 |
+
- PEFT 0.13.2
|
| 148 |
+
- Transformers 4.46.0
|
| 149 |
+
- Pytorch 2.5.0+cu124
|
| 150 |
+
- Datasets 3.0.1
|
| 151 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "numind/NuExtract-v1.5",
|
| 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": 16,
|
| 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": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"qkv_proj",
|
| 24 |
+
"o_proj",
|
| 25 |
+
"gate_up_proj",
|
| 26 |
+
"down_proj"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a64a0ee337ec22d0298d2d5d2d153f78414d079f346b852cbc958926ece3f755
|
| 3 |
+
size 50424202
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f8740eef468bd5d24919d4d0841b63e23021743f8489fcaff83acfd4fab2fab
|
| 3 |
+
size 50365768
|
config.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "numind/NuExtract-v1.5",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"Phi3ForCausalLM"
|
| 6 |
+
],
|
| 7 |
+
"attention_bias": false,
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"auto_map": {
|
| 10 |
+
"AutoConfig": "microsoft/Phi-3.5-mini-instruct--configuration_phi3.Phi3Config",
|
| 11 |
+
"AutoModelForCausalLM": "microsoft/Phi-3.5-mini-instruct--modeling_phi3.Phi3ForCausalLM"
|
| 12 |
+
},
|
| 13 |
+
"bos_token_id": 1,
|
| 14 |
+
"embd_pdrop": 0.0,
|
| 15 |
+
"eos_token_id": 32000,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 3072,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 8192,
|
| 20 |
+
"max_position_embeddings": 131072,
|
| 21 |
+
"model_type": "phi3",
|
| 22 |
+
"num_attention_heads": 32,
|
| 23 |
+
"num_hidden_layers": 32,
|
| 24 |
+
"num_key_value_heads": 32,
|
| 25 |
+
"original_max_position_embeddings": 4096,
|
| 26 |
+
"pad_token_id": 32000,
|
| 27 |
+
"resid_pdrop": 0.0,
|
| 28 |
+
"rms_norm_eps": 1e-05,
|
| 29 |
+
"rope_scaling": {
|
| 30 |
+
"long_factor": [
|
| 31 |
+
1.0800000429153442,
|
| 32 |
+
1.1100000143051147,
|
| 33 |
+
1.1399999856948853,
|
| 34 |
+
1.340000033378601,
|
| 35 |
+
1.5899999141693115,
|
| 36 |
+
1.600000023841858,
|
| 37 |
+
1.6200000047683716,
|
| 38 |
+
2.620000123977661,
|
| 39 |
+
3.2300000190734863,
|
| 40 |
+
3.2300000190734863,
|
| 41 |
+
4.789999961853027,
|
| 42 |
+
7.400000095367432,
|
| 43 |
+
7.700000286102295,
|
| 44 |
+
9.09000015258789,
|
| 45 |
+
12.199999809265137,
|
| 46 |
+
17.670000076293945,
|
| 47 |
+
24.46000099182129,
|
| 48 |
+
28.57000160217285,
|
| 49 |
+
30.420001983642578,
|
| 50 |
+
30.840002059936523,
|
| 51 |
+
32.590003967285156,
|
| 52 |
+
32.93000411987305,
|
| 53 |
+
42.320003509521484,
|
| 54 |
+
44.96000289916992,
|
| 55 |
+
50.340003967285156,
|
| 56 |
+
50.45000457763672,
|
| 57 |
+
57.55000305175781,
|
| 58 |
+
57.93000411987305,
|
| 59 |
+
58.21000289916992,
|
| 60 |
+
60.1400032043457,
|
| 61 |
+
62.61000442504883,
|
| 62 |
+
62.62000274658203,
|
| 63 |
+
62.71000289916992,
|
| 64 |
+
63.1400032043457,
|
| 65 |
+
63.1400032043457,
|
| 66 |
+
63.77000427246094,
|
| 67 |
+
63.93000411987305,
|
| 68 |
+
63.96000289916992,
|
| 69 |
+
63.970001220703125,
|
| 70 |
+
64.02999877929688,
|
| 71 |
+
64.06999969482422,
|
| 72 |
+
64.08000183105469,
|
| 73 |
+
64.12000274658203,
|
| 74 |
+
64.41000366210938,
|
| 75 |
+
64.4800033569336,
|
| 76 |
+
64.51000213623047,
|
| 77 |
+
64.52999877929688,
|
| 78 |
+
64.83999633789062
|
| 79 |
+
],
|
| 80 |
+
"short_factor": [
|
| 81 |
+
1.0,
|
| 82 |
+
1.0199999809265137,
|
| 83 |
+
1.0299999713897705,
|
| 84 |
+
1.0299999713897705,
|
| 85 |
+
1.0499999523162842,
|
| 86 |
+
1.0499999523162842,
|
| 87 |
+
1.0499999523162842,
|
| 88 |
+
1.0499999523162842,
|
| 89 |
+
1.0499999523162842,
|
| 90 |
+
1.0699999332427979,
|
| 91 |
+
1.0999999046325684,
|
| 92 |
+
1.1099998950958252,
|
| 93 |
+
1.1599998474121094,
|
| 94 |
+
1.1599998474121094,
|
| 95 |
+
1.1699998378753662,
|
| 96 |
+
1.2899998426437378,
|
| 97 |
+
1.339999794960022,
|
| 98 |
+
1.679999828338623,
|
| 99 |
+
1.7899998426437378,
|
| 100 |
+
1.8199998140335083,
|
| 101 |
+
1.8499997854232788,
|
| 102 |
+
1.8799997568130493,
|
| 103 |
+
1.9099997282028198,
|
| 104 |
+
1.9399996995925903,
|
| 105 |
+
1.9899996519088745,
|
| 106 |
+
2.0199997425079346,
|
| 107 |
+
2.0199997425079346,
|
| 108 |
+
2.0199997425079346,
|
| 109 |
+
2.0199997425079346,
|
| 110 |
+
2.0199997425079346,
|
| 111 |
+
2.0199997425079346,
|
| 112 |
+
2.0299997329711914,
|
| 113 |
+
2.0299997329711914,
|
| 114 |
+
2.0299997329711914,
|
| 115 |
+
2.0299997329711914,
|
| 116 |
+
2.0299997329711914,
|
| 117 |
+
2.0299997329711914,
|
| 118 |
+
2.0299997329711914,
|
| 119 |
+
2.0299997329711914,
|
| 120 |
+
2.0299997329711914,
|
| 121 |
+
2.0799996852874756,
|
| 122 |
+
2.0899996757507324,
|
| 123 |
+
2.189999580383301,
|
| 124 |
+
2.2199995517730713,
|
| 125 |
+
2.5899994373321533,
|
| 126 |
+
2.729999542236328,
|
| 127 |
+
2.749999523162842,
|
| 128 |
+
2.8399994373321533
|
| 129 |
+
],
|
| 130 |
+
"type": "longrope"
|
| 131 |
+
},
|
| 132 |
+
"rope_theta": 10000.0,
|
| 133 |
+
"sliding_window": 262144,
|
| 134 |
+
"tie_word_embeddings": false,
|
| 135 |
+
"torch_dtype": "bfloat16",
|
| 136 |
+
"transformers_version": "4.46.0",
|
| 137 |
+
"use_cache": false,
|
| 138 |
+
"vocab_size": 32064
|
| 139 |
+
}
|
last-checkpoint/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: numind/NuExtract-v1.5
|
| 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,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "numind/NuExtract-v1.5",
|
| 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": 16,
|
| 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": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"qkv_proj",
|
| 24 |
+
"o_proj",
|
| 25 |
+
"gate_up_proj",
|
| 26 |
+
"down_proj"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
last-checkpoint/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f8740eef468bd5d24919d4d0841b63e23021743f8489fcaff83acfd4fab2fab
|
| 3 |
+
size 50365768
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:965c75dff394322f29c90db6cc4b6c42aacf9c237d8f42d69e860fbd34d1cda4
|
| 3 |
+
size 25859156
|
last-checkpoint/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8eae727c3367e9da20c871a8b7c6773952a4c0e2944348a8097757e7a9e3945
|
| 3 |
+
size 14244
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb578e75c11a81e85dda67a691f96ba4793a02960f1409fd3e1511aac873491a
|
| 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": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|endoftext|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 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,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": true,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<|endoftext|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<|assistant|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": true,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
},
|
| 46 |
+
"32002": {
|
| 47 |
+
"content": "<|placeholder1|>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": true,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": true
|
| 53 |
+
},
|
| 54 |
+
"32003": {
|
| 55 |
+
"content": "<|placeholder2|>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": true,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": true
|
| 61 |
+
},
|
| 62 |
+
"32004": {
|
| 63 |
+
"content": "<|placeholder3|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": true,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"32005": {
|
| 71 |
+
"content": "<|placeholder4|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": true,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"32006": {
|
| 79 |
+
"content": "<|system|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": true,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"32007": {
|
| 87 |
+
"content": "<|end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": true,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"32008": {
|
| 95 |
+
"content": "<|placeholder5|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": true,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"32009": {
|
| 103 |
+
"content": "<|placeholder6|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": true,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"32010": {
|
| 111 |
+
"content": "<|user|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": true,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
}
|
| 118 |
+
},
|
| 119 |
+
"bos_token": "<s>",
|
| 120 |
+
"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 %}",
|
| 121 |
+
"clean_up_tokenization_spaces": false,
|
| 122 |
+
"eos_token": "<|endoftext|>",
|
| 123 |
+
"legacy": false,
|
| 124 |
+
"max_length": 4000,
|
| 125 |
+
"model_max_length": 131072,
|
| 126 |
+
"pad_to_multiple_of": null,
|
| 127 |
+
"pad_token": "<|endoftext|>",
|
| 128 |
+
"pad_token_type_id": 0,
|
| 129 |
+
"padding_side": "left",
|
| 130 |
+
"sp_model_kwargs": {},
|
| 131 |
+
"stride": 0,
|
| 132 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 133 |
+
"truncation_side": "right",
|
| 134 |
+
"truncation_strategy": "longest_first",
|
| 135 |
+
"unk_token": "<unk>",
|
| 136 |
+
"use_default_system_prompt": false
|
| 137 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 0.003948667324777887,
|
| 5 |
+
"eval_steps": 3,
|
| 6 |
+
"global_step": 10,
|
| 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.0003948667324777887,
|
| 13 |
+
"grad_norm": 30.218769073486328,
|
| 14 |
+
"learning_rate": 2e-05,
|
| 15 |
+
"loss": 48.4162,
|
| 16 |
+
"step": 1
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.0003948667324777887,
|
| 20 |
+
"eval_loss": 12.0711088180542,
|
| 21 |
+
"eval_runtime": 45.3043,
|
| 22 |
+
"eval_samples_per_second": 23.552,
|
| 23 |
+
"eval_steps_per_second": 11.787,
|
| 24 |
+
"step": 1
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.0007897334649555774,
|
| 28 |
+
"grad_norm": 32.67957305908203,
|
| 29 |
+
"learning_rate": 4e-05,
|
| 30 |
+
"loss": 53.6384,
|
| 31 |
+
"step": 2
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.0011846001974333662,
|
| 35 |
+
"grad_norm": 38.987396240234375,
|
| 36 |
+
"learning_rate": 6e-05,
|
| 37 |
+
"loss": 52.3777,
|
| 38 |
+
"step": 3
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.0011846001974333662,
|
| 42 |
+
"eval_loss": 11.994369506835938,
|
| 43 |
+
"eval_runtime": 45.2574,
|
| 44 |
+
"eval_samples_per_second": 23.576,
|
| 45 |
+
"eval_steps_per_second": 11.799,
|
| 46 |
+
"step": 3
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.0015794669299111549,
|
| 50 |
+
"grad_norm": 32.13127899169922,
|
| 51 |
+
"learning_rate": 8e-05,
|
| 52 |
+
"loss": 56.4312,
|
| 53 |
+
"step": 4
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"epoch": 0.0019743336623889436,
|
| 57 |
+
"grad_norm": 35.64830780029297,
|
| 58 |
+
"learning_rate": 0.0001,
|
| 59 |
+
"loss": 51.3094,
|
| 60 |
+
"step": 5
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 0.0023692003948667323,
|
| 64 |
+
"grad_norm": 45.93841552734375,
|
| 65 |
+
"learning_rate": 0.00012,
|
| 66 |
+
"loss": 56.7691,
|
| 67 |
+
"step": 6
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"epoch": 0.0023692003948667323,
|
| 71 |
+
"eval_loss": 11.187970161437988,
|
| 72 |
+
"eval_runtime": 45.4369,
|
| 73 |
+
"eval_samples_per_second": 23.483,
|
| 74 |
+
"eval_steps_per_second": 11.753,
|
| 75 |
+
"step": 6
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"epoch": 0.002764067127344521,
|
| 79 |
+
"grad_norm": 34.00529479980469,
|
| 80 |
+
"learning_rate": 0.00014,
|
| 81 |
+
"loss": 39.8013,
|
| 82 |
+
"step": 7
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"epoch": 0.0031589338598223098,
|
| 86 |
+
"grad_norm": 41.51850509643555,
|
| 87 |
+
"learning_rate": 0.00016,
|
| 88 |
+
"loss": 38.2461,
|
| 89 |
+
"step": 8
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 0.003553800592300099,
|
| 93 |
+
"grad_norm": 39.803550720214844,
|
| 94 |
+
"learning_rate": 0.00018,
|
| 95 |
+
"loss": 24.6913,
|
| 96 |
+
"step": 9
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"epoch": 0.003553800592300099,
|
| 100 |
+
"eval_loss": 8.392693519592285,
|
| 101 |
+
"eval_runtime": 45.3857,
|
| 102 |
+
"eval_samples_per_second": 23.51,
|
| 103 |
+
"eval_steps_per_second": 11.766,
|
| 104 |
+
"step": 9
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 0.003948667324777887,
|
| 108 |
+
"grad_norm": 18.428726196289062,
|
| 109 |
+
"learning_rate": 0.0002,
|
| 110 |
+
"loss": 15.5115,
|
| 111 |
+
"step": 10
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
+
"logging_steps": 1,
|
| 115 |
+
"max_steps": 10,
|
| 116 |
+
"num_input_tokens_seen": 0,
|
| 117 |
+
"num_train_epochs": 1,
|
| 118 |
+
"save_steps": 3,
|
| 119 |
+
"stateful_callbacks": {
|
| 120 |
+
"TrainerControl": {
|
| 121 |
+
"args": {
|
| 122 |
+
"should_epoch_stop": false,
|
| 123 |
+
"should_evaluate": false,
|
| 124 |
+
"should_log": false,
|
| 125 |
+
"should_save": true,
|
| 126 |
+
"should_training_stop": true
|
| 127 |
+
},
|
| 128 |
+
"attributes": {}
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"total_flos": 1514623073255424.0,
|
| 132 |
+
"train_batch_size": 2,
|
| 133 |
+
"trial_name": null,
|
| 134 |
+
"trial_params": null
|
| 135 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3121bd6cdbafa39dd748c37ae2938415956e31be32bc32ff6adf1471181656b9
|
| 3 |
+
size 6776
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|endoftext|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 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,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": true,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<|endoftext|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<|assistant|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": true,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
},
|
| 46 |
+
"32002": {
|
| 47 |
+
"content": "<|placeholder1|>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": true,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": true
|
| 53 |
+
},
|
| 54 |
+
"32003": {
|
| 55 |
+
"content": "<|placeholder2|>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": true,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": true
|
| 61 |
+
},
|
| 62 |
+
"32004": {
|
| 63 |
+
"content": "<|placeholder3|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": true,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"32005": {
|
| 71 |
+
"content": "<|placeholder4|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": true,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"32006": {
|
| 79 |
+
"content": "<|system|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": true,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"32007": {
|
| 87 |
+
"content": "<|end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": true,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"32008": {
|
| 95 |
+
"content": "<|placeholder5|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": true,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"32009": {
|
| 103 |
+
"content": "<|placeholder6|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": true,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"32010": {
|
| 111 |
+
"content": "<|user|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": true,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
}
|
| 118 |
+
},
|
| 119 |
+
"bos_token": "<s>",
|
| 120 |
+
"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 %}",
|
| 121 |
+
"clean_up_tokenization_spaces": false,
|
| 122 |
+
"eos_token": "<|endoftext|>",
|
| 123 |
+
"legacy": false,
|
| 124 |
+
"max_length": 4000,
|
| 125 |
+
"model_max_length": 131072,
|
| 126 |
+
"pad_to_multiple_of": null,
|
| 127 |
+
"pad_token": "<|endoftext|>",
|
| 128 |
+
"pad_token_type_id": 0,
|
| 129 |
+
"padding_side": "left",
|
| 130 |
+
"sp_model_kwargs": {},
|
| 131 |
+
"stride": 0,
|
| 132 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 133 |
+
"truncation_side": "right",
|
| 134 |
+
"truncation_strategy": "longest_first",
|
| 135 |
+
"unk_token": "<unk>",
|
| 136 |
+
"use_default_system_prompt": false
|
| 137 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3121bd6cdbafa39dd748c37ae2938415956e31be32bc32ff6adf1471181656b9
|
| 3 |
+
size 6776
|