Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -15,12 +15,7 @@ size_categories:
|
|
| 15 |
|
| 16 |
# The Ten Thousand Things Dataset
|
| 17 |
|
| 18 |
-
This dataset contains
|
| 19 |
-
|
| 20 |
-
## Files
|
| 21 |
-
|
| 22 |
-
- `ten-thousand-things.jsonl` - JSONL format (recommended for use with datasets library)
|
| 23 |
-
- `The Ten Thousand Things.json` - Original JSON format with nested structure
|
| 24 |
|
| 25 |
## Dataset Structure
|
| 26 |
|
|
@@ -47,13 +42,13 @@ Each record contains:
|
|
| 47 |
|
| 48 |
## Usage
|
| 49 |
|
| 50 |
-
### Using the datasets library
|
| 51 |
|
| 52 |
```python
|
| 53 |
from datasets import load_dataset
|
| 54 |
|
| 55 |
# Load the dataset
|
| 56 |
-
dataset = load_dataset("keenanpepper/ten-thousand-things"
|
| 57 |
|
| 58 |
# Access the data
|
| 59 |
for item in dataset['train']:
|
|
@@ -79,7 +74,7 @@ print(f"Loaded {len(topics)} topics")
|
|
| 79 |
|
| 80 |
## Dataset Statistics
|
| 81 |
|
| 82 |
-
- Total topics:
|
| 83 |
- Labels per topic: 5
|
| 84 |
- Source: Wikipedia Vital Articles (Level 4)
|
| 85 |
|
|
|
|
| 15 |
|
| 16 |
# The Ten Thousand Things Dataset
|
| 17 |
|
| 18 |
+
This dataset contains 10,008 topics with associated prompts and labels, derived from Wikipedia's vital articles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Dataset Structure
|
| 21 |
|
|
|
|
| 42 |
|
| 43 |
## Usage
|
| 44 |
|
| 45 |
+
### Using the datasets library
|
| 46 |
|
| 47 |
```python
|
| 48 |
from datasets import load_dataset
|
| 49 |
|
| 50 |
# Load the dataset
|
| 51 |
+
dataset = load_dataset("keenanpepper/ten-thousand-things")
|
| 52 |
|
| 53 |
# Access the data
|
| 54 |
for item in dataset['train']:
|
|
|
|
| 74 |
|
| 75 |
## Dataset Statistics
|
| 76 |
|
| 77 |
+
- Total topics: 10,008
|
| 78 |
- Labels per topic: 5
|
| 79 |
- Source: Wikipedia Vital Articles (Level 4)
|
| 80 |
|