Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
- config_name: body-body-pair
|
4 |
features:
|
@@ -50,3 +62,52 @@ configs:
|
|
50 |
- split: train
|
51 |
path: title-title-pair/train-*
|
52 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
multilinguality:
|
5 |
+
- monolingual
|
6 |
+
size_categories:
|
7 |
+
- 100K<n<1M
|
8 |
+
task_categories:
|
9 |
+
- feature-extraction
|
10 |
+
- sentence-similarity
|
11 |
+
pretty_name: Stack Exchange Duplicates
|
12 |
+
tags:
|
13 |
+
- sentence-transformers
|
14 |
dataset_info:
|
15 |
- config_name: body-body-pair
|
16 |
features:
|
|
|
62 |
- split: train
|
63 |
path: title-title-pair/train-*
|
64 |
---
|
65 |
+
|
66 |
+
# Dataset Card for Stack Exchange Duplicates
|
67 |
+
|
68 |
+
This dataset contains the Stack Exchange Duplicates dataset in three formats that are easily used with Sentence Transformers to train embedding models. The data was originally extracted using the [Stack Exchange API](https://data.stackexchange.com/apple/query/fork/1456963) and taken from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data).
|
69 |
+
Each pair contains data from two Stack Exchange posts that were marked as duplicates. `title-title-pair` only has the titles, `body-body-pair` only the bodies, and `post-post-pair` has both.
|
70 |
+
|
71 |
+
## Dataset Subsets
|
72 |
+
|
73 |
+
### `title-title-pair` subset
|
74 |
+
|
75 |
+
* Columns: "title1", "title2"
|
76 |
+
* Column types: `str`, `str`
|
77 |
+
* Examples:
|
78 |
+
```python
|
79 |
+
{
|
80 |
+
'title1': 'what is the advantage of using the GPU rendering options in Android?',
|
81 |
+
'title2': 'Can anyone explain all these Developer Options?',
|
82 |
+
}
|
83 |
+
```
|
84 |
+
* Collection strategy: Reading the Stack Exchange Duplicates (title, title) dataset from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data).
|
85 |
+
* Deduplified: No
|
86 |
+
|
87 |
+
### `body-body-pair` subset
|
88 |
+
|
89 |
+
* Columns: "body1", "body2"
|
90 |
+
* Column types: `str`, `str`
|
91 |
+
* Examples:
|
92 |
+
```python
|
93 |
+
{
|
94 |
+
'body1': "I've been wondering about this for years. It seems like a pretty obvious question, so I'm surprised not to have found it addressed among the other Tolkien minutiae on this site. Hopefully I haven't missed it, but anyway, here goes... In Tolkien's Middle-Earth writings, Evil cannot create things, only twist and warp what already exists. Thus, Orcs are twisted Elves, Trolls are twisted Ents, etc. So then, what's the original source for Dragons? They look pretty original to me! The only template that seems even remotely possible is the Eagles, as they're both powerful fliers, but the connection seems very remote indeed. Also, as twisted copies Orcs and Trolls are markedly inferior to Elves and Ents respectively, but I'm not aware of any text describing Dragons as inferior to Eagles.",
|
95 |
+
'body2': 'All that I know of Smaug is that he (she?) came out of nowhere to attack and conquer Erebor. Where exactly did he come from? In fact, what are the origins of dragons? Did Ilúvatar create them or did they come from somewhere else?',
|
96 |
+
}
|
97 |
+
```
|
98 |
+
* Collection strategy: Reading the Stack Exchange Duplicates (body, body) dataset from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data).
|
99 |
+
* Deduplified: No
|
100 |
+
|
101 |
+
### `post-post-pair` subset
|
102 |
+
|
103 |
+
* Columns: "post1", "post2"
|
104 |
+
* Column types: `str`, `str`
|
105 |
+
* Examples:
|
106 |
+
```python
|
107 |
+
{
|
108 |
+
'post1': 'Hyperdrive vs Warp drive. Which is fastest? In Star Trek Warp Factor 36 is the highest FTL speed while in star wars I think the fastest canon was 0.4. So which is faster?',
|
109 |
+
'post2': "Is a warp drive faster than a hyperdrive? What's faster: a warp drive from Star Trek, or a hyperdrive from Star Wars?",
|
110 |
+
}
|
111 |
+
```
|
112 |
+
* Collection strategy: Reading the Stack Exchange Duplicates (title+body, title+body) dataset from [embedding-training-data](https://huggingface.co/datasets/sentence-transformers/embedding-training-data).
|
113 |
+
* Deduplified: No
|