ChatGPT-AutoChat
ChatGPT-AutoChat copied to clipboard
No module named 'extract_examples'
Hi, i receive that message: from extract_examples import Extract_Examples ModuleNotFoundError: No module named 'extract_examples'
Hi, I have the same issue. Did you manage a way to run the script without that module?
You can remove that import (it's probably from a project the author was working on). He's building a prompt automatically, so just comment this lines:
# from extract_examples import Extract_Examples
# ext = Extract_Examples()
# lst = [a for a in range(310,400)]
# x,sentences = ext.prompt_examples(2,lst)
# prompt = "Consider you are an excellent linguist and you are given a task of predicting NER tags in road accident related tweets. The NER tags are time ('TIME'), person or people ('PER'), organization ('ORG'), location ('LOC'), vehicles ('VEHICLE'), reason of accident ('REASON'), incident occured ('INCIDENT') and impact due to accident ('IMPACT'). give output of the final input by taking reference to the examples. use @@ and ## to cover the entity and strictly use the format mentioned in examples. don't output any extra things. below are some examples: "+str(x)
# prompt = prompt+str(sentences)+" [OUTPUT: "
# print(prompt)
and add
prompt = "How are you today?"
I could not get past the Cloudflare validation though, so in the end it does not look like this code will work :/