Problem: Result from the NER prediction

#1
by ffkharbat - opened

from camel_tools.ner import NERecognizer

s="المزمنة الأمراض"
print(s)
from transformers import pipeline
ner = pipeline('ner', model='CAMeL-Lab/bert-base-arabic-camelbert-mix-ner')
prediction=ner(s)

the result of the prediction is []
Can anyone help?

from camel_tools.ner import NERecognizer

s="المزمنة الأمراض"
print(s)
from transformers import pipeline
ner = pipeline('ner', model='CAMeL-Lab/bert-base-arabic-camelbert-mix-ner')
prediction=ner(s)

the result of the prediction is []
Can anyone help?

This is very late, but I don't think there are any named entities in the text. The text literally says "chronic diseases". There are no named entities here (e.g. people, organizations, places, etc).

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment