 How to use To use the model with the [CAMeL Tools](https://github.com/CAMeL-Lab/camel_tools) NER component: ```python >>> from camel_tools.ner import NERecognizer >>> from camel_tools.tokenizers.word import simple_word_tokenize >>> ner = NERecognizer('CAMeL-Lab/bert-base-arabic-camelbert-da-ner') >>> sentence = simple_word_tokenize('إمارة أبوظبي هي إحدى إمارات دولة الإمارات العربية المتحدة السبع') >>> ner.predict_sentence(sentence) >>> ['O', 'B-LOC', 'O', 'O', 'O', 'O', 'B-LOC', 'I-LOC', 'I-LOC', 'O'] ``` You can also use the NER model directly with a transformers pipeline: ```python >>> from transformers import pipeline >>> ner = pipeline('ner', model='CAMeL-Lab/bert-base-arabic-camelbert-da-ner') >>> ner("إمارة أبوظبي هي إحدى إمارات دولة الإمارات العربية المتحدة السبع") [{'word': 'أبوظبي',   'score': 0.9895730018615723,   'entity': 'B-LOC',   'index': 2,   'start': 6,   'end': 12},  {'word': 'الإمارات',   'score': 0.8156259655952454,   'entity': 'B-LOC',   'index': 8,   'start': 33,   'end': 41},  {'word': 'العربية',   'score': 0.890906810760498,   'entity': 'I-LOC',   'index': 9,   'start': 42,   'end': 49},  {'word': 'المتحدة',   'score': 0.8169114589691162,   'entity': 'I-LOC',   'index': 10,   'start': 50,   'end': 57}] ``` *Note*: to download our models, you would need `transformers>=3.5.0`. Otherwise, you could download the models manually. 