Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
allennlp_imdb
training_config Add package and a config file Jun 3, 2019
.gitignore
LICENSE
Pipfile
Pipfile.lock Add package and a config file Jun 3, 2019
README.md Update README.md Jun 11, 2019

README.md

A gentle guild to starting your NLP project with AllenNLP

Requirements

  • Pipenv

Setup

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

Running on Colab

Running on CPU:

allennlp train \
    --include-package allennlp_imdb \
    -s /path/to/serialization \
    training_config/base_cpu.jsonnet

Running on GPU:

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
You can’t perform that action at this time.