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

jinja2.exceptions.TemplateNotFound: relation_extraction.jinja #80

Open
Zanejins opened this issue Jun 6, 2023 · 0 comments
Open

jinja2.exceptions.TemplateNotFound: relation_extraction.jinja #80

Zanejins opened this issue Jun 6, 2023 · 0 comments

Comments

@Zanejins
Copy link

Zanejins commented Jun 6, 2023

First I install this promptify using the below command

pip3 install git+https://github.com/promptslab/Promptify.git

Then, I want to use the relation extraction model by the below code

 result = nlp_prompter.fit('relation_extraction.jinja',
                              domain='clinical',
                              text_input=sentence)

However, I met this error 'jinja2.exceptions.TemplateNotFound: relation_extraction.jinja'

I debuged and found that there is really no such model, as showed in the below figure.

image

What I should do to solve this problem. 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