Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/r-papso/recobert

RecoBERT: A Catalog Language Model for Text-Based Recommendations
https://github.com/r-papso/recobert

deep-leaning natural-language-processing recommender-system

Last synced: 1 day ago
JSON representation

RecoBERT: A Catalog Language Model for Text-Based Recommendations

Awesome Lists containing this project

README

        

# RecoBERT

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

## Requirements

```bash
python==3.9.15
pandas==1.5.2
pytorch==1.13.0
transformers==4.25.1
```

## Datasets

Preprocessed wines dataset used for RecoBERT training and evaluation along with annotated test subset can be found on this [link](https://drive.google.com/file/d/1oxtPgy14t3rdd5g_AVpiRRfquZU-5MFJ/view?usp=sharing).

## Usage

To train and/or evaluate the RecoBERT implementation:

1. Download preprocessed wines dataset from this [link](https://drive.google.com/file/d/1oxtPgy14t3rdd5g_AVpiRRfquZU-5MFJ/view?usp=sharing).
2. Save the dataset to the ./data folder within this repository.
3. Run training by using command: ```python ./scripts/training.py wines```.
4. After training, run inference by using command: ```python ./scripts/inference.py wines```.

## References

[1] I. Malkiel, O. Barkan, A. Caciularu, N. Razin, O. Katz and N. Koenigstein, "RecoBERT: A Catalog Language Model for Text-Based Recommendations," 2020.