from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("laxya007/gpt2_BD_CC_MM_MF")
model = AutoModelWithLMHead.from_pretrained("laxya007/gpt2_BD_CC_MM_MF")
How to clone the model repo
git lfs install
git clone https://huggingface.co/laxya007/gpt2_BD_CC_MM_MF
# 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