Spotlight: Deep Recommender Models with PyTorch
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
Spotlight is a Python library built on PyTorch for developing deep and shallow recommender models. It offers a comprehensive set of building blocks for various loss functions, representations, and utilities for handling recommendation datasets. This tool is designed for rapid exploration and prototyping of new recommender systems.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Spotlight is a powerful Python library leveraging PyTorch to facilitate the creation of both deep and shallow recommender models. It provides a robust framework for building recommender systems, offering a variety of loss functions, representations (from shallow factorization to deep sequence models), and utilities for managing datasets. Developers can use Spotlight for rapid prototyping and exploration of new recommendation algorithms.
Installation
Installation is straightforward using conda:
conda install -c maciejkula -c pytorch spotlight
Examples
Spotlight offers clear examples to help users get started quickly. These include demonstrations of explicit and implicit factorization models, sequential recommendation models using various architectures like CNNs and LSTMs, and utilities for generating and using popular datasets like MovieLens.
Here are some specific examples:
- Rating prediction on the Movielens dataset
- Using causal convolutions for sequence recommendations
- Bloom embedding layers
Why Use Spotlight?
Spotlight stands out as an excellent choice for anyone working with recommender systems due to its PyTorch foundation, offering flexibility and performance. Its comprehensive set of building blocks, from diverse loss functions to deep sequence models, accelerates development. The inclusion of utilities for dataset handling and a focus on rapid prototyping makes it ideal for both research and practical applications in machine learning.
Links
- GitHub Repository: maciejkula/spotlight
- Official Documentation: Spotlight Docs
- License: MIT
- How to Cite:
@misc{kula2017spotlight,
title={Spotlight},
author={Kula, Maciej},
year={2017},
publisher={GitHub},
howpublished={\url{https://github.com/maciejkula/spotlight}},
}
Related repositories
Similar repositories that may be relevant next.
Awesome-pytorch-list: A Comprehensive Collection of PyTorch Resources
July 20, 2026
The "Awesome-pytorch-list" is an extensive GitHub repository curating a wide range of PyTorch-related content. It serves as a valuable resource for developers and researchers, offering a structured overview of models, implementations, helper libraries, and tutorials. This list simplifies the discovery of essential tools and learning materials within the PyTorch ecosystem.

Axolotl: Streamlining LLM Fine-tuning with a Powerful Open-Source Framework
July 7, 2026
Axolotl is a comprehensive, free, and open-source framework designed to simplify the post-training and fine-tuning processes for large language models (LLMs). It offers extensive model support, diverse training methods, and robust performance optimizations, making it an invaluable tool for researchers and developers. With easy configuration and cloud-ready deployment, Axolotl empowers users to efficiently customize and enhance LLMs.

torchchat: Run PyTorch LLMs Locally on Servers, Desktop, and Mobile
July 3, 2026
torchchat is a PyTorch-native codebase designed to showcase the ability to run large language models (LLMs) seamlessly across various platforms. It enables local execution of LLMs using Python, within C/C++ applications on desktop or servers, and directly on iOS and Android devices. Although no longer under active development, it remains a valuable resource for understanding and implementing local LLM deployment strategies.

NVIDIA PhysicsNeMo: Deep Learning Framework for Physics-ML Models
June 16, 2026
NVIDIA PhysicsNeMo is an open-source deep learning framework designed for building, training, and fine-tuning Physics AI models. It leverages state-of-the-art scientific machine learning methods, enabling real-time predictions by combining physics knowledge with data. This framework provides scalable, GPU-optimized tools for AI4Science and engineering applications.
Source repository
Open the original repository on GitHub.
12 counted GitHub visits