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("c-tawayip/mt5-small-Multitask-Thai-Text-Generator")
model = AutoModelForSeq2SeqLM.from_pretrained("c-tawayip/mt5-small-Multitask-Thai-Text-Generator", device_map="auto")
Quick Links

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

Check out the documentation for more information.

Text Classification: {text}

Title Summarization: {text}

Abstract Summarization: {text}

Tags Suggestion: {text}

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