Model save
Browse files- README.md +70 -0
- generation_config.json +16 -0
- 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_cleaned-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_cleaned-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.6421
|
21 |
+
- Bleu: 64.9533
|
22 |
+
- Gen Len: 66.193
|
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.9547 | 1.0 | 1043 | 0.8017 | 56.8271 | 68.803 |
|
54 |
+
| 0.7598 | 2.0 | 2086 | 0.7281 | 60.44 | 67.238 |
|
55 |
+
| 0.672 | 3.0 | 3129 | 0.6984 | 62.5171 | 66.992 |
|
56 |
+
| 0.6063 | 4.0 | 4172 | 0.6737 | 63.4355 | 66.075 |
|
57 |
+
| 0.5641 | 5.0 | 5215 | 0.6607 | 64.2124 | 66.145 |
|
58 |
+
| 0.5188 | 6.0 | 6258 | 0.6537 | 64.5988 | 66.547 |
|
59 |
+
| 0.4934 | 7.0 | 7301 | 0.6467 | 64.7664 | 66.528 |
|
60 |
+
| 0.4858 | 8.0 | 8344 | 0.6458 | 64.756 | 66.225 |
|
61 |
+
| 0.468 | 9.0 | 9387 | 0.6427 | 64.9386 | 66.086 |
|
62 |
+
| 0.4474 | 10.0 | 10430 | 0.6421 | 64.9533 | 66.193 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.33.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.33.0"
|
16 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 305575877
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3936bee710bc444451f096b0ab0b98c9f1eec51d304618a8345ae339ad1b4b1
|
3 |
size 305575877
|