mariosasko commited on
Commit
6208f37
1 Parent(s): 1f2c48f

Update wikipedia.py

Browse files
Files changed (1) hide show
  1. wikipedia.py +1 -1
wikipedia.py CHANGED
@@ -938,7 +938,7 @@ class Wikipedia(datasets.ArrowBasedBuilder):
938
  warnings.warn(
939
  """
940
  This dataset is deprecated in favor of "wikimedia/wikipedia".
941
- Use `datasets.load_dataset('wikimedia/wikipedia', '20231101.en')` to load the dataset instead.
942
  """,
943
  FutureWarning,
944
  )
 
938
  warnings.warn(
939
  """
940
  This dataset is deprecated in favor of "wikimedia/wikipedia".
941
+ Use `datasets.load_dataset('wikimedia/wikipedia', f'{date}.{lang_code}')` to load the dataset instead (e.g. '20231101.en').
942
  """,
943
  FutureWarning,
944
  )