How to use tals/roberta_python with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="tals/roberta_python")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("tals/roberta_python") model = AutoModelForMaskedLM.from_pretrained("tals/roberta_python")
What is a pickle import?
How to fix it?