How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("abwqr/t5")
model = AutoModelForSeq2SeqLM.from_pretrained("abwqr/t5", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Generates a question of the text

example input: Apples offer numerous health benefits due to their rich nutritional profile. They are packed with dietary fiber, promoting healthy digestion and aiding weight management. Apples are a good source of antioxidants, supporting immune function and reducing the risk of chronic diseases. Regular apple consumption is associated with improved heart health and a lower risk of diabetes.

This text is about the benefits of apple

Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support