Chuyển đến nội dung

Phân loại văn bản và phân tích cảm xúc

Gán nhãn định trước cho một đoạn văn bản

đầu vàoVăn bảnVăn bản

Toàn văn của trang này được trình bày bằng tiếng Anh; tiêu đề và phần dẫn đã được bản địa hóa.

Năng lực này nghĩa là gì

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.

Làm ra sao về mặt kỹ thuật

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.

Sản phẩm tiêu biểu

5

OpenAI

GPT-4o

Mô hình đa phương thức gốc, xử lý văn bản, hình ảnh và âm thanh qua một cửa vào

4Năng lực
Mô hình Đóng
Văn bảnHình ảnhÂm thanhVăn bảnÂm thanh
2024

Alibaba (Qwen)

Qwen

Dòng trọng số mở với nhiều kích cỡ và bản đa phương thức

4Năng lực
Mô hình Trọng số mở
Văn bảnHình ảnhVăn bản
2023

Tencent (Hunyuan)

Hunyuan

Dòng mô hình phổ thông của Tencent, có bản trọng số mở

4Năng lực
Mô hình Trọng số mở
Văn bảnHình ảnhVăn bản
2023

Baidu

ERNIE

Mô hình tiếng Trung khởi đầu bằng tiền huấn luyện tăng cường tri thức, bản đầu tiên tiêu biểu

3Năng lực
Mô hình Đóng
Văn bảnVăn bản
2019

Google DeepMind

Gemini

Một cửa vào trò chuyện gom tìm kiếm, ứng dụng văn phòng và mô hình đa phương thức

4Năng lực
Ứng dụng Freemium
Văn bảnHình ảnhÂm thanhVăn bảnHình ảnhÂm thanh
2024

Tổ chức liên quan

Cách dùng tiêu biểu

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

Đánh giá nó tốt hay không thế nào

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

Ranh giới và điểm khó

  • 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

Các khái niệm đằng sau

Xử lý ngôn ngữ tự nhiên và mô hình ngôn ngữ lớn

Nhúng từ (Word Embeddings)Cơ bản

Biến từ thành tọa độ: từ đồng nghĩa tự tụ lại và ý nghĩa lần đầu có thể cộng trừ

4Liên kết
Hình minh họa 1 · Dữ liệu 2