Instructions to use hjianganthony/en_nerry_rel_trf_sentBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use hjianganthony/en_nerry_rel_trf_sentBert with spaCy:
!pip install https://huggingface.co/hjianganthony/en_nerry_rel_trf_sentBert/resolve/main/en_nerry_rel_trf_sentBert-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_nerry_rel_trf_sentBert") # Importing as module. import en_nerry_rel_trf_sentBert nlp = en_nerry_rel_trf_sentBert.load() - Notebooks
- Google Colab
- Kaggle
RE with transformer (sentence bert)
| Feature | Description |
|---|---|
| Name | en_nerry_rel_trf_sentBert |
| Version | 2.1.0 |
| spaCy | >=3.6.1,<3.7.0 |
| Default Pipeline | transformer, ner, relation_extractor |
| Components | transformer, ner, relation_extractor |
| Vectors | 0 keys, 0 unique vectors (0 dimensions) |
| Sources | n/a |
| License | n/a |
| Author | HjAnthony |
Label Scheme
View label scheme (4 labels for 2 components)
| Component | Labels |
|---|---|
ner |
CRIME, PERSON, PROCECUTION |
relation_extractor |
INVOVLED_IN |
Accuracy
| Type | Score |
|---|---|
ENTS_F |
96.15 |
ENTS_P |
92.59 |
ENTS_R |
100.00 |
REL_MICRO_P |
88.24 |
REL_MICRO_R |
100.00 |
REL_MICRO_F |
93.75 |
TRANSFORMER_LOSS |
0.00 |
RELATION_EXTRACTOR_LOSS |
366.91 |
- Downloads last month
- -
Evaluation results
- NER Precisionself-reported0.926
- NER Recallself-reported1.000
- NER F Scoreself-reported0.962