Kamrani commited on
Commit
cdeb4ea
1 Parent(s): cca525d

Update en-fa-translation.py

Browse files
Files changed (1) hide show
  1. en-fa-translation.py +2 -2
en-fa-translation.py CHANGED
@@ -36,11 +36,11 @@ class PersianTranslateDB(datasets.GeneratorBasedBuilder):
36
  # data = datasets.load_dataset('my_dataset', 'first_domain')
37
  # data = datasets.load_dataset('my_dataset', 'second_domain')
38
  BUILDER_CONFIGS = [
39
- datasets.BuilderConfig(name="en-fa", version=VERSION, description="en-fa translation database"),
40
  #datasets.BuilderConfig(name="second_domain", version=VERSION, description="This part of my dataset covers a second domain"),
41
  ]
42
 
43
- DEFAULT_CONFIG_NAME = "en-fa" # It's not mandatory to have a default configuration. Just use one if it make sense.
44
 
45
  def _info(self):
46
  # TODO: This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset
 
36
  # data = datasets.load_dataset('my_dataset', 'first_domain')
37
  # data = datasets.load_dataset('my_dataset', 'second_domain')
38
  BUILDER_CONFIGS = [
39
+ datasets.BuilderConfig(name="translation_en_to_fa", version=VERSION, description="en-fa translation database"),
40
  #datasets.BuilderConfig(name="second_domain", version=VERSION, description="This part of my dataset covers a second domain"),
41
  ]
42
 
43
+ DEFAULT_CONFIG_NAME = "translation_en_to_fa" # It's not mandatory to have a default configuration. Just use one if it make sense.
44
 
45
  def _info(self):
46
  # TODO: This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset