#369369th of 433 in ML frameworks and libraries

transformers4rec

PyTorch library for session-based recommenders built on Hugging Face transformers

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.3k
License
Apache-2.0
Last commit
Aug 2026
Last release
Jan 2024
Language
Python
Stars, last 29 weeks+26
6 May 2026: 1,256 stars13 May 2026: 1,257 stars20 May 2026: 1,258 stars27 May 2026: 1,258 stars3 Jun 2026: 1,260 stars10 Jun 2026: 1,261 stars17 Jun 2026: 1,263 stars24 Jun 2026: 1,265 stars1 Jul 2026: 1,265 stars8 Jul 2026: 1,265 stars15 Jul 2026: 1,265 stars22 Jul 2026: 1,266 stars29 Jul 2026: 1,267 stars5 Aug 2026: 1,271 stars12 Aug 2026: 1,272 stars19 Aug 2026: 1,272 stars26 Aug 2026: 1,274 stars2 Sept 2026: 1,274 stars9 Sept 2026: 1,274 stars16 Sept 2026: 1,275 stars23 Sept 2026: 1,275 stars30 Sept 2026: 1,275 stars7 Oct 2026: 1,277 stars14 Oct 2026: 1,280 stars21 Oct 2026: 1,281 stars28 Oct 2026: 1,281 stars4 Nov 2026: 1,281 stars11 Nov 2026: 1,282 stars18 Nov 2026: 1,282 stars25 Nov 2026: 1,282 stars

1,256 on 6 May 20261,282 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Transformers4Rec is a PyTorch library for building next-item and session-based recommendation models on Hugging Face Transformers architectures such as XLNet. It reads a feature schema to create embedding, projection and output layers for tabular sequence inputs. It integrates with NVTabular for preprocessing and Triton Inference Server for serving, as part of NVIDIA Merlin.

Who it is for: RecSys engineers and researchers building session-based recommenders in PyTorch

Strengths

  • Uses Hugging Face Transformers; README cites more than 64 architectures
  • Schema-driven inputs add tabular features without code changes
  • Exports to Triton with online feature preprocessing in one pipeline
  • Won WSDM WebTour 2021 and SIGIR eCommerce 2021 challenges

Weaknesses

  • Last release is 2024-01-11; install examples pin 23.04 and CUDA 11.8
  • GPU pipeline needs RAPIDS cuDF, which pip does not install automatically
  • Full workflow is tied to the NVIDIA Merlin stack (NVTabular, Triton)
  • PyTorch only; no other framework backend is mentioned

What it needs

  • GPU optional
  • Needs PyTorch, Hugging Face Transformers, NVTabular, RAPIDS cuDF, Triton Inference Server
  • Models: XLNet, Hugging Face Transformers architectures, RNN

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#367vadersentimentRule-based sentiment scorer for short social media text, in Python5.1k starsMIT26 out of 100
#368easyrecTensorFlow framework for training and deploying recommendation models from config files Live demo ↗ (opens in a new tab)2.4k starsApache-2.026 out of 100
#370jenly1314/mlkitKotlin Android library wrapping Google ML Kit vision APIs with camera-scan helpers1.2k starsApache-2.026 out of 100
#371raster-visionPython library for training vision models on satellite and aerial imagery2.2k starsApache-2.025 out of 100
#372onnxstreamMemory-minimal C++ ONNX inference library that runs Stable Diffusion on 512MB devices Live demo ↗ (opens in a new tab)2.1k starscustom license25 out of 100