DeepPavlov

(★ 6,990)

An open source library for deep learning end-to-end dialog systems and chatbots.

File Explorer

  • .gitignore
  • .readthedocs.yml
  • _config.yml
  • CNAME
  • Jenkinsfile
  • LICENSE
  • MANIFEST.in
  • NLP_OSS_DeepPavlov_ACL_Demo_final.pdf
  • README.md
  • requirements.txt
  • setup.py

# Installation Guide

python
Prerequisites
  • Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11
  • CUDA Toolkit Compatible with used GPU and PyTorch version

Setup Steps

python -m venv env

Create a virtual environment.

source ./env/bin/activate

Activate the virtual environment.

pip install deeppavlov

Install the deeppavlov package.

python -m deeppavlov interact <config_path> -d -i

Interact with the model via CLI.

Key Commands

pip install deeppavlov

Install the DeepPavlov package from PyPI.

python -m deeppavlov interact <config_path> -d -i

Run interactive CLI mode based on the specified config file.

python -m deeppavlov train <config_path> -d -i

Train the model based on the config file.

python -m deeppavlov evaluate <config_path> -d -i

Evaluate model metrics on the specified dataset.

python -m deeppavlov riseapi <config_path> -d -i

Run a REST API server.

It is recommended to install the PyTorch version compatible with CUDA to use GPU acceleration.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

# Project Badges

  • License Apache 2.0 License Apache 2.0 Visit
  • Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11
  • Downloads Downloads Visit
  • Static Badge Static Badge Visit
  • Static Badge Static Badge Visit
// repository documentation