Translation
Transformers
Safetensors
Khmer
English
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use Darayut/byt5-base-khm-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Darayut/byt5-base-khm-en 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="Darayut/byt5-base-khm-en")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Darayut/byt5-base-khm-en") model = AutoModelForSeq2SeqLM.from_pretrained("Darayut/byt5-base-khm-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -84,7 +84,9 @@ The following hyperparameters were used during training:
|
|
| 84 |
| 0.4719 | 3.0 | 3999 | 0.5933 | 17.5698 | 24.2143 |
|
| 85 |
| 0.4029 | 4.0 | 5332 | 0.5593 | 22.9685 | 24.0115 |
|
| 86 |
| 0.3404 | 5.0 | 6665 | 0.5602 | 26.8820 | 23.5353 |
|
| 87 |
-
|
|
|
|
|
|
|
| 88 |
|
| 89 |
### Evaluation results
|
| 90 |
The evaluation is done on the Tatoeba and Asian Language Treebank (ALT) dataset.
|
|
|
|
| 84 |
| 0.4719 | 3.0 | 3999 | 0.5933 | 17.5698 | 24.2143 |
|
| 85 |
| 0.4029 | 4.0 | 5332 | 0.5593 | 22.9685 | 24.0115 |
|
| 86 |
| 0.3404 | 5.0 | 6665 | 0.5602 | 26.8820 | 23.5353 |
|
| 87 |
+
| 0.5988 | 6.0 | 7998 | 0.5456 | 17.1649 | 78.2938 |
|
| 88 |
+
| 0.4947 | 7.0 | 9331 | 0.4823 | 20.9237 | 81.6542 |
|
| 89 |
+
| 0.4402 | 8.0 | 10664 | 0.4455 | 25.0764 | 75.5452 |
|
| 90 |
|
| 91 |
### Evaluation results
|
| 92 |
The evaluation is done on the Tatoeba and Asian Language Treebank (ALT) dataset.
|