Instructions to use rame/en_pipeline_ner_model_4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use rame/en_pipeline_ner_model_4 with spaCy:
!pip install https://huggingface.co/rame/en_pipeline_ner_model_4/resolve/main/en_pipeline_ner_model_4-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_pipeline_ner_model_4") # Importing as module. import en_pipeline_ner_model_4 nlp = en_pipeline_ner_model_4.load() - Notebooks
- Google Colab
- Kaggle
Download meta.json from rame/en_pipeline_ner_model_4: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/rame/en_pipeline_ner_model_4/resolve/main/meta.json
- Command line
-
hf download hf://rame/en_pipeline_ner_model_4/meta.json
-
curl -L -o meta.json https://huggingface.co/rame/en_pipeline_ner_model_4/resolve/main/meta.json
1.26 kB
| { | |
| "lang":"en", | |
| "name":"pipeline_ner_model_4", | |
| "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.7670476941, | |
| "ents_p":0.7673501577, | |
| "ents_r":0.7667454689, | |
| "ents_per_type":{ | |
| "cancer":{ | |
| "p":0.7421790723, | |
| "r":0.719665272, | |
| "f":0.7307488051 | |
| }, | |
| "chronic_disease":{ | |
| "p":0.7793103448, | |
| "r":0.7727124715, | |
| "f":0.7759973839 | |
| }, | |
| "treatment":{ | |
| "p":0.7662565905, | |
| "r":0.7758007117, | |
| "f":0.7709991158 | |
| }, | |
| "allergy_name":{ | |
| "p":0.7252252252, | |
| "r":0.7488372093, | |
| "f":0.7368421053 | |
| } | |
| }, | |
| "transformer_loss":6550.9991332693, | |
| "ner_loss":8207.0539763389 | |
| }, | |
| "requirements":[ | |
| "spacy-transformers>=1.3.4,<1.4.0" | |
| ] | |
| } |