Skip to content

demyank88/bert4rec-pytorch

Repository files navigation

Usage

Overall

Run main.py with arguments to train and/or test you model. There are predefined templates for all models.

After training, it also asks you whether to run test set evaluation on the trained model. (Enter y or n)

BERT4Rec

python main.py --template train_bert

Examples

  1. Train BERT4Rec on JSON and run test set inference after training

    printf '20\ny\n' | python main.py --template train_bert

Test Set Results

Numbers under model names indicate the number of hidden layers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published