Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasufumy/allennlp_imdb
AllenNLP Startup Guide
https://github.com/yasufumy/allennlp_imdb
allennlp deep-learning machine-learning natural-language-processing python pytorch
Last synced: 12 days ago
JSON representation
AllenNLP Startup Guide
- Host: GitHub
- URL: https://github.com/yasufumy/allennlp_imdb
- Owner: yasufumy
- License: mit
- Created: 2019-05-31T06:00:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T22:38:04.000Z (over 1 year ago)
- Last Synced: 2024-10-11T08:24:09.405Z (28 days ago)
- Topics: allennlp, deep-learning, machine-learning, natural-language-processing, python, pytorch
- Language: Python
- Homepage: https://towardsdatascience.com/allennlp-startup-guide-24ffd773cd5b
- Size: 323 KB
- Stars: 14
- Watchers: 3
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A gentle guild to starting your NLP project with AllenNLP
## Requirements
- Pipenv
## Setup
```bash
git clone https://github.com/yasufumy/allennlp_imdb
cd allennlp_imdb
pipenv install
pipenv shell
```## Usage
There is a post about this repository: Click [this link](https://towardsdatascience.com/allennlp-startup-guide-24ffd773cd5b)
Running on [Colab](https://colab.research.google.com/drive/1rUAnv2AeTUdpk_VMa8cTc8nv9bOKp-Hx)
Running on CPU:
```bash
allennlp train \
--include-package allennlp_imdb \
-s /path/to/serialization \
training_config/base_cpu.jsonnet
```Running on GPU:
```bash
allennlp train \
--include-package allennlp_imdb \
-s /path/to/serialization \
-o '{"trainer": {"cuda_device": 0}}' \
training_config/base_cpu.jsonnet
```Creating your own configuration file:
```
allennlp configure --include-package allennlp_imdb
```