Downloads · 30 days
36
8% of all-time downloads
rvv-karma/English2Hinglish-Flan-T5-Base
English2Hinglish-Flan-T5-Base is a text generation model from rvv-karma. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a finetuned model of google/flan-t5-base with rvv-karma/English-Hinglish-TOP dataset.
Downloads · 30 days
36
8% of all-time downloads
All-time downloads
475
Public
Parameters
248M
15.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors990 MB · 100%
From the Hugging Face model README
This is a finetuned model of google/flan-t5-base with rvv-karma/English-Hinglish-TOP dataset.
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_name = "rvv-karma/English2Hinglish-Flan-T5-Base"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
input_text = "What are you doing?"
input_ids = tokenizer(input_text, return_tensors="pt")
output_ids = model.generate(**input_ids)
output_text = tokenizer.decode(output_ids[0], skip_special_tokens=True)
print(output_text)