ArabicNER-Wojood
Collection
4 items โข Updated โข 1
How to use SinaLab/ArabicNER-Wojood with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="SinaLab/ArabicNER-Wojood") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("SinaLab/ArabicNER-Wojood")
model = AutoModelForMaskedLM.from_pretrained("SinaLab/ArabicNER-Wojood")# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("SinaLab/ArabicNER-Wojood")
model = AutoModelForMaskedLM.from_pretrained("SinaLab/ArabicNER-Wojood")Wojood is a corpus for Arabic nested Named Entity Recognition (NER). Nested entities occur when one entity mention is embedded inside another entity mention. 550K tokens (MSA and dialect) This repo contains the source-code to train Wojood nested NER.
Online Demo You can try our model using the demo link below
https://sina.birzeit.edu/wojood/
https://arxiv.org/abs/2205.09651
https://huggingface.co/aubmindlab/bert-base-arabertv2/tree/main
You can test our model using our Google Colab notebooks
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="SinaLab/ArabicNER-Wojood")