from transformers import AutoTokenizer, MT5ForConditionalGeneration import streamlit as st model = MT5ForConditionalGeneration.from_pretrained("google/mt5-base") st.write(model)