Files changed (2) hide show
  1. README.md +5 -0
  2. mc4.py +5 -0
README.md CHANGED
@@ -137,8 +137,13 @@ task_ids:
137
  - language-modeling
138
  - masked-language-modeling
139
  paperswithcode_id: mc4
 
140
  ---
141
 
 
 
 
 
142
  # Dataset Card for mC4
143
 
144
  ## Table of Contents
 
137
  - language-modeling
138
  - masked-language-modeling
139
  paperswithcode_id: mc4
140
+ viewer: false
141
  ---
142
 
143
+ <div class="course-tip course-tip-orange bg-gradient-to-br dark:bg-gradient-to-r before:border-orange-500 dark:before:border-orange-800 from-orange-50 dark:from-gray-900 to-white dark:to-gray-950 border border-orange-50 text-orange-700 dark:text-gray-400">
144
+ <p><b>Deprecated:</b> Dataset "mc4" is deprecated and will be deleted. Use "<a href="https://huggingface.co/datasets/allenai/c4">allenai/c4</a>" instead.</p>
145
+ </div>
146
+
147
  # Dataset Card for mC4
148
 
149
  ## Table of Contents
mc4.py CHANGED
@@ -3,6 +3,7 @@
3
 
4
  import gzip
5
  import json
 
6
 
7
  import datasets
8
 
@@ -280,6 +281,10 @@ class Mc4(datasets.GeneratorBasedBuilder):
280
  BUILDER_CONFIG_CLASS = Mc4Config
281
 
282
  def _info(self):
 
 
 
 
283
  return datasets.DatasetInfo(
284
  description=_DESCRIPTION,
285
  features=datasets.Features(
 
3
 
4
  import gzip
5
  import json
6
+ import warnings
7
 
8
  import datasets
9
 
 
281
  BUILDER_CONFIG_CLASS = Mc4Config
282
 
283
  def _info(self):
284
+ warnings.warn(
285
+ "Dataset 'mc4' is deprecated and will be deleted. Use 'allenai/c4' instead.",
286
+ FutureWarning,
287
+ )
288
  return datasets.DatasetInfo(
289
  description=_DESCRIPTION,
290
  features=datasets.Features(