The dataset preview is not available for this split.
Error code: StreamingRowsError Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'http://www.isi.edu/natural-language/download/hansard/hansard.36.r2001-1a.house.debates.training.tar' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead. Example usage: url = dl_manager.download(url) tar_archive_iterator = dl_manager.iter_archive(url) for filename, file in tar_archive_iterator: ... Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/first_rows.py", line 571, in compute_first_rows_response rows = get_rows( File "/src/services/worker/src/worker/job_runners/first_rows.py", line 162, in decorator return func(*args, **kwargs) File "/src/services/worker/src/worker/job_runners/first_rows.py", line 205, in get_rows ds = load_dataset( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1775, in load_dataset return builder_instance.as_streaming_dataset(split=split) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1245, in as_streaming_dataset splits_generators = {sg.name: sg for sg in self._split_generators(dl_manager)} File "/tmp/modules-cache/datasets_modules/datasets/hansards/8793345ffd857d2b232eb77f39973b8efd0bc649c51d507aa1b1dcaf1d238cb9/hansards.py", line 118, in _split_generators downloaded_files = dl_manager.download_and_extract(urls_to_download) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1074, in download_and_extract return self.extract(self.download(url_or_urls)) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1026, in extract urlpaths = map_nested(self._extract, url_or_urls, map_tuple=True) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 443, in map_nested mapped = [ File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 444, in <listcomp> _single_map_nested((function, obj, types, None, True, None)) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 346, in _single_map_nested return function(data_struct) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1036, in _extract raise NotImplementedError( NotImplementedError: Extraction protocol for TAR archives like 'http://www.isi.edu/natural-language/download/hansard/hansard.36.r2001-1a.house.debates.training.tar' is not implemented in streaming mode. Please use `dl_manager.iter_archive` instead. Example usage: url = dl_manager.download(url) tar_archive_iterator = dl_manager.iter_archive(url) for filename, file in tar_archive_iterator: ...
Need help to make the dataset viewer work? Open an discussion for direct support.
Dataset Card for "hansards"
Dataset Summary
This release contains 1.3 million pairs of aligned text chunks (sentences or smaller fragments) from the official records (Hansards) of the 36th Canadian Parliament.
The complete Hansards of the debates in the House and Senate of the 36th Canadian Parliament, as far as available, were aligned. The corpus was then split into 5 sets of sentence pairs: training (80% of the sentence pairs), two sets of sentence pairs for testing (5% each), and two sets of sentence pairs for final evaluation (5% each). The current release consists of the training and testing sets. The evaluation sets are reserved for future MT evaluation purposes and currently not available.
Caveats
- This release contains only sentence pairs. Even though the order of the sentences is the same as in the original, there may be gaps resulting from many-to-one, many-to-many, or one-to-many alignments that were filtered out. Therefore, this release may not be suitable for discourse-related research.
- Neither the sentence splitting nor the alignments are perfect. In particular, watch out for pairs that differ considerably in length. You may want to filter these out before you do any statistical training.
The alignment of the Hansards was performed as part of the ReWrite project under funding from the DARPA TIDES program.
Supported Tasks and Leaderboards
Languages
Dataset Structure
Data Instances
house
- Size of downloaded dataset files: 64.45 MB
- Size of the generated dataset: 204.44 MB
- Total amount of disk used: 268.89 MB
An example of 'train' looks as follows.
{
"en": "Mr. Walt Lastewka (Parliamentary Secretary to Minister of Industry, Lib.):",
"fr": "M. Walt Lastewka (secrétaire parlementaire du ministre de l'Industrie, Lib.):"
}
senate
- Size of downloaded dataset files: 14.54 MB
- Size of the generated dataset: 43.90 MB
- Total amount of disk used: 58.44 MB
An example of 'train' looks as follows.
{
"en": "Mr. Walt Lastewka (Parliamentary Secretary to Minister of Industry, Lib.):",
"fr": "M. Walt Lastewka (secrétaire parlementaire du ministre de l'Industrie, Lib.):"
}
Data Fields
The data fields are the same among all splits.
house
fr
: astring
feature.en
: astring
feature.
senate
fr
: astring
feature.en
: astring
feature.
Data Splits
name | train | test |
---|---|---|
house | 947969 | 122290 |
senate | 182135 | 25553 |
Dataset Creation
Curation Rationale
Source Data
Initial Data Collection and Normalization
Who are the source language producers?
Annotations
Annotation process
Who are the annotators?
Personal and Sensitive Information
Considerations for Using the Data
Social Impact of Dataset
Discussion of Biases
Other Known Limitations
Additional Information
Dataset Curators
Licensing Information
Citation Information
Contributions
Thanks to @patrickvonplaten, @thomwolf, @albertvillanova for adding this dataset.
- Downloads last month
- 261