/ Модель

Характеристики

Лицензия
CC BY 4.0
Базовая модель
tulio-chilean-spanish-bert
Библиотека
flair
Опубликована
25 авг 2026

chilean-spanish-attitude-types-flair-tulio

Разметка токеновТекст → label3 профессии
9скачиваний за 30 дней0лайковвеса обновлены25 авг 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Теггер Flair для выделения эмоций, суждений и оценок в текстах на чилийском испанском.

Модель jorgeortizfuentes/chilean-spanish-attitude-types-flair-tulio — теггер Flair на архитектуре BiLSTM-CRF, разработанный для разметки оценочных высказываний в текстах на чилийском испанском. Она выделяет BIO-тегами три категории теории оценки: эмоцию (Affect), оценку поведения (Judgment) и оценку явлений (Appreciation), а также метки O для фрагментов без этих категорий. Для токенизации используются fastText-векторы испанского языка, контекстные строковые эмбеддинги Flair es-forward и es-backward, а также TULIO с объединением представления первого субтокена. Модель дообучена на корпусе чилийского испанского Attitude Corpus и выпущена как запуск с seed 42.

Модель подходит для исследовательской разметки оценочного языка и сравнения методов анализа по фиксированным разбиениям корпуса. На тестовой выборке из 382 текстов строгая F1-метрика по границам и классу составила 0,554; результаты заметно ниже согласия экспертов. Обучающие данные преимущественно состоят из публикаций Twitter за 2010–2022 годы. Качество на других жанрах и разновидностях испанского не установлено. Корпус доступен только для некоммерческих исследований, тогда как веса модели не ограничены этим гейтом. Лицензия весов — CC BY 4.0.

Сценарии применения

  • разметка эмоций в чилийских публикациях
  • выделение оценок поведения людей в испаноязычных текстах
  • поиск оценок явлений и событий в чилийском испанском
  • подготовка последовательной разметки для исследований теории оценки
  • сравнение моделей анализа оценочного языка на фиксированном тестовом наборе

Ограничения

Строгая F1-мера на тестовой выборке равна 0,554 и ниже согласия экспертов; качество переноса на другие жанры и разновидности испанского не установлено. Модель обучалась преимущественно на публикациях Twitter, содержащих оскорбления, язык ненависти и угрозы, и не предназначена для модерации, профилирования людей или принятия решений о них.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Attitude Types — Flair BiLSTM-CRF (Chilean Spanish)

This model tags the three Attitude types of Appraisal Theory in Systemic Functional Linguistics: Affect, Judgment and Appreciation. It is a Flair BiLSTM-CRF tagger over stacked embeddings: Spanish fastText vectors, the es-forward and es-backward contextual string embeddings, and TULIO with first-subtoken pooling, fine-tuned on the Chilean Spanish Attitude Corpus, and it is the flair entry for Attitude Types in Table 3 of the accompanying paper. The released weights are the seed-42 run whose predictions produce the value printed there.

Content warning. The training corpus was collected around episodes of political conflict in Chile and contains insults, hate speech and threats. The model was fitted on that language and will reproduce its distribution.

Labels

The model emits BIO token labels over the classes affect, appreciation, judgment, plus O. A span is a maximal contiguous run of the same non-O class.

Usage

from flair.data import Sentence
from flair.models import SequenceTagger

tagger = SequenceTagger.load("jorgeortizfuentes/chilean-spanish-attitude-types-flair-tulio")

sentence = Sentence("Ese diputado es un sinvergüenza y el proyecto es lamentable.")
tagger.predict(sentence)
for span in sentence.get_spans("ner"):
    print(span.text, span.get_label("ner").value, span.score)

The tagger emits BIO tags under the internal label type ner, which is the name Flair used during training; the labels themselves are the Attitude categories, not named entities. Flair applies its own tokenizer to a raw string. To reproduce the reported scores, build the Sentence from the corpus tokens with Sentence(tokens) instead of from raw text.

Evaluation

