Tiếp theoHướng dẫn tiếp theo
Text Annotation for NER and Classification
Ngôn ngữ AI
HƯỚNG DẪN AI về ngôn ngữ
Phân loại văn bản tự động sắp xếp các đoạn văn bản thành các danh mục, chẳng hạn như gắn thẻ email là thư rác hoặc đánh giá là tích cực.
Nghe hướng dẫn nàyAI thuật lại · ~3 min
It is one of the most widely deployed NLP tasks because it turns messy free text into structured labels a system can act on.
Text classification assigns categories to documents, messages, or other text sequences. Binary classification selects between two labels, such as spam and not spam. Multi-class classification assigns exactly one category from a larger set, while multi-label classification permits several categories for the same example. An article can carry both politics and economy tags without requiring those topics to exclude each other. Sentiment and intent can also be classification targets when the task defines their labels. Representations differ across systems: sparse word-count features and dense learned embeddings are two possibilities. A classifier converts those features into scores associated with the defined labels. Evaluation should match the intended decisions. Accuracy is the fraction of correct predictions, but it can conceal failures on a rare category. If almost every message is ordinary, always predicting ordinary can score highly while missing every relevant spam case. Recall for a designated positive class is true positives divided by all actual positives. Precision instead divides true positives by all predicted positives. In an illustrative evaluation with six true positives and two false positives, precision is six divided by eight, or 75 percent. Those quantities answer different questions. A model can have a useful recall yet flag many irrelevant messages. A further distinction concerns output scores: single-label softmax scores sum to one across mutually exclusive alternatives, whereas a separate sigmoid score for each label permits several labels to score highly together. Neither transformation alone establishes that scores are calibrated estimates of real-world frequency.
Nhà cung cấp dịch vụ email lọc thư rác và thư lừa đảo ra khỏi hộp thư đến của bạn.
Các thương hiệu chạy phân tích cảm xúc về đánh giá sản phẩm và bài đăng trên mạng xã hội để đánh giá tâm trạng của khách hàng.
Bộ phận hỗ trợ tự động định tuyến các phiếu yêu cầu đến đúng nhóm dựa trên nội dung tin nhắn.
Các nền tảng xã hội gắn cờ lời nói căm thù hoặc bình luận độc hại để xem xét kiểm duyệt.
Label descriptions and examples can make it easier to explore a new classification task, but they do not establish consistent performance across domains. Comparing sparse models, dense encoders, and prompted language models can reveal different accuracy, latency, and maintenance tradeoffs. For operational use, evaluation should include rare classes and the consequences of missed or incorrect labels. Changes in language and input sources can also change those results. Report per-class precision and recall where relevant, and assess output calibration separately from the act of assigning a category.
Bản tin miễn phí
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
Phân loại văn bản tự động sắp xếp các đoạn văn bản thành các danh mục, chẳng hạn như gắn thẻ email là thư rác hoặc đánh giá là tích cực. Đây là một trong những nhiệm vụ NLP được triển khai rộng rãi nhất vì nó biến văn bản tự do lộn xộn thành các nhãn có cấu trúc mà hệ thống có thể hoạt động.
The output associates the text with the categories defined by the task.
Phân loại nhiều nhãn cho phép áp dụng đồng thời nhiều danh mục cho cùng một mặt hàng.
Predicting the majority class can yield high accuracy while missing all rare positives, so category-specific evaluation matters.
Thu hồi là tỷ lệ các trường hợp dương tính thực sự mà hệ thống đã xác định chính xác, ghi lại số lượng trường hợp đã bỏ sót.
A zero-shot model can be pretrained or trained on other tasks; the absence concerns task-specific labeled examples.
Tiếp tục học hỏi
Đã chọn thêm hướng dẫn cho chủ đề này
Tiếp theoHướng dẫn tiếp theo
Text Annotation for NER and Classification
Ngôn ngữ AI