Ấn ĐộAnubhavGupta3377/Text-Classification-Models-Pytorch
Implementation of State-of-the-art Text Classification Models in Pytorch
📚 Bộ sưu tập 7 mô hình phân loại văn bản thế hệ mới bằng PyTorch
Một repo tham khảo toàn diện cho NLP, cài đặt nhanh nhiều kiến trúc state-of-the-art chỉ bằng PyTorch.
Đây là một dự án mã nguồn mở cài đặt lại 7 mô hình phân loại văn bản hiện đại nhất hiện nay bằng PyTorch, bao gồm cả các kiến trúc dựa trên CNN, RNN, attention và transformer. Dự án hỗ trợ chạy thử nghiệm trên hai bộ dữ liệu AG News và Query Well-formedness với bảng kết quả so sánh accuracy và thời gian chạy.
✨ Điểm nổi bật
- fastText: Mô hình dựa trên trang giấy "Bag of Tricks for Efficient Text Classification".
- TextCNN: CNN dùng cho phân loại câu như trong "Convolutional Neural Networks for Sentence Classification".
- TextRNN: Mạng LSTM hai chiều cho phân loại văn bản.
- RCNN: Kết hợp RNN và CNN theo "Recurrent Convolutional Neural Networks for Text Classification".
- CharCNN: Mạng CNN ở mức ký tự theo "Character-level Convolutional Networks for Text Classification".
- Seq2seq With Attention: Mô hình seq2seq với cơ chế attention từ "Neural Machine Translation by Jointly Learning to Align and Translate".
- Transformer: Kiến trúc transformer từ "Attention Is All You Need".
💡 Vì sao đáng chú ý
Dự án cung cấp đầy đủ mã nguồn và hướng dẫn sử dụng cho từng mô hình, giúp người mới bắt đầu dễ dàng thử nghiệm và so sánh hiệu năng. Bảng kết quả thực nghiệm trên hai bộ dữ liệu khác nhau cho thấy sự thú vị trong việc lựa chọn mô hình phù hợp với từng tác vụ cụ thể.
#DeepLearning #NLP #PyTorch #TextClassification #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
Natural Language Processing Tutorial for Deep Learning Researchers
A high-throughput and memory-efficient inference and serving engine for LLMs
Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking