nikhilchigali
commited on
Commit
•
48b6994
1
Parent(s):
6a2d404
Update README.md
Browse files
README.md
CHANGED
@@ -14,4 +14,51 @@ configs:
|
|
14 |
data_files:
|
15 |
- split: train
|
16 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
data_files:
|
15 |
- split: train
|
16 |
path: data/train-*
|
17 |
+
task_categories:
|
18 |
+
- feature-extraction
|
19 |
+
- text-classification
|
20 |
+
- sentence-similarity
|
21 |
+
language:
|
22 |
+
- en
|
23 |
+
size_categories:
|
24 |
+
- 1M<n<10M
|
25 |
---
|
26 |
+
|
27 |
+
# Dataset Card for "WikiAnswers Small"
|
28 |
+
|
29 |
+
## Dataset Summary
|
30 |
+
`nikhilchigali/wikianswers_small` is a subset of the `embedding-data/WikiAnswers` dataset ([Link](https://huggingface.co/datasets/embedding-data/WikiAnswers)). This dataset is for the owner's personal use and claims no rights whatsoever.
|
31 |
+
As opposed to the original dataset with `3,386,256` rows, this dataset contains only 4% of the total rows (1,095,326).
|
32 |
+
|
33 |
+
## Languages
|
34 |
+
English.
|
35 |
+
|
36 |
+
## Dataset Structure
|
37 |
+
Each example in the dataset contains 25 equivalent sentences and is formatted as a dictionary with the key "set" and a list with the sentences as "value".
|
38 |
+
```
|
39 |
+
{"set": [sentence_1, sentence_2, ..., sentence_25]}
|
40 |
+
{"set": [sentence_1, sentence_2, ..., sentence_25]}
|
41 |
+
...
|
42 |
+
{"set": [sentence_1, sentence_2, ..., sentence_25]}
|
43 |
+
```
|
44 |
+
### Usage Example
|
45 |
+
Install the 🤗 Datasets library with `pip install datasets` and load the dataset from the Hub with:
|
46 |
+
```python
|
47 |
+
from datasets import load_dataset
|
48 |
+
dataset = load_dataset("embedding-data/WikiAnswers")
|
49 |
+
```
|
50 |
+
The dataset is loaded as a `DatasetDict` and has the format for `N` examples:
|
51 |
+
```python
|
52 |
+
DatasetDict({
|
53 |
+
train: Dataset({
|
54 |
+
features: ['set'],
|
55 |
+
num_rows: N
|
56 |
+
})
|
57 |
+
})
|
58 |
+
```
|
59 |
+
Review an example `i` with:
|
60 |
+
```python
|
61 |
+
dataset["train"][i]["set"]
|
62 |
+
```
|
63 |
+
### Source Data
|
64 |
+
* `embedding-data/WikiAnswers` on HuggingFace ([Link](https://huggingface.co/datasets/embedding-data/WikiAnswers))
|