Jezia commited on
Commit
73de8a1
·
1 Parent(s): 52e0b1a

Model save

Browse files
Files changed (3) hide show
  1. README.md +70 -0
  2. generation_config.json +16 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-ar-en
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - bleu
8
+ model-index:
9
+ - name: opus-mt-ar-en-finetuned_augmented_synthetic_1-ar-to-en
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # opus-mt-ar-en-finetuned_augmented_synthetic_1-ar-to-en
17
+
18
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-ar-en](https://huggingface.co/Helsinki-NLP/opus-mt-ar-en) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6310
21
+ - Bleu: 66.0531
22
+ - Gen Len: 62.7622
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: 2e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
52
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
53
+ | 0.9624 | 1.0 | 1043 | 0.7904 | 57.9585 | 65.1449 |
54
+ | 0.7619 | 2.0 | 2086 | 0.7172 | 61.4081 | 64.038 |
55
+ | 0.674 | 3.0 | 3129 | 0.6844 | 63.0849 | 63.1159 |
56
+ | 0.6086 | 4.0 | 4172 | 0.6626 | 64.6547 | 62.3736 |
57
+ | 0.5705 | 5.0 | 5215 | 0.6523 | 65.1199 | 62.7662 |
58
+ | 0.5317 | 6.0 | 6258 | 0.6415 | 65.6392 | 62.7802 |
59
+ | 0.4943 | 7.0 | 7301 | 0.6367 | 65.4163 | 62.5654 |
60
+ | 0.4828 | 8.0 | 8344 | 0.6340 | 65.4508 | 62.3506 |
61
+ | 0.4579 | 9.0 | 9387 | 0.6317 | 65.8711 | 62.6513 |
62
+ | 0.4577 | 10.0 | 10430 | 0.6310 | 66.0531 | 62.7622 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.32.0
68
+ - Pytorch 2.0.1+cu118
69
+ - Datasets 2.14.4
70
+ - Tokenizers 0.13.3
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 62833
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 62833,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 62833,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.32.0"
16
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6bce65446359b74d840ac64eb30a68c6f0df5906e3b21dfa464c47d2832ef63a
3
  size 305575877
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd618cb4a1ed232701fcc747863380c181c4831b087cf2a9dc427c39030d8128
3
  size 305575877