Datasets:
Adding links to readme
Browse files
README.md
CHANGED
@@ -3,13 +3,15 @@ license: cc-by-sa-4.0
|
|
3 |
language:
|
4 |
- en
|
5 |
size_categories:
|
6 |
-
-
|
7 |
---
|
8 |
|
9 |
# Dataset Summary
|
10 |
-
Paragraph embeddings for every article in English Wikipedia (not the Simple English version).
|
|
|
11 |
|
12 |
-
Embeddings were generated with avsolatorio/GIST-small-Embedding-v0
|
|
|
13 |
|
14 |
You can load the data with the following:
|
15 |
|
@@ -18,9 +20,12 @@ from datasets import load_dataset
|
|
18 |
|
19 |
ds = load_dataset(path="Abrak/wikipedia-paragraph-embeddings-en-gist-complete", data-dir="20231101.en")
|
20 |
```
|
|
|
21 |
# Dataset Structure
|
22 |
|
23 |
-
The structure of the dataset is designed to
|
|
|
|
|
24 |
## Data instances
|
25 |
|
26 |
An example looks as follows:
|
@@ -38,10 +43,12 @@ of the paragraphs in the article. These are not left-padded.
|
|
38 |
# Details
|
39 |
## Source Data
|
40 |
The data is sourced directly from the wikimedia/wikipedia dataset, in the 20231101.en directory.
|
41 |
-
This is English-language article text content,
|
|
|
42 |
See the [wikimedia/wikipedia model card](https://huggingface.co/datasets/wikimedia/wikipedia) for more information.
|
43 |
|
44 |
-
|
|
|
45 |
## Embedding Calculation
|
46 |
Embeddings were calculated in batches of 1300 paragraphs with sentence_transformers and the unquantized
|
47 |
GIST-small-Embedding-v0 model. Precision was set to int8. Complete processing took about 20 hours on an
|
@@ -53,4 +60,4 @@ in the Github repo for my project, [The Archive](https://github.com/abrakjamson/
|
|
53 |
These embeddings are a derivative of Wikipedia article text, which is under [CC-BY-SA-4.0](https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License),
|
54 |
a copyleft license, as well as [GFDL](https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License).
|
55 |
These embeddings inherit the same licenses. See the [Wikipedia Copyrights page](https://en.wikipedia.org/wiki/Wikipedia:Copyrights)
|
56 |
-
for details.
|
|
|
3 |
language:
|
4 |
- en
|
5 |
size_categories:
|
6 |
+
- 10M<n<100M
|
7 |
---
|
8 |
|
9 |
# Dataset Summary
|
10 |
+
Paragraph embeddings for every article in English Wikipedia (not the Simple English version).
|
11 |
+
Based on [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia), 20231101.en.
|
12 |
|
13 |
+
Embeddings were generated with [avsolatorio/GIST-small-Embedding-v0](https://huggingface.co/avsolatorio/GIST-small-Embedding-v0)
|
14 |
+
and are quantized to int8.
|
15 |
|
16 |
You can load the data with the following:
|
17 |
|
|
|
20 |
|
21 |
ds = load_dataset(path="Abrak/wikipedia-paragraph-embeddings-en-gist-complete", data-dir="20231101.en")
|
22 |
```
|
23 |
+
|
24 |
# Dataset Structure
|
25 |
|
26 |
+
The structure of the dataset is designed to minimize necessary storage and calculations
|
27 |
+
but still cover the breadth of Wikipedia.
|
28 |
+
|
29 |
## Data instances
|
30 |
|
31 |
An example looks as follows:
|
|
|
43 |
# Details
|
44 |
## Source Data
|
45 |
The data is sourced directly from the wikimedia/wikipedia dataset, in the 20231101.en directory.
|
46 |
+
This is English-language article text content, taken from a snapshot on November 1, 2023.
|
47 |
+
The source data was already stripped of formatting and other content that is not language.
|
48 |
See the [wikimedia/wikipedia model card](https://huggingface.co/datasets/wikimedia/wikipedia) for more information.
|
49 |
|
50 |
+
As part of this dataset's processing, article text was split into paragraphs on two newlines (`\n\n`).
|
51 |
+
|
52 |
## Embedding Calculation
|
53 |
Embeddings were calculated in batches of 1300 paragraphs with sentence_transformers and the unquantized
|
54 |
GIST-small-Embedding-v0 model. Precision was set to int8. Complete processing took about 20 hours on an
|
|
|
60 |
These embeddings are a derivative of Wikipedia article text, which is under [CC-BY-SA-4.0](https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License),
|
61 |
a copyleft license, as well as [GFDL](https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License).
|
62 |
These embeddings inherit the same licenses. See the [Wikipedia Copyrights page](https://en.wikipedia.org/wiki/Wikipedia:Copyrights)
|
63 |
+
for details.
|