djstrong commited on
Commit
55b053d
1 Parent(s): aef4e5d

Fixed bug downloading mini version

Browse files
Files changed (1) hide show
  1. oscar-small.py +2 -2
oscar-small.py CHANGED
@@ -85,7 +85,7 @@ _CITATION = """\
85
  """
86
 
87
  _BASE_DATA_URL_FORMAT_STR = (
88
- "https://huggingface.co/datasets/nthngdy/oscar-mini/resolve/main/data/{language}.gz"
89
  )
90
 
91
  def _languages():
@@ -223,7 +223,7 @@ class OscarConfig(datasets.BuilderConfig):
223
 
224
  # Initialize the base class.
225
  name = f"{shuffled_str}_{deduplicated_str}_{language}"
226
- description = f"{shuffled_str.capitalize()} and {deduplicated_str}, {_languages()[language]} OSCAR-Mini dataset"
227
  super(OscarConfig, self).__init__(name=name, description=description, **kwargs)
228
 
229
  # Additional attributes
 
85
  """
86
 
87
  _BASE_DATA_URL_FORMAT_STR = (
88
+ "https://huggingface.co/datasets/nthngdy/oscar-small/resolve/main/data/{language}.gz"
89
  )
90
 
91
  def _languages():
 
223
 
224
  # Initialize the base class.
225
  name = f"{shuffled_str}_{deduplicated_str}_{language}"
226
+ description = f"{shuffled_str.capitalize()} and {deduplicated_str}, {_languages()[language]} OSCAR-Small dataset"
227
  super(OscarConfig, self).__init__(name=name, description=description, **kwargs)
228
 
229
  # Additional attributes