ner-spanish-large

ner-spanish-large

flair

Spanish Named Entity Recognition model using XLM-RoBERTa architecture. Achieves 90.54% F1-score on CoNLL-03 Spanish, identifying PER, LOC, ORG, and MISC entities.

PropertyValue
Authorflair
Performance90.54% F1-Score (CoNLL-03 Spanish)
Base ArchitectureXLM-RoBERTa Large with FLERT
PaperFLERT: Document-Level Features for Named Entity Recognition (2020)

What is ner-spanish-large?

ner-spanish-large is a sophisticated Named Entity Recognition model specifically designed for Spanish text processing. Built on the XLM-RoBERTa architecture and enhanced with FLERT (Document-Level Features for Named Entity Recognition), this model excels at identifying four distinct types of entities: persons (PER), locations (LOC), organizations (ORG), and miscellaneous names (MISC).

Implementation Details

The model leverages document-level XLM-R embeddings and implements the FLERT approach for enhanced contextual understanding. It's trained using a bare-bones sequence tagger without CRF or RNN layers, utilizing AdamW optimizer with careful hyperparameter tuning.

  • Fine-tunable transformer embeddings with document context
  • Hidden size of 256 dimensions
  • Optimized with AdamW and OneCycleLR scheduler
  • Trained for 20 epochs with a learning rate of 5.0e-6

Core Capabilities

  • High-accuracy entity detection with 90.54% F1-score
  • Robust Spanish language understanding
  • Real-time entity classification into four categories
  • Easy integration through the Flair library

Frequently Asked Questions

Q: What makes this model unique?

This model's uniqueness lies in its use of document-level features through FLERT architecture and its optimization for Spanish NER tasks, achieving state-of-the-art performance while maintaining efficient processing capabilities.

Q: What are the recommended use cases?

The model is ideal for Spanish text analysis tasks requiring named entity recognition, including information extraction, document processing, and automated content analysis. It's particularly effective for applications needing accurate identification of people, locations, organizations, and miscellaneous entities in Spanish text.

Socials
PromptLayer
Company
All services online
Location IconPromptLayer is located in the heart of New York City
PromptLayer © 2026