philippkolbe commited on
Commit
412a497
·
verified ·
1 Parent(s): 1be201e

finetuned_swe_model

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +4 -0
  2. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/0fd8120f1c6acddc268ebc2583058efaf699a771.lock +0 -0
  3. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/31553d63b8f18df5d6d440860751533ada3759e4.lock +0 -0
  4. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/3acdd690e65c24f42a24581b8467af98bd3ca357444580f8012aacd2bd607921.lock +0 -0
  5. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/67e9ad31c8c32abf3a55ee7fc7217b3ecb35fd3c74d98a5bd233e0e4d6964f46.lock +0 -0
  6. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/8675015d20a4b12ee2ee0197a0937beba318122a.lock +0 -0
  7. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/8d4782b4a69ef03845159ce1a15e272aadaaf134dc138d68f616098e8531729c.lock +0 -0
  8. .locks/models--meta-llama--Meta-Llama-3-8B-Instruct/d8cf9c4d0dd972e1a2131bfe656235ee98221679711a3beef6d46dadf0f20b5c.lock +0 -0
  9. README.md +72 -0
  10. adapter_config.json +34 -0
  11. adapter_model.safetensors +3 -0
  12. finetuned_opt/checkpoint-1000/config.json +31 -0
  13. finetuned_opt/checkpoint-1000/generation_config.json +7 -0
  14. finetuned_opt/checkpoint-1000/merges.txt +0 -0
  15. finetuned_opt/checkpoint-1000/model.safetensors +3 -0
  16. finetuned_opt/checkpoint-1000/optimizer.pt +3 -0
  17. finetuned_opt/checkpoint-1000/rng_state.pth +3 -0
  18. finetuned_opt/checkpoint-1000/scheduler.pt +3 -0
  19. finetuned_opt/checkpoint-1000/special_tokens_map.json +30 -0
  20. finetuned_opt/checkpoint-1000/tokenizer.json +0 -0
  21. finetuned_opt/checkpoint-1000/tokenizer_config.json +30 -0
  22. finetuned_opt/checkpoint-1000/trainer_state.json +55 -0
  23. finetuned_opt/checkpoint-1000/training_args.bin +3 -0
  24. finetuned_opt/checkpoint-1000/vocab.json +0 -0
  25. finetuned_opt/checkpoint-1500/config.json +31 -0
  26. finetuned_opt/checkpoint-1500/generation_config.json +7 -0
  27. finetuned_opt/checkpoint-1500/merges.txt +0 -0
  28. finetuned_opt/checkpoint-1500/model.safetensors +3 -0
  29. finetuned_opt/checkpoint-1500/optimizer.pt +3 -0
  30. finetuned_opt/checkpoint-1500/rng_state.pth +3 -0
  31. finetuned_opt/checkpoint-1500/scheduler.pt +3 -0
  32. finetuned_opt/checkpoint-1500/special_tokens_map.json +30 -0
  33. finetuned_opt/checkpoint-1500/tokenizer.json +0 -0
  34. finetuned_opt/checkpoint-1500/tokenizer_config.json +30 -0
  35. finetuned_opt/checkpoint-1500/trainer_state.json +62 -0
  36. finetuned_opt/checkpoint-1500/training_args.bin +3 -0
  37. finetuned_opt/checkpoint-1500/vocab.json +0 -0
  38. finetuned_opt/checkpoint-2000/config.json +31 -0
  39. finetuned_opt/checkpoint-2000/generation_config.json +7 -0
  40. finetuned_opt/checkpoint-2000/merges.txt +0 -0
  41. finetuned_opt/checkpoint-2000/model.safetensors +3 -0
  42. finetuned_opt/checkpoint-2000/optimizer.pt +3 -0
  43. finetuned_opt/checkpoint-2000/rng_state.pth +3 -0
  44. finetuned_opt/checkpoint-2000/scheduler.pt +3 -0
  45. finetuned_opt/checkpoint-2000/special_tokens_map.json +30 -0
  46. finetuned_opt/checkpoint-2000/tokenizer.json +0 -0
  47. finetuned_opt/checkpoint-2000/tokenizer_config.json +30 -0
  48. finetuned_opt/checkpoint-2000/trainer_state.json +77 -0
  49. finetuned_opt/checkpoint-2000/training_args.bin +3 -0
  50. finetuned_opt/checkpoint-2000/vocab.json +0 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/3acdd690e65c24f42a24581b8467af98bd3ca357444580f8012aacd2bd607921 filter=lfs diff=lfs merge=lfs -text
