stas commited on
Commit
11aed43
1 Parent(s): fb4aad9

needs unique name

Browse files
Files changed (3) hide show
  1. dataset_infos.json +1 -1
  2. openwebtext-10k.py +1 -1
  3. process.txt +3 -0
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"plain_text": {"description": "An open-source replication of the WebText dataset from OpenAI.\n\nThis is a small subset representing the first 10K records from the original dataset - created for testing.\n\nThe full 8M-record dataset is at https://huggingface.co/datasets/openwebtext\n", "citation": "@misc{Gokaslan2019OpenWeb,\n title={OpenWebText Corpus},\n author={Aaron Gokaslan*, Vanya Cohen*, Ellie Pavlick, Stefanie Tellex},\n howpublished{\\url{http://Skylion007.github.io/OpenWebTextCorpus}},\n year={2019}\n}\n", "homepage": "https://skylion007.github.io/OpenWebTextCorpus/", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "openwebtext", "config_name": "plain_text", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 49670861, "num_examples": 10000, "dataset_name": "openwebtext"}}, "download_checksums": {"https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/openwebtext-10k.tar.xz": {"num_bytes": 14723792, "checksum": "1dd150ffa3361ab32fa9f129d1b5ce20ac48728be16be436558f844d1761c572"}}, "download_size": 14723792, "post_processing_size": null, "dataset_size": 49670861, "size_in_bytes": 64394653}}
1
+ {"plain_text": {"description": "An open-source replication of the WebText dataset from OpenAI.\n\nThis is a small subset representing the first 10K records from the original dataset - created for testing.\n\nThe full 8M-record dataset is at https://huggingface.co/datasets/openwebtext\n", "citation": "@misc{Gokaslan2019OpenWeb,\n title={OpenWebText Corpus},\n author={Aaron Gokaslan*, Vanya Cohen*, Ellie Pavlick, Stefanie Tellex},\n howpublished{\\url{http://Skylion007.github.io/OpenWebTextCorpus}},\n year={2019}\n}\n", "homepage": "https://skylion007.github.io/OpenWebTextCorpus/", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "openwebtext10k", "config_name": "plain_text", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 49670861, "num_examples": 10000, "dataset_name": "openwebtext10k"}}, "download_checksums": {"https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/openwebtext-10k.tar.xz": {"num_bytes": 14723792, "checksum": "1dd150ffa3361ab32fa9f129d1b5ce20ac48728be16be436558f844d1761c572"}}, "download_size": 14723792, "post_processing_size": null, "dataset_size": 49670861, "size_in_bytes": 64394653}}
openwebtext-10k.py CHANGED
@@ -41,7 +41,7 @@ The full 8M-record dataset is at https://huggingface.co/datasets/openwebtext
41
 
42
  _URL = "https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/openwebtext-10k.tar.xz"
43
 
44
- class Openwebtext(datasets.GeneratorBasedBuilder):
45
  """The Open WebText dataset."""
46
 
47
  BUILDER_CONFIGS = [
41
 
42
  _URL = "https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/openwebtext-10k.tar.xz"
43
 
44
+ class Openwebtext10k(datasets.GeneratorBasedBuilder):
45
  """The Open WebText dataset."""
46
 
47
  BUILDER_CONFIGS = [
process.txt CHANGED
@@ -33,6 +33,9 @@ wget https://raw.githubusercontent.com/huggingface/datasets/master/datasets/open
33
  mv openwebtext.py openwebtext-10k.py
34
  perl -pi -e 's|openwebtext|openwebtext-10k|g' openwebtext-10k.py
35
  perl -pi -e 's|https://zenodo.org/record/3834942/files/|https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/|g' openwebtext-10k.py
 
 
 
36
 
37
  # manually check that the script is correct - edit the descriptions
38
 
33
  mv openwebtext.py openwebtext-10k.py
34
  perl -pi -e 's|openwebtext|openwebtext-10k|g' openwebtext-10k.py
35
  perl -pi -e 's|https://zenodo.org/record/3834942/files/|https://cdn-datasets.huggingface.co/nlp/datasets/openwebtext/|g' openwebtext-10k.py
36
+ perl -pi -e 's|Openwebtext|Openwebtext10k|g' openwebtext-10k.py
37
+
38
+
39
 
40
  # manually check that the script is correct - edit the descriptions
41