End of training
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-tc-big-en-ar
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: english-to-darija-2
|
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 |
+
# english-to-darija-2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-tc-big-en-ar](https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-en-ar) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.0309
|
21 |
+
- Bleu: 66.9765
|
22 |
+
- Gen Len: 15.4554
|
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 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
53 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
|
54 |
+
| 2.5337 | 1.0 | 1392 | 2.0006 | 17.4965 | 15.0162 |
|
55 |
+
| 1.5827 | 2.0 | 2784 | 1.5484 | 26.9067 | 14.9165 |
|
56 |
+
| 1.133 | 3.0 | 4176 | 1.3098 | 38.9189 | 15.0717 |
|
57 |
+
| 0.8616 | 4.0 | 5568 | 1.1757 | 49.8352 | 15.2675 |
|
58 |
+
| 0.6862 | 5.0 | 6960 | 1.1013 | 57.7662 | 15.2131 |
|
59 |
+
| 0.5583 | 6.0 | 8352 | 1.0651 | 62.2156 | 15.2488 |
|
60 |
+
| 0.4734 | 7.0 | 9744 | 1.0460 | 65.0696 | 15.3751 |
|
61 |
+
| 0.4122 | 8.0 | 11136 | 1.0370 | 65.317 | 15.4677 |
|
62 |
+
| 0.3734 | 9.0 | 12528 | 1.0326 | 66.5766 | 15.4436 |
|
63 |
+
| 0.3354 | 10.0 | 13920 | 1.0309 | 66.9765 | 15.4554 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.35.2
|
69 |
+
- Pytorch 2.1.0+cu121
|
70 |
+
- Datasets 2.16.1
|
71 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
61246
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 61246,
|
9 |
+
"eos_token_id": 25897,
|
10 |
+
"forced_eos_token_id": 25897,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 61246,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.35.2"
|
16 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 956571820
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcc300953e704c8d6f96a9abef2ae7885dc786dfed4f42a18e8109942676f41a
|
3 |
size 956571820
|
runs/Jan20_15-59-33_6f759754efd0/events.out.tfevents.1705766375.6f759754efd0.1069.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff8e8ee0eda2188c9d442ce29b683edc9b2cc0a6b44f4a7e1bd4ed509d6ce772
|
3 |
+
size 13148
|