from transformers import AutoTokenizer, BertForMultiLabelClassification
tokenizer = AutoTokenizer.from_pretrained("monologg/bert-base-cased-goemotions-original")
model = BertForMultiLabelClassification.from_pretrained("monologg/bert-base-cased-goemotions-original")
How to clone the model repo
git lfs install
git clone https://huggingface.co/monologg/bert-base-cased-goemotions-original
# 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