End of training
Browse files- README.md +26 -11
- config.json +39 -11
- generation_config.json +0 -1
- pytorch_model.bin +2 -2
- special_tokens_map.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +2 -6
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
-
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
model-index:
|
@@ -12,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
12 |
|
13 |
# FingerFriend-t5-small
|
14 |
|
15 |
-
This model is a fine-tuned version of [
|
16 |
It achieves the following results on the evaluation set:
|
17 |
-
- Loss: 0.
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -34,8 +35,8 @@ More information needed
|
|
34 |
|
35 |
The following hyperparameters were used during training:
|
36 |
- learning_rate: 2e-05
|
37 |
-
- train_batch_size:
|
38 |
-
- eval_batch_size:
|
39 |
- seed: 42
|
40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
- lr_scheduler_type: linear
|
@@ -45,12 +46,26 @@ The following hyperparameters were used during training:
|
|
45 |
|
46 |
| Training Loss | Epoch | Step | Validation Loss |
|
47 |
|:-------------:|:-----:|:----:|:---------------:|
|
48 |
-
| 1.
|
49 |
-
|
|
50 |
-
|
|
51 |
-
|
|
52 |
-
| 0.
|
53 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
|
56 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-small
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
|
|
13 |
|
14 |
# FingerFriend-t5-small
|
15 |
|
16 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the None dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.7464
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 16
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
|
|
46 |
|
47 |
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| 1.6293 | 1.0 | 171 | 1.1671 |
|
50 |
+
| 1.195 | 2.0 | 342 | 1.0246 |
|
51 |
+
| 1.085 | 3.0 | 513 | 0.9553 |
|
52 |
+
| 1.0207 | 4.0 | 684 | 0.9096 |
|
53 |
+
| 0.9631 | 5.0 | 855 | 0.8782 |
|
54 |
+
| 0.9283 | 6.0 | 1026 | 0.8445 |
|
55 |
+
| 0.8987 | 7.0 | 1197 | 0.8352 |
|
56 |
+
| 0.8716 | 8.0 | 1368 | 0.8123 |
|
57 |
+
| 0.8556 | 9.0 | 1539 | 0.7983 |
|
58 |
+
| 0.8375 | 10.0 | 1710 | 0.7923 |
|
59 |
+
| 0.8239 | 11.0 | 1881 | 0.7757 |
|
60 |
+
| 0.8184 | 12.0 | 2052 | 0.7716 |
|
61 |
+
| 0.8053 | 13.0 | 2223 | 0.7642 |
|
62 |
+
| 0.7929 | 14.0 | 2394 | 0.7647 |
|
63 |
+
| 0.7867 | 15.0 | 2565 | 0.7597 |
|
64 |
+
| 0.7817 | 16.0 | 2736 | 0.7529 |
|
65 |
+
| 0.7751 | 17.0 | 2907 | 0.7506 |
|
66 |
+
| 0.7705 | 18.0 | 3078 | 0.7472 |
|
67 |
+
| 0.7657 | 19.0 | 3249 | 0.7467 |
|
68 |
+
| 0.7665 | 20.0 | 3420 | 0.7464 |
|
69 |
|
70 |
|
71 |
### Framework versions
|
config.json
CHANGED
@@ -1,33 +1,61 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"classifier_dropout": 0.0,
|
7 |
-
"d_ff":
|
8 |
"d_kv": 64,
|
9 |
"d_model": 512,
|
10 |
"decoder_start_token_id": 0,
|
11 |
-
"dense_act_fn": "
|
12 |
"dropout_rate": 0.1,
|
13 |
"eos_token_id": 1,
|
14 |
-
"feed_forward_proj": "
|
15 |
"initializer_factor": 1.0,
|
16 |
"is_encoder_decoder": true,
|
17 |
-
"is_gated_act":
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
-
"max_length": 128,
|
20 |
"model_type": "t5",
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
|
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
"relative_attention_max_distance": 128,
|
27 |
"relative_attention_num_buckets": 32,
|
28 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
"transformers_version": "4.33.2",
|
31 |
"use_cache": true,
|
32 |
-
"vocab_size":
|
33 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "t5-small",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
"d_kv": 64,
|
9 |
"d_model": 512,
|
10 |
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "relu",
|
12 |
"dropout_rate": 0.1,
|
13 |
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "relu",
|
15 |
"initializer_factor": 1.0,
|
16 |
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": false,
|
18 |
"layer_norm_epsilon": 1e-06,
|
|
|
19 |
"model_type": "t5",
|
20 |
+
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 6,
|
22 |
+
"num_heads": 8,
|
23 |
+
"num_layers": 6,
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
"relative_attention_max_distance": 128,
|
27 |
"relative_attention_num_buckets": 32,
|
28 |
+
"task_specific_params": {
|
29 |
+
"summarization": {
|
30 |
+
"early_stopping": true,
|
31 |
+
"length_penalty": 2.0,
|
32 |
+
"max_length": 200,
|
33 |
+
"min_length": 30,
|
34 |
+
"no_repeat_ngram_size": 3,
|
35 |
+
"num_beams": 4,
|
36 |
+
"prefix": "summarize: "
|
37 |
+
},
|
38 |
+
"translation_en_to_de": {
|
39 |
+
"early_stopping": true,
|
40 |
+
"max_length": 300,
|
41 |
+
"num_beams": 4,
|
42 |
+
"prefix": "translate English to German: "
|
43 |
+
},
|
44 |
+
"translation_en_to_fr": {
|
45 |
+
"early_stopping": true,
|
46 |
+
"max_length": 300,
|
47 |
+
"num_beams": 4,
|
48 |
+
"prefix": "translate English to French: "
|
49 |
+
},
|
50 |
+
"translation_en_to_ro": {
|
51 |
+
"early_stopping": true,
|
52 |
+
"max_length": 300,
|
53 |
+
"num_beams": 4,
|
54 |
+
"prefix": "translate English to Romanian: "
|
55 |
+
}
|
56 |
+
},
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.33.2",
|
59 |
"use_cache": true,
|
60 |
+
"vocab_size": 32128
|
61 |
}
|
generation_config.json
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
5 |
-
"max_length": 128,
|
6 |
"pad_token_id": 0,
|
7 |
"transformers_version": "4.33.2"
|
8 |
}
|
|
|
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.33.2"
|
7 |
}
|
pytorch_model.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:5ff34878fa65c518899de5ac2b5118ae03d3c7e5b607468518705daaddaa81a8
|
3 |
+
size 242071641
|
special_tokens_map.json
CHANGED
@@ -103,5 +103,5 @@
|
|
103 |
],
|
104 |
"eos_token": "</s>",
|
105 |
"pad_token": "<pad>",
|
106 |
-
"unk_token": "<
|
107 |
}
|
|
|
103 |
],
|
104 |
"eos_token": "</s>",
|
105 |
"pad_token": "<pad>",
|
106 |
+
"unk_token": "<unk>"
|
107 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -104,12 +104,8 @@
|
|
104 |
"clean_up_tokenization_spaces": true,
|
105 |
"eos_token": "</s>",
|
106 |
"extra_ids": 100,
|
107 |
-
"
|
108 |
-
"model_max_length": 128,
|
109 |
"pad_token": "<pad>",
|
110 |
-
"stride": 128,
|
111 |
"tokenizer_class": "T5Tokenizer",
|
112 |
-
"
|
113 |
-
"truncation_strategy": "longest_first",
|
114 |
-
"unk_token": "<pad>"
|
115 |
}
|
|
|
104 |
"clean_up_tokenization_spaces": true,
|
105 |
"eos_token": "</s>",
|
106 |
"extra_ids": 100,
|
107 |
+
"model_max_length": 512,
|
|
|
108 |
"pad_token": "<pad>",
|
|
|
109 |
"tokenizer_class": "T5Tokenizer",
|
110 |
+
"unk_token": "<unk>"
|
|
|
|
|
111 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4155
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1292f1a8edea159be8f39c77046e007078f23fed971ae55ff1d661607c577d38
|
3 |
size 4155
|