ehovy/race
Viewer • Updated • 195k • 18.5k • 70
How to use russab0/distilbert-qa with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultipleChoice
tokenizer = AutoTokenizer.from_pretrained("russab0/distilbert-qa")
model = AutoModelForMultipleChoice.from_pretrained("russab0/distilbert-qa")YAML Metadata Error:"language" with value "english" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.