Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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}
|