John commited on
Automatic dcft datacuration framework upload for webinstruct_stage_3
Browse files
config/WebInstruct/webinstruct_stage_3.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_stage_2
|
| 3 |
+
config:
|
| 4 |
+
type: load_preexisting
|
| 5 |
+
framework_name: webinstruct_stage_2
|
| 6 |
+
|
| 7 |
+
- id: revise_qa_pairs
|
| 8 |
+
config:
|
| 9 |
+
type: completions
|
| 10 |
+
map: webinstruct_revise_qa
|
| 11 |
+
map_config:
|
| 12 |
+
input_question_column: question
|
| 13 |
+
input_answer_column: answer
|
| 14 |
+
input_source_document_column: cleaned_text
|
| 15 |
+
output_question_column: revised_question
|
| 16 |
+
output_answer_column: revised_answer
|
| 17 |
+
model: gpt-4o-mini
|
| 18 |
+
input_ids:
|
| 19 |
+
- load_stage_2
|