Instructions to use ArchishSkyllect/byt5-gujarati with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ArchishSkyllect/byt5-gujarati with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/byt5-small") model = PeftModel.from_pretrained(base_model, "ArchishSkyllect/byt5-gujarati") - Transformers
How to use ArchishSkyllect/byt5-gujarati with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ArchishSkyllect/byt5-gujarati", device_map="auto") - Notebooks
- Google Colab
- Kaggle
byt5-gujarati
This model is a fine-tuned version of google/byt5-small on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.7623
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.0003
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.2882 | 0.3232 | 500 | 0.9195 |
| 1.1183 | 0.6464 | 1000 | 0.8354 |
| 1.0645 | 0.9696 | 1500 | 0.8104 |
| 1.031 | 1.2928 | 2000 | 0.7967 |
| 1.0119 | 1.6160 | 2500 | 0.7836 |
| 0.9949 | 1.9392 | 3000 | 0.7755 |
| 0.9834 | 2.2624 | 3500 | 0.7700 |
| 0.986 | 2.5856 | 4000 | 0.7651 |
| 0.9815 | 2.9089 | 4500 | 0.7623 |
Framework versions
- PEFT 0.17.1
- Transformers 4.57.1
- Pytorch 2.8.0+cu126
- Datasets 4.4.2
- Tokenizers 0.22.1
- Downloads last month
- 19
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for ArchishSkyllect/byt5-gujarati
Base model
google/byt5-small