End of training
Browse files- README.md +60 -60
- config.json +32 -32
- generation_config.json +7 -7
- model.safetensors +1 -1
- special_tokens_map.json +23 -23
- tokenizer_config.json +40 -40
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,60 +1,60 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
license: apache-2.0
|
4 |
-
base_model: google/mt5-small
|
5 |
-
tags:
|
6 |
-
- generated_from_trainer
|
7 |
-
model-index:
|
8 |
-
- name: mt5-small-spelling_aws
|
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 |
-
# mt5-small-spelling_aws
|
16 |
-
|
17 |
-
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.
|
18 |
-
It achieves the following results on the evaluation set:
|
19 |
-
- Loss:
|
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.0001
|
39 |
-
- train_batch_size: 5
|
40 |
-
- eval_batch_size: 5
|
41 |
-
- seed: 42
|
42 |
-
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
-
- lr_scheduler_type: linear
|
44 |
-
- num_epochs: 3
|
45 |
-
|
46 |
-
### Training results
|
47 |
-
|
48 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
-
|
|
51 |
-
|
|
52 |
-
|
|
53 |
-
|
54 |
-
|
55 |
-
### Framework versions
|
56 |
-
|
57 |
-
- Transformers 4.48.1
|
58 |
-
- Pytorch 2.
|
59 |
-
- Datasets 3.2.0
|
60 |
-
- Tokenizers 0.21.0
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/mt5-small
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: mt5-small-spelling_aws
|
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 |
+
# mt5-small-spelling_aws
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 10.4578
|
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.0001
|
39 |
+
- train_batch_size: 5
|
40 |
+
- eval_batch_size: 5
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 3
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| 18.9688 | 1.0 | 16 | 11.7121 |
|
51 |
+
| 17.0706 | 2.0 | 32 | 10.7868 |
|
52 |
+
| 15.6808 | 3.0 | 48 | 10.4578 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.48.1
|
58 |
+
- Pytorch 2.0.1+cu118
|
59 |
+
- Datasets 3.2.0
|
60 |
+
- Tokenizers 0.21.0
|
config.json
CHANGED
@@ -1,32 +1,32 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "google/mt5-small",
|
3 |
-
"architectures": [
|
4 |
-
"MT5ForConditionalGeneration"
|
5 |
-
],
|
6 |
-
"classifier_dropout": 0.0,
|
7 |
-
"d_ff": 1024,
|
8 |
-
"d_kv": 64,
|
9 |
-
"d_model": 512,
|
10 |
-
"decoder_start_token_id": 0,
|
11 |
-
"dense_act_fn": "gelu_new",
|
12 |
-
"dropout_rate": 0.1,
|
13 |
-
"eos_token_id": 1,
|
14 |
-
"feed_forward_proj": "gated-gelu",
|
15 |
-
"initializer_factor": 1.0,
|
16 |
-
"is_encoder_decoder": true,
|
17 |
-
"is_gated_act": true,
|
18 |
-
"layer_norm_epsilon": 1e-06,
|
19 |
-
"model_type": "mt5",
|
20 |
-
"num_decoder_layers": 8,
|
21 |
-
"num_heads": 6,
|
22 |
-
"num_layers": 8,
|
23 |
-
"pad_token_id": 0,
|
24 |
-
"relative_attention_max_distance": 128,
|
25 |
-
"relative_attention_num_buckets": 32,
|
26 |
-
"tie_word_embeddings": false,
|
27 |
-
"tokenizer_class": "T5Tokenizer",
|
28 |
-
"torch_dtype": "float32",
|
29 |
-
"transformers_version": "4.48.1",
|
30 |
-
"use_cache": true,
|
31 |
-
"vocab_size": 250112
|
32 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-small",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 1024,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "mt5",
|
20 |
+
"num_decoder_layers": 8,
|
21 |
+
"num_heads": 6,
|
22 |
+
"num_layers": 8,
|
23 |
+
"pad_token_id": 0,
|
24 |
+
"relative_attention_max_distance": 128,
|
25 |
+
"relative_attention_num_buckets": 32,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"tokenizer_class": "T5Tokenizer",
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.48.1",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 250112
|
32 |
+
}
|
generation_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
{
|
2 |
-
"_from_model_config": true,
|
3 |
-
"decoder_start_token_id": 0,
|
4 |
-
"eos_token_id": 1,
|
5 |
-
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.48.1"
|
7 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.48.1"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1200729512
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b448fd2e05c3d5ad828d2d613e4822c7ea34afb1b34b3f3bc0092a5c2804823
|
3 |
size 1200729512
|
special_tokens_map.json
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
-
{
|
2 |
-
"eos_token": {
|
3 |
-
"content": "</s>",
|
4 |
-
"lstrip": false,
|
5 |
-
"normalized": false,
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"pad_token": {
|
10 |
-
"content": "<pad>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"unk_token": {
|
17 |
-
"content": "<unk>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
}
|
23 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<pad>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer_config.json
CHANGED
@@ -1,40 +1,40 @@
|
|
1 |
-
{
|
2 |
-
"add_prefix_space": true,
|
3 |
-
"added_tokens_decoder": {
|
4 |
-
"0": {
|
5 |
-
"content": "<pad>",
|
6 |
-
"lstrip": false,
|
7 |
-
"normalized": false,
|
8 |
-
"rstrip": false,
|
9 |
-
"single_word": false,
|
10 |
-
"special": true
|
11 |
-
},
|
12 |
-
"1": {
|
13 |
-
"content": "</s>",
|
14 |
-
"lstrip": false,
|
15 |
-
"normalized": false,
|
16 |
-
"rstrip": false,
|
17 |
-
"single_word": false,
|
18 |
-
"special": true
|
19 |
-
},
|
20 |
-
"2": {
|
21 |
-
"content": "<unk>",
|
22 |
-
"lstrip": false,
|
23 |
-
"normalized": false,
|
24 |
-
"rstrip": false,
|
25 |
-
"single_word": false,
|
26 |
-
"special": true
|
27 |
-
}
|
28 |
-
},
|
29 |
-
"additional_special_tokens": [],
|
30 |
-
"clean_up_tokenization_spaces": false,
|
31 |
-
"eos_token": "</s>",
|
32 |
-
"extra_ids": 0,
|
33 |
-
"extra_special_tokens": {},
|
34 |
-
"legacy": true,
|
35 |
-
"model_max_length": 1000000000000000019884624838656,
|
36 |
-
"pad_token": "<pad>",
|
37 |
-
"sp_model_kwargs": {},
|
38 |
-
"tokenizer_class": "MT5Tokenizer",
|
39 |
-
"unk_token": "<unk>"
|
40 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<pad>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "<unk>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [],
|
30 |
+
"clean_up_tokenization_spaces": false,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"extra_ids": 0,
|
33 |
+
"extra_special_tokens": {},
|
34 |
+
"legacy": true,
|
35 |
+
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"pad_token": "<pad>",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"tokenizer_class": "MT5Tokenizer",
|
39 |
+
"unk_token": "<unk>"
|
40 |
+
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:574bb98b56ed106f9c8ef97d170a94a28e19af29ecb95390557b5a017ec2c5a8
|
3 |
+
size 4923
|