Aller au contenu

Classification de texte et analyse de sentiment

Attribuer une étiquette prédéfinie à un texte

entréeTexteTexte

Le texte intégral est présenté en anglais ; le titre et le résumé sont localisés.

Ce que désigne cette capacité

Takes a piece of text and outputs its category — sentiment polarity, topic, intent or policy violation. The label set is fixed at training time, so it answers which class rather than what is said. A single text can carry several labels, and the model can also emit a probability distribution over the label set.

Comment c'est fait

Early systems paired bag-of-words with linear classifiers; fine-tuning a pre-trained encoder such as the BERT family later became the standard when labelled data is scarce. A classification head sits on top of the encoder and is trained with cross-entropy. With many labels and few examples, it can be recast as sentence-pair entailment or done zero-shot by prompting a large model.

Produits représentatifs

5

OpenAI

GPT-4o

Un modèle général nativement multimodal : texte, image et audio par une même entrée

4Capac.
Modèle Fermé
TexteImageAudioTexteAudio
2024

Alibaba (Qwen)

Qwen

Une famille à poids ouverts couvrant de nombreuses tailles, avec des versions multimodales

4Capac.
Modèle Poids ouverts
TexteImageTexte
2023

Tencent (Hunyuan)

Hunyuan

La famille de modèles généraux de Tencent, avec des versions à poids ouverts

4Capac.
Modèle Poids ouverts
TexteImageTexte
2023

Baidu

ERNIE

Un modèle chinois parti d’un préentraînement enrichi par la connaissance, version phare précoce

3Capac.
Modèle Fermé
TexteTexte
2019

Google DeepMind

Gemini

Une entrée de discussion qui réunit recherche, bureautique et modèle multimodal

4Capac.
Application Freemium
TexteImageAudioTexteImageAudio
2024

Organisations concernées

Usages typiques

  • Sentiment polarity of reviews and public opinion
  • Spam and policy-violation filtering
  • Routing tickets by topic and priority
  • Intent detection to drive dialogue

Comment on l'évalue

F1
Harmonic mean of precision and recall; more trustworthy than accuracy under imbalance
ROC-AUC
Ranking quality, threshold-independent
Confusion matrix
Per-class error direction, to locate systematic bias

Limites et points difficiles

  • Under heavy class imbalance, minority classes are ignored while accuracy still looks high
  • Wording drift outside the training domain degrades predictions
  • Sarcasm, negation and double negation are often flipped, since the literal words point the other way

Concepts sous-jacents

Apprentissage automatique

Apprentissage superviséDébutant

Des paires question-réponse apprennent au modèle à répondre seul

4Liés
Figures 1 · Données 1

TAL et grands modèles de langage

Plongements de motsDébutant

Transformer les mots en coordonnées : les synonymes se rapprochent et le sens devient une grandeur que l’on peut additionner

4Liés
Figures 1 · Données 2