Datasets:
Upload dataset card
Browse files
README.md
CHANGED
|
@@ -1,19 +1,58 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-sa-4.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- n<1K
|
| 7 |
+
source_datasets:
|
| 8 |
+
- original
|
| 9 |
+
task_categories:
|
| 10 |
+
- text-generation
|
| 11 |
+
pretty_name: Top US Cities (Wikipedia)
|
| 12 |
+
tags:
|
| 13 |
+
- geography
|
| 14 |
+
- wikipedia
|
| 15 |
+
- usa
|
| 16 |
+
- plain-text
|
| 17 |
+
- cities
|
| 18 |
+
- census
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# Dataset Card for Top US Cities (Wikipedia)
|
| 22 |
+
|
| 23 |
+
Wikipedia plain-text extracts for the top 50 US cities by 2020 Census population (Washington, D.C. omitted).
|
| 24 |
+
|
| 25 |
+
## Dataset Details
|
| 26 |
+
|
| 27 |
+
- **Language:** English
|
| 28 |
+
- **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) (Wikipedia text)
|
| 29 |
+
- **Source:** English Wikipedia (plain-text extracts)
|
| 30 |
+
- **Rows:** 50
|
| 31 |
+
|
| 32 |
+
## Dataset Description
|
| 33 |
+
|
| 34 |
+
One row per city with `text` (full English Wikipedia plain-text extract) and `slug` (filesystem-safe place identifier). City selection follows 2020 Census population ranking. Useful for language modeling, retrieval, and geography-focused NLP.
|
| 35 |
+
|
| 36 |
+
## Dataset Structure
|
| 37 |
+
|
| 38 |
+
One row per place. Single split: `train`.
|
| 39 |
+
|
| 40 |
+
| Field | Type | Description |
|
| 41 |
+
|-------|------|-------------|
|
| 42 |
+
| `text` | string | Full Wikipedia plain-text extract for the place |
|
| 43 |
+
| `slug` | string | Filesystem-safe place identifier |
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
### Example
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
from datasets import load_dataset
|
| 50 |
+
|
| 51 |
+
ds = load_dataset("codycollier/geo-us-cities-top")
|
| 52 |
+
row = ds["train"][0]
|
| 53 |
+
print(row["slug"], len(row["text"]))
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Licensing Information
|
| 57 |
+
|
| 58 |
+
Text content originates from Wikipedia and remains under the Creative Commons Attribution-ShareAlike License. See [Wikipedia:Copyrights](https://en.wikipedia.org/wiki/Wikipedia:Copyrights).
|