ryanmarten commited on
Commit
161fbc2
·
verified ·
1 Parent(s): 37b50a4

Automatic dcft datacuration framework upload for airoboros_cot_instructions_gpt-4o-mini

Browse files
config/Airoboros/categories/airoboros_cot_instructions_gpt-4o-mini.yaml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: empty_dataset
3
+ config:
4
+ type: function
5
+ function: data_strategies.commons.dummy_dataset
6
+
7
+ - id: args_dataset
8
+ config:
9
+ type: function
10
+ function: data_strategies.commons.add_args_columns
11
+ function_config:
12
+ language: English
13
+ batch_size: 15
14
+ 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.
15
+ 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.
16
+ input_ids:
17
+ - empty_dataset
18
+
19
+ - id: generate_cot_instructions
20
+ config:
21
+ type: completions
22
+ map: list
23
+ map_config:
24
+ user_message: |
25
+ I would like your help in producing a chain-of-thought style questions/instructions.
26
+
27
+ Below are a few examples:
28
+
29
+ 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.
30
+
31
+ 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.
32
+
33
+ Provide a set of {{batch_size}} new, complex, unique, diverse tasks.
34
+
35
+ {{topic_avoidance}}
36
+
37
+ 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.
38
+
39
+ {{flesch}}
40
+
41
+ All output text should be in {{language}}.
42
+ output_column: instruction
43
+ model: gpt-4o-mini
44
+ temperature: 0.7
45
+ top_p: 0.5
46
+ presence_penalty: 2.0
47
+ n_repeat: 10 # increase this if you want more examples
48
+ input_ids:
49
+ - args_dataset
50
+
51
+ - id: drop_columns
52
+ config:
53
+ type: function
54
+ function: data_strategies.commons.remove_columns
55
+ function_config:
56
+ columns:
57
+ - language
58
+ - topic_avoidance
59
+ - batch_size
60
+ - flesch
61
+ - dummy_column
62
+ input_ids:
63
+ - generate_cot_instructions
64
+
65
+ # target count is 600
66
+ # min doc search score is 0.05