Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhagiwara/realworldnlp
Example code for "Real-World Natural Language Processing"
https://github.com/mhagiwara/realworldnlp
Last synced: 3 months ago
JSON representation
Example code for "Real-World Natural Language Processing"
- Host: GitHub
- URL: https://github.com/mhagiwara/realworldnlp
- Owner: mhagiwara
- Created: 2018-10-14T01:32:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-26T05:48:20.000Z (over 3 years ago)
- Last Synced: 2024-06-27T15:38:10.477Z (5 months ago)
- Language: Python
- Homepage: http://www.realworldnlpbook.com/
- Size: 4.87 MB
- Stars: 327
- Watchers: 20
- Forks: 91
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-google-colab - Real Word NLP - Example code for "Real-World Natural Language Processing" (Course and Tutorial)
README
# Real-World Natural Language Processing
This repository contains example code for the book ["Real-World Natural Language Processing."](https://www.manning.com/books/real-world-natural-language-processing)
AllenNLP (2.5.0 or above) is required to run the example code in this repository.
Examples included in this repository:
* Sentiment analysis (LSTM) [[blog article](http://www.realworldnlpbook.com/blog/training-sentiment-analyzer-using-allennlp.html)] [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_classifier.ipynb)]
* Sentiment analysis (CNN) [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_cnn_classifier.ipynb)]
* Sentiment analysis (with BERT) [[AllenNLP config](https://github.com/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_classifier_bert.jsonnet)]
* Language detector [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/language_detector.ipynb)]
* Part-of-speech tagging [[blog article](http://www.realworldnlpbook.com/blog/how-to-convert-an-allennlp-model-and-deploy-on-caffe2-and-tensorflow.html)] [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/pos/pos_tagger.ipynb)]
* Named entity recognition (NER) [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/ner/ner.ipynb)]
* Language generation [[Colab notebook (LSTM)](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/generation/lm.ipynb)] [[Colab notebook (Transformers)](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/generation/transformers.ipynb)]