codycollier commited on
Commit
74046c2
·
verified ·
1 Parent(s): 566bea9

Upload dataset card

Browse files
Files changed (1) hide show
  1. README.md +56 -17
README.md CHANGED
@@ -1,19 +1,58 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: slug
7
- dtype: string
8
- splits:
9
- - name: train
10
- num_bytes: 3432495
11
- num_examples: 50
12
- download_size: 1971687
13
- dataset_size: 3432495
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
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).