EdGENetworks/attention-networks-for-classification
Hierarchical Attention Networks for Document Classification in PyTorch
This helps categorize written documents like customer reviews, articles, or legal texts by understanding their natural structure—words forming sentences, and sentences forming full documents. It takes raw text documents as input and outputs a classification or category for each document. A data scientist or machine learning engineer focused on natural language processing would use this to build more accurate text classification systems.
608 stars. No commits in the last 6 months.
Use this if you are developing a text classification system and want to leverage the hierarchical structure of documents to improve model performance.
Not ideal if you need a pre-trained, production-ready model for immediate use or are not comfortable working with PyTorch implementations.
Stars
608
Forks
132
Language
Jupyter Notebook
License
—
Category
Last pushed
Mar 04, 2020
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/EdGENetworks/attention-networks-for-classification"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
philipperemy/keras-attention
Keras Attention Layer (Luong and Bahdanau scores).
tatp22/linformer-pytorch
My take on a practical implementation of Linformer for Pytorch.
ematvey/hierarchical-attention-networks
Document classification with Hierarchical Attention Networks in TensorFlow. WARNING: project is...
datalogue/keras-attention
Visualizing RNNs using the attention mechanism
thushv89/attention_keras
Keras Layer implementation of Attention for Sequential models