37
+ models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/67e9ad31c8c32abf3a55ee7fc7217b3ecb35fd3c74d98a5bd233e0e4d6964f46 filter=lfs diff=lfs merge=lfs -text
38
+ models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/8d4782b4a69ef03845159ce1a15e272aadaaf134dc138d68f616098e8531729c filter=lfs diff=lfs merge=lfs -text
39
+ models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/d8cf9c4d0dd972e1a2131bfe656235ee98221679711a3beef6d46dadf0f20b5c filter=lfs diff=lfs merge=lfs -text
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/0fd8120f1c6acddc268ebc2583058efaf699a771.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/31553d63b8f18df5d6d440860751533ada3759e4.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/3acdd690e65c24f42a24581b8467af98bd3ca357444580f8012aacd2bd607921.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/67e9ad31c8c32abf3a55ee7fc7217b3ecb35fd3c74d98a5bd233e0e4d6964f46.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/8675015d20a4b12ee2ee0197a0937beba318122a.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/8d4782b4a69ef03845159ce1a15e272aadaaf134dc138d68f616098e8531729c.lock ADDED
File without changes
.locks/models--meta-llama--Meta-Llama-3-8B-Instruct/d8cf9c4d0dd972e1a2131bfe656235ee98221679711a3beef6d46dadf0f20b5c.lock ADDED
File without changes
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ base_model: meta-llama/Meta-Llama-3-8B-Instruct
9
+ model-index:
10
+ - name: huggingface
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
+ # huggingface
18
+
19
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6105
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 1
42
+ - eval_batch_size: 1
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - num_devices: 2
46
+ - total_train_batch_size: 2
47
+ - total_eval_batch_size: 2
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 8
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:-----:|:----:|:---------------:|
56
+ | No log | 1.0 | 143 | 0.4964 |
57
+ | No log | 2.0 | 286 | 0.4890 |
58
+ | No log | 3.0 | 429 | 0.4935 |
59
+ | 0.4575 | 4.0 | 572 | 0.5059 |
60
+ | 0.4575 | 5.0 | 715 | 0.5353 |
61
+ | 0.4575 | 6.0 | 858 | 0.5662 |
62
+ | 0.3146 | 7.0 | 1001 | 0.5934 |
63
+ | 0.3146 | 8.0 | 1144 | 0.6105 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - PEFT 0.11.1
69
+ - Transformers 4.41.2
70
+ - Pytorch 2.0.1+cu117
71
+ - Datasets 2.19.2
72
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
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": 8,
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "k_proj",
24
+ "q_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "v_proj",
28
+ "down_proj",
29
+ "up_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afff1919995940cfa3acd02be91db2068b0bdb599052e04fa6daac897d9863e5
3
+ size 2185311008
finetuned_opt/checkpoint-1000/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/opt-350m",
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": false,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4096,
16
+ "hidden_size": 1024,
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": 16,
23
+ "num_hidden_layers": 24,
24
+ "pad_token_id": 1,
25
+ "prefix": "</s>",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.41.2",
28
+ "use_cache": true,
29
+ "vocab_size": 50272,
30
+ "word_embed_proj_dim": 512
31
+ }
finetuned_opt/checkpoint-1000/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.41.2"
7
+ }
finetuned_opt/checkpoint-1000/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-1000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4304e4463b24eaeea8ae1a18477af8a8a00c3b8d51d9688f3179f0514ef8602
3
+ size 1324830880
finetuned_opt/checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49ea0d9cdd5ec7c07f3f29642735a2425faec3e0f6627c4d928e0b410b85da40
3
+ size 2649895593
finetuned_opt/checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:833a35a71573ee39d3f3b295ae9e92436d0d7e4a2de003040778e0d72b7957c2
3
+ size 14575
finetuned_opt/checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e00893699672ec57dfa3f5d9ad4d0361b3bdb34bd2428aad07fd1723f9277bdc
3
+ size 627
finetuned_opt/checkpoint-1000/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
+ }
finetuned_opt/checkpoint-1000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-1000/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": true,
24
+ "eos_token": "</s>",
25
+ "errors": "replace",
26
+ "model_max_length": 1000000000000000019884624838656,
27
+ "pad_token": "<pad>",
28
+ "tokenizer_class": "GPT2Tokenizer",
29
+ "unk_token": "</s>"
30
+ }
finetuned_opt/checkpoint-1000/trainer_state.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.2453300124533002,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
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.6226650062266501,
13
+ "grad_norm": 0.0,
14
+ "learning_rate": 3.9622249896222504e-05,
15
+ "loss": 0.0,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_loss": NaN,
21
+ "eval_runtime": 154.5064,
22
+ "eval_samples_per_second": 3.508,
23
+ "eval_steps_per_second": 3.508,
24
+ "step": 803
25
+ },
26
+ {
27
+ "epoch": 1.2453300124533002,
28
+ "grad_norm": 0.0,
29
+ "learning_rate": 2.9244499792445003e-05,
30
+ "loss": 0.0,
31
+ "step": 1000
32
+ }
33
+ ],
34
+ "logging_steps": 500,
35
+ "max_steps": 2409,
36
+ "num_input_tokens_seen": 0,
37
+ "num_train_epochs": 3,
38
+ "save_steps": 500,
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": 3725798682918912.0,
52
+ "train_batch_size": 2,
53
+ "trial_name": null,
54
+ "trial_params": null
55
+ }
finetuned_opt/checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec94e88043c8d9f8f5ed99a8c4de459e905c871df64a0b285066748d671d4238
3
+ size 4731
finetuned_opt/checkpoint-1000/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-1500/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/opt-350m",
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": false,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4096,
16
+ "hidden_size": 1024,
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": 16,
23
+ "num_hidden_layers": 24,
24
+ "pad_token_id": 1,
25
+ "prefix": "</s>",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.41.2",
28
+ "use_cache": true,
29
+ "vocab_size": 50272,
30
+ "word_embed_proj_dim": 512
31
+ }
finetuned_opt/checkpoint-1500/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.41.2"
7
+ }
finetuned_opt/checkpoint-1500/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-1500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4304e4463b24eaeea8ae1a18477af8a8a00c3b8d51d9688f3179f0514ef8602
3
+ size 1324830880
finetuned_opt/checkpoint-1500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c2005edbabcc4564b3d7f4882327ba62fa84de35c2472e67d7032d0a4a08f5
3
+ size 2649895593
finetuned_opt/checkpoint-1500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c019dd6e95accb5dadaa3d85698b8fb16d2251c5c4f8acf9e4668276999911c8
3
+ size 14575
finetuned_opt/checkpoint-1500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb52cf00f57c3e00e9a8e553d4a03be74f1942d85bb2fcdfeff2682cf78726c7
3
+ size 627
finetuned_opt/checkpoint-1500/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
+ }
finetuned_opt/checkpoint-1500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-1500/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": true,
24
+ "eos_token": "</s>",
25
+ "errors": "replace",
26
+ "model_max_length": 1000000000000000019884624838656,
27
+ "pad_token": "<pad>",
28
+ "tokenizer_class": "GPT2Tokenizer",
29
+ "unk_token": "</s>"
30
+ }
finetuned_opt/checkpoint-1500/trainer_state.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.86799501867995,
5
+ "eval_steps": 500,
6
+ "global_step": 1500,
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.6226650062266501,
13
+ "grad_norm": 0.0,
14
+ "learning_rate": 3.9622249896222504e-05,
15
+ "loss": 0.0,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_loss": NaN,
21
+ "eval_runtime": 154.5064,
22
+ "eval_samples_per_second": 3.508,
23
+ "eval_steps_per_second": 3.508,
24
+ "step": 803
25
+ },
26
+ {
27
+ "epoch": 1.2453300124533002,
28
+ "grad_norm": 0.0,
29
+ "learning_rate": 2.9244499792445003e-05,
30
+ "loss": 0.0,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 1.86799501867995,
35
+ "grad_norm": 0.0,
36
+ "learning_rate": 1.8866749688667497e-05,
37
+ "loss": 0.0,
38
+ "step": 1500
39
+ }
40
+ ],
41
+ "logging_steps": 500,
42
+ "max_steps": 2409,
43
+ "num_input_tokens_seen": 0,
44
+ "num_train_epochs": 3,
45
+ "save_steps": 500,
46
+ "stateful_callbacks": {
47
+ "TrainerControl": {
48
+ "args": {
49
+ "should_epoch_stop": false,
50
+ "should_evaluate": false,
51
+ "should_log": false,
52
+ "should_save": true,
53
+ "should_training_stop": false
54
+ },
55
+ "attributes": {}
56
+ }
57
+ },
58
+ "total_flos": 5589629940006912.0,
59
+ "train_batch_size": 2,
60
+ "trial_name": null,
61
+ "trial_params": null
62
+ }
finetuned_opt/checkpoint-1500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec94e88043c8d9f8f5ed99a8c4de459e905c871df64a0b285066748d671d4238
3
+ size 4731
finetuned_opt/checkpoint-1500/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-2000/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/opt-350m",
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": false,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4096,
16
+ "hidden_size": 1024,
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": 16,
23
+ "num_hidden_layers": 24,
24
+ "pad_token_id": 1,
25
+ "prefix": "</s>",
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.41.2",
28
+ "use_cache": true,
29
+ "vocab_size": 50272,
30
+ "word_embed_proj_dim": 512
31
+ }
finetuned_opt/checkpoint-2000/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.41.2"
7
+ }
finetuned_opt/checkpoint-2000/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-2000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4304e4463b24eaeea8ae1a18477af8a8a00c3b8d51d9688f3179f0514ef8602
3
+ size 1324830880
finetuned_opt/checkpoint-2000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7171c2383acf146aa692d7cbb94da45f81efb2e98497d8080ef44fb36adbd981
3
+ size 2649895593
finetuned_opt/checkpoint-2000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6caf882df17434d44c53ca14c773115b07656f1e3a433cd00fdfb93fbedf063f
3
+ size 14575
finetuned_opt/checkpoint-2000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e631b06b7805e6b76878f6802122685be23f139a9528a5b7d5064c758aa0eea0
3
+ size 627
finetuned_opt/checkpoint-2000/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
+ }
finetuned_opt/checkpoint-2000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
finetuned_opt/checkpoint-2000/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": true,
24
+ "eos_token": "</s>",
25
+ "errors": "replace",
26
+ "model_max_length": 1000000000000000019884624838656,
27
+ "pad_token": "<pad>",
28
+ "tokenizer_class": "GPT2Tokenizer",
29
+ "unk_token": "</s>"
30
+ }
finetuned_opt/checkpoint-2000/trainer_state.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.4906600249066004,
5
+ "eval_steps": 500,
6
+ "global_step": 2000,
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.6226650062266501,
13
+ "grad_norm": 0.0,
14
+ "learning_rate": 3.9622249896222504e-05,
15
+ "loss": 0.0,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_loss": NaN,
21
+ "eval_runtime": 154.5064,
22
+ "eval_samples_per_second": 3.508,
23
+ "eval_steps_per_second": 3.508,
24
+ "step": 803
25
+ },
26
+ {
27
+ "epoch": 1.2453300124533002,
28
+ "grad_norm": 0.0,
29
+ "learning_rate": 2.9244499792445003e-05,
30
+ "loss": 0.0,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 1.86799501867995,
35
+ "grad_norm": 0.0,
36
+ "learning_rate": 1.8866749688667497e-05,
37
+ "loss": 0.0,
38
+ "step": 1500
39
+ },
40
+ {
41
+ "epoch": 2.0,
42
+ "eval_loss": NaN,
43
+ "eval_runtime": 152.6303,
44
+ "eval_samples_per_second": 3.551,
45
+ "eval_steps_per_second": 3.551,
46
+ "step": 1606
47
+ },
48
+ {
49
+ "epoch": 2.4906600249066004,
50
+ "grad_norm": 0.0,
51
+ "learning_rate": 8.488999584889996e-06,
52
+ "loss": 0.0,
53
+ "step": 2000
54
+ }
55
+ ],
56
+ "logging_steps": 500,
57
+ "max_steps": 2409,
58
+ "num_input_tokens_seen": 0,
59
+ "num_train_epochs": 3,
60
+ "save_steps": 500,
61
+ "stateful_callbacks": {
62
+ "TrainerControl": {
63
+ "args": {
64
+ "should_epoch_stop": false,
65
+ "should_evaluate": false,
66
+ "should_log": false,
67
+ "should_save": true,
68
+ "should_training_stop": false
69
+ },
70
+ "attributes": {}
71
+ }
72
+ },
73
+ "total_flos": 7451597365837824.0,
74
+ "train_batch_size": 2,
75
+ "trial_name": null,
76
+ "trial_params": null
77
+ }
finetuned_opt/checkpoint-2000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec94e88043c8d9f8f5ed99a8c4de459e905c871df64a0b285066748d671d4238
3
+ size 4731
finetuned_opt/checkpoint-2000/vocab.json ADDED
The diff for this file is too large to render. See raw diff