freerec


Namefreerec JSON
Version 0.7.5 PyPI version JSON
download
home_pagehttps://github.com/MTandHJ/freerec
SummaryPyTorch library for recommender systems
upload_time2024-03-31 12:55:01
maintainerNone
docs_urlNone
authorMTandHJ
requires_python>=3.9
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

![](docs/src/logo.png)

FreeRec is a repository designed for easy (recommendation) data pre-processing and model training.
I am a beginner in the field of recommender systems, so much of FreeRec's designs may not be as effective. In addition, you are free to specify your own framework based on FreeRec.


## Requirements: 

Python >= 3.9 | [PyTorch >=2.0](https://pytorch.org/) | [TorchData >=0.6.0](https://github.com/pytorch/data) | [PyG >=2.3](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html#)


```
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

![](docs/src/pipeline.png)

**Note:** To make dataset, please download corresponding Atomic files from [[RecBole](https://drive.google.com/drive/folders/1so0lckI6N6_niVEYaBu-LIcpOdZf99kj)]. 
Then, run `freerec make --help`.

## Training Flow


![](docs/src/flow.png)


## 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MTandHJ/freerec",
    "name": "freerec",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "MTandHJ",
    "author_email": "congxueric@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1c/f2/c373eea1358498541839fca34035e794ecf3360f47530cd6fec25353dab4/freerec-0.7.5.tar.gz",
    "platform": null,
    "description": "\r\n\r\n![](docs/src/logo.png)\r\n\r\nFreeRec is a repository designed for easy (recommendation) data pre-processing and model training.\r\nI am a beginner in the field of recommender systems, so much of FreeRec's designs may not be as effective. In addition, you are free to specify your own framework based on FreeRec.\r\n\r\n\r\n## Requirements: \r\n\r\nPython >= 3.9 | [PyTorch >=2.0](https://pytorch.org/) | [TorchData >=0.6.0](https://github.com/pytorch/data) | [PyG >=2.3](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html#)\r\n\r\n\r\n```\r\nconda create --name=FreeRec python=3.9\r\nconda activate FreeRec\r\n```\r\n\r\n\r\n**Note:** After PyTorch 2.0, `TorchData` seems to have stopped being updated, and you can install it with `--no-deps` to avoid installing dependencies.\r\n\r\n```\r\npip install --no-deps torchdata\r\n```\r\n\r\n\r\n## Installation\r\n\r\n    pip install freerec\r\n\r\nor (for latest)\r\n\r\n    pip install git+https://github.com/MTandHJ/freerec.git\r\n\r\n\r\n\r\n## Data Pipeline\r\n\r\n![](docs/src/pipeline.png)\r\n\r\n**Note:** To make dataset, please download corresponding Atomic files from [[RecBole](https://drive.google.com/drive/folders/1so0lckI6N6_niVEYaBu-LIcpOdZf99kj)]. \r\nThen, run `freerec make --help`.\r\n\r\n## Training Flow\r\n\r\n\r\n![](docs/src/flow.png)\r\n\r\n\r\n## Reference Code\r\n\r\n- TorchRec: https://github.com/pytorch/torchrec \r\n- DeepCTR-Torch: https://github.com/shenweichen/DeepCTR-Torch\r\n- FuxiCTR: https://github.com/xue-pai/FuxiCTR\r\n- BARS: https://github.com/openbenchmark/BARS\r\n- RecBole: https://github.com/RUCAIBox/RecBole\r\n\r\n\r\n\r\n## Acknowledgements\r\n\r\nThanks to ChatGPT for the annotation of some code. For this reason, some of the comments may be illogical.\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "PyTorch library for recommender systems",
    "version": "0.7.5",
    "project_urls": {
        "Homepage": "https://github.com/MTandHJ/freerec"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86fa553f4d8b3556a3ac4a9a07f56a82335281ed4fb29551996fca0c6867dfa7",
                "md5": "6257e099e7b5e54546d6aee51150c66d",
                "sha256": "40895164a39b9977d7fb1c3f863f693b864429b218c89ae5499d982e9468f91e"
            },
            "downloads": -1,
            "filename": "freerec-0.7.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6257e099e7b5e54546d6aee51150c66d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 96374,
            "upload_time": "2024-03-31T12:54:58",
            "upload_time_iso_8601": "2024-03-31T12:54:58.887936Z",
            "url": "https://files.pythonhosted.org/packages/86/fa/553f4d8b3556a3ac4a9a07f56a82335281ed4fb29551996fca0c6867dfa7/freerec-0.7.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cf2c373eea1358498541839fca34035e794ecf3360f47530cd6fec25353dab4",
                "md5": "fe947ab8b246088742e98720d75834e4",
                "sha256": "acdcd196f06c69aabce4fc082d983d42a6066010d91d202cf0baabcd33409c51"
            },
            "downloads": -1,
            "filename": "freerec-0.7.5.tar.gz",
            "has_sig": false,
            "md5_digest": "fe947ab8b246088742e98720d75834e4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 78146,
            "upload_time": "2024-03-31T12:55:01",
            "upload_time_iso_8601": "2024-03-31T12:55:01.383850Z",
            "url": "https://files.pythonhosted.org/packages/1c/f2/c373eea1358498541839fca34035e794ecf3360f47530cd6fec25353dab4/freerec-0.7.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-31 12:55:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MTandHJ",
    "github_project": "freerec",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "freerec"
}
        
Elapsed time: 0.25212s