← 开源
pmixer

SASRec.pytorch

PyTorch(1.6+) implementation of https://github.com/kang205/SASRec

Model DevelopmentArchitectureTeX
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
615
Star
133
Fork
+0
本周
4
贡献者
创建于 2020-09-11 · 更新于 2026-10-09 · 今日第 16048 名
主要开发者
pmixerTiny-Snowihatethinkingname

pmixer/SASRec.pytorch 排名第 16,048,有 615 个星标。

同类别比较

pmixer/SASRec.pytorch 排名第 16,048,此处有 8 个同类条目;richardaecn/class-balanced-loss 排名第 16,049。

同类别比较
名称排名指标
RElbers/info-nce-pytorch16,030
语言:
Python
星标数:
616
分叉数:
43
简介:
PyTorch implementation of the InfoNCE loss for self-supervised learning.
tatp22/multidim-positional-encoding16,034
语言:
Python
星标数:
616
分叉数:
35
简介:
An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow
LynnHo/AttGAN-Tensorflow16,037
语言:
Python
星标数:
615
分叉数:
137
简介:
[TIP'19] AttGAN: Facial Attribute Editing by Only Changing What You Want
mondejar/ecg-classification16,046
语言:
Python
星标数:
615
分叉数:
200
简介:
Code for training and test machine learning classifiers on MIT-BIH Arrhyhtmia database
richardaecn/class-balanced-loss16,049
语言:
Python
星标数:
615
分叉数:
66
简介:
Class-Balanced Loss Based on Effective Number of Samples. CVPR 2019
zcakhaa/DeepLOB-Deep-Convolutional-Neural-Networks-for-Limit-Order-Books16,050
语言:
Jupyter Notebook
星标数:
615
分叉数:
255
简介:
This jupyter notebook is used to demonstrate our recent work, "DeepLOB: Deep Convolutional Neural Networks for Limit Order Books", published in IEEE Transactions on Singal Processing. We use FI-2010 dataset and present how model architecture is constructed here. The FI-2010 is publicly avilable and interested readers can check out their paper.
inclusionAI/ASearcher16,057
语言:
Python
星标数:
614
分叉数:
40
简介:
An Open-Source Large-Scale Reinforcement Learning Project for Search Agents
ServiceNow/N-BEATS16,063
语言:
Python
星标数:
613
分叉数:
131
简介:
N-BEATS is a neural-network based model for univariate timeseries forecasting. N-BEATS is a ServiceNow Research project that was started at Element AI.
关键参数与规格
关键参数与规格
参数值
语言TeX
类别Model Development
子类别Architecture
关键词Recommender system
星标数615
分叉数133
贡献者4
创建日期2020-09-11
更新日期2026-10-09
1 天星标数0
7 天星标数0
排名16,048
上次排名15,847
排名变化-201
7 天星标排名15,318
上次 7 天星标排名11,210
7 天星标排名变化-4,108
总星标排名16,467
上次总星标排名16,441
总星标排名变化-26
国家China
README 摘录

update on 09/17/2026: I refined last year's short paper, so the ideas could be readable - 👀. 6) for simplicity, fixed issues like positional embedding usage etc. (making it harder to overfit, except for that, in recsys, personalization=overfitting sometimes) code in folder. to train: just inference: output for each run would be slightly random, as negative samples are randomly sampled, here's my output for two consecutive runs: pls check paper author's repo for detailed intro and more complete README

, and here's the paper bib FYI :) I see a dozen of citations of the repo🫰, pls use the example bib as below if needed.

常见问题

记录了多少星标和分叉?

pmixer/SASRec.pytorch 有 615 个星标和 133 个分叉。

仓库排名是多少?

pmixer/SASRec.pytorch 排名第 16,048。

记录的语言和类别是什么?

pmixer/SASRec.pytorch 有 615 个星标,语言为 TeX,类别为 Model Development。

哪个仓库排名最接近?

pmixer/SASRec.pytorch 与 richardaecn/class-balanced-loss 比较,后者排名第 16,049,有 615 个星标。

README

update on 09/17/2026: I refined last year's short paper, so the ideas could be readable - https://arxiv.org/abs/2504.09596 👀.


update on 05/23/2025: thx to Wentworth1028 and Tiny-Snow, we have LayerNorm update, for higher NDCG&HR, and here's the doc👍.


modified based on paper author's tensorflow implementation, switching to PyTorch(v1.6) for simplicity, fixed issues like positional embedding usage etc. (making it harder to overfit, except for that, in recsys, personalization=overfitting sometimes)

code in python folder.

to train:

python main.py --dataset=ml-1m --train_dir=default --maxlen=200 --dropout_rate=0.2 --device=cuda

just inference:

python main.py --device=cuda --dataset=ml-1m --train_dir=default --state_dict_path=[YOUR_CKPT_PATH] --inference_only=true --maxlen=200

output for each run would be slightly random, as negative samples are randomly sampled, here's my output for two consecutive runs:

1st run - test (NDCG@10: 0.5897, HR@10: 0.8190)
2nd run - test (NDCG@10: 0.5918, HR@10: 0.8225)

pls check paper author's repo for detailed intro and more complete README, and here's the paper bib FYI :)

@inproceedings{kang2018self,
  title={Self-attentive sequential recommendation},
  author={Kang, Wang-Cheng and McAuley, Julian},
  booktitle={2018 IEEE International Conference on Data Mining (ICDM)},
  pages={197--206},
  year={2018},
  organization={IEEE}
}

I see a dozen of citations of the repo🫰, pls use the example bib as below if needed.

@online{huang2020sasrec_pytorch,
  author  = {Zan Huang},
  title   = {SASRec.pytorch},
  year    = {2020},
  url     = {https://github.com/pmixer/SASRec.pytorch}
}
排名相邻
同类项目