How to use mayardelimi/mBert-darija with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mayardelimi/mBert-darija")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("mayardelimi/mBert-darija") model = AutoModelForTokenClassification.from_pretrained("mayardelimi/mBert-darija")
This model is fine-tuned for segmenting text that switches between English, Arabic, French, and Algerian Arabic.
Files info
Base model