PyTorch library for recommender systems
Project description
Dataset processing | Training and Tuning | RecBoard
FreeRec is a repository designed for easy (recommendation) data pre-processing and model training. You are free to specify your own framework based on FreeRec.
Requirements:
Python >= 3.9 | PyTorch >=2.0 | TorchData >=0.6.0 | PyG >=2.3
conda create --name=FreeRec python=3.9
conda activate FreeRec
Note: After PyTorch 2.0, TorchData
seems to have stopped being updated, and you can install it with --no-deps
to avoid installing dependencies.
pip install --no-deps torchdata
Installation
pip install freerec
or (for latest)
pip install git+https://github.com/MTandHJ/freerec.git
Data Pipeline
Refer to here for dataset processing and splitting.
Training Flow
Reference Code
- TorchRec: https://github.com/pytorch/torchrec
- DeepCTR-Torch: https://github.com/shenweichen/DeepCTR-Torch
- FuxiCTR: https://github.com/xue-pai/FuxiCTR
- BARS: https://github.com/openbenchmark/BARS
- RecBole: https://github.com/RUCAIBox/RecBole
Acknowledgements
Thanks to ChatGPT for the annotation of some code. For this reason, some of the comments may be illogical.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file freerec-0.8.7.tar.gz
.
File metadata
- Download URL: freerec-0.8.7.tar.gz
- Upload date:
- Size: 69.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf76ad7a3bcd64e9b32e230d771f0256b25ae6f3ecc6d9010bdae7fd69ea3da3 |
|
MD5 | 593c3ad3d257031d401f66c7315e74ea |
|
BLAKE2b-256 | eb079ab373eaac0cf6a4e67feb8e9c88528739ae4bcb2239e20df57239850aa6 |
File details
Details for the file freerec-0.8.7-py3-none-any.whl
.
File metadata
- Download URL: freerec-0.8.7-py3-none-any.whl
- Upload date:
- Size: 80.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af3fd939bf257cb0451969bef8c36a0812ebd5a257da9bc9289338965e5f7e6 |
|
MD5 | b51f6d789fe0fb32e83381ebcc3368b6 |
|
BLAKE2b-256 | a1c7ea9be6c2706b1c35f44919f11adda84a3aaa1e6be521b4a7b384450895c5 |