Open-source toolkit for conversational recommender systems (CRS)
Top 59.9% on sourcepulse
CRSLab is an open-source Python toolkit for building Conversational Recommender Systems (CRS). It provides researchers and developers with a unified, extensible framework to experiment with and develop CRS models, offering comprehensive benchmarks, standardized evaluation protocols, and human-machine interaction interfaces.
How It Works
CRSLab unifies CRS development by abstracting tasks into three sub-tasks: recommendation (item suggestion), conversation (response generation), and policy (interaction strategy selection). It leverages PyTorch and supports various model architectures, including graph neural networks (e.g., R-GCN) and pre-trained models (e.g., BERT, GPT-2), enabling researchers to integrate and compare diverse approaches within a consistent structure.
Quick Start & Requirements
pip install crslab
or install from source.python run_crslab.py --config config/crs/kgsf/redial.yaml
(CPU default, specify GPU with --gpu
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The provided performance benchmarks are preliminary and may not represent optimal model tuning. The library requires specific PyTorch and CUDA versions, potentially necessitating environment management.
1 year ago
Inactive