Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference on arbitrary texts #74

Open
fillipefbr opened this issue Jan 8, 2022 · 0 comments
Open

Inference on arbitrary texts #74

fillipefbr opened this issue Jan 8, 2022 · 0 comments

Comments

@fillipefbr
Copy link

fillipefbr commented Jan 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant