Skip to content
New issue

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

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

Already on GitHub? # to your account

opennre.ipynb opennre module missing in requirements? #2

Open
akempkens opened this issue Sep 3, 2024 · 2 comments
Open

opennre.ipynb opennre module missing in requirements? #2

akempkens opened this issue Sep 3, 2024 · 2 comments
Labels
question Further information is requested

Comments

@akempkens
Copy link

Hi,

I downloaded everything and ran the demo.py successfully.
Continuing reading I tried to run the opennre.ipynb notebook, however stumbled over the issue that the opennre module was missing. Not sure if this is just me or a general issue.

Is it the https://github.com/thunlp/OpenNRE that is missing?

Thx for advice and the great work in the repro.

@ceteri
Copy link
Contributor

ceteri commented Sep 4, 2024

Thank you kindly @akempkens

The opennre.ipynb notebook is more of an experiment, as a supplement here.

The OpenNRE library provides an interesting basis for fine-tuning models for relation extraction (though I wish it were using HF features more, to simplify integration).

That said, it's a lot to download so I hadn't included this in the main requirements.txt yet.

If it helps, here's a different integration of it https://github.com/DerwenAI/textgraphs

@ceteri ceteri added the question Further information is requested label Sep 4, 2024
@ceteri
Copy link
Contributor

ceteri commented Sep 4, 2024

Also, be sure to use the nre.sh script to load OpenNRE pre-trained models before running the opennre.ipynb notebook.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants