Datasets:

system HF staff commited on
Commit
6f3d428
1 Parent(s): d4c7d8a

Update files from the datasets library (from 1.2.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.2.0

Files changed (9) hide show
  1. dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/testing/hansard.36.1.house.debates.001.e.gz +0 -3
  2. dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/testing/hansard.36.1.house.debates.001.f.gz +0 -3
  3. dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/training/hansard.36.1.house.debates.002.e.gz +0 -3
  4. dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/training/hansard.36.1.house.debates.002.f.gz +0 -3
  5. dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/testing/hansard.36.1.house.debates.001.e.gz +0 -3
  6. dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/testing/hansard.36.1.house.debates.001.f.gz +0 -3
  7. dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/training/hansard.36.1.house.debates.002.e.gz +0 -3
  8. dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/training/hansard.36.1.house.debates.002.f.gz +0 -3
  9. hansards.py +4 -4
dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/testing/hansard.36.1.house.debates.001.e.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e91ae75683715d190479a076e7e85370c2a841e9671c4d945b9e46753b4d3094
3
- size 320
 
 
 
 
dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/testing/hansard.36.1.house.debates.001.f.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d08307459135f82baf800821a093fe10faa298fd36bf45e45dbdb5ab17a2dd2
3
- size 368
 
 
 
 
dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/training/hansard.36.1.house.debates.002.e.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c64e6c74e3956aceb9c625cfe4f866101fbf558d07dfb6141862ff2aeb7bfabe
3
- size 129
 
 
 
 
dummy/house/1.0.0/dummy_data/hansard.36.r2001-1a.house.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/house/debates/development/training/hansard.36.1.house.debates.002.f.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eeaf64b79bae82651cdfc115430dc54c5d3b4b4d708585a55ac73130f4e9cca1
3
- size 136
 
 
 
 
dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/testing/hansard.36.1.house.debates.001.e.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e91ae75683715d190479a076e7e85370c2a841e9671c4d945b9e46753b4d3094
3
- size 320
 
 
 
 
dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.testing.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/testing/hansard.36.1.house.debates.001.f.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d08307459135f82baf800821a093fe10faa298fd36bf45e45dbdb5ab17a2dd2
3
- size 368
 
 
 
 
dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/training/hansard.36.1.house.debates.002.e.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c64e6c74e3956aceb9c625cfe4f866101fbf558d07dfb6141862ff2aeb7bfabe
3
- size 129
 
 
 
 
dummy/senate/1.0.0/dummy_data/hansard.36.r2001-1a.senate.debates.training.tar/hansard.36/Release-2001.1a/sentence-pairs/senate/debates/development/training/hansard.36.1.house.debates.002.f.gz DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:eeaf64b79bae82651cdfc115430dc54c5d3b4b4d708585a55ac73130f4e9cca1
3
- size 136
 
 
 
 
hansards.py CHANGED
@@ -106,13 +106,13 @@ class Hansards(datasets.GeneratorBasedBuilder):
106
  name = self.config.name
107
  if name == "house":
108
  urls_to_download = {
109
- "train": os.path.join(_DATA_URL, _HOUSE_DEBATES_TRAIN_SET_FILE),
110
- "test": os.path.join(_DATA_URL, _HOUSE_DEBATES_TEST_SET_FILE),
111
  }
112
  elif name == "senate":
113
  urls_to_download = {
114
- "train": os.path.join(_DATA_URL, _SENATE_DEBATES_TRAIN_SET_FILE),
115
- "test": os.path.join(_DATA_URL, _SENATE_DEBATES_TEST_SET_FILE),
116
  }
117
  else:
118
  raise ValueError("Wrong builder config name '{}', it has to be either 'house' or 'senate'.".format(name))
 
106
  name = self.config.name
107
  if name == "house":
108
  urls_to_download = {
109
+ "train": _DATA_URL + _HOUSE_DEBATES_TRAIN_SET_FILE,
110
+ "test": _DATA_URL + _HOUSE_DEBATES_TEST_SET_FILE,
111
  }
112
  elif name == "senate":
113
  urls_to_download = {
114
+ "train": _DATA_URL + _SENATE_DEBATES_TRAIN_SET_FILE,
115
+ "test": _DATA_URL + _SENATE_DEBATES_TEST_SET_FILE,
116
  }
117
  else:
118
  raise ValueError("Wrong builder config name '{}', it has to be either 'house' or 'senate'.".format(name))