Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 648 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 648 Bytes

Reproducing the result

Clone this repo and navigate into its home directory. Also make sure Bun is installed.

Run the scraper

From within the ./scraper directory run:

python filter_words.py
bun scraper.ts

Prepare the data

From within the home director of the repo

python convert_data_to_paper_data.py

Train the model

Set the hyperparameters in the file ./train_model/mix/train_pair_bert.py. Then run:

python -m train_model.mix.train_pair_bert

Notes

Code found in ./train_model is an adaptation of BertForRD.