Need help with lm-explorer?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

126 Stars 31 Forks Apache License 2.0 92 Commits 8 Opened issues


interactive explorer for language models

Services available


Need anything else?

Contributors list


interactive explorer for language models (currently only OpenAI GPT-2)

Running with Docker

# This creates a local directory where the model can be cached so you don't
# have to download it everytime you execute 'docker run'.
$ mkdir -p /$HOME/.pytorch_pretrained_bert
$ docker build -t lm-explorer:latest .
$ docker run -p 8000:8000 \
    -v /$HOME/.pytorch_pretrained_bert:/root/.pytorch_pretrained_bert \
    -v $(pwd):/local \
    lm-explorer:latest \
    python --port 8000 --dev

Running without Docker

First create and activate a Python 3.6 (or later) virtual environment. Then install the requirements

$ pip install -r requirements.txt

and start the app

$ python --port 8000 --dev

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.