{"id":18401682,"url":"https://github.com/borealisai/sasrec-ccql","last_synced_at":"2026-07-02T00:31:50.071Z","repository":{"id":234052600,"uuid":"733129705","full_name":"BorealisAI/sasrec-ccql","owner":"BorealisAI","description":"PyTorch code of \"Robust Reinforcement Learning Objectives for Sequential Recommender Systems\"","archived":false,"fork":false,"pushed_at":"2023-12-18T16:41:07.000Z","size":649,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-09T10:10:52.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorealisAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-18T16:19:44.000Z","updated_at":"2025-04-27T23:16:38.000Z","dependencies_parsed_at":"2024-04-18T03:28:42.596Z","dependency_job_id":null,"html_url":"https://github.com/BorealisAI/sasrec-ccql","commit_stats":null,"previous_names":["borealisai/sasrec-ccql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BorealisAI/sasrec-ccql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fsasrec-ccql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fsasrec-ccql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fsasrec-ccql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fsasrec-ccql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorealisAI","download_url":"https://codeload.github.com/BorealisAI/sasrec-ccql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fsasrec-ccql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35028642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T02:39:38.375Z","updated_at":"2026-07-02T00:31:50.038Z","avatar_url":"https://github.com/BorealisAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SASRec-CCQL\n\nTransformer + RL based Recommender System : See\npaper [Robust Reinforcement Learning Objectives for Sequential Recommender Systems\n](https://arxiv.org/abs/2305.18820)\n\n![Arch](/results/architecture.png \"Arch\")\n\n## Installation\n\nUse the `install.sh` script, give it executable permissions with `chmod +x install.sh`, and run it\nwith `./install.sh`. This uses `conda`.\n\nTested with the following lib versions:\n\n```\npython                    3.8.8\ntorch                     1.8.1+cu111\ntorch-geometric           2.2.0\ntorch-sparse              0.6.16\ntorchmetrics              0.3.2\ntorchvision               0.9.1+cu111\npandas                    1.5.2\nnumpy                     1.22.3\nCUDA Version: 11.4\n```\n\n## Running Experiments\n\n```\npython SASRec_ccql.py --dataset=RC15\n```\n\n```\npython SASRec_ccql.py --dataset=Retailrocket\n```\n\n# Results\n\n## Pytorch Baselines\n\n![RC15Top20](results/RC15PurchasePredTop20.png \"RC15\")\n\n![RetailrocketTop20](results/RetailrocketPurchasePredTop20.png \"Retailrocket\")\n\n## Paper Results\n\n![RRBaselines](results/RRBaselinesPurchasePredTop20.png \"RR20\")\n![RRBaselines](results/RRBaselinesPurchasePredTop5.png \"RR5\")\n\n## Citation\n\n```\n@misc{mozifian2023robust,\n      title={Robust Reinforcement Learning Objectives for Sequential Recommender Systems},\n      author={Melissa Mozifian and Tristan Sylvain and Dave Evans and Lili Meng},\n      year={2023},\n      eprint={2305.18820},\n      archivePrefix={arXiv},\n      primaryClass={cs.LG}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fsasrec-ccql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborealisai%2Fsasrec-ccql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fsasrec-ccql/lists"}