Run this model with HF Jobs
Run chcaa/da_dacy_large_ner_fine_grained on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/chcaa/da_dacy_large_ner_fine_grained. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/chcaa/da_dacy_large_ner_fine_grained on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use chcaa/da_dacy_large_ner_fine_grained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use chcaa/da_dacy_large_ner_fine_grained with spaCy:
!pip install https://huggingface.co/chcaa/da_dacy_large_ner_fine_grained/resolve/main/da_dacy_large_ner_fine_grained-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("da_dacy_large_ner_fine_grained") # Importing as module. import da_dacy_large_ner_fine_grained nlp = da_dacy_large_ner_fine_grained.load() - Notebooks
- Google Colab
- Kaggle
DaCy_large_ner_fine_grained
DaCy is a Danish language processing framework with state-of-the-art pipelines as well as functionality for analyzing Danish pipelines (Enevoldsen et al.,2021). At the time of publishing this model, also included in DaCy encorporates the only models for fine-grained NER using DANSK dataset - a dataset containing 18 annotation types in the same format as Ontonotes. Moreover, DaCy's largest pipeline has achieved State-of-the-Art performance on Named entity recognition, part-of-speech tagging and dependency parsing for Danish on the DaNE dataset. Check out the DaCy repository for material on how to use DaCy and reproduce the results. DaCy also contains guides on usage of the package as well as behavioural test for biases and robustness of Danish NLP pipelines.
For information about the use of this model as well as guides to its use, please refer to DaCys documentation.
| Feature | Description |
|---|---|
| Name | da_dacy_large_ner_fine_grained |
| Version | 0.1.0 |
| spaCy | >=3.5.0,<3.6.0 |
| Default Pipeline | transformer, ner |
| Components | transformer, ner |
| Vectors | 0 keys, 0 unique vectors (0 dimensions) |
| Sources | DANSK - Danish Annotations for NLP Specific TasKs (chcaa) chcaa/dfm-encoder-large-v1 (CHCAA) |
| License | apache-2.0 |
| Author | Centre for Humanities Computing Aarhus |
Label Scheme
View label scheme (18 labels for 1 components)
| Component | Labels |
|---|---|
ner |
CARDINAL, DATE, EVENT, FACILITY, GPE, LANGUAGE, LAW, LOCATION, MONEY, NORP, ORDINAL, ORGANIZATION, PERCENT, PERSON, PRODUCT, QUANTITY, TIME, WORK OF ART |
Accuracy
| Type | Score |
|---|---|
ENTS_F |
82.32 |
ENTS_P |
81.30 |
ENTS_R |
83.37 |
TRANSFORMER_LOSS |
41138.73 |
NER_LOSS |
103772.53 |
Training
For progression in loss and performance on the dev set during training, please refer to the Weights and Biases run, HERE
References
Enevoldsen, K., Hansen, L., & Nielbo, K. L. (2021). DaCy: A Unified Framework for Danish NLP. https://ceur-ws.org/Vol-2989/short_paper24.pdf
- Downloads last month
- 42
Collection including chcaa/da_dacy_large_ner_fine_grained
Evaluation results
- NER Precisionself-reported0.813
- NER Recallself-reported0.834
- NER F Scoreself-reported0.823