Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- text-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- reddit
|
| 10 |
+
- horror
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100K<n<1M
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Raw TwoSentenceHorror Dump (Pushshift)
|
| 16 |
+
|
| 17 |
+
This is the raw Zstandard compressed dump of the r/TwoSentenceHorror subreddit used to train [Link to your model].
|
| 18 |
+
|
| 19 |
+
## How to load this data
|
| 20 |
+
You can stream this directly in Python without downloading the whole file first:
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from datasets import load_dataset
|
| 24 |
+
|
| 25 |
+
# Load directly from the zst file
|
| 26 |
+
dataset = load_dataset("json", data_files="[https://huggingface.co/datasets/YourUsername/TwoSentenceHorror-raw-dump/resolve/main/TwoSentenceHorror_submissions.zst](https://huggingface.co/datasets/YourUsername/TwoSentenceHorror-raw-dump/resolve/main/TwoSentenceHorror_submissions.zst)", split="train")
|
| 27 |
+
|
| 28 |
+
print(next(iter(dataset)))
|