I've been using OpenNRE (https://github.com/thunlp/OpenNRE) to extract sentence-level relations of texts (Supervised RE), and I would like to test Few-Shot RE for the same purpose. However, I couldn't integrate Few-Shot RE into OpenNRE nor use it to infer relations on sentences for a real-world application (I tried to edit the source code but with no success so far).
How can I use the provided BERT-PAIR checkpoint to predict relations on arbitrary texts? Could you provide some guidance or examples, please?
Hello,
I've been using OpenNRE (https://github.com/thunlp/OpenNRE) to extract sentence-level relations of texts (Supervised RE), and I would like to test Few-Shot RE for the same purpose. However, I couldn't integrate Few-Shot RE into OpenNRE nor use it to infer relations on sentences for a real-world application (I tried to edit the source code but with no success so far).
How can I use the provided BERT-PAIR checkpoint to predict relations on arbitrary texts? Could you provide some guidance or examples, please?
Thank you.