Transformers4Rec is an advanced recommendation system library that leverages Transformer models for sequential and session-based recommendations. The library works as a bridge between natural language processing (NLP) and recommender systems (RecSys) by integrating with one of the most popular NLP frameworks, Hugging Face Transformers (HF). Transformers4Rec makes state-of-the-art transformer architectures available for RecSys researchers and industry practitioners. Traditional recommendation algorithms usually ignore the temporal dynamics and the sequence of interactions when trying to model user behavior. Generally, the next user interaction is related to the sequence of the user's previous choices. In some cases, it might be a repeated purchase or song play. User interests can also suffer from interest drift because preferences can change over time. Those challenges are addressed by the sequential recommendation task.

Features

  • Uses Transformer architectures for sequential recommendations
  • Optimized for GPU acceleration with NVIDIA hardware
  • Supports multi-modal inputs like text, categorical, and numerical features
  • Works with TensorFlow and PyTorch frameworks
  • Enables real-time and batch recommendation pipelines
  • Open-source and scalable for large datasets

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Transformers4Rec

Transformers4Rec Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Transformers4Rec!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries, Python Natural Language Processing (NLP) Tool

Registered

2025-01-24