Token Classification
Transformers
TensorBoard
Arabic
bert
fill-mask
Named Entity Recognition
Arabic NER
Nested NER
Instructions to use SinaLab/ArabicNER-Wojood with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
issue
#1
by sajanakhleh - opened
i tried to use the model but i got the error while downloding the model:
OSError: SinaLab/ArabicNER-Wojood does not appear to have a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Hi there,
Correct if I am wrong, but you are trying to download the model using HuggingFace API, which will not work. The model structure int his repo is not compatible with HuggingFace API.
You need to clone the repo on your machine, then using our Wojood source code (https://github.com/SinaLab/ArabicNER) you can load it and use it for inference and evaluation.
mohammedkhalilia changed discussion status to closed