fa93f59
1
2
3
4
5
from transformers import pipeline model = "<название-вашей-модели>" tokenizer = "<токенизатор-для-модели>" pipe = pipeline('text-classification', model=model, tokenizer=tokenizer)