Instructions to use idarsh/bhashabridge-nllb-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use idarsh/bhashabridge-nllb-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M") model = PeftModel.from_pretrained(base_model, "idarsh/bhashabridge-nllb-lora") - Transformers
How to use idarsh/bhashabridge-nllb-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("idarsh/bhashabridge-nllb-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bhashabridge-nllb-lora
This model is a fine-tuned version of facebook/nllb-200-distilled-600M on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 6.5647
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
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 26.4122 | 0.5100 | 2000 | 6.5670 |
| 26.4372 | 1.0 | 3922 | 6.5647 |
Framework versions
- PEFT 0.20.0
- Transformers 5.14.1
- Pytorch 2.10.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for idarsh/bhashabridge-nllb-lora
Base model
facebook/nllb-200-distilled-600M