How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
# Warning: Pipeline type "translation" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline

pipe = pipeline("translation", model="RohanHBTU/autotrain-t5-hinglish-to-en")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM

tokenizer = AutoTokenizer.from_pretrained("RohanHBTU/autotrain-t5-hinglish-to-en")
model = AutoModelForMultimodalLM.from_pretrained("RohanHBTU/autotrain-t5-hinglish-to-en")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Translation
  • Model ID: 41534106887
  • CO2 Emissions (in grams): 0.0036

Validation Metrics

  • Loss: 1.785
  • SacreBLEU: 24.776
  • Gen len: 9.347
Downloads last month
1
Safetensors
Model size
47.9M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train RohanHBTU/autotrain-t5-hinglish-to-en