How to use Exscientia/IgBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Exscientia/IgBert")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Exscientia/IgBert") model = AutoModelForMaskedLM.from_pretrained("Exscientia/IgBert")
I would like to calculate the CDR AAR appeared in your paper. Would you please show me how to do it with BertForMaskedLM?
· Sign up or log in to comment