BERT4Rec-VAE-Pytorch
BERT4Rec-VAE-Pytorch copied to clipboard
Pytorch implementation of BERT4Rec and Netflix VAE.
Bumps [numpy](https://github.com/numpy/numpy) from 1.16.2 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
Hi!! Thanks for great code! I have one question about padding at dataloaders/bert.py. https://github.com/jaywonchung/BERT4Rec-VAE-Pytorch/blob/f66f2534ebfd937778c7174b5f9f216efdebe5de/dataloaders/bert.py#L112 https://github.com/jaywonchung/BERT4Rec-VAE-Pytorch/blob/f66f2534ebfd937778c7174b5f9f216efdebe5de/dataloaders/bert.py#L146 At this code, if item length is not enough, then pad using [0]. But I...
Hi, I am experimenting with the original implementation of BERT4rec, but I used the same sampling strategy as you do. When I trained the original implementation for 1 hour I've...
Why your results are so much better than the original paper? is there anything different?
Why do I use mL-1m data set to run ndcg@10 result is only 0.26, in this paper 0.48. But the ML-20 dataset ,The results are similar to those in the...
I want to ask a question that why you give '0' label to the none masked token when generate a example here: ``` for s in seq: prob = self.rng.random()...
In the paper BERT4REC, the authors uses Hit Ratio as a metrics for evaluation, and in your code, you use the Recall. The question which I want to ask is...
About the dataset preprocessing part. I think the index of items and users should start at 1 not 0
``` def densify_index(self, df): print('Densifying index') umap = {u: i for i, u in enumerate(set(df['uid']))} smap = {s: i for i, s in enumerate(set(df['sid']))} df['uid'] = df['uid'].map(umap) df['sid'] = df['sid'].map(smap)...
提问
不好意思 请问怎么用训练出的模型对特定用户进行预测