Translation
Transformers
PyTorch
Safetensors
Korean
English
longt5
text2text-generation
Generated from Trainer
Instructions to use KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-ko2en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-ko2en with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-ko2en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-ko2en") model = AutoModelForSeq2SeqLM.from_pretrained("KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-ko2en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4d35d44
1
Parent(s): bef56a8
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ko
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- >-
|
| 9 |
+
KETI-AIR/aihub_koenzh_food_translation,KETI-AIR/aihub_scitech_translation,KETI-AIR/aihub_scitech20_translation,KETI-AIR/aihub_socialtech20_translation,KETI-AIR/aihub_spoken_language_translation
|
| 10 |
+
metrics:
|
| 11 |
+
- bleu
|
| 12 |
+
model-index:
|
| 13 |
+
- name: ko2en
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Translation
|
| 17 |
+
type: translation
|
| 18 |
+
dataset:
|
| 19 |
+
name: >-
|
| 20 |
+
KETI-AIR/aihub_koenzh_food_translation,KETI-AIR/aihub_scitech_translation,KETI-AIR/aihub_scitech20_translation,KETI-AIR/aihub_socialtech20_translation,KETI-AIR/aihub_spoken_language_translation
|
| 21 |
+
koen,none,none,none,none
|
| 22 |
+
type: >-
|
| 23 |
+
KETI-AIR/aihub_koenzh_food_translation,KETI-AIR/aihub_scitech_translation,KETI-AIR/aihub_scitech20_translation,KETI-AIR/aihub_socialtech20_translation,KETI-AIR/aihub_spoken_language_translation
|
| 24 |
+
args: koen,none,none,none,none
|
| 25 |
+
metrics:
|
| 26 |
+
- name: Bleu
|
| 27 |
+
type: bleu
|
| 28 |
+
value: 58.7008
|
| 29 |
+
license: apache-2.0
|
| 30 |
+
pipeline_tag: translation
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 34 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 35 |
+
|
| 36 |
+
# ko2en
|
| 37 |
+
|
| 38 |
+
This model is a fine-tuned version of [KETI-AIR/long-ke-t5-base](https://huggingface.co/KETI-AIR/long-ke-t5-base) on the KETI-AIR/aihub_koenzh_food_translation,KETI-AIR/aihub_scitech_translation,KETI-AIR/aihub_scitech20_translation,KETI-AIR/aihub_socialtech20_translation,KETI-AIR/aihub_spoken_language_translation koen,none,none,none,none dataset.
|
| 39 |
+
It achieves the following results on the evaluation set:
|
| 40 |
+
- Loss: 0.5186
|
| 41 |
+
- Bleu: 58.7008
|
| 42 |
+
- Gen Len: 27.0073
|
| 43 |
+
|
| 44 |
+
## Model description
|
| 45 |
+
|
| 46 |
+
More information needed
|
| 47 |
+
|
| 48 |
+
## Intended uses & limitations
|
| 49 |
+
|
| 50 |
+
More information needed
|
| 51 |
+
|
| 52 |
+
## Training and evaluation data
|
| 53 |
+
|
| 54 |
+
More information needed
|
| 55 |
+
|
| 56 |
+
## Training procedure
|
| 57 |
+
|
| 58 |
+
### Training hyperparameters
|
| 59 |
+
|
| 60 |
+
The following hyperparameters were used during training:
|
| 61 |
+
- learning_rate: 0.001
|
| 62 |
+
- train_batch_size: 16
|
| 63 |
+
- eval_batch_size: 16
|
| 64 |
+
- seed: 42
|
| 65 |
+
- distributed_type: multi-GPU
|
| 66 |
+
- num_devices: 8
|
| 67 |
+
- total_train_batch_size: 128
|
| 68 |
+
- total_eval_batch_size: 128
|
| 69 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 70 |
+
- lr_scheduler_type: linear
|
| 71 |
+
- num_epochs: 3.0
|
| 72 |
+
|
| 73 |
+
### Training results
|
| 74 |
+
|
| 75 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 76 |
+
|:-------------:|:-----:|:------:|:---------------:|:-------:|:-------:|
|
| 77 |
+
| 0.6234 | 1.0 | 93762 | 0.5843 | 33.9843 | 17.5378 |
|
| 78 |
+
| 0.5334 | 2.0 | 187524 | 0.5369 | 35.3271 | 17.5388 |
|
| 79 |
+
| 0.4704 | 3.0 | 281286 | 0.5186 | 36.0533 | 17.5335 |
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
### Framework versions
|
| 83 |
+
|
| 84 |
+
- Transformers 4.25.1
|
| 85 |
+
- Pytorch 1.12.0
|
| 86 |
+
- Datasets 2.8.0
|
| 87 |
+
- Tokenizers 0.13.2
|