This repository contains implementation of the paper RecoBERT: A Catalog Language Model for Text-Based Recommendations [1]. This is NOT the original implenetation of the paper.
The paper can be found here: https://arxiv.org/pdf/2009.13292.pdf
python==3.9.15
pandas==1.5.2
pytorch==1.13.0
transformers==4.25.1
Preprocessed wines dataset used for RecoBERT training and evaluation along with annotated test subset can be found on this link.
To train and/or evaluate the RecoBERT implementation:
- Download preprocessed wines dataset from this link.
- Save the dataset to the ./data folder within this repository.
- Run training by using command:
python ./scripts/training.py wines
. - After training, run inference by using command:
python ./scripts/inference.py wines
.
[1] I. Malkiel, O. Barkan, A. Caciularu, N. Razin, O. Katz and N. Koenigstein, "RecoBERT: A Catalog Language Model for Text-Based Recommendations," 2020.