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_backMT_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_backMT_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: 1.1873
|
21 |
+
- Bleu: 54.6502
|
22 |
+
- Gen Len: 34.938
|
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 |
+
| 1.5555 | 1.0 | 1035 | 1.3848 | 45.7987 | 36.194 |
|
54 |
+
| 1.2715 | 2.0 | 2070 | 1.2807 | 49.7556 | 35.83 |
|
55 |
+
| 1.1156 | 3.0 | 3105 | 1.2299 | 51.7879 | 35.469 |
|
56 |
+
| 1.0079 | 4.0 | 4140 | 1.2140 | 52.4265 | 35.021 |
|
57 |
+
| 0.9166 | 5.0 | 5175 | 1.1957 | 53.4598 | 35.017 |
|
58 |
+
| 0.859 | 6.0 | 6210 | 1.1920 | 54.1821 | 35.077 |
|
59 |
+
| 0.8268 | 7.0 | 7245 | 1.1891 | 54.419 | 35.022 |
|
60 |
+
| 0.7777 | 8.0 | 8280 | 1.1863 | 54.4714 | 34.907 |
|
61 |
+
| 0.7522 | 9.0 | 9315 | 1.1867 | 54.537 | 34.906 |
|
62 |
+
| 0.7441 | 10.0 | 10350 | 1.1873 | 54.6502 | 34.938 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.32.1
|
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.1"
|
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:d75d98bfbd0e7a88058d9ac9fcae24caf78fa62cb0ebe4e9ca87d3d9056bd106
|
3 |
size 305575877
|