Instructions to use marefa-nlp/marefa-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marefa-nlp/marefa-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="marefa-nlp/marefa-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("marefa-nlp/marefa-ner") model = AutoModelForTokenClassification.from_pretrained("marefa-nlp/marefa-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update README with a new banner
9715002 -
upload tebyan banner
0bd57cf -
update README
5fb9d14
-
update README
5e0f4a2 -
update NER model
7b4a7f9 -
update NER model
aaebb3e
-
fix return type of the [_extract_ner] function
1964770 -
fix some typos
90a87ad -
Use an Arabic Segmentation Tool + Support the new Transformer Pipeline
ed4077f
-
support new transformers pipeline version
eb7765b
-
Update config.json
d46684a -
update tokenizer resources
1985fca -
update tokenizer file
e69a1be -
Update tokenizer_config.json
776286a
-
Fix output logs
9fdcb45 -
Disable Prediction INFO Logs
3865e8b
-
Update README.md
6f43d50 -
Provide a notebook for quick using
3ad8179 -
fix tab issue
0c9c4a0 -
Update the documentation
976743f -
Update README.md
98ce57c -
Version-1.2
7b25d84
-
Update README.md
b072ea0 -
Update Inference code
eff476a -
Update config.json
6b1a728
-
Update README.md
8845411 -
remove optimizer.pt
4949bcf -
v-1.0.1
2b4990c
-
sort ner results
716cad6 -
remove unused command
93a39b2 -
fix [grouped_entities] output
2bb1643
-
Update README.md
dde5302
-
Update README.md
f19418d -
Update README with Acknowledgment list
80c9ed0
-
fix README
6f1a7d1 -
upload the first version
7c71c1b -
initial commit
459635e