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