Closed jefflink closed 1 year ago
Managed to resolved the first 2 errors by downgrading to torch 1.8.1.
Sorry for the late reply. The code is indeed a bit "outdated" since both torch, Pytorch Lightning and transformers have seen several updates that may break the code. Hopefully it wasn't too much of an issue. I may try to find some time to update everything, but no promises.
Regarding the sequence to train, there isn't much to it. Just training BART with the REBEL dataset should do it. Depending on your hardware that may take a while, since the model is big and there's a lot of data instances. Make sure to use the default config files, such as default_data.yaml. This will ensure the model only trains on the 230 most frequent relations, which is how REBEL was trained.
Best, Pere-Lluis
Hi, thank you for the very interesting work that you have done! I'm trying to replicate the your training process based on the train.py and the _defaultmodel configuration, to reach the state of your REBEL model. However I ran into some issues and would like to seek your help.
Thank you!