Instructions to use CodeNLP/pdn2_v08_kpwr_ner_n82 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeNLP/pdn2_v08_kpwr_ner_n82 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="CodeNLP/pdn2_v08_kpwr_ner_n82")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("CodeNLP/pdn2_v08_kpwr_ner_n82") model = AutoModel.from_pretrained("CodeNLP/pdn2_v08_kpwr_ner_n82") - Notebooks
- Google Colab
- Kaggle
| author: Michał Marcińczuk, CodeNLP | |
| contact: marcinczuk@gmail.com | |
| description: Model trained on the KPWr corpus recognizes 82 types of nested entities. | |
| reference: https://www.sciencedirect.com/science/article/pii/S1877050921015179 | |
| score: F1=80.29 on the KPWr test subset (micro avg, strict evaluation). | |