nashrah18/indiantranslator
Viewer • Updated • 236 • 8 • 1
How to use nashrah18/indian_translatorv1 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("nashrah18/indian_translatorv1")
model = AutoModelForSeq2SeqLM.from_pretrained("nashrah18/indian_translatorv1", device_map="auto")This model is a fine-tuned version model on indiantranslator dataset. It achieves the following results on the evaluation set:
Solo female tourists in India often face communication barriers due to formal or outdated translations. This can lead to misunderstandings, frustration, and even safety concerns. Therefore, a model designed just for them that translates your english text into hindi colloquial.
batch_size = 16 learning_rate = 5e-5 weight_decay = 0.01 num_train_epochs = 15
The following hyperparameters were used during training:
| Train Loss | Epoch |
|---|---|
| 2.7680 | 0 |
| 1.7672 | 1 |
| 1.2098 | 2 |
| 0.9267 | 3 |
| 0.6953 | 4 |
| 0.5534 | 5 |
| 0.4267 | 6 |
| 0.3309 | 7 |
| 0.2949 | 8 |
| 0.2394 | 9 |
| 0.2157 | 10 |
| 0.1717 | 11 |
| 0.1564 | 12 |
| 0.1278 | 13 |
| 0.1119 | 14 |
Base model
Helsinki-NLP/opus-mt-en-hi