How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, BertForFewRelZeroShot

tokenizer = AutoTokenizer.from_pretrained("bstds/fewshot_re_bert", trust_remote_code=True)
model = BertForFewRelZeroShot.from_pretrained("bstds/fewshot_re_bert", trust_remote_code=True)
Quick Links

No model card

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support