#210 · Primary category: NLP Tools & Text Processing

nlp-notebook

bert bert-chinese bert-ner bilstm-attention bilstm-crf-model distill-bert electra fasttext-embeddings glove gpt2 natural-language-processing nlp pytorch seq2seq skip-gram text-classification textcnn textrcnn textrcnn-bert transformer-pytorch

Implementations of common NLP tasks including new word discovery, PyTorch-based word vectors, Chinese text classification, entity recognition, abstractive text generation, sentence similarity, triple extraction, and pre-trained models.

Project last updated:05/20/23

GitHub Stars

532

Forks

111

Contributors

2

License

MIT

Why we included this project

Developers and students working through Chinese NLP in PyTorch will find this notebook a practical companion. It walks through the full pipeline: new-word discovery, word2vec and GloVe embeddings, text classification from TextCNN to distilled BERT, several BERT-based NER setups, abstractive and extractive summarization, sentence similarity, and relation extraction. Each section is self-contained with its own data and training scripts, and the classification models use Optuna for hyperparameter tuning, so you can see how real tuning fits in. It is less a drop-in production library and more a study resource that shows how each technique is actually implemented, which makes it useful for building intuition before you design your own solution.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category