• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is a pytorch implementation for the BST model from Alibaba https://arxiv.org/pdf/1905.06874.pdf

Behavior-Sequence-Transformer-Pytorch

Open In Colab

This is a pytorch implementation for the BST model from Alibaba https://arxiv.org/pdf/1905.06874.pdf

This model is a novel recommender architecture based on seq2seq models. We translate user behaviour into sequences and predict a rating for each target item (movie).

Dataset

For this implementation we used Movielens 1M Dataset that contains timestamps per each rating, making it perfect to test in the sequence recommendation model.

Running

You can run it in colab here. If you prefer to run locally the model architecture is contained on pytorch-best.ipynb while data processing is on the prepare_data.ipynb notebook and should be run first.

Results

Training on all-1 user ratings and leaving the latest rating for test we obtain the following results

Dataset MAE RMSE
Train 0.72 0.84
Test 0.74 0.93

Here is a screenshot of training logs we we see overfitting from epoch 12-15.

References

  • Original paper 1
  • Keras implementation 2
  • Tensorflow implementation 3

More Repositories

1

time-series-forecasting-with-python

A use-case focused tutorial for time series forecasting with python
Jupyter Notebook
560
star
2

las-pytorch

Listen, Attend and spell model for E2E ASR. Implementation in Pytorch
Python
37
star
3

DeepSpeech-pytorch

Pytorch implementation for DeepSpeech 2.0
Python
24
star
4

DailyQwertee

Telegram bot that sends you qweerty new 👕 every 24hours. Deployed on gcloud
Python
11
star
5

bot-pccomponentes

A bot I used to buy my RTX 3090 off pccomponentes.com
Python
8
star
6

jupyter-lab-docker-rpi

A Docker image to run jupyterlab on your raspberry pi. Tested on rpi3b and rpi4
Dockerfile
6
star
7

MASTER_THESIS

Master thesis in collaboration with H&M
TeX
5
star
8

DataScience-Cheatsheets

Collection of cheatsheets📑 for my daily workload 👾
5
star
9

gmm-classifier

Python implementation for a Gaussian mixture model classifier!
Python
5
star
10

Dailypepe

A telegram bot that sends you random pepes
Python
5
star
11

ETSINF3

C++
4
star
12

Netflix-RNN-Recommender

Implicit recommender for Netflix data
Python
3
star
13

pepeweb

A web that gives you random 🐸pepes🐸! Fully serverless implementation with gcloud stack ☁️ (appengine & datastore & cloud functions)
Python
3
star
14

CurriculumVitae

My personal Curriculum Vitae!
TeX
2
star
15

voice_gender_recognition

Voice 🙅gender recognition 🙆‍♂️ models 90% accuracy.
Jupyter Notebook
1
star
16

dotfiles

Shell
1
star
17

AOC-2019

My submissions for the advent of code 2019
Python
1
star
18

cov19

Repo to analyse data from the Johns Hopkins University repository https://github.com/CSSEGISandData/COVID-19
Jupyter Notebook
1
star
19

TicTacToe-Ia

Python
1
star
20

asr-transformer

Python
1
star
21

dotfiles.old

Config files and autoinstall scripts for Oh-my-zsh, zsh, vscode, vim. Originally forked from carrlos0 dotfiles
Shell
1
star
22

hm-neuralsequencer

Jupyter Notebook
1
star