pepper/opus-mt-tc-big-en-ko-translation_en_to_ko-v1
Browse files- .gitattributes +2 -0
- README.md +64 -0
- config.json +40 -0
- generation_config.json +16 -0
- model.safetensors +3 -0
- runs/Aug12_05-45-02_c7ecfccc36ad/events.out.tfevents.1754977895.c7ecfccc36ad.555.0 +3 -0
- runs/Aug12_06-18-12_9521cc1a11c7/events.out.tfevents.1754979509.9521cc1a11c7.2533.0 +3 -0
- runs/Aug12_06-23-10_9521cc1a11c7/events.out.tfevents.1754979796.9521cc1a11c7.2533.1 +3 -0
- runs/Aug12_06-28-29_9521cc1a11c7/events.out.tfevents.1754980110.9521cc1a11c7.2533.2 +3 -0
- runs/Aug12_06-29-44_9521cc1a11c7/events.out.tfevents.1754980185.9521cc1a11c7.2533.3 +3 -0
- source.spm +3 -0
- special_tokens_map.json +5 -0
- target.spm +3 -0
- tokenizer_config.json +39 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.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: cc-by-4.0
|
| 4 |
+
base_model: Helsinki-NLP/opus-mt-tc-big-en-ko
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- bleu
|
| 9 |
+
model-index:
|
| 10 |
+
- name: my_awesome_opus_books_model
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# my_awesome_opus_books_model
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-tc-big-en-ko](https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-en-ko) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 4.5287
|
| 22 |
+
- Bleu: 0.0
|
| 23 |
+
- Gen Len: 9.335
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 2e-05
|
| 43 |
+
- train_batch_size: 16
|
| 44 |
+
- eval_batch_size: 16
|
| 45 |
+
- seed: 42
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- num_epochs: 2
|
| 49 |
+
- mixed_precision_training: Native AMP
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:----:|:-------:|
|
| 55 |
+
| 4.6139 | 1.0 | 50 | 4.5665 | 0.0 | 7.795 |
|
| 56 |
+
| 4.4138 | 2.0 | 100 | 4.5287 | 0.0 | 9.335 |
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
### Framework versions
|
| 60 |
+
|
| 61 |
+
- Transformers 4.55.0
|
| 62 |
+
- Pytorch 2.6.0+cu124
|
| 63 |
+
- Datasets 4.0.0
|
| 64 |
+
- Tokenizers 0.21.4
|
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"MarianMTModel"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"classifier_dropout": 0.0,
|
| 10 |
+
"d_model": 1024,
|
| 11 |
+
"decoder_attention_heads": 16,
|
| 12 |
+
"decoder_ffn_dim": 4096,
|
| 13 |
+
"decoder_layerdrop": 0.0,
|
| 14 |
+
"decoder_layers": 6,
|
| 15 |
+
"decoder_start_token_id": 32000,
|
| 16 |
+
"decoder_vocab_size": 32001,
|
| 17 |
+
"dropout": 0.1,
|
| 18 |
+
"encoder_attention_heads": 16,
|
| 19 |
+
"encoder_ffn_dim": 4096,
|
| 20 |
+
"encoder_layerdrop": 0.0,
|
| 21 |
+
"encoder_layers": 6,
|
| 22 |
+
"eos_token_id": 2,
|
| 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": 32000,
|
| 33 |
+
"scale_embedding": true,
|
| 34 |
+
"share_encoder_decoder_embeddings": true,
|
| 35 |
+
"static_position_embeddings": true,
|
| 36 |
+
"torch_dtype": "float32",
|
| 37 |
+
"transformers_version": "4.55.0",
|
| 38 |
+
"use_cache": true,
|
| 39 |
+
"vocab_size": 32001
|
| 40 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
32000
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 32000,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"forced_eos_token_id": 2,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 32000,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.55.0"
|
| 16 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcfd5d69e0e88b076678fc80c664556a659af4487fab054c37be9bfada1e1670
|
| 3 |
+
size 836663220
|
runs/Aug12_05-45-02_c7ecfccc36ad/events.out.tfevents.1754977895.c7ecfccc36ad.555.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cf370693a020c00a4ddc703fff1d08059e48f199a1e2da37ca73e4e981dcf71
|
| 3 |
+
size 88
|
runs/Aug12_06-18-12_9521cc1a11c7/events.out.tfevents.1754979509.9521cc1a11c7.2533.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbde6548197e6ed92a5ac3efb2d7fa27c5f3f4094259331f700fa6bedd03af21
|
| 3 |
+
size 10759
|
runs/Aug12_06-23-10_9521cc1a11c7/events.out.tfevents.1754979796.9521cc1a11c7.2533.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7ceb672b9fd76354f0dc0c44afd6331e4426411989b779ddf34364a76050f5e
|
| 3 |
+
size 10759
|
runs/Aug12_06-28-29_9521cc1a11c7/events.out.tfevents.1754980110.9521cc1a11c7.2533.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c381644cc5b471a8a4058e1ed0e948c13a978748aad5cffa2604ef2245269ae7
|
| 3 |
+
size 10759
|
runs/Aug12_06-29-44_9521cc1a11c7/events.out.tfevents.1754980185.9521cc1a11c7.2533.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91e7ea28417c8bad6850935d26010c94c31c92614d748c301b233e1ce67f596a
|
| 3 |
+
size 17008
|
source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d0591e65c49541d82f48df33d7b322c3d4ee7aa0ee8747f9a7f9355dbf22c95
|
| 3 |
+
size 789870
|
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
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d2aa641a0890d8966ab8703b109895a4e522713ce99b4a0192bfacb495bc97c
|
| 3 |
+
size 815483
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<unk>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"2": {
|
| 12 |
+
"content": "</s>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"32000": {
|
| 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": false,
|
| 29 |
+
"eos_token": "</s>",
|
| 30 |
+
"extra_special_tokens": {},
|
| 31 |
+
"model_max_length": 512,
|
| 32 |
+
"pad_token": "<pad>",
|
| 33 |
+
"separate_vocabs": false,
|
| 34 |
+
"source_lang": "en",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "ko",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad1d2162ca30cc0b5d5bfd6149742a6d7e9880c5989d9f4e8b464c6ea67d8d25
|
| 3 |
+
size 5560
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|