Bảo Mai Chí
commited on
Model save
Browse files- README.md +3 -3
- config.json +23 -61
- generation_config.json +3 -12
- model.safetensors +2 -2
- runs/Jun09_11-00-37_DESKTOP-H2CRQMR/events.out.tfevents.1717905639.DESKTOP-H2CRQMR.573843.0 +3 -0
- runs/Jun09_11-02-05_DESKTOP-H2CRQMR/events.out.tfevents.1717905727.DESKTOP-H2CRQMR.574289.0 +3 -0
- special_tokens_map.json +18 -10
- spiece.model +2 -2
- tokenizer.json +2 -2
- tokenizer_config.json +13 -29
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
@@ -13,7 +13,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# my_fine_tuned_t5_small_model
|
15 |
|
16 |
-
This model is a fine-tuned version of [
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: huggingface-course/mt5-finetuned-amazon-en-es
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
model-index:
|
|
|
13 |
|
14 |
# my_fine_tuned_t5_small_model
|
15 |
|
16 |
+
This model is a fine-tuned version of [huggingface-course/mt5-finetuned-amazon-en-es](https://huggingface.co/huggingface-course/mt5-finetuned-amazon-en-es) on the None dataset.
|
17 |
|
18 |
## Model description
|
19 |
|
config.json
CHANGED
@@ -1,70 +1,32 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"_num_labels": 3,
|
4 |
-
"activation_dropout": 0.0,
|
5 |
-
"activation_function": "gelu",
|
6 |
-
"add_final_layer_norm": false,
|
7 |
"architectures": [
|
8 |
-
"
|
9 |
],
|
10 |
-
"attention_dropout": 0.0,
|
11 |
-
"bos_token_id": 0,
|
12 |
-
"classif_dropout": 0.0,
|
13 |
"classifier_dropout": 0.0,
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"encoder_ffn_dim": 4096,
|
24 |
-
"encoder_layerdrop": 0.0,
|
25 |
-
"encoder_layers": 12,
|
26 |
-
"eos_token_id": 2,
|
27 |
-
"force_bos_token_to_be_generated": true,
|
28 |
-
"forced_bos_token_id": 0,
|
29 |
-
"forced_eos_token_id": 2,
|
30 |
-
"gradient_checkpointing": false,
|
31 |
-
"id2label": {
|
32 |
-
"0": "LABEL_0",
|
33 |
-
"1": "LABEL_1",
|
34 |
-
"2": "LABEL_2"
|
35 |
-
},
|
36 |
-
"init_std": 0.02,
|
37 |
"is_encoder_decoder": true,
|
38 |
-
"
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"normalize_before": false,
|
50 |
-
"num_beams": 4,
|
51 |
-
"num_hidden_layers": 12,
|
52 |
-
"output_past": true,
|
53 |
-
"pad_token_id": 1,
|
54 |
-
"prefix": " ",
|
55 |
-
"scale_embedding": false,
|
56 |
-
"task_specific_params": {
|
57 |
-
"summarization": {
|
58 |
-
"early_stopping": true,
|
59 |
-
"length_penalty": 2.0,
|
60 |
-
"max_length": 142,
|
61 |
-
"min_length": 56,
|
62 |
-
"no_repeat_ngram_size": 3,
|
63 |
-
"num_beams": 4
|
64 |
-
}
|
65 |
-
},
|
66 |
"torch_dtype": "float32",
|
67 |
"transformers_version": "4.41.2",
|
68 |
"use_cache": true,
|
69 |
-
"vocab_size":
|
70 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "huggingface-course/mt5-finetuned-amazon-en-es",
|
|
|
|
|
|
|
|
|
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.41.2",
|
30 |
"use_cache": true,
|
31 |
+
"vocab_size": 250112
|
32 |
}
|
generation_config.json
CHANGED
@@ -1,16 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"eos_token_id": 2,
|
7 |
-
"forced_bos_token_id": 0,
|
8 |
-
"forced_eos_token_id": 2,
|
9 |
-
"length_penalty": 2.0,
|
10 |
-
"max_length": 142,
|
11 |
-
"min_length": 56,
|
12 |
-
"no_repeat_ngram_size": 3,
|
13 |
-
"num_beams": 4,
|
14 |
-
"pad_token_id": 1,
|
15 |
"transformers_version": "4.41.2"
|
16 |
}
|
|
|
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.41.2"
|
7 |
}
|
model.safetensors
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:bbda38569c7a4ad70a93f9381de845b45326d5d63a27a817ffad980d3fb6ff2e
|
3 |
+
size 1200729512
|
runs/Jun09_11-00-37_DESKTOP-H2CRQMR/events.out.tfevents.1717905639.DESKTOP-H2CRQMR.573843.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ccec20c7c1283d67293210305b97e4c2e7f8599243879ea9081efd98c329f5a
|
3 |
+
size 4184
|
runs/Jun09_11-02-05_DESKTOP-H2CRQMR/events.out.tfevents.1717905727.DESKTOP-H2CRQMR.574289.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b2c851ac76020ecb5c54b517c9dbd655e585e9dfc8e8151dbf3dc8bf7c2de90
|
3 |
+
size 5532
|
special_tokens_map.json
CHANGED
@@ -1,15 +1,23 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
"content": "<mask>",
|
7 |
-
"lstrip": true,
|
8 |
-
"normalized": true,
|
9 |
"rstrip": false,
|
10 |
"single_word": false
|
11 |
},
|
12 |
-
"pad_token":
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
|
|
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 |
}
|
spiece.model
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:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
|
3 |
+
size 4309802
|
tokenizer.json
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:4ee660ae764cd56ecac9dbe82d766502034efac119fc579414afcd68d4f6b922
|
3 |
+
size 16315191
|
tokenizer_config.json
CHANGED
@@ -1,57 +1,41 @@
|
|
1 |
{
|
2 |
-
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
4 |
"0": {
|
5 |
-
"content": "<s>",
|
6 |
-
"lstrip": false,
|
7 |
-
"normalized": true,
|
8 |
-
"rstrip": false,
|
9 |
-
"single_word": false,
|
10 |
-
"special": true
|
11 |
-
},
|
12 |
-
"1": {
|
13 |
"content": "<pad>",
|
14 |
"lstrip": false,
|
15 |
-
"normalized":
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
"special": true
|
19 |
},
|
20 |
-
"
|
21 |
"content": "</s>",
|
22 |
"lstrip": false,
|
23 |
-
"normalized":
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
"special": true
|
27 |
},
|
28 |
-
"
|
29 |
"content": "<unk>",
|
30 |
"lstrip": false,
|
31 |
-
"normalized":
|
32 |
-
"rstrip": false,
|
33 |
-
"single_word": false,
|
34 |
-
"special": true
|
35 |
-
},
|
36 |
-
"50264": {
|
37 |
-
"content": "<mask>",
|
38 |
-
"lstrip": true,
|
39 |
-
"normalized": true,
|
40 |
"rstrip": false,
|
41 |
"single_word": false,
|
42 |
"special": true
|
43 |
}
|
44 |
},
|
45 |
-
"
|
46 |
"clean_up_tokenization_spaces": true,
|
47 |
-
"cls_token": "<s>",
|
48 |
"eos_token": "</s>",
|
49 |
-
"
|
50 |
-
"
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
"pad_token": "<pad>",
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
|
|
|
|
56 |
"unk_token": "<unk>"
|
57 |
}
|
|
|
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": "</s>",
|
13 |
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"2": {
|
20 |
"content": "<unk>",
|
21 |
"lstrip": false,
|
22 |
+
"normalized": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
}
|
27 |
},
|
28 |
+
"additional_special_tokens": [],
|
29 |
"clean_up_tokenization_spaces": true,
|
|
|
30 |
"eos_token": "</s>",
|
31 |
+
"extra_ids": 0,
|
32 |
+
"max_length": 30,
|
33 |
"model_max_length": 1000000000000000019884624838656,
|
34 |
"pad_token": "<pad>",
|
35 |
+
"sp_model_kwargs": {},
|
36 |
+
"stride": 0,
|
37 |
+
"tokenizer_class": "T5Tokenizer",
|
38 |
+
"truncation_side": "right",
|
39 |
+
"truncation_strategy": "longest_first",
|
40 |
"unk_token": "<unk>"
|
41 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:057ba6b3e378917b7b26a05a3ad39c15647e3562224cd7526fab41de30725ad8
|
3 |
size 5304
|