Upload configuration file
Browse files- config/tiny_codes.yaml +34 -0
config/tiny_codes.yaml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_hf_python
|
| 3 |
+
config:
|
| 4 |
+
type: hf_source
|
| 5 |
+
dataset: nampdn-ai/tiny-codes
|
| 6 |
+
split: train
|
| 7 |
+
trust_remote_code: True
|
| 8 |
+
- id: drop_columns
|
| 9 |
+
config:
|
| 10 |
+
type: function
|
| 11 |
+
function: data_strategies.commons.remove_columns
|
| 12 |
+
function_config:
|
| 13 |
+
columns:
|
| 14 |
+
- main_topic
|
| 15 |
+
- subtopic
|
| 16 |
+
- adjective
|
| 17 |
+
- action_verb
|
| 18 |
+
- scenario
|
| 19 |
+
- target_audience
|
| 20 |
+
- programming_language
|
| 21 |
+
- common_sense_topic
|
| 22 |
+
- idx
|
| 23 |
+
input_ids:
|
| 24 |
+
- load_hf_python
|
| 25 |
+
- id: rename_task_column
|
| 26 |
+
config:
|
| 27 |
+
type: function
|
| 28 |
+
function: data_strategies.commons.force_rename_columns
|
| 29 |
+
function_config:
|
| 30 |
+
column_maps:
|
| 31 |
+
prompt: response_seed
|
| 32 |
+
response: instruction_seed
|
| 33 |
+
input_ids:
|
| 34 |
+
- drop_columns
|