tokenizer = AutoTokenizer.from_pretrained("google/mt5-small")</br>
config = AutoConfig.from_pretrained("Leonardolin/mt5-NTCIR17-3classification") </br>
model = MT5ForConditionalGeneration.from_pretrained("Leonardolin/mt5-NTCIR17-3classification", config = config,).to(device)
{"language": ["zh"]}
transformers pytorch mt5 text2text-generation zh autotrain_compatible endpoints_compatible text-generation-inference region:us
TAGS
#transformers #pytorch #mt5 #text2text-generation #zh #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 

tokenizer = AutoTokenizer.from_pretrained("google/mt5-small")</br>
config = AutoConfig.from_pretrained("Leonardolin/mt5-NTCIR17-3classification") </br>
model = MT5ForConditionalGeneration.from_pretrained("Leonardolin/mt5-NTCIR17-3classification", config = config,).to(device)
TAGS
#transformers #pytorch #mt5 #text2text-generation #zh #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 
