Translation
Transformers
Safetensors
Sinhala
Pāli
mbart
text2text-generation
pali
sinhala
low-resource
buddhist-texts
Eval Results (legacy)
Instructions to use NethranjaliSE/Pali_Sinhala_fine_tune_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NethranjaliSE/Pali_Sinhala_fine_tune_Model 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="NethranjaliSE/Pali_Sinhala_fine_tune_Model")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("NethranjaliSE/Pali_Sinhala_fine_tune_Model") model = AutoModelForSeq2SeqLM.from_pretrained("NethranjaliSE/Pali_Sinhala_fine_tune_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 602 Bytes
63cf3a9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | num_beams,length_penalty,bleu,chrf,chrfpp,gen_len
1,1.0,25.2851,50.4356,47.041,6.18
4,0.6,28.3501,52.9937,49.6406,6.02
4,0.8,28.2965,53.021,49.6773,6.09
4,1.0,28.0479,52.9728,49.6035,6.1
4,1.2,27.9719,52.9819,49.5885,6.18
4,1.5,27.6184,52.7561,49.3476,6.21
5,0.6,28.1706,52.8687,49.492,5.96
5,0.8,27.9602,52.9004,49.4943,6.04
5,1.0,27.807,52.896,49.4818,6.08
5,1.2,27.5121,52.8394,49.3992,6.14
5,1.5,27.391,52.7845,49.3389,6.22
8,0.6,28.2752,52.8508,49.5097,5.92
8,0.8,27.8046,52.7198,49.3449,6.01
8,1.0,27.858,52.6489,49.2911,6.04
8,1.2,27.5656,52.5221,49.1541,6.12
8,1.5,27.4824,52.6242,49.2106,6.17
|