Quay lại Trending
RepositoryPythonINẤn Độ
AN

AnubhavGupta3377/Text-Classification-Models-Pytorch

Implementation of State-of-the-art Text Classification Models in Pytorch

489sao
129fork
3issue
0lượt xem

📚 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.

RepositoryPython
huggingface/transformers

🤗 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.

168.2k
Oct 27, 2026
RepositoryPython
NandhaKishorM/laya

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.

34.5k
Oct 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
190.8M
Jun 1, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 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, ... 🧠

67.6k
Jan 22, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 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, ... 🧠

67.6k
Jan 22, 2026
RepositoryJupyter Notebook
graykode/nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers

14.9k
Feb 21, 2024
RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.2k
Oct 24, 2026
RepositoryPython
vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

95.7k
Oct 27, 2026
RepositoryPython
ultralytics/ultralytics

Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking

62.9k
Oct 26, 2026