End of training
Browse files- README.md +98 -0
- model.safetensors +1 -1
- special_tokens_map.json +17 -0
- tokenizer.json +0 -0
- tokenizer_config.json +35 -0
README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- tiny_shakespeare
|
| 7 |
+
model-index:
|
| 8 |
+
- name: tinyshakespeare-42m
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# tinyshakespeare-42m
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on the tiny_shakespeare dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 4.8737
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 0.0003
|
| 39 |
+
- train_batch_size: 8
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
+
- lr_scheduler_type: cosine
|
| 44 |
+
- lr_scheduler_warmup_ratio: 0.03
|
| 45 |
+
- num_epochs: 40
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| No log | 1.0 | 16 | 6.9032 |
|
| 52 |
+
| No log | 2.0 | 32 | 5.9671 |
|
| 53 |
+
| No log | 3.0 | 48 | 5.7496 |
|
| 54 |
+
| 6.6567 | 4.0 | 64 | 5.6037 |
|
| 55 |
+
| 6.6567 | 5.0 | 80 | 5.4368 |
|
| 56 |
+
| 6.6567 | 6.0 | 96 | 5.2910 |
|
| 57 |
+
| 5.4744 | 7.0 | 112 | 5.1749 |
|
| 58 |
+
| 5.4744 | 8.0 | 128 | 5.0940 |
|
| 59 |
+
| 5.4744 | 9.0 | 144 | 5.0452 |
|
| 60 |
+
| 5.0133 | 10.0 | 160 | 5.0255 |
|
| 61 |
+
| 5.0133 | 11.0 | 176 | 5.0034 |
|
| 62 |
+
| 5.0133 | 12.0 | 192 | 4.9969 |
|
| 63 |
+
| 4.756 | 13.0 | 208 | 4.9831 |
|
| 64 |
+
| 4.756 | 14.0 | 224 | 4.9877 |
|
| 65 |
+
| 4.756 | 15.0 | 240 | 4.9961 |
|
| 66 |
+
| 4.5668 | 16.0 | 256 | 5.0005 |
|
| 67 |
+
| 4.5668 | 17.0 | 272 | 5.0135 |
|
| 68 |
+
| 4.5668 | 18.0 | 288 | 5.0311 |
|
| 69 |
+
| 4.3775 | 19.0 | 304 | 5.0535 |
|
| 70 |
+
| 4.3775 | 20.0 | 320 | 5.0667 |
|
| 71 |
+
| 4.3775 | 21.0 | 336 | 5.0927 |
|
| 72 |
+
| 4.1854 | 22.0 | 352 | 5.1175 |
|
| 73 |
+
| 4.1854 | 23.0 | 368 | 5.1487 |
|
| 74 |
+
| 4.1854 | 24.0 | 384 | 5.1702 |
|
| 75 |
+
| 3.9762 | 25.0 | 400 | 5.1887 |
|
| 76 |
+
| 3.9762 | 26.0 | 416 | 5.2351 |
|
| 77 |
+
| 3.9762 | 27.0 | 432 | 5.2616 |
|
| 78 |
+
| 3.9762 | 28.0 | 448 | 5.2936 |
|
| 79 |
+
| 3.793 | 29.0 | 464 | 5.3212 |
|
| 80 |
+
| 3.793 | 30.0 | 480 | 5.3417 |
|
| 81 |
+
| 3.793 | 31.0 | 496 | 5.3652 |
|
| 82 |
+
| 3.639 | 32.0 | 512 | 5.3838 |
|
| 83 |
+
| 3.639 | 33.0 | 528 | 5.4027 |
|
| 84 |
+
| 3.639 | 34.0 | 544 | 5.4140 |
|
| 85 |
+
| 3.5439 | 35.0 | 560 | 5.4247 |
|
| 86 |
+
| 3.5439 | 36.0 | 576 | 5.4353 |
|
| 87 |
+
| 3.5439 | 37.0 | 592 | 5.4410 |
|
| 88 |
+
| 3.4797 | 38.0 | 608 | 5.4424 |
|
| 89 |
+
| 3.4797 | 39.0 | 624 | 5.4424 |
|
| 90 |
+
| 3.4797 | 40.0 | 640 | 5.4422 |
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Framework versions
|
| 94 |
+
|
| 95 |
+
- Transformers 4.57.1
|
| 96 |
+
- Pytorch 2.6.0+cu124
|
| 97 |
+
- Datasets 3.6.0
|
| 98 |
+
- Tokenizers 0.22.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 121861864
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59a3e45070abd0fd5a9333911f32a1569cd206d8d8d8b561f61de4b16fc77b9b
|
| 3 |
size 121861864
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|bos|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|eos|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<|pad|>"
|
| 17 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "<|bos|>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "<|eos|>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"bos_token": "<|bos|>",
|
| 29 |
+
"clean_up_tokenization_spaces": false,
|
| 30 |
+
"eos_token": "<|eos|>",
|
| 31 |
+
"extra_special_tokens": {},
|
| 32 |
+
"model_max_length": 2048,
|
| 33 |
+
"pad_token": "<|pad|>",
|
| 34 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
| 35 |
+
}
|