Instructions to use Abhi964/MahaPhrase_IndicBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Abhi964/MahaPhrase_IndicBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Abhi964/MahaPhrase_IndicBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Abhi964/MahaPhrase_IndicBERT") model = AutoModelForSequenceClassification.from_pretrained("Abhi964/MahaPhrase_IndicBERT") - Notebooks
- Google Colab
- Kaggle
MahaPhrase_IndicBERT
This model is a fine-tuned version of ai4bharat/indic-bert on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6919
- Accuracy: 0.568
- F1: 0.5673
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 282 | 0.6934 | 0.46 | 0.3547 |
| 0.6943 | 2.0 | 564 | 0.6952 | 0.444 | 0.3075 |
| 0.6943 | 3.0 | 846 | 0.6919 | 0.568 | 0.5673 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.6.0+cu124
- Datasets 3.3.2
- Tokenizers 0.21.0
- Downloads last month
- 1
Model tree for Abhi964/MahaPhrase_IndicBERT
Base model
ai4bharat/indic-bert