OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Crslab

Crslab is an open-source Python and PyTorch toolkit for building conversational recommender systems, with datasets, models, evaluation protocols and interaction interfaces for research.

Independent OpenViST project profile, based on linked sources.

Crslab — Experiments that span recommendation, response generation and interactive policy selection
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Crslab when a project needs a research toolkit for combining recommendation with conversation and evaluating the resulting system.

Who it is for

  • Researchers prototyping conversational recommender systems
  • Developers comparing recommendation, response-generation and interaction-policy approaches

Documented uses

  • Build a research prototype that recommends items through dialogue
  • Train and evaluate conversational recommendation models using provided configurations
  • Compare systems with shared evaluation protocols
  • Conduct qualitative analysis through human-machine interaction interfaces
Before you choose

Requirements & limits

The repository identifies CRSLab as open source under the MIT license.

  • The toolkit is built on Python and PyTorch; the README requires Python 3.7 or later and PyTorch 1.8.
  • GPU use requires CUDA or CUDAToolkit 10.2 or later and compatible PyTorch Geometric packages.
  • The README lists Linux, Windows 10 and macOS X as supported operating systems.
  • The README describes six datasets, 18 models, evaluation protocols and interaction interfaces.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run the documented KGSF/ReDial experiment

Use CRSLab's quick-start configuration to preprocess data, train and evaluate the specified model.

Before you start

  • Python 3.7 or later
  • PyTorch 1.8
  • A local CRSLab source checkout
  • For GPU use, CUDA or CUDAToolkit 10.2 or later and compatible PyTorch Geometric packages

Steps

  1. Install PyTorch 1.8 and the relevant PyTorch Geometric packages for the chosen platform and CUDA combination.

  2. Install CRSLab from PyPI with the command below, or clone the repository and run the command below from its directory.

    Documented command
    pip install crslab
    Documented command
    pip install -e .
  3. From the source directory, run the command below.

    Documented command
    python run_crslab.py --config config/crs/kgsf/redial.yaml

Expected outcome

The runner preprocesses the data, performs training, validation and testing, then produces evaluation results for the configured model.

Guide limitations

  • The documented quick-start uses CPU by default.
  • GPU use requires the stated CUDA and PyTorch Geometric version compatibility.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
RUCAIBox/CRSLab · Official homepage title · retained in its source language