suchirsalhan commited on
Commit
27ffb39
1 Parent(s): bb4da9a

Update BabyLM.py

Browse files
Files changed (1) hide show
  1. BabyLM.py +3 -3
BabyLM.py CHANGED
@@ -152,9 +152,7 @@ class BabyLM(datasets.GeneratorBasedBuilder):
152
  Returns data for different splits
153
  """
154
 
155
- if "strict_small" in self.config.name: #default settings – English
156
- train_data_dir = "10M"
157
- elif "fr_lang_strict_small" in self.config.name:
158
  train_data_dir = "FR"
159
  elif "de_lang_strict_small" in self.config.name:
160
  train_data_dir = "DE"
@@ -162,6 +160,8 @@ class BabyLM(datasets.GeneratorBasedBuilder):
162
  train_data_dir = "ZH"
163
  elif "ja_lang_strict_small" in self.config.name:
164
  train_data_dir = "JA"
 
 
165
  else:
166
  train_data_dir = "100M"
167
 
 
152
  Returns data for different splits
153
  """
154
 
155
+ if "fr_lang_strict_small" in self.config.name:
 
 
156
  train_data_dir = "FR"
157
  elif "de_lang_strict_small" in self.config.name:
158
  train_data_dir = "DE"
 
160
  train_data_dir = "ZH"
161
  elif "ja_lang_strict_small" in self.config.name:
162
  train_data_dir = "JA"
163
+ elif "strict_small" in self.config.name: #default settings – English
164
+ train_data_dir = "10M"
165
  else:
166
  train_data_dir = "100M"
167