Babelscape / rebel

REBEL is a seq2seq model that simplifies Relation Extraction (EMNLP 2021).
505 stars 73 forks source link

version incompatible #72

Closed S1Koy closed 1 year ago

S1Koy commented 1 year ago

transformers 4.19.2 need huggingface-hub >= 0.1.0, but datasets-1.3.0 need huggingfac-hub-0.0.2, Have solution?

4theKnowledge commented 1 year ago

I'm successfully using REBEL with the following:

You need to update the associated methods in pl_modules.py if you update the pytorch-lightning dependency as per https://github.com/Lightning-AI/lightning/pull/16520.

LittlePea13 commented 1 year ago

Sorry about that, thanks @4theKnowledge for the Knowledge about versions, I will update the reqs