stanpony commited on
Commit
f25bc89
·
verified ·
1 Parent(s): 5a76cea

End of training

Browse files
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: roneneldan/TinyStories-1M
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: tinylm1M-stella-2sent_7clust-2025-04-04-12-53
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # tinylm1M-stella-2sent_7clust-2025-04-04-12-53
15
+
16
+ This model is a fine-tuned version of [roneneldan/TinyStories-1M](https://huggingface.co/roneneldan/TinyStories-1M) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.1908
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-06
38
+ - train_batch_size: 4
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 2
42
+ - total_train_batch_size: 8
43
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 100
46
+ - num_epochs: 20
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-------:|:-----:|:---------------:|
52
+ | 2.6001 | 0.8418 | 500 | 2.5470 |
53
+ | 2.5565 | 1.6835 | 1000 | 2.5011 |
54
+ | 2.5787 | 2.5253 | 1500 | 2.4683 |
55
+ | 2.4738 | 3.3670 | 2000 | 2.4416 |
56
+ | 2.3698 | 4.2088 | 2500 | 2.4135 |
57
+ | 2.3457 | 5.0505 | 3000 | 2.3892 |
58
+ | 2.3101 | 5.8923 | 3500 | 2.3623 |
59
+ | 2.3142 | 6.7340 | 4000 | 2.3397 |
60
+ | 2.2843 | 7.5758 | 4500 | 2.3188 |
61
+ | 2.2909 | 8.4175 | 5000 | 2.3003 |
62
+ | 2.2336 | 9.2593 | 5500 | 2.2830 |
63
+ | 2.2314 | 10.1010 | 6000 | 2.2677 |
64
+ | 2.2654 | 10.9428 | 6500 | 2.2542 |
65
+ | 2.2481 | 11.7845 | 7000 | 2.2422 |
66
+ | 2.2618 | 12.6263 | 7500 | 2.2326 |
67
+ | 2.137 | 13.4680 | 8000 | 2.2242 |
68
+ | 2.2313 | 14.3098 | 8500 | 2.2161 |
69
+ | 2.3314 | 15.1515 | 9000 | 2.2082 |
70
+ | 2.1537 | 15.9933 | 9500 | 2.2030 |
71
+ | 2.2659 | 16.8350 | 10000 | 2.1970 |
72
+ | 2.1431 | 17.6768 | 10500 | 2.1939 |
73
+ | 2.1698 | 18.5185 | 11000 | 2.1928 |
74
+ | 2.0835 | 19.3603 | 11500 | 2.1908 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.50.3
80
+ - Pytorch 2.6.0+cu124
81
+ - Datasets 3.5.0
82
+ - Tokenizers 0.21.1
added_tokens.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<cluster_0>": 50259,
3
+ "<cluster_1>": 50263,
4
+ "<cluster_2>": 50262,
5
+ "<cluster_3>": 50257,
6
+ "<cluster_4>": 50260,
7
+ "<cluster_5>": 50258,
8
+ "<cluster_6>": 50261
9
+ }
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPTNeoForCausalLM"
5
+ ],
6
+ "attention_dropout": 0,
7
+ "attention_layers": [
8
+ "global",
9
+ "local",
10
+ "global",
11
+ "local",
12
+ "global",
13
+ "local",
14
+ "global",
15
+ "local"
16
+ ],
17
+ "attention_types": [
18
+ [
19
+ [
20
+ "global",
21
+ "local"
22
+ ],
23
+ 4
24
+ ]
25
+ ],
26
+ "bos_token_id": 50256,
27
+ "classifier_dropout": 0.1,
28
+ "embed_dropout": 0,
29
+ "eos_token_id": 50256,
30
+ "gradient_checkpointing": false,
31
+ "hidden_size": 64,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": null,
34
+ "layer_norm_epsilon": 1e-05,
35
+ "max_position_embeddings": 2048,
36
+ "model_type": "gpt_neo",
37
+ "num_heads": 16,
38
+ "num_layers": 8,
39
+ "resid_dropout": 0,
40
+ "summary_activation": null,
41
+ "summary_first_dropout": 0.1,
42
+ "summary_proj_to_labels": true,
43
+ "summary_type": "cls_index",
44
+ "summary_use_proj": true,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.50.3",
47
+ "use_cache": false,
48
+ "vocab_size": 50264,
49
+ "window_size": 256
50
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.50.3"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2595de4549bf2f93a2e599c2e717a922caa12fc4f14e5f26aeefef1aa221a2bd
3
+ size 14996504
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "50256": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "50257": {
15
+ "content": "<cluster_3>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": false
21
+ },
22
+ "50258": {
23
+ "content": "<cluster_5>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "50259": {
31
+ "content": "<cluster_0>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "50260": {
39
+ "content": "<cluster_4>",
40
+ "lstrip": false,
41
+ "normalized": true,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "50261": {
47
+ "content": "<cluster_6>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "50262": {
55
+ "content": "<cluster_2>",
56
+ "lstrip": false,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "50263": {
63
+ "content": "<cluster_1>",
64
+ "lstrip": false,
65
+ "normalized": true,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ }
70
+ },
71
+ "bos_token": "<|endoftext|>",
72
+ "clean_up_tokenization_spaces": false,
73
+ "eos_token": "<|endoftext|>",
74
+ "errors": "replace",
75
+ "extra_special_tokens": {},
76
+ "model_max_length": 2048,
77
+ "pad_token": "<|endoftext|>",
78
+ "padding_side": "right",
79
+ "tokenizer_class": "GPT2Tokenizer",
80
+ "unk_token": "<|endoftext|>"
81
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4bce99b5b8fc9a408070c48ece2e25f374e52641b7328dc0a5dff8259a2b264
3
+ size 5432
vocab.json ADDED
The diff for this file is too large to render. See raw diff