Instructions to use KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-bidirection_e1 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-bidirection_e1 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-bidirection_e1")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-bidirection_e1") model = AutoModelForSeq2SeqLM.from_pretrained("KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-bidirection_e1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ko2en_bidirection
This model is a fine-tuned version of KETI-AIR/long-ke-t5-base on the csv_dataset.py dataset. It achieves the following results on the evaluation set:
- Loss: 0.6808
- Bleu: 52.2152
- Gen Len: 396.0215
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.001
- train_batch_size: 8
- eval_batch_size: 4
- seed: 42
- distributed_type: multi-GPU
- num_devices: 8
- total_train_batch_size: 64
- total_eval_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 1.0
Training results
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|---|---|---|---|---|---|
| 0.5962 | 1.0 | 750093 | 0.6808 | 0.0 | 18.369 |
Framework versions
- Transformers 4.28.1
- Pytorch 1.13.0
- Datasets 2.9.0
- Tokenizers 0.13.2
- Downloads last month
- 12
Model tree for KETI-AIR-Downstream/long-ke-t5-base-translation-aihub-bidirection_e1
Base model
KETI-AIR/long-ke-t5-base