Sorry, I realized my mistake. It should have been like this:
tokenizer = AutoTokenizer.from_pretrained…
model = AutoModelWithLMHead.from_pretraine…
Снимок экрана 2020-12-16 095902861×418 54.3 KB
“If nothing works, then read the instructions”