ayousanz commited on
Commit
ee8e76d
1 Parent(s): 1a9ec06

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: None
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: checkpoints-mistral-300M-FA2
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # checkpoints-mistral-300M-FA2
14
+
15
+ This model is a fine-tuned version of [None](https://huggingface.co/None) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 7.9175
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.0006
37
+ - train_batch_size: 1
38
+ - eval_batch_size: 1
39
+ - seed: 42
40
+ - distributed_type: multi-GPU
41
+ - gradient_accumulation_steps: 256
42
+ - total_train_batch_size: 256
43
+ - optimizer: Adam with betas=(0.9,0.95) and epsilon=0.0001
44
+ - lr_scheduler_type: cosine
45
+ - lr_scheduler_warmup_steps: 1000
46
+ - training_steps: 100
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 7.9131 | 0.18 | 100 | 7.9175 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.35.2
59
+ - Pytorch 2.1.0+cu121
60
+ - Datasets 2.14.5
61
+ - Tokenizers 0.14.1
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.18,
3
+ "eval_loss": 7.917535781860352,
4
+ "eval_runtime": 1151.6067,
5
+ "eval_samples": 8626,
6
+ "eval_samples_per_second": 7.49,
7
+ "eval_steps_per_second": 7.49,
8
+ "perplexity": 2744.998429631847,
9
+ "train_loss": 9.09298583984375,
10
+ "train_runtime": 7786.6651,
11
+ "train_samples": 141300,
12
+ "train_samples_per_second": 3.288,
13
+ "train_steps_per_second": 0.013
14
+ }
checkpoint-100/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "None",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 0,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1024,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 2400,
12
+ "max_position_embeddings": 4096,
13
+ "model_type": "mistral",
14
+ "num_attention_heads": 16,
15
+ "num_hidden_layers": 24,
16
+ "num_key_value_heads": 8,
17
+ "rms_norm_eps": 1e-05,
18
+ "rope_theta": 10000.0,
19
+ "sliding_window": 1024,
20
+ "tie_word_embeddings": false,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "use_cache": true,
24
+ "vocab_size": 50257
25
+ }
checkpoint-100/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.35.2"
6
+ }
checkpoint-100/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b66055765ae3b0a864ddc753d1a641a67569e1ae80a66d0b19e1f1a0ada369fa
3
+ size 1421709600
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daba1416168237d77e9f853c497808bccff33679f71360fe18b9f88fca611f9c
3
+ size 712761466
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b5fa02ce1f2057ffdcccd86019817387a38e6b835bf0ecf5d2277b489b598e7
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93dd781b5c1688e384631b7f12f7487a26b9d9d620dfb939bff47a96b20bc2b0
3
+ size 1064
checkpoint-100/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": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
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
+ }
checkpoint-100/spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:604cb0c2f073ba13f04739ced6f8310f4f00ab344feea6cb5c4012af3876c684
3
+ size 1249735
checkpoint-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "</s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
+ "additional_special_tokens": [],
37
+ "bos_token": "<s>",
38
+ "clean_up_tokenization_spaces": true,
39
+ "eos_token": "</s>",
40
+ "extra_ids": 0,
41
+ "legacy": true,
42
+ "model_max_length": 50000,
43
+ "pad_token": "[PAD]",
44
+ "sp_model_kwargs": {},
45
+ "tokenizer_class": "T5Tokenizer",
46
+ "unk_token": "[UNK]"
47
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 7.917535781860352,
3
+ "best_model_checkpoint": "checkpoints-mistral-300M-FA2/checkpoint-100",
4
+ "epoch": 0.18117480537862704,
5
+ "eval_steps": 100,
6
+ "global_step": 100,
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.02,
13
+ "learning_rate": 5.999999999999999e-06,
14
+ "loss": 10.9312,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.04,
19
+ "learning_rate": 1.1999999999999999e-05,
20
+ "loss": 10.3611,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.05,
25
+ "learning_rate": 1.7999999999999997e-05,
26
+ "loss": 9.6675,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.07,
31
+ "learning_rate": 2.3999999999999997e-05,
32
+ "loss": 9.2233,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.09,
37
+ "learning_rate": 2.9999999999999997e-05,
38
+ "loss": 8.9619,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.11,
43
+ "learning_rate": 3.5999999999999994e-05,
44
+ "loss": 8.7956,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.13,
49
+ "learning_rate": 4.2e-05,
50
+ "loss": 8.5973,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.14,
55
+ "learning_rate": 4.7999999999999994e-05,
56
+ "loss": 8.37,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.16,
61
+ "learning_rate": 5.399999999999999e-05,
62
+ "loss": 8.1088,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.18,
67
+ "learning_rate": 5.9999999999999995e-05,
68
+ "loss": 7.9131,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.18,
73
+ "eval_loss": 7.917535781860352,
74
+ "eval_runtime": 1155.2404,
75
+ "eval_samples_per_second": 7.467,
76
+ "eval_steps_per_second": 7.467,
77
+ "step": 100
78
+ }
79
+ ],
80
+ "logging_steps": 10,
81
+ "max_steps": 100,
82
+ "num_train_epochs": 1,
83
+ "save_steps": 100,
84
+ "total_flos": 4.78084620877824e+16,
85
+ "trial_name": null,
86
+ "trial_params": null
87
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc3ee4547859c507ecfdc59d4930ae295891669eabd1de600a6cf8d986345ec3
3
+ size 4600
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "None",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 0,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1024,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 2400,
12
+ "max_position_embeddings": 4096,
13
+ "model_type": "mistral",
14
+ "num_attention_heads": 16,
15
+ "num_hidden_layers": 24,
16
+ "num_key_value_heads": 8,
17
+ "rms_norm_eps": 1e-05,
18
+ "rope_theta": 10000.0,
19
+ "sliding_window": 1024,
20
+ "tie_word_embeddings": false,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "use_cache": true,
24
+ "vocab_size": 50257
25
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.18,
3
+ "eval_loss": 7.917535781860352,
4
+ "eval_runtime": 1151.6067,
5
+ "eval_samples": 8626,
6
+ "eval_samples_per_second": 7.49,
7
+ "eval_steps_per_second": 7.49,
8
+ "perplexity": 2744.998429631847
9
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.35.2"
6
+ }
logs/events.out.tfevents.1705838367.60c5ea563f1a.8237.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b2f0be7f93d600290288677b6a254e6b2938b32f55c0e58b73f1eb7dca77965
3
+ size 6329
logs/events.out.tfevents.1705847315.60c5ea563f1a.8237.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c885c4892a5f74cbeb62bf913e6d2cae6a12b9abb3c0f8c27ca3681909123b8
3
+ size 354
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b66055765ae3b0a864ddc753d1a641a67569e1ae80a66d0b19e1f1a0ada369fa
3
+ size 1421709600
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": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
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
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:604cb0c2f073ba13f04739ced6f8310f4f00ab344feea6cb5c4012af3876c684
3
+ size 1249735
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "</s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
+ "additional_special_tokens": [],
37
+ "bos_token": "<s>",
38
+ "clean_up_tokenization_spaces": true,
39
+ "eos_token": "</s>",
40
+ "extra_ids": 0,
41
+ "legacy": true,
42
+ "model_max_length": 50000,
43
+ "pad_token": "[PAD]",
44
+ "sp_model_kwargs": {},
45
+ "tokenizer_class": "T5Tokenizer",
46
+ "unk_token": "[UNK]"
47
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.18,
3
+ "train_loss": 9.09298583984375,
4
+ "train_runtime": 7786.6651,
5
+ "train_samples": 141300,
6
+ "train_samples_per_second": 3.288,
7
+ "train_steps_per_second": 0.013
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 7.917535781860352,
3
+ "best_model_checkpoint": "checkpoints-mistral-300M-FA2/checkpoint-100",
4
+ "epoch": 0.18117480537862704,
5
+ "eval_steps": 100,
6
+ "global_step": 100,
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.02,
13
+ "learning_rate": 5.999999999999999e-06,
14
+ "loss": 10.9312,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.04,
19
+ "learning_rate": 1.1999999999999999e-05,
20
+ "loss": 10.3611,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.05,
25
+ "learning_rate": 1.7999999999999997e-05,
26
+ "loss": 9.6675,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.07,
31
+ "learning_rate": 2.3999999999999997e-05,
32
+ "loss": 9.2233,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.09,
37
+ "learning_rate": 2.9999999999999997e-05,
38
+ "loss": 8.9619,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.11,
43
+ "learning_rate": 3.5999999999999994e-05,
44
+ "loss": 8.7956,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.13,
49
+ "learning_rate": 4.2e-05,
50
+ "loss": 8.5973,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.14,
55
+ "learning_rate": 4.7999999999999994e-05,
56
+ "loss": 8.37,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.16,
61
+ "learning_rate": 5.399999999999999e-05,
62
+ "loss": 8.1088,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.18,
67
+ "learning_rate": 5.9999999999999995e-05,
68
+ "loss": 7.9131,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.18,
73
+ "eval_loss": 7.917535781860352,
74
+ "eval_runtime": 1155.2404,
75
+ "eval_samples_per_second": 7.467,
76
+ "eval_steps_per_second": 7.467,
77
+ "step": 100
78
+ },
79
+ {
80
+ "epoch": 0.18,
81
+ "step": 100,
82
+ "total_flos": 4.78084620877824e+16,
83
+ "train_loss": 9.09298583984375,
84
+ "train_runtime": 7786.6651,
85
+ "train_samples_per_second": 3.288,
86
+ "train_steps_per_second": 0.013
87
+ }
88
+ ],
89
+ "logging_steps": 10,
90
+ "max_steps": 100,
91
+ "num_train_epochs": 1,
92
+ "save_steps": 100,
93
+ "total_flos": 4.78084620877824e+16,
94
+ "trial_name": null,
95
+ "trial_params": null
96
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc3ee4547859c507ecfdc59d4930ae295891669eabd1de600a6cf8d986345ec3
3
+ size 4600