Training in progress, step 20, checkpoint
Browse files- last-checkpoint/config.json +31 -0
- last-checkpoint/generation_config.json +8 -0
- last-checkpoint/merges.txt +0 -0
- last-checkpoint/model.safetensors +3 -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/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +30 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer_config.json +33 -0
- last-checkpoint/trainer_state.json +55 -0
- last-checkpoint/training_args.bin +3 -0
- last-checkpoint/vocab.json +0 -0
last-checkpoint/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/opt-125m",
|
| 3 |
+
"_remove_final_layer_norm": false,
|
| 4 |
+
"activation_dropout": 0.0,
|
| 5 |
+
"activation_function": "relu",
|
| 6 |
+
"architectures": [
|
| 7 |
+
"OPTForCausalLM"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"bos_token_id": 2,
|
| 11 |
+
"do_layer_norm_before": true,
|
| 12 |
+
"dropout": 0.1,
|
| 13 |
+
"enable_bias": true,
|
| 14 |
+
"eos_token_id": 2,
|
| 15 |
+
"ffn_dim": 3072,
|
| 16 |
+
"hidden_size": 768,
|
| 17 |
+
"init_std": 0.02,
|
| 18 |
+
"layer_norm_elementwise_affine": true,
|
| 19 |
+
"layerdrop": 0.0,
|
| 20 |
+
"max_position_embeddings": 2048,
|
| 21 |
+
"model_type": "opt",
|
| 22 |
+
"num_attention_heads": 12,
|
| 23 |
+
"num_hidden_layers": 12,
|
| 24 |
+
"pad_token_id": 1,
|
| 25 |
+
"prefix": "</s>",
|
| 26 |
+
"torch_dtype": "bfloat16",
|
| 27 |
+
"transformers_version": "4.48.1",
|
| 28 |
+
"use_cache": false,
|
| 29 |
+
"vocab_size": 50265,
|
| 30 |
+
"word_embed_proj_dim": 768
|
| 31 |
+
}
|
last-checkpoint/generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 2,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 2,
|
| 6 |
+
"pad_token_id": 1,
|
| 7 |
+
"transformers_version": "4.48.1"
|
| 8 |
+
}
|
last-checkpoint/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbc29a0fbddbc8f2aee33509d8b46ffb148b09e99f87205a9339cd29be7a4c9f
|
| 3 |
+
size 250490408
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:011384e0bf4163d9eaa823c6126a17099909c178bcbae1f784e3255e34352ad7
|
| 3 |
+
size 255265850
|
last-checkpoint/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7f1384a95c7886d45389c40a6a90ac8328081e721eba74d7efd9c04824bd482
|
| 3 |
+
size 14512
|
last-checkpoint/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7c49e91ee5c51b4cb45c0ea51ec7a52a5fe9832d924e46824fac4bed28529c7
|
| 3 |
+
size 14512
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3d7496cd5cad5fcd343f51f06f864ca525a833da3ba71e9c4d90915510423ac
|
| 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,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '### Instruction: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ '### Response: ' + message['content'] + eos_token}}{% endif %}{% endfor %}",
|
| 24 |
+
"clean_up_tokenization_spaces": false,
|
| 25 |
+
"eos_token": "</s>",
|
| 26 |
+
"errors": "replace",
|
| 27 |
+
"extra_special_tokens": {},
|
| 28 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 29 |
+
"pad_token": "<pad>",
|
| 30 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 31 |
+
"unk_token": "</s>",
|
| 32 |
+
"use_fast": true
|
| 33 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 1.6666666666666665,
|
| 5 |
+
"eval_steps": 40,
|
| 6 |
+
"global_step": 20,
|
| 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.08333333333333333,
|
| 13 |
+
"eval_loss": 3.261073350906372,
|
| 14 |
+
"eval_runtime": 10.6317,
|
| 15 |
+
"eval_samples_per_second": 141.182,
|
| 16 |
+
"eval_steps_per_second": 2.257,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.8333333333333334,
|
| 21 |
+
"grad_norm": 7.96875,
|
| 22 |
+
"learning_rate": 6.666666666666667e-05,
|
| 23 |
+
"loss": 6.569,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 1.6666666666666665,
|
| 28 |
+
"grad_norm": 4.0625,
|
| 29 |
+
"learning_rate": 0.00013333333333333334,
|
| 30 |
+
"loss": 5.8022,
|
| 31 |
+
"step": 20
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"logging_steps": 10,
|
| 35 |
+
"max_steps": 600,
|
| 36 |
+
"num_input_tokens_seen": 0,
|
| 37 |
+
"num_train_epochs": 50,
|
| 38 |
+
"save_steps": 20,
|
| 39 |
+
"stateful_callbacks": {
|
| 40 |
+
"TrainerControl": {
|
| 41 |
+
"args": {
|
| 42 |
+
"should_epoch_stop": false,
|
| 43 |
+
"should_evaluate": false,
|
| 44 |
+
"should_log": false,
|
| 45 |
+
"should_save": true,
|
| 46 |
+
"should_training_stop": false
|
| 47 |
+
},
|
| 48 |
+
"attributes": {}
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"total_flos": 1311685964988416.0,
|
| 52 |
+
"train_batch_size": 32,
|
| 53 |
+
"trial_name": null,
|
| 54 |
+
"trial_params": null
|
| 55 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c81c495758d2804b841d95e4f6efa78ee60b78cedae41d5274a2be70f95b36c0
|
| 3 |
+
size 6840
|
last-checkpoint/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|