carpedm20/lstm-char-cnn-tensorflow
in progress
Combines character-level and word-level CNN feature extraction with highway networks feeding into an LSTM language model, enabling the network to learn subword patterns while maintaining long-range dependencies. Implements configurable multi-kernel convolutions (kernels 1-7 with 50-200 feature maps) over character embeddings before word representation, allowing flexible hybrid architectures toggled via `--use_char` and `--use_word` flags. Built in TensorFlow with support for Penn Treebank and other datasets, offering both LSTM and LSTMTDNN model variants with full hyperparameter control for embedding dimensions, sequence length, and dropout.
780 stars. No commits in the last 6 months.
Stars
780
Forks
241
Language
Python
License
MIT
Category
Last pushed
Jul 27, 2018
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/carpedm20/lstm-char-cnn-tensorflow"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
ilivans/tf-rnn-attention
Tensorflow implementation of attention mechanism for text classification tasks.
AlexGidiotis/Document-Classifier-LSTM
A bidirectional LSTM with attention for multiclass/multilabel text classification.
ahmedbesbes/character-based-cnn
Implementation of character based convolutional neural network
NonvolatileMemory/AAAI_2019_EXAM
Official implementation of "Explicit Interaction Model towards Text Classification"
vietnh1009/Character-level-cnn-pytorch
Character-level CNN for text classification