EtashGuha commited on
Commit
1db3a0e
·
verified ·
1 Parent(s): a5c6974

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/herorun_1_1.yaml +14 -0
config/herorun_1_1.yaml CHANGED
@@ -56,6 +56,7 @@ operators:
56
  type: hf_source
57
  dataset: mlfoundations-dev/hero-1
58
  split: train
 
59
  - id: mix
60
  config:
61
  type: mix
@@ -65,3 +66,16 @@ operators:
65
  - keep_only_converstations_load_fasttext_mixing_domains_top_7_code
66
  - keep_only_converstations_load_fasttext_mixing_domains_top_2
67
  - load_hero_run
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  type: hf_source
57
  dataset: mlfoundations-dev/hero-1
58
  split: train
59
+
60
  - id: mix
61
  config:
62
  type: mix
 
66
  - keep_only_converstations_load_fasttext_mixing_domains_top_7_code
67
  - keep_only_converstations_load_fasttext_mixing_domains_top_2
68
  - load_hero_run
69
+ - id: rename_columns
70
+ config:
71
+ type: function
72
+ function: data_strategies.commons.change_tags
73
+ function_config:
74
+ conversation_column: conversations
75
+ tags_to_change:
76
+ human: user
77
+ user: user
78
+ gpt: assistant
79
+ assistant: assistant
80
+ input_ids:
81
+ - mix