Ro551 commited on
Commit
2c555d3
Β·
verified Β·
1 Parent(s): 6a06b0b

Model trained and pushed to Hugging Face Hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: google/mt5-small
5
+ tags:
6
+ - base_model:adapter:google/mt5-small
7
+ - lora
8
+ - transformers
9
+ model-index:
10
+ - name: mt5-small-GEC-spanish-LORA-merged
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mt5-small-GEC-spanish-LORA-merged
18
+
19
+ This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1014
22
+ - Gleu: 0.7351
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.001635475313478006
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 16
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 0.0993688388184371
50
+ - num_epochs: 2
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Gleu |
55
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|
56
+ | 0.2319 | 1.0 | 11213 | 0.1196 | 0.7133 |
57
+ | 0.1766 | 2.0 | 22426 | 0.1014 | 0.7351 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - PEFT 0.18.1
63
+ - Transformers 5.0.0
64
+ - Pytorch 2.7.0+cu126
65
+ - Datasets 4.8.5
66
+ - Tokenizers 0.22.2
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "google/mt5-small",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.15,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 64,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "k",
33
+ "v",
34
+ "wi_1",
35
+ "wo",
36
+ "q",
37
+ "o",
38
+ "wi_0"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "SEQ_2_SEQ_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63c9c4e3011286912075d835d85c2bcf3f0815132cc4fc790d744090967c0bee
3
+ size 40935440
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b31adff76c33d263bf238da902695ba9b6223cb55e8195c580fe56d48077a2c5
3
+ size 16032985
tokenizer_config.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "eos_token": "</s>",
4
+ "extra_ids": 0,
5
+ "extra_special_tokens": [
6
+ "<pad>",
7
+ "</s>",
8
+ "▁<extra_id_99>",
9
+ "▁<extra_id_98>",
10
+ "▁<extra_id_97>",
11
+ "▁<extra_id_96>",
12
+ "▁<extra_id_95>",
13
+ "▁<extra_id_94>",
14
+ "▁<extra_id_93>",
15
+ "▁<extra_id_92>",
16
+ "▁<extra_id_91>",
17
+ "▁<extra_id_90>",
18
+ "▁<extra_id_89>",
19
+ "▁<extra_id_88>",
20
+ "▁<extra_id_87>",
21
+ "▁<extra_id_86>",
22
+ "▁<extra_id_85>",
23
+ "▁<extra_id_84>",
24
+ "▁<extra_id_83>",
25
+ "▁<extra_id_82>",
26
+ "▁<extra_id_81>",
27
+ "▁<extra_id_80>",
28
+ "▁<extra_id_79>",
29
+ "▁<extra_id_78>",
30
+ "▁<extra_id_77>",
31
+ "▁<extra_id_76>",
32
+ "▁<extra_id_75>",
33
+ "▁<extra_id_74>",
34
+ "▁<extra_id_73>",
35
+ "▁<extra_id_72>",
36
+ "▁<extra_id_71>",
37
+ "▁<extra_id_70>",
38
+ "▁<extra_id_69>",
39
+ "▁<extra_id_68>",
40
+ "▁<extra_id_67>",
41
+ "▁<extra_id_66>",
42
+ "▁<extra_id_65>",
43
+ "▁<extra_id_64>",
44
+ "▁<extra_id_63>",
45
+ "▁<extra_id_62>",
46
+ "▁<extra_id_61>",
47
+ "▁<extra_id_60>",
48
+ "▁<extra_id_59>",
49
+ "▁<extra_id_58>",
50
+ "▁<extra_id_57>",
51
+ "▁<extra_id_56>",
52
+ "▁<extra_id_55>",
53
+ "▁<extra_id_54>",
54
+ "▁<extra_id_53>",
55
+ "▁<extra_id_52>",
56
+ "▁<extra_id_51>",
57
+ "▁<extra_id_50>",
58
+ "▁<extra_id_49>",
59
+ "▁<extra_id_48>",
60
+ "▁<extra_id_47>",
61
+ "▁<extra_id_46>",
62
+ "▁<extra_id_45>",
63
+ "▁<extra_id_44>",
64
+ "▁<extra_id_43>",
65
+ "▁<extra_id_42>",
66
+ "▁<extra_id_41>",
67
+ "▁<extra_id_40>",
68
+ "▁<extra_id_39>",
69
+ "▁<extra_id_38>",
70
+ "▁<extra_id_37>",
71
+ "▁<extra_id_36>",
72
+ "▁<extra_id_35>",
73
+ "▁<extra_id_34>",
74
+ "▁<extra_id_33>",
75
+ "▁<extra_id_32>",
76
+ "▁<extra_id_31>",
77
+ "▁<extra_id_30>",
78
+ "▁<extra_id_29>",
79
+ "▁<extra_id_28>",
80
+ "▁<extra_id_27>",
81
+ "▁<extra_id_26>",
82
+ "▁<extra_id_25>",
83
+ "▁<extra_id_24>",
84
+ "▁<extra_id_23>",
85
+ "▁<extra_id_22>",
86
+ "▁<extra_id_21>",
87
+ "▁<extra_id_20>",
88
+ "▁<extra_id_19>",
89
+ "▁<extra_id_18>",
90
+ "▁<extra_id_17>",
91
+ "▁<extra_id_16>",
92
+ "▁<extra_id_15>",
93
+ "▁<extra_id_14>",
94
+ "▁<extra_id_13>",
95
+ "▁<extra_id_12>",
96
+ "▁<extra_id_11>",
97
+ "▁<extra_id_10>",
98
+ "▁<extra_id_9>",
99
+ "▁<extra_id_8>",
100
+ "▁<extra_id_7>",
101
+ "▁<extra_id_6>",
102
+ "▁<extra_id_5>",
103
+ "▁<extra_id_4>",
104
+ "▁<extra_id_3>",
105
+ "▁<extra_id_2>",
106
+ "▁<extra_id_1>",
107
+ "▁<extra_id_0>"
108
+ ],
109
+ "is_local": true,
110
+ "model_max_length": 1000000000000000019884624838656,
111
+ "pad_token": "<pad>",
112
+ "tokenizer_class": "T5Tokenizer",
113
+ "unk_id": 2,
114
+ "unk_token": "<unk>"
115
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0dabca51e72114eaca81aeef4be9b4ef21431994010b6e32ac801b4e53b25ee
3
+ size 5393