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