yulongchen commited on
Commit
3801c91
·
1 Parent(s): e7c482c

Add system

Browse files
Files changed (1) hide show
  1. system/ee.py +1 -1
system/ee.py CHANGED
@@ -59,7 +59,7 @@ def run_gpt4_event_extraction(data_dir, max_tokens=100000):
59
 
60
  text = " ".join(doc["text"])
61
  input_text = (
62
- f"{ICL}\nPlease only summarize events that are useful for verifying the pledge '{claim}', and their dates in the JSON format.\n\nInput:\n\nTitle: {doc['metadata']['title']}\n"
63
  f"Date: {doc['metadata']['date']}\nArticle: {text}\nPledge: {claim}\n\n"
64
  f"Output:\n"
65
  )
 
59
 
60
  text = " ".join(doc["text"])
61
  input_text = (
62
+ f"{ICL}\nNow please only summarize events that are useful for verifying the pledge '{claim}', and their dates in the JSON format.\n\nInput:\n\nTitle: {doc['metadata']['title']}\n"
63
  f"Date: {doc['metadata']['date']}\nArticle: {text}\nPledge: {claim}\n\n"
64
  f"Output:\n"
65
  )