ahmadmwali commited on
Commit
5c9adb7
·
verified ·
1 Parent(s): 8df27d8

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ 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
+ source.spm filter=lfs diff=lfs merge=lfs -text
37
+ target.spm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Helsinki-NLP/opus-mt-ha-en
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - bleu
9
+ - f1
10
+ - wer
11
+ model-index:
12
+ - name: opus_mt_trial2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # opus_mt_trial2
20
+
21
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-ha-en](https://huggingface.co/Helsinki-NLP/opus-mt-ha-en) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Bleu: 0.3386
24
+ - F1: 0.6154
25
+ - Wer: 0.5062
26
+ - Cer: 0.2815
27
+ - Meteor: 0.6028
28
+ - Loss: 0.3820
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 0.0005
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Bleu | F1 | Wer | Cer | Meteor | Validation Loss |
59
+ |:-------------:|:-----:|:-----:|:------:|:------:|:------:|:------:|:------:|:---------------:|
60
+ | 0.4955 | 1.0 | 12500 | 0.3163 | 0.5995 | 0.5200 | 0.3027 | 0.5806 | 0.4086 |
61
+ | 0.4557 | 2.0 | 25000 | 0.3319 | 0.6108 | 0.5211 | 0.2907 | 0.5967 | 0.3889 |
62
+ | 0.4371 | 3.0 | 37500 | 0.3386 | 0.6154 | 0.5062 | 0.2815 | 0.6028 | 0.3820 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - PEFT 0.15.2
68
+ - Transformers 4.50.0
69
+ - Pytorch 2.6.0+cu124
70
+ - Datasets 3.4.1
71
+ - Tokenizers 0.21.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Helsinki-NLP/opus-mt-ha-en",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 32,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 16,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "q_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "SEQ_2_SEQ_LM",
31
+ "trainable_token_indices": null,
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27682f79a6d6209e9ee51a9ed679b5c7bf722884c195db075f0463f9c8d2d9e0
3
+ size 2369344
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_bleu": 0.3386404997587714,
4
+ "eval_cer": 0.28147095294898533,
5
+ "eval_f1": 0.6153534805079603,
6
+ "eval_loss": 0.3820163309574127,
7
+ "eval_meteor": 0.6028071424520438,
8
+ "eval_runtime": 237.8269,
9
+ "eval_samples_per_second": 21.024,
10
+ "eval_steps_per_second": 0.66,
11
+ "eval_wer": 0.5062094115300532,
12
+ "total_flos": 8.244262109970432e+16,
13
+ "train_loss": 0.4885604788208008,
14
+ "train_runtime": 4587.9371,
15
+ "train_samples_per_second": 261.553,
16
+ "train_steps_per_second": 8.174
17
+ }
eval_final_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_bleu": 0.3386404997587714,
4
+ "eval_cer": 0.28147095294898533,
5
+ "eval_f1": 0.6153534805079603,
6
+ "eval_loss": 0.3820163309574127,
7
+ "eval_meteor": 0.6028071424520438,
8
+ "eval_runtime": 237.8269,
9
+ "eval_samples_per_second": 21.024,
10
+ "eval_steps_per_second": 0.66,
11
+ "eval_wer": 0.5062094115300532
12
+ }
logs/events.out.tfevents.1748754697.c1279aa5eb8f.2405597.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0db6ca9892529b483dc78ef28ba43960acb53eb2249cc0495490fe4b8e2ca8cd
3
+ size 169901
logs/events.out.tfevents.1748759523.c1279aa5eb8f.2405597.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d5ac2191736679828f3048f1432dffe93f9e7a92b634eac96460eebbc2d2ce9
3
+ size 607
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ff009c3f913456abb6fd297ec49eacad54fb6027c3994b0d936cbe371fcbba7
3
+ size 782683
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:142ff4b7d573fd3e868afe4d31c94625ae57e7351bc37b0197279797773e6dc9
3
+ size 812660
tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "</s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "58088": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "clean_up_tokenization_spaces": false,
29
+ "eos_token": "</s>",
30
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ha",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "en",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 8.244262109970432e+16,
4
+ "train_loss": 0.4885604788208008,
5
+ "train_runtime": 4587.9371,
6
+ "train_samples_per_second": 261.553,
7
+ "train_steps_per_second": 8.174
8
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd749e809704f91dc9f92a2d5e75ee594fd1ee1117fec565bc9befe3d9feaa7a
3
+ size 7928
vocab.json ADDED
The diff for this file is too large to render. See raw diff