reshinthadith
commited on
Commit
•
0764aa6
1
Parent(s):
df480dd
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators: []
|
3 |
+
language_creators:
|
4 |
+
- crowdsourced
|
5 |
+
language: ["en","code"]
|
6 |
+
multilinguality:
|
7 |
+
- multilingual
|
8 |
+
size_categories:
|
9 |
+
- unknown
|
10 |
+
source_datasets: []
|
11 |
+
task_categories:
|
12 |
+
- text-generation
|
13 |
+
task_ids:
|
14 |
+
- language-modeling
|
15 |
+
|
16 |
+
---
|
17 |
+
|
18 |
+
## Dataset Description
|
19 |
+
|
20 |
+
A small subset in each dataset of `pile-v2`(~1000 samples) of [pile-v2]() dataset, each has 1,000 random samples from the original dataset. The dataset has 255MB of text (code and english).
|
21 |
+
|
22 |
+
|
23 |
+
## Languages
|
24 |
+
The dataset contains technical text on programming languages and natural language with the following subsets,
|
25 |
+
- Bible
|
26 |
+
- TED2020
|
27 |
+
- PileOfLaw
|
28 |
+
- StackExchange
|
29 |
+
- GithubIssues
|
30 |
+
- Opensubtitles
|
31 |
+
- USPTO
|
32 |
+
- S2ORC
|
33 |
+
- DevDocs
|
34 |
+
- CodePileReddit2022
|
35 |
+
- USENET
|
36 |
+
- GNOME
|
37 |
+
- ASFPublicMail
|
38 |
+
- PileV2Reddit2020
|
39 |
+
- CodePilePosts
|
40 |
+
- Discourse
|
41 |
+
- Tanzil
|
42 |
+
- arXiv
|
43 |
+
- UbuntuIRC
|
44 |
+
- PubMed
|
45 |
+
- CodePileReddit2020
|
46 |
+
- CodePileReddit2021
|
47 |
+
- GlobalVoices
|
48 |
+
- FreeLaw_Options
|
49 |
+
- PileV2Posts
|
50 |
+
|
51 |
+
## Dataset Structure
|
52 |
+
|
53 |
+
```python
|
54 |
+
from datasets import load_dataset
|
55 |
+
load_dataset("CarperAI/pile-v2-small")
|
56 |
+
```
|
57 |
+
### How to use it
|
58 |
+
You can either load the whole dataset like above, or load a specific subset such as arxiv by specifying the folder directory:
|
59 |
+
```python
|
60 |
+
load_dataset("CarperAI/pile-v2-small", data_dir="data/arxiv")
|
61 |
+
```
|
62 |
+
|