File size: 173 Bytes
11236fd
 
 
 
1
2
3
4
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="CAMeL-Lab/bert-base-arabic-camelbert-mix-sentiment")