from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("faust/broken_t5_squad2")
model = AutoModelForSeq2SeqLM.from_pretrained("faust/broken_t5_squad2")
How to clone the model repo
git lfs install
git clone https://huggingface.co/faust/broken_t5_squad2
# if you want to clone without large files β just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1