Instructions to use rame/en_pipeline_ner_model_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use rame/en_pipeline_ner_model_3 with spaCy:
!pip install https://huggingface.co/rame/en_pipeline_ner_model_3/resolve/main/en_pipeline_ner_model_3-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_pipeline_ner_model_3") # Importing as module. import en_pipeline_ner_model_3 nlp = en_pipeline_ner_model_3.load() - Notebooks
- Google Colab
- Kaggle
Download meta.json from rame/en_pipeline_ner_model_3: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/rame/en_pipeline_ner_model_3/resolve/main/meta.json
- Command line
-
hf download hf://rame/en_pipeline_ner_model_3/meta.json
-
curl -L -o meta.json https://huggingface.co/rame/en_pipeline_ner_model_3/resolve/main/meta.json
1.26 kB
| { | |
| "lang":"en", | |
| "name":"pipeline_ner_model_3", | |
| "version":"0.0.0", | |
| "description":"", | |
| "author":"", | |
| "email":"", | |
| "url":"", | |
| "license":"", | |
| "spacy_version":">=3.7.2,<3.8.0", | |
| "spacy_git_version":"a89eae928", | |
| "vectors":{ | |
| "width":0, | |
| "vectors":0, | |
| "keys":0, | |
| "name":null | |
| }, | |
| "labels":{ | |
| "transformer":[ | |
| ], | |
| "ner":[ | |
| "allergy_name", | |
| "cancer", | |
| "chronic_disease", | |
| "treatment" | |
| ] | |
| }, | |
| "pipeline":[ | |
| "transformer", | |
| "ner" | |
| ], | |
| "components":[ | |
| "transformer", | |
| "ner" | |
| ], | |
| "disabled":[ | |
| ], | |
| "performance":{ | |
| "ents_f":0.9062889518, | |
| "ents_p":0.9080381471, | |
| "ents_r":0.9045464827, | |
| "ents_per_type":{ | |
| "chronic_disease":{ | |
| "p":0.9122222222, | |
| "r":0.9096952909, | |
| "f":0.9109570042 | |
| }, | |
| "treatment":{ | |
| "p":0.9081081081, | |
| "r":0.9022556391, | |
| "f":0.9051724138 | |
| }, | |
| "cancer":{ | |
| "p":0.8951747088, | |
| "r":0.9042016807, | |
| "f":0.8996655518 | |
| }, | |
| "allergy_name":{ | |
| "p":0.908496732, | |
| "r":0.8742138365, | |
| "f":0.891025641 | |
| } | |
| }, | |
| "transformer_loss":2047.9973774288, | |
| "ner_loss":2351.2843037041 | |
| }, | |
| "requirements":[ | |
| "spacy-transformers>=1.3.4,<1.4.0" | |
| ] | |
| } |