DarkTronics commited on
Commit
0ea07da
1 Parent(s): f42825c

Training complete

Browse files
Files changed (5) hide show
  1. README.md +4 -5
  2. config.json +48 -23
  3. generation_config.json +14 -5
  4. model.safetensors +2 -2
  5. 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: google/mt5-small
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 [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.
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: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
43
  - num_epochs: 8
44
 
45
  ### Framework versions
46
 
47
- - Transformers 4.45.2
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": "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.45.2",
30
  "use_cache": true,
31
- "vocab_size": 250112
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
- "_from_model_config": true,
3
- "decoder_start_token_id": 0,
4
- "eos_token_id": 1,
5
- "pad_token_id": 0,
6
- "transformers_version": "4.45.2"
 
 
 
 
 
 
 
 
 
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:d3000aee8d618670e7095d6ad5d223437cb645b0bd2c1fe8eb49f25d127608bc
3
- size 1200729512
 
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:29d8e418039a408da274b334130e7132bb7505ec065cc9bb4bc0f880d2b542a6
3
- size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f716a7174863007fe08b25a46fa51e7fe30d0e4449e7fd6b826c1838ed44639
3
+ size 5496