albertvillanova HF staff commited on
Commit
81c6434
1 Parent(s): 6a222a2

Host data file (#3)

Browse files

- Add source data file (bc3677806473d10427ffa3f60a8cac8b738f46f4)
- Update loading script (44ecdec60e00f17971373b3dc979df1f91d03ff5)
- Delete legacy dataset_infos.json (7425480ef7e821af4009aa9ec4e082b74fadad22)
- Update dataset card (460ebb779a53a39c7278a60e28d851734ffa4b15)

README.md CHANGED
@@ -28,6 +28,7 @@ task_ids:
28
  - masked-language-modeling
29
  pretty_name: BnL Historical Newspapers
30
  dataset_info:
 
31
  features:
32
  - name: id
33
  dtype: string
@@ -71,13 +72,12 @@ dataset_info:
71
  '17': ISSUE
72
  - name: extent
73
  dtype: int32
74
- config_name: processed
75
  splits:
76
  - name: train
77
- num_bytes: 1611620156
78
  num_examples: 537558
79
  download_size: 1224029060
80
- dataset_size: 1611620156
81
  ---
82
 
83
  # Dataset Card for BnL Historical Newspapers
 
28
  - masked-language-modeling
29
  pretty_name: BnL Historical Newspapers
30
  dataset_info:
31
+ config_name: processed
32
  features:
33
  - name: id
34
  dtype: string
 
72
  '17': ISSUE
73
  - name: extent
74
  dtype: int32
 
75
  splits:
76
  - name: train
77
+ num_bytes: 1611597178
78
  num_examples: 537558
79
  download_size: 1224029060
80
+ dataset_size: 1611597178
81
  ---
82
 
83
  # Dataset Card for BnL Historical Newspapers
bnl_newspapers.py CHANGED
@@ -38,7 +38,8 @@ _HOMEPAGE = "https://data.bnl.lu/data/historical-newspapers/"
38
  _LICENSE = "CC0"
39
 
40
 
41
- _URLs = {"processed": "https://data.bnl.lu/open-data/digitization/newspapers/export01-newspapers1841-1878.zip"}
 
42
 
43
 
44
  class BNLNewspapersConfig(datasets.BuilderConfig):
 
38
  _LICENSE = "CC0"
39
 
40
 
41
+ # Source: https://data.bnl.lu/open-data/digitization/newspapers/export01-newspapers1841-1878.zi
42
+ _URLs = {"processed": "data/export01-newspapers1841-1878.zip"}
43
 
44
 
45
  class BNLNewspapersConfig(datasets.BuilderConfig):
data/export01-newspapers1841-1878.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72032d30d93eb367c567651db970bdb6f645fa6377b2d6a2453d30cf870df946
3
+ size 1224029060
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"processed": {"description": "Digitised historic newspapers from the Biblioth\u00e8que nationale (BnL) - the National Library of Luxembourg.\n", "citation": "@misc{bnl_newspapers,\ntitle={Historical Newspapers},\nurl={https://data.bnl.lu/data/historical-newspapers/},\nauthor={ Biblioth\u00e8que nationale du Luxembourg},\n", "homepage": "https://data.bnl.lu/data/historical-newspapers/", "license": "CC0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "source": {"dtype": "string", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "ispartof": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "pub_date": {"dtype": "timestamp[s]", "id": null, "_type": "Value"}, "publisher": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "article_type": {"num_classes": 18, "names": ["ADVERTISEMENT_SECTION", "BIBLIOGRAPHY", "CHAPTER", "INDEX", "CONTRIBUTION", "TABLE_OF_CONTENTS", "WEATHER", "SHIPPING", "SECTION", "ARTICLE", "TITLE_SECTION", "DEATH_NOTICE", "SUPPLEMENT", "TABLE", "ADVERTISEMENT", "CHART_DIAGRAM", "ILLUSTRATION", "ISSUE"], "names_file": null, "id": null, "_type": "ClassLabel"}, "extent": {"dtype": "int32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "language-modeling", "text_column": "text"}], "builder_name": "bnl_newspapers", "config_name": "processed", "version": {"version_str": "1.17.0", "description": null, "major": 1, "minor": 17, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1611620156, "num_examples": 537558, "dataset_name": "bnl_newspapers"}}, "download_checksums": {"https://data.bnl.lu/open-data/digitization/newspapers/export01-newspapers1841-1878.zip": {"num_bytes": 1224029060, "checksum": "72032d30d93eb367c567651db970bdb6f645fa6377b2d6a2453d30cf870df946"}}, "download_size": 1224029060, "post_processing_size": null, "dataset_size": 1611620156, "size_in_bytes": 2835649216}}