Datasets:
The dataset preview is not available for this split.
Error code: StreamingRowsError Exception: NonStreamableDatasetError Message: Streaming is not possible for this dataset because data host server doesn't support HTTP range requests. You can still load this dataset in non-streaming mode by passing `streaming=False` (default) Traceback: Traceback (most recent call last): File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 495, in xopen file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open() File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/core.py", line 419, in open return open_files( File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/core.py", line 272, in open_files fs, fs_token, paths = get_fs_token_paths( File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/core.py", line 586, in get_fs_token_paths fs = filesystem(protocol, **inkwargs) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/registry.py", line 252, in filesystem return cls(**storage_options) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 76, in __call__ obj = super().__call__(*args, **kwargs) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/implementations/zip.py", line 54, in __init__ self.zip = zipfile.ZipFile(self.fo, mode=mode) File "/usr/local/lib/python3.9/zipfile.py", line 1266, in __init__ self._RealGetContents() File "/usr/local/lib/python3.9/zipfile.py", line 1329, in _RealGetContents endrec = _EndRecData(fp) File "/usr/local/lib/python3.9/zipfile.py", line 263, in _EndRecData fpin.seek(0, 2) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 737, in seek raise ValueError("Cannot seek streaming HTTP file") ValueError: Cannot seek streaming HTTP file The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/workers/datasets_based/src/datasets_based/workers/first_rows.py", line 485, in compute_first_rows_response rows = get_rows( File "/src/workers/datasets_based/src/datasets_based/workers/first_rows.py", line 120, in decorator return func(*args, **kwargs) File "/src/workers/datasets_based/src/datasets_based/workers/first_rows.py", line 176, in get_rows rows_plus_one = list(itertools.islice(ds, rows_max_number + 1)) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 917, in __iter__ for key, example in ex_iterable: File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 113, in __iter__ yield from self.generate_examples_fn(**self.kwargs) File "/tmp/modules-cache/datasets_modules/datasets/stsb_mt_sv/a8365749d08b959dd6a2f8f88e7f9a7424e34fcfd5c755de976afedd3dc59981/stsb_mt_sv.py", line 85, in _generate_examples with open(filepath, encoding="utf-8") as f: File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/streaming.py", line 70, in wrapper return function(*args, use_auth_token=use_auth_token, **kwargs) File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 498, in xopen raise NonStreamableDatasetError( datasets.download.streaming_download_manager.NonStreamableDatasetError: Streaming is not possible for this dataset because data host server doesn't support HTTP range requests. You can still load this dataset in non-streaming mode by passing `streaming=False` (default)
Need help to make the dataset viewer work? Open an discussion for direct support.
Dataset Card for Swedish Machine Translated STS-B
Dataset Summary
This dataset is a Swedish machine translated version for semantic textual similarity.
Supported Tasks and Leaderboards
This dataset can be used to evaluate text similarity on Swedish.
Languages
The text in the dataset is in Swedish. The associated BCP-47 code is sv
.
Dataset Structure
Data Instances
What a sample looks like:
{'score': '4.2',
'sentence1': 'Undrar om jultomten kommer i år pga Corona..?',
'sentence2': 'Jag undrar om jultomen kommer hit i år med tanke på covid-19',
}
Data Fields
score
: a float representing the semantic similarity score. Where 0.0 is the lowest score and 5.0 is the highest.sentence1
: a string representing a textsentence2
: another string to compare the semantic with
Data Splits
The data is split into a training, validation and test set. The final split sizes are as follow:
Train | Valid | Test |
---|---|---|
5749 | 1500 | 1379 |
Dataset Creation
Curation Rationale
[Needs More Information]
Source Data
Initial Data Collection and Normalization
[Needs More Information]
Who are the source language producers?
[Needs More Information]
Annotations
Annotation process
[Needs More Information]
Who are the annotators?
[Needs More Information]
Personal and Sensitive Information
[Needs More Information]
Considerations for Using the Data
Social Impact of Dataset
[Needs More Information]
Discussion of Biases
[Needs More Information]
Other Known Limitations
[Needs More Information]
Additional Information
Dataset Curators
The machine translated version were put together by @timpal0l
Licensing Information
[Needs More Information]
Citation Information
@article{isbister2020not,
title={Why Not Simply Translate? A First Swedish Evaluation Benchmark for Semantic Similarity},
author={Isbister, Tim and Sahlgren, Magnus},
journal={arXiv preprint arXiv:2009.03116},
year={2020}
}
Contributions
Thanks to @timpal0l for adding this dataset.
- Downloads last month
- 173