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:
3.9 <= Python <= 3.11 | PyTorch >=2.0 | PyG >=2.3
conda create --name=FreeRec python=3.9
conda activate FreeRec
pip install --no-deps torchdata==0.7.0
[!NOTE] FreeRec must rely on torchdata version 0.7.0/0.7.1, as later releases no longer support the datapipe functionality.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freerec-0.9.5.tar.gz.
File metadata
- Download URL: freerec-0.9.5.tar.gz
- Upload date:
- Size: 77.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bf30dee6b6536a35f28a704dff4345086fa942f061c6df02bf138cee1937577
|
|
| MD5 |
c9017b4fdc756ba01748e92c674d1e63
|
|
| BLAKE2b-256 |
5db349024c679cca987184489846a5a353f7d300de5e94d6999bb2dd72d2b59b
|
File details
Details for the file freerec-0.9.5-py3-none-any.whl.
File metadata
- Download URL: freerec-0.9.5-py3-none-any.whl
- Upload date:
- Size: 94.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb3c45102190dbe3843ee0e03f7cce2f0286ad473261253dfec31ac3003797d9
|
|
| MD5 |
2fa71d00687c8aecbbbf951016b40747
|
|
| BLAKE2b-256 |
b4c0bc23d20ab9b9ae954a6d9b95aaf346a389a9233081881021b39690a2896f
|