DarkTronics
commited on
Commit
•
0ea07da
1
Parent(s):
f42825c
Training complete
Browse files- README.md +4 -5
- config.json +48 -23
- generation_config.json +14 -5
- model.safetensors +2 -2
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model:
|
5 |
tags:
|
6 |
- summarization
|
7 |
- generated_from_trainer
|
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# mt5-small-finetuned-amazon-en-es
|
17 |
|
18 |
-
This model is a fine-tuned version of [
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -38,13 +38,12 @@ The following hyperparameters were used during training:
|
|
38 |
- train_batch_size: 8
|
39 |
- eval_batch_size: 8
|
40 |
- seed: 42
|
41 |
-
- optimizer:
|
42 |
- lr_scheduler_type: linear
|
43 |
- num_epochs: 8
|
44 |
|
45 |
### Framework versions
|
46 |
|
47 |
-
- Transformers 4.
|
48 |
- Pytorch 2.5.1+cu121
|
49 |
-
- Datasets 3.1.0
|
50 |
- Tokenizers 0.20.3
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: Helsinki-NLP/opus-mt-en-fr
|
5 |
tags:
|
6 |
- summarization
|
7 |
- generated_from_trainer
|
|
|
15 |
|
16 |
# mt5-small-finetuned-amazon-en-es
|
17 |
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-fr](https://huggingface.co/Helsinki-NLP/opus-mt-en-fr) on an unknown dataset.
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
38 |
- train_batch_size: 8
|
39 |
- eval_batch_size: 8
|
40 |
- seed: 42
|
41 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
42 |
- lr_scheduler_type: linear
|
43 |
- num_epochs: 8
|
44 |
|
45 |
### Framework versions
|
46 |
|
47 |
+
- Transformers 4.46.2
|
48 |
- Pytorch 2.5.1+cu121
|
|
|
49 |
- Tokenizers 0.20.3
|
config.json
CHANGED
@@ -1,32 +1,57 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
|
|
|
|
|
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
|
|
|
|
6 |
"classifier_dropout": 0.0,
|
7 |
-
"d_ff": 1024,
|
8 |
-
"d_kv": 64,
|
9 |
"d_model": 512,
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"is_encoder_decoder": true,
|
17 |
-
"
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
|
|
|
|
|
|
|
|
|
|
28 |
"torch_dtype": "float32",
|
29 |
-
"transformers_version": "4.
|
30 |
"use_cache": true,
|
31 |
-
"vocab_size":
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-fr",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "swish",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
"architectures": [
|
9 |
+
"MarianMTModel"
|
10 |
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
"classifier_dropout": 0.0,
|
|
|
|
|
15 |
"d_model": 512,
|
16 |
+
"decoder_attention_heads": 8,
|
17 |
+
"decoder_ffn_dim": 2048,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 59513,
|
21 |
+
"decoder_vocab_size": 59514,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"encoder_attention_heads": 8,
|
24 |
+
"encoder_ffn_dim": 2048,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 6,
|
27 |
+
"eos_token_id": 0,
|
28 |
+
"forced_eos_token_id": 0,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_length": null,
|
43 |
+
"max_position_embeddings": 512,
|
44 |
+
"model_type": "marian",
|
45 |
+
"normalize_before": false,
|
46 |
+
"normalize_embedding": false,
|
47 |
+
"num_beams": null,
|
48 |
+
"num_hidden_layers": 6,
|
49 |
+
"pad_token_id": 59513,
|
50 |
+
"scale_embedding": true,
|
51 |
+
"share_encoder_decoder_embeddings": true,
|
52 |
+
"static_position_embeddings": true,
|
53 |
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.46.2",
|
55 |
"use_cache": true,
|
56 |
+
"vocab_size": 59514
|
57 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,16 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
59513
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 59513,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 59513,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.46.2"
|
16 |
}
|
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:ede839818461da667bc69127cc14b16be6af7785fa967a3de8c487d5a7b346c7
|
3 |
+
size 298705768
|
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:8f716a7174863007fe08b25a46fa51e7fe30d0e4449e7fd6b826c1838ed44639
|
3 |
+
size 5496
|