# lm-explorer **Repository Path**: mirrors_allenai/lm-explorer ## Basic Information - **Project Name**: lm-explorer - **Description**: interactive explorer for language models - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lm-explorer interactive explorer for language models (currently only OpenAI GPT-2) ## Running with Docker ```bash # 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 app.py --port 8000 --dev ``` ## Running without Docker First create and activate a Python 3.6 (or later) virtual environment. Then install the requirements ```bash $ pip install -r requirements.txt ``` and start the app ```bash $ python app.py --port 8000 --dev ```