Skip to content

Inference on arbitrary texts #74

Description

@fillipefbr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions