xlm-roberta-large-ner-hrl
is a
Named Entity Recognition
model for 10 high resourced languages (Arabic, German, English, Spanish, French, Italian, Latvian, Dutch, Portuguese and Chinese) based on a fine-tuned XLM-RoBERTa large model. It has been trained to recognize three types of entities: location (LOC), organizations (ORG), and person (PER).
Specifically, this model is a
xlm-roberta-large
model that was fine-tuned on an aggregation of 10 high-resourced languages
Intended uses & limitations
How to use
You can use this model with Transformers
pipeline
for NER.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("Davlan/xlm-roberta-large-ner-hrl")
model = AutoModelForTokenClassification.from_pretrained("Davlan/xlm-roberta-large-ner-hrl")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Nader Jokhadar had given Syria the lead with a well-struck header in the seventh minute."
ner_results = nlp(example)
print(ner_results)
Limitations and bias
This model is limited by its training dataset of entity-annotated news articles from a specific span of time. This may not generalize well for all use cases in different domains.
The training dataset distinguishes between the beginning and continuation of an entity so that if there are back-to-back entities of the same type, the model can output where the second entity begins. As in the dataset, each token will be classified as one of the following classes:
Abbreviation
Description
O
Outside of a named entity
B-PER
Beginning of a person’s name right after another person’s name
I-PER
Person’s name
B-ORG
Beginning of an organisation right after another organisation
I-ORG
Organisation
B-LOC
Beginning of a location right after another location
I-LOC
Location
Training procedure
This model was trained on NVIDIA V100 GPU with recommended hyperparameters from HuggingFace code.
Runs of Davlan xlm-roberta-large-ner-hrl on huggingface.co
50.4K
Total runs
0
24-hour runs
851
3-day runs
4.1K
7-day runs
18.3K
30-day runs
More Information About xlm-roberta-large-ner-hrl huggingface.co Model
More xlm-roberta-large-ner-hrl license Visit here:
xlm-roberta-large-ner-hrl huggingface.co is an AI model on huggingface.co that provides xlm-roberta-large-ner-hrl's model effect (), which can be used instantly with this Davlan xlm-roberta-large-ner-hrl model. huggingface.co supports a free trial of the xlm-roberta-large-ner-hrl model, and also provides paid use of the xlm-roberta-large-ner-hrl. Support call xlm-roberta-large-ner-hrl model through api, including Node.js, Python, http.
xlm-roberta-large-ner-hrl huggingface.co is an online trial and call api platform, which integrates xlm-roberta-large-ner-hrl's modeling effects, including api services, and provides a free online trial of xlm-roberta-large-ner-hrl, you can try xlm-roberta-large-ner-hrl online for free by clicking the link below.
Davlan xlm-roberta-large-ner-hrl online free url in huggingface.co:
xlm-roberta-large-ner-hrl is an open source model from GitHub that offers a free installation service, and any user can find xlm-roberta-large-ner-hrl on GitHub to install. At the same time, huggingface.co provides the effect of xlm-roberta-large-ner-hrl install, users can directly use xlm-roberta-large-ner-hrl installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
xlm-roberta-large-ner-hrl install url in huggingface.co: