Datasets:
Tasks:
Sentence Similarity
Modalities:
Text
Formats:
json
Sub-tasks:
semantic-similarity-classification
Languages:
English
Size:
100K - 1M
License:
Commit ·
57eee28
1
Parent(s): 2520926
Update README.md
Browse files3 unmodified lines456789101112131434 unmodified lines49505147485253505152535454555657585960615859606364616263646566676869707172737475767778798081828384858687888990919249 unmodified lines1421431441201451461473 unmodified lines- enpaperswithcode_id: embedding-data/sentence-compressionpretty_name: sentence-compressiontask_categories:- sentence-similarity- paraphrase-miningtask_ids:- semantic-similarity-classification---
# Dataset Card for "sentence-compression"34 unmodified lines- **Total amount of disk used:** 14.2 MB
### Dataset SummaryLarge corpus of uncompressed and compressed sentences from news articles.
Dataset with pairs of equivalent sentences.The dataset is provided "AS IS" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.
The algorithm to collect the data is described here: Overcoming the Lack of Parallel Data in Sentence Compression, Katja Filippova and Yasemin Altun, Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing (EMNLP '13), pp. 1481-1491. [pdf](https://aclanthology.org/D13-1155.pdf)Google disclaims all liability for any damages, direct or indirect, resulting from using the dataset.
Disclaimer: The team releasing sentence-compression did not upload the dataset to the Hub and did not write a dataset card. These steps were done by the Hugging Face team.
### Supported Tasks and Leaderboards
[More Information Needed](https://github.com/google-research-datasets/sentence-compression)
### Supported Tasks- [Sentence Transformers](https://huggingface.co/sentence-transformers) training; useful for semantic search and sentence similarity. ### Languages
[More Information Needed](https://github.com/google-research-datasets/sentence-compression)- English.## Dataset StructureEach example in the dataset contains pairs of equivalent sentences and is formatted as a dictionary with the key "set" and a list with the sentences as "value".```{"set": [sentence_1, sentence_2]}{"set": [sentence_1, sentence_2]}...{"set": [sentence_1, sentence_2]}```This dataset is useful for training Sentence Transformers models. Refer to the following post on how to train models using similar pairs of sentences.### Usage ExampleInstall the 🤗 Datasets library with `pip install datasets` and load the dataset from the Hub with:```pythonfrom datasets import load_datasetdataset = load_dataset("embedding-data/sentence-compression")```The dataset is loaded as a `DatasetDict` and has the format:```pythonDatasetDict({ train: Dataset({ features: ['set'], num_rows: 180000 })})```Review an example `i` with:```pythondataset["train"][i]["set"]```
### Curation Rationale
49 unmodified lines
### Contributions
Thanks to [@katja-f](https://github.com/katja-f), [Google Research Datasets](https://github.com/google-research-datasets), [@dave-orr](https://github.com/dave-orr) for adding this dataset.
README.md+39-14