GRU4REC-pytorch icon indicating copy to clipboard operation
GRU4REC-pytorch copied to clipboard

An other implementation of GRU4REC using PyTorch

Results 5 GRU4REC-pytorch issues
Sort by recently updated
recently updated
newest added

the mrr metric cannot work with np.mean as mrr is a tensor value therefore I Have proposed this change.

Hi,I have a question about how to run gru4rec and gru4rec+ with your code.From the paper,we can know these two methods vary in Loss Function and Sampling Strategy while the...

Hi, i have read your bench mark file https://docs.google.com/spreadsheets/d/19z6zFEY6pC0msi3wOQLk_kJsvqF8xnGOJPUGhQ36-wI/edit#gid=1577545099, and may i ask you if this code is GRU4Rec or GRU4Rec+, and can the Improved GRU4Rec bench marks be achieved...

``` with torch.no_grad(): hidden = self.model.init_hidden() for ii, (input, target, mask) in tqdm(enumerate(dataloader), total=len(dataloader.dataset.df) // dataloader.batch_size, miniters = 1000): #for input, target, mask in dataloader: input = input.to(self.device) target =...

Hi, I have a question about the "mask" in DataLoader(), ``` for i in range(minlen - 1): idx_input = idx_target idx_target = df.item_idx.values[start + i + 1] input = torch.LongTensor(idx_input)...