FernandoLpz/Text-Classification-LSTMs-PyTorch
The aim of this repository is to show a baseline model for text classification by implementing a LSTM-based model coded in PyTorch. In order to provide a better understanding of the model, it will be used a Tweets dataset provided by Kaggle.
This project offers a baseline model for classifying short text, like tweets, into predefined categories. You input raw text data, and it outputs a classification (e.g., 'real news' or 'fake news'). It's ideal for data scientists, machine learning engineers, or researchers who need a foundational text classification system using PyTorch.
No commits in the last 6 months.
Use this if you are a developer looking for an example of a simple LSTM-based text classification model in PyTorch for learning or as a starting point.
Not ideal if you need a production-ready, highly accurate, or state-of-the-art text classification system, as it's a baseline and might require significant enhancements for complex real-world use cases.
Stars
64
Forks
21
Language
Python
License
—
Last pushed
Mar 25, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/FernandoLpz/Text-Classification-LSTMs-PyTorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
gaussic/text-classification-cnn-rnn
CNN-RNN中文文本分类,基于TensorFlow
ShawnyXiao/TextClassification-Keras
Text classification models implemented in Keras, including: FastText, TextCNN, TextRNN,...
prakashpandey9/Text-Classification-Pytorch
Text classification using deep learning models in Pytorch
TobiasLee/Text-Classification
Implementation of papers for text classification task on DBpedia
FreedomIntelligence/TextClassificationBenchmark
A Benchmark of Text Classification in PyTorch