Skip to content

deeppavlov/stand_intent_en

Repository files navigation

Demo stand. Model: Intent Classifier (English)

Installation and start

  1. Clone the repo and cd to project root:
    git clone https://github.com/deepmipt/stand_intent_en.git
    cd stand_intent_en
    
  2. Run script to download and unpack model components:
    ./download_components.sh
    
  3. Create a virtual environment with Python 3.6:
    virtualenv env -p python3.6
    
  4. Activate the environment:
    source ./env/bin/activate
    
  5. Install requirements:
    pip install -r requirements.txt
    
  6. Specify model endpoint host (api_host) and port (api_port) in intent_agent_config.json
  7. Specify virtual environment path (if necessary) in run_en_intent.sh
  8. Run model:
    ./run_en_intent.sh
    

Building and running with Docker:

  1. If necessary, build Base Docker image from:

    https://github.com/deepmipt/stand_docker_cuda

  2. Clone the repo and cd to project root:

    git clone https://github.com/deepmipt/stand_intent_en.git
    cd stand_intent_en
    
  3. Build Docker image:

    sudo docker build -t stand/intent_en .
    
  4. Run Docker image:

    sudo docker run -p <host_port>:6007 -v </path/to/host/vol/map/dir>:/logs stand/intent_en
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published