ghosthets commited on
Commit
a9aa739
·
verified ·
1 Parent(s): ea8b8be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def refine_from_url(url, instruction):
15
  prompt = f"""
16
  You are a data refinement agent. Given the following webpage content, do the following:
17
  1. Extract clear headings and structure the content.
18
- 2. Generate 5 question-answer pairs based on the content.
19
  3. Format everything in JSONL style for GPT2 training.
20
 
21
  Instruction: {instruction}
 
15
  prompt = f"""
16
  You are a data refinement agent. Given the following webpage content, do the following:
17
  1. Extract clear headings and structure the content.
18
+ 2. Generate question-answer pairs based on the content.
19
  3. Format everything in JSONL style for GPT2 training.
20
 
21
  Instruction: {instruction}