rbcurzon commited on
Commit
6f1610b
·
verified ·
1 Parent(s): d4b304a

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ source.spm filter=lfs diff=lfs merge=lfs -text
37
+ target.spm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: Helsinki-NLP/opus-mt-tc-bible-big-mul-mul
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: opus-ph-ph
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # opus-ph-ph
16
+
17
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-tc-bible-big-mul-mul](https://huggingface.co/Helsinki-NLP/opus-mt-tc-bible-big-mul-mul) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 2.6708
20
+ - Bleu Global: 27.6541
21
+ - Gen Len: 7.4658
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 64
42
+ - eval_batch_size: 64
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Bleu Global | Gen Len |
52
+ |:-------------:|:-----:|:----:|:---------------:|:-----------:|:-------:|
53
+ | 0.1176 | 1.0 | 634 | 2.3737 | 27.2355 | 7.6117 |
54
+ | 0.1024 | 2.0 | 1268 | 2.4315 | 28.4868 | 7.5173 |
55
+ | 0.0788 | 3.0 | 1902 | 2.5622 | 28.2414 | 7.5385 |
56
+ | 0.0438 | 4.0 | 2536 | 2.6708 | 27.6541 | 7.4658 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.56.1
62
+ - Pytorch 2.8.0+cu126
63
+ - Datasets 4.0.0
64
+ - Tokenizers 0.22.0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "MarianMTModel"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "classifier_dropout": 0.0,
9
+ "d_model": 1024,
10
+ "decoder_attention_heads": 16,
11
+ "decoder_ffn_dim": 4096,
12
+ "decoder_layerdrop": 0.0,
13
+ "decoder_layers": 6,
14
+ "decoder_start_token_id": 69666,
15
+ "decoder_vocab_size": 69667,
16
+ "dropout": 0.1,
17
+ "dtype": "float32",
18
+ "encoder_attention_heads": 16,
19
+ "encoder_ffn_dim": 4096,
20
+ "encoder_layerdrop": 0.0,
21
+ "encoder_layers": 6,
22
+ "eos_token_id": 524,
23
+ "forced_eos_token_id": null,
24
+ "init_std": 0.02,
25
+ "is_encoder_decoder": true,
26
+ "max_length": null,
27
+ "max_position_embeddings": 1024,
28
+ "model_type": "marian",
29
+ "normalize_embedding": false,
30
+ "num_beams": null,
31
+ "num_hidden_layers": 6,
32
+ "pad_token_id": 69666,
33
+ "scale_embedding": true,
34
+ "share_encoder_decoder_embeddings": true,
35
+ "static_position_embeddings": true,
36
+ "transformers_version": "4.56.1",
37
+ "use_cache": true,
38
+ "vocab_size": 69667
39
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 69666
5
+ ]
6
+ ],
7
+ "decoder_start_token_id": 69666,
8
+ "eos_token_id": [
9
+ 524
10
+ ],
11
+ "forced_eos_token_id": 524,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 69666,
15
+ "transformers_version": "4.56.1"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4587f881002bf9704af60bae1467de3100917b4f757abc524876af48b21b0ba3
3
+ size 991093820
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fcc8ca830e320086a44a4e9a1e611e1de4ac6e229fdd8fde8aaf5651c6fbdec
3
+ size 1315532
special_tokens_map.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": ">>mdh<<",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "eos_token": "</s>",
12
+ "pad_token": "<pad>",
13
+ "unk_token": "<unk>"
14
+ }
target.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fcc8ca830e320086a44a4e9a1e611e1de4ac6e229fdd8fde8aaf5651c6fbdec
3
+ size 1315532
tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "524": {
4
+ "content": "</s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "783": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "3677": {
20
+ "content": ">>mdh<<",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "69666": {
28
+ "content": "<pad>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
+ "additional_special_tokens": [
37
+ ">>mdh<<"
38
+ ],
39
+ "clean_up_tokenization_spaces": false,
40
+ "eos_token": "</s>",
41
+ "extra_special_tokens": {},
42
+ "model_max_length": 512,
43
+ "pad_token": "<pad>",
44
+ "separate_vocabs": false,
45
+ "source_lang": "mul",
46
+ "sp_model_kwargs": {},
47
+ "target_lang": "mul",
48
+ "tokenizer_class": "MarianTokenizer",
49
+ "unk_token": "<unk>"
50
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71f24cbe3c62a056ecad4d78bd478274b807f5e6f66b6a39252acf304adf961a
3
+ size 5905
vocab.json ADDED
The diff for this file is too large to render. See raw diff