lightfm 1.17


LightFM recommendation model

LightFM recommendation model

Stars: 4675, Watchers: 4675, Forks: 681, Open Issues: 156

The lyst/lightfm repo was created 8 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 4675 github stars!

How to Install lightfm

You can install lightfm using pip

pip install lightfm

or add it to a project with poetry

poetry add lightfm

Package Details

Lyst Ltd (Maciej Kula)
GitHub Repo:


  • Scientific/Engineering/Artificial Intelligence
No  lightfm  pypi packages just yet.


A list of common lightfm errors.

Code Examples

Here are some lightfm code examples and snippets.

GitHub Issues

The lightfm package has 156 open issues on GitHub

  • Evaluating lightfm models for some items only
  • Provide access to average loss values from each epoch
  • Broken installation from pip on Mac M1 (with miniconda)
  • Data Splitting Strategies besides Random Split
  • Cannot run predictions in batches
  • Item id 5863.0 not in item id mapping. Make sure you call the fit method
  • What's a good way to "weight" the importance of item/user features in LightFM?

See more issues on GitHub

Related Packages & Articles

kornia 0.7.3

Open Source Differentiable Computer Vision Library for PyTorch

kedro 0.19.6

Kedro helps you build production-ready data and analytics pipelines

huggingface-hub 0.23.5

Client library to download and publish models, datasets and other repos on the hub