Automatic dcft datacuration framework upload for oh_v1.3_evol_instruct_x.25
Browse files
config/Airoboros/stage_1_categories/airoboros_stage_1_cot_instructions_gpt-4o-mini.yaml
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: args_dataset
|
| 3 |
+
config:
|
| 4 |
+
type: function
|
| 5 |
+
function: data_strategies.commons.create_constant_dataset
|
| 6 |
+
function_config:
|
| 7 |
+
language: English
|
| 8 |
+
batch_size: 15
|
| 9 |
+
flesch: The output should be written in such a way as to have a Flesch-Kincaid readability score of 30 or lower - best understood by those with college education. The response must not contain any notes or information about Flesch-Kincaid scores.
|
| 10 |
+
topic_avoidance: Avoid any tasks that would be related to climate change, green tech, remewable energy, DEI, sex and/or gender, religion, politics, social issues, race, ethnicity, artificial intelligence, baking/cooking, or any topic that you would likely not respond to, or any task which a language model would not be able to respond to, e.g. tasks about emotions, feelings, physical senses, etc.
|
| 11 |
+
min_docsearch_score: 0.05
|
| 12 |
+
airoboros_subset: cot
|
| 13 |
+
|
| 14 |
+
- id: generate_cot_instructions
|
| 15 |
+
config:
|
| 16 |
+
type: completions
|
| 17 |
+
map: list
|
| 18 |
+
map_config:
|
| 19 |
+
user_message: |
|
| 20 |
+
I would like your help in producing a chain-of-thought style questions/instructions.
|
| 21 |
+
|
| 22 |
+
Below are a few examples:
|
| 23 |
+
|
| 24 |
+
Example 1: Jackie has 3 brothers. Each brother has 2 sisters. How many sisters does Jackie have? Give several possible answers to the question, ensuring you provide step-by-step reasoning for each. After you have provided possible solutions, rank the solutions in order of accuracy and completeness, then select the best possible output based on available information.
|
| 25 |
+
|
| 26 |
+
Example 2: It take 4 hours to dry 5 shirts out in the sun. How long would it take to dry 20 shirts? Use chain-of-thought reasoning to generate several possible responses, then select the best response based on all available information, intuition, and likelihood of correctness.
|
| 27 |
+
|
| 28 |
+
Provide a set of {{batch_size}} new, complex, unique, diverse tasks.
|
| 29 |
+
|
| 30 |
+
{{topic_avoidance}}
|
| 31 |
+
|
| 32 |
+
Be sure to include a wide variety of tasks, including tasks that explore ideas of set theory, information theory, parallelism, logic, extrapolation from scientific studies, etc., but also be sure to only include questions that have multiple potentially correct answers.
|
| 33 |
+
|
| 34 |
+
{{flesch}}
|
| 35 |
+
|
| 36 |
+
All output text should be in {{language}}.
|
| 37 |
+
output_column: instruction
|
| 38 |
+
model: gpt-4o-mini
|
| 39 |
+
temperature: 0.7
|
| 40 |
+
top_p: 0.5
|
| 41 |
+
presence_penalty: 2.0
|
| 42 |
+
n_repeat: 400 # to get to target count
|
| 43 |
+
input_ids:
|
| 44 |
+
- args_dataset
|
| 45 |
+
|
| 46 |
+
- id: drop_columns
|
| 47 |
+
config:
|
| 48 |
+
type: function
|
| 49 |
+
function: data_strategies.commons.remove_columns
|
| 50 |
+
function_config:
|
| 51 |
+
columns:
|
| 52 |
+
- language
|
| 53 |
+
- topic_avoidance
|
| 54 |
+
- batch_size
|
| 55 |
+
- flesch
|
| 56 |
+
input_ids:
|
| 57 |
+
- generate_cot_instructions
|
| 58 |
+
|
| 59 |
+
# target count is 6000
|
| 60 |
+
# min doc search score is 0.05
|