Open Zanejins opened 1 year ago
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.
What I should do to solve this problem. Thank you!
First I install this promptify using the below command
Then, I want to use the relation extraction model by the below code
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.
What I should do to solve this problem. Thank you!