Babelscape / cner-base

huggingface.co
Total runs: 5
24-hour runs: -2
7-day runs: -2
30-day runs: -2
Model's Last Updated: June 18 2024
token-classification

Introduction of cner-base

Model Details of cner-base

CNER: Concept and Named Entity Recognition

This is the model card for the NAACL 2024 paper CNER: Concept and Named Entity Recognition . We fine-tuned a language model (DeBERTa-v3-base) for 1 epoch on our CNER dataset using the default hyperparameters, optimizer and architecture of Hugging Face, therefore the results of this model may differ from the ones presented in the paper. The resulting CNER model is able to jointly identifying and classifying concepts and named entities with fine-grained tags.

If you use the model, please reference this work in your paper :

@inproceedings{martinelli-etal-2024-cner,
    title = "{CNER}: Concept and Named Entity Recognition",
    author = "Martinelli, Giuliano  and
      Molfese, Francesco  and
      Tedeschi, Simone  and
      Fern{\'a}ndez-Castro, Alberte  and
      Navigli, Roberto",
    editor = "Duh, Kevin  and
      Gomez, Helena  and
      Bethard, Steven",
    booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.naacl-long.461",
    pages = "8329--8344",
}

The original repository for the paper can be found at https://github.com/Babelscape/cner .

How to use

You can use this model with Transformers NER pipeline .

from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline

tokenizer = AutoTokenizer.from_pretrained("Babelscape/cner-model")
model = AutoModelForTokenClassification.from_pretrained("Babelscape/cner-model")

nlp = pipeline("ner", model=model, tokenizer=tokenizer, grouped_entities=True)
example = "What is the seventh tallest mountain in North America?"

ner_results = nlp(example)
print(ner_results)
Classes
drawing
Licensing Information

Contents of this repository are restricted to only non-commercial research purposes under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) . Copyright of the dataset contents and models belongs to the original copyright holders.

microsoft/deberta-v3-base is released under the MIT license .

Runs of Babelscape cner-base on huggingface.co

5
Total runs
-2
24-hour runs
-3
3-day runs
-2
7-day runs
-2
30-day runs

More Information About cner-base huggingface.co Model

cner-base huggingface.co

cner-base huggingface.co is an AI model on huggingface.co that provides cner-base's model effect (), which can be used instantly with this Babelscape cner-base model. huggingface.co supports a free trial of the cner-base model, and also provides paid use of the cner-base. Support call cner-base model through api, including Node.js, Python, http.

Babelscape cner-base online free

cner-base huggingface.co is an online trial and call api platform, which integrates cner-base's modeling effects, including api services, and provides a free online trial of cner-base, you can try cner-base online for free by clicking the link below.

Babelscape cner-base online free url in huggingface.co:

https://huggingface.co/Babelscape/cner-base

cner-base install

cner-base is an open source model from GitHub that offers a free installation service, and any user can find cner-base on GitHub to install. At the same time, huggingface.co provides the effect of cner-base install, users can directly use cner-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

cner-base install url in huggingface.co:

https://huggingface.co/Babelscape/cner-base

Url of cner-base

Provider of cner-base huggingface.co

Babelscape
ORGANIZATIONS

Other API from Babelscape

huggingface.co

Total runs: 35
Run Growth: 34
Growth Rate: 97.14%
Updated:December 13 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 29 2024