Instructions to use shanjivkr/catla-indictrans2-en2bn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shanjivkr/catla-indictrans2-en2bn with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("ai4bharat/indictrans2-en-indic-1B") model = PeftModel.from_pretrained(base_model, "shanjivkr/catla-indictrans2-en2bn") - Transformers
How to use shanjivkr/catla-indictrans2-en2bn with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shanjivkr/catla-indictrans2-en2bn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
catla-indictrans2-en2bn
This model is a fine-tuned version of ai4bharat/indictrans2-en-indic-1B on the None dataset. It achieves the following results on the evaluation set:
- Loss: 3.5470
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.0002
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 32
- 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
- num_epochs: 1.0
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.4153 | 0.1067 | 500 | 4.1825 |
| 4.2069 | 0.2133 | 1000 | 4.0355 |
| 4.1409 | 0.32 | 1500 | 3.9560 |
| 4.0292 | 0.4267 | 2000 | 3.8600 |
| 3.9641 | 0.5333 | 2500 | 3.7483 |
| 3.8591 | 0.64 | 3000 | 3.6705 |
| 3.7823 | 0.7467 | 3500 | 3.6218 |
| 3.7820 | 0.8533 | 4000 | 3.5755 |
| 3.7864 | 0.96 | 4500 | 3.5470 |
Framework versions
- PEFT 0.19.1
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 16
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for shanjivkr/catla-indictrans2-en2bn
Base model
ai4bharat/indictrans2-en-indic-1B