Datasets:
Tasks:
Sentence Similarity
Modalities:
Text
Formats:
json
Sub-tasks:
semantic-similarity-classification
Languages:
English
Size:
100K - 1M
License:
Commit
·
ce219b5
1
Parent(s):
9c53f67
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,11 @@ language:
|
|
| 4 |
- en
|
| 5 |
paperswithcode_id: embedding-data/simple-wiki
|
| 6 |
pretty_name: simple-wiki
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# Dataset Card for "simple-wiki"
|
|
@@ -41,14 +46,40 @@ pretty_name: simple-wiki
|
|
| 41 |
- **Point of Contact:** [David Kauchak](dkauchak@cs.pomona.edu)
|
| 42 |
|
| 43 |
### Dataset Summary
|
|
|
|
| 44 |
|
| 45 |
-
### Supported Tasks
|
| 46 |
-
|
| 47 |
-
[More Information Needed](https://cs.pomona.edu/~dkauchak/simplification/)
|
| 48 |
-
|
| 49 |
### Languages
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
### Curation Rationale
|
| 54 |
|
|
@@ -103,4 +134,3 @@ pretty_name: simple-wiki
|
|
| 103 |
[More Information Needed](https://cs.pomona.edu/~dkauchak/simplification/)
|
| 104 |
|
| 105 |
### Contributions
|
| 106 |
-
Thanks to [William Coster](wpc02009@pomona.edu), [David Kauchak](dkauchak@cs.pomona.edu) for adding this dataset.
|
|
|
|
| 4 |
- en
|
| 5 |
paperswithcode_id: embedding-data/simple-wiki
|
| 6 |
pretty_name: simple-wiki
|
| 7 |
+
task_categories:
|
| 8 |
+
- sentence-similarity
|
| 9 |
+
- paraphrase-mining
|
| 10 |
+
task_ids:
|
| 11 |
+
- semantic-similarity-classification
|
| 12 |
---
|
| 13 |
|
| 14 |
# Dataset Card for "simple-wiki"
|
|
|
|
| 46 |
- **Point of Contact:** [David Kauchak](dkauchak@cs.pomona.edu)
|
| 47 |
|
| 48 |
### Dataset Summary
|
| 49 |
+
This dataset contains pairs of equivalent sentences obtained from Wikipedia.
|
| 50 |
|
| 51 |
+
### Supported Tasks
|
| 52 |
+
- [Sentence Transformers](https://huggingface.co/sentence-transformers) training; useful for semantic search and sentence similarity.
|
|
|
|
|
|
|
| 53 |
### Languages
|
| 54 |
+
- English.
|
| 55 |
+
## Dataset Structure
|
| 56 |
+
Each 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".
|
| 57 |
+
```
|
| 58 |
+
{"set": [sentence_1, sentence_2]}
|
| 59 |
+
{"set": [sentence_1, sentence_2]}
|
| 60 |
+
...
|
| 61 |
+
{"set": [sentence_1, sentence_2]}
|
| 62 |
+
```
|
| 63 |
+
This dataset is useful for training Sentence Transformers models. Refer to the following post on how to train models using similar sentences.
|
| 64 |
+
### Usage Example
|
| 65 |
+
Install the 🤗 Datasets library with `pip install datasets` and load the dataset from the Hub with:
|
| 66 |
+
```python
|
| 67 |
+
from datasets import load_dataset
|
| 68 |
+
dataset = load_dataset("embedding-data/simple-wiki")
|
| 69 |
+
```
|
| 70 |
+
The dataset is loaded as a `DatasetDict` and has the format:
|
| 71 |
+
```python
|
| 72 |
+
DatasetDict({
|
| 73 |
+
train: Dataset({
|
| 74 |
+
features: ['set'],
|
| 75 |
+
num_rows: 102225
|
| 76 |
+
})
|
| 77 |
+
})
|
| 78 |
+
```
|
| 79 |
+
Review an example `i` with:
|
| 80 |
+
```python
|
| 81 |
+
dataset["train"][i]["set"]
|
| 82 |
+
```
|
| 83 |
|
| 84 |
### Curation Rationale
|
| 85 |
|
|
|
|
| 134 |
[More Information Needed](https://cs.pomona.edu/~dkauchak/simplification/)
|
| 135 |
|
| 136 |
### Contributions
|
|
|