Scores are strict span level: a predicted span counts only when its class and both boundaries match the gold span. They come from the 382-text test split of the corpus, recomputed from the saved predictions of this run.

QuantityValue
Observed run (seed 42), micro F10.554
Observed run, micro precision / recall0.561 / 0.547
Three retrainings (seeds 1, 2, 3), mean ± SD0.537 ± 0.008
Per-seed F10.532, 0.545, 0.533
Expert span-level agreement on this task0.719

The three retrainings change only the seed. Their spread describes run-to-run variation of the recipe, not the uncertainty of this checkpoint, and it is not a significance test. The released weights are the seed-42 run, so its F1 is the one this file reproduces.

Every score stays below expert agreement. The task is not solved.

Per class

LabelPrecisionRecallF1Gold spans
affect0.5890.4120.48580
appreciation0.5090.5200.515375
judgment0.5970.5880.592507

Training data

The corpus holds 2,546 Chilean Spanish texts annotated by three linguists trained in SFL, split 1,782 / 382 / 382. It is gated: the source texts are public posts whose authors did not consent to redistribution, so access is granted for non-commercial research under the corpus LICENSE. The weights released here are not gated; they do not redistribute the texts.

The corpus is dominated by tweets (2,420 of 2,546 texts). Letters to the editor, opinion columns and consumer complaints are present in small numbers.

Training configuration

Base model: dccuchile/tulio-chilean-spanish-bert (DOI 10.57967/hf/1846).

ParameterValue
label_typeattitude_tags
embedding_typecombined
bert_modeldccuchile/tulio-chilean-spanish-bert
max_epochs100
learning_rate0.1
bert_learning_rate2e-05
mini_batch_size16
eval_batch_size16
patience3
anneal_factor0.5
hidden_size128
seed42
use_crfTrue
label_encodingBIO
best_model_metricstrict_span_level_micro_f1

Validation scores of this run: accuracy 0.8802, f1 0.5554, precision 0.5793, recall 0.5333.

Intended use

Research on Appraisal, span-level sequence labeling and evaluative language in Chilean Spanish. The fixed splits allow comparison with the paper.

It is not fit for moderating users, profiling individuals, making decisions about people, or as a general-purpose sentiment classifier. Attitude analysis identifies evaluative language and its category; it does not identify who is right, and a Judgment label is not a finding about the person being judged.

Limitations

Scores are far below what sequence labeling reaches on more established tasks, and below the agreement of the experts who annotated the data. Judgment Subtypes is the harder of the two tasks for every architecture tested.

The model was trained on Chilean Spanish from 2010–2022, mostly Twitter. Under Twitter-only training, both supervised architectures in the paper score lower outside Twitter, particularly on Judgment Subtypes; cross-genre transfer is not established. Performance on other varieties of Spanish is untested.

Provenance

FieldValue
Task column in the corpusattitude_tags
Hyperparameter setcombined4_reduced_flair
Seed42
Selectionbest validation F1 during training
Predictions behind the reported scoreresults/flair/flair_combined_dccuchile_tulio-chilean-spanish-bert_attitude_tags_combined4_reduced_flair_predictions.parquet in the code repository
FileBytesSHA-256
pytorch_model.bin1,915,642,923ae1301a82d70878a…

Citation

@inproceedings{ortizfuentes-attitude-2026,
  title     = {Attitude Analysis in Systemic Functional Linguistics: A New Corpus and Benchmark Task},
  author    = {Ortiz-Fuentes, Jorge and Bravo-Marquez, Felipe and Quiroz, Beatriz},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2026},
  year      = {2026},
  note      = {To appear}
}

Cite TULIO as well when you use this model; the encoder is dccuchile/tulio-chilean-spanish-bert.

License

The fine-tuned weights are released under CC BY 4.0, the license declared by the TULIO encoder they derive from. The training corpus keeps its own license and access conditions.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · flair

Нельзя запустить

Модели Flair требуют отдельного рантайма.

Ревизия весов
617c19d

0 моделей