oddadmix commited on
Commit
732bdf0
·
verified ·
1 Parent(s): 4b50197

oddadmix/masrawy-english-arabic-translator-opus-big-v2.8-only-claude-eval-as-test

Browse files
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ model-index:
7
+ - name: masrawy-english-arabic-translator-opus-big-v2.8-only-claude-eval-as-test
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # masrawy-english-arabic-translator-opus-big-v2.8-only-claude-eval-as-test
15
+
16
+ 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 an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.3183
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 64
39
+ - eval_batch_size: 64
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 2
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss |
48
+ |:-------------:|:-----:|:----:|:---------------:|
49
+ | 2.8734 | 0.42 | 1000 | 1.4521 |
50
+ | 2.6556 | 0.83 | 2000 | 1.3604 |
51
+ | 2.4215 | 1.25 | 3000 | 1.3340 |
52
+ | 2.3495 | 1.66 | 4000 | 1.3183 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.35.2
58
+ - Pytorch 2.1.1+cu121
59
+ - Datasets 3.2.0
60
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-tc-big-en-ar",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "MarianMTModel"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "bad_words_ids": [
10
+ [
11
+ 61246
12
+ ]
13
+ ],
14
+ "bos_token_id": 0,
15
+ "classifier_dropout": 0.0,
16
+ "d_model": 1024,
17
+ "decoder_attention_heads": 16,
18
+ "decoder_ffn_dim": 4096,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 61246,
22
+ "decoder_vocab_size": 61247,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 16,
25
+ "encoder_ffn_dim": 4096,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "eos_token_id": 25897,
29
+ "forced_eos_token_id": 25897,
30
+ "init_std": 0.02,
31
+ "is_encoder_decoder": true,
32
+ "max_length": 512,
33
+ "max_position_embeddings": 1024,
34
+ "model_type": "marian",
35
+ "normalize_embedding": false,
36
+ "num_beams": 4,
37
+ "num_hidden_layers": 6,
38
+ "pad_token_id": 61246,
39
+ "scale_embedding": true,
40
+ "share_encoder_decoder_embeddings": true,
41
+ "static_position_embeddings": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.35.2",
44
+ "use_cache": true,
45
+ "vocab_size": 61247
46
+ }
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2b2ae7b283204aa6888a9c756d2451e5b121e8885934301e634f95ada8e7aef
3
+ size 956571820
runs/Jan02_19-59-30_ny55ag5bbw/events.out.tfevents.1735847970.ny55ag5bbw.81.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b35e5ea390e52fd9188eaad4e6ce94a13ec48970ad4d44b0c71448737f19a1b6
3
+ size 88
runs/Jan02_20-00-05_ny55ag5bbw/events.out.tfevents.1735848005.ny55ag5bbw.81.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741dbdc4797e3ec781cd659beb2d378724e87f558e23a91e836b2745317ed84c
3
+ size 88
runs/Jan02_20-03-15_nkxgu8omhm/events.out.tfevents.1735848198.nkxgu8omhm.82.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23901bce7551e31d30ee5a96627b941355609caf4ffb2b09d65be5fbc56a5f98
3
+ size 7885
source.spm ADDED
Binary file (806 kB). View file
 
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
Binary file (916 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "25897": {
4
+ "content": "</s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "30683": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "61246": {
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": true,
29
+ "eos_token": "</s>",
30
+ "model_max_length": 512,
31
+ "pad_token": "<pad>",
32
+ "separate_vocabs": false,
33
+ "source_lang": "en",
34
+ "sp_model_kwargs": {},
35
+ "target_lang": "ar",
36
+ "tokenizer_class": "MarianTokenizer",
37
+ "unk_token": "<unk>"
38
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2933943d066ddc11fc93e0c6f3c08ae54d5ac1adadbd41de4be5e43e613a151a
3
+ size 4856
vocab.json ADDED
The diff for this file is too large to render. See raw diff