dpwiz commited on
Commit
14bbe95
Β·
verified Β·
1 Parent(s): 7949427

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "nutmap: emoji races and viewpoint maps"
3
+ license: cc-by-4.0
4
+ language:
5
+ - en
6
+ tags:
7
+ - emoji
8
+ - synthetic
9
+ - llm-generated
10
+ - semantic-similarity
11
+ - graph
12
+ - umap
13
+ size_categories:
14
+ - 1M<n<10M
15
+ configs:
16
+ - config_name: emoji
17
+ data_files: data/emoji.parquet
18
+ default: true
19
+ - config_name: viewpoints
20
+ data_files: data/viewpoints.parquet
21
+ - config_name: descriptions
22
+ data_files: data/descriptions.parquet
23
+ - config_name: steps
24
+ data_files: data/steps.parquet
25
+ - config_name: edges
26
+ data_files: data/edges.parquet
27
+ - config_name: races
28
+ data_files: data/races.parquet
29
+ - config_name: maps
30
+ data_files: data/maps.parquet
31
+ ---
32
+
33
+ # nutmap 🌰
34
+
35
+ Every Unicode emoji, described from 24 viewpoints, linked into a similarity graph, with the cheapest route between every pair of emoji and a one-line reason for every step those routes take.
36
+
37
+ Think of it as Wikipedia racing for emoji:
38
+
39
+ > πŸ’» β†’ πŸ–±οΈ *computer mouse is a common accessory used with laptops*
40
+ >
41
+ > πŸ–±οΈ β†’ 🐁 *Mouse doubles as computer hardware for clicking*
42
+ >
43
+ > 🐁 β†’ 🐿️ *small rounded brown body with bushy tail shape*
44
+ >
45
+ > 🐿️ β†’ 🌰 *chipmunks stuff acorns and nuts into their cheeks*
46
+
47
+ - **[Interactive map](https://nutmap.ic-rbow.workers.dev):** pick any emoji as the finish line and watch every other emoji drain into it; switch between the race map, the component maps and each viewpoint's map.
48
+ - **[Video](https://www.youtube.com/watch?v=oN4GZm7bwsc):** the map morphing from description similarity to picture similarity and back.
49
+ - **[Source](https://github.com/dpwiz/nutmap):** the pipeline that builds all of this, rebuildable byte for byte.
50
+
51
+ ## Configurations
52
+
53
+ | Config | Rows | One row per |
54
+ | --- | ---: | --- |
55
+ | `emoji` | 1,734 | emoji: Unicode name, group, CLDR keywords, the emoji it is made of |
56
+ | `viewpoints` | 24 | viewpoint: its title and the instruction the model was given |
57
+ | `descriptions` | 41,616 | emoji and viewpoint: a description, keywords, and linked emoji with a reason for each link |
58
+ | `edges` | 96,167 | connection in the similarity graph, with its similarity, race cost and why it exists |
59
+ | `steps` | 29,698 | directed step used by at least one race, with a one-line reason |
60
+ | `races` | 3,005,022 | ordered pair of emoji: the next step on the cheapest route from start to finish, hops left and total cost |
61
+ | `maps` | 48,552 | emoji on one of 28 2D maps |
62
+
63
+ Emoji are identified everywhere by `id`, their code points in lowercase hex joined by underscores (`1f330` is 🌰, `1f43b_200d_2744` is πŸ»β€β„οΈ).
64
+
65
+ ### Columns
66
+
67
+ - **emoji:** `id`, `emoji` (the character), `name`, `group`, `subgroup`, `emoji_version` (the Emoji version that introduced it), `keywords`, `parts` (ids of the emoji a sequence is made of).
68
+ - **viewpoints:** `id`, `title`, `instruction`.
69
+ - **descriptions:** `emoji_id`, `viewpoint`, `description`, `keywords`, `links` (a list of `emoji`, `emoji_id` and `relation`; `emoji_id` is null for the few links that don't resolve to an emoji in the set).
70
+ - **edges:** `a`, `b`, `similarity` (0 to 1), `cost` (what a race pays to cross it), `sources` (`knn`, `panel`, `parts`, `mst`), `votes` (how many viewpoints proposed the link), `relation` and `relations` (up to three viewpoint reasons, each with the viewpoint and the emoji it was written from).
71
+ - **steps:** `from_id`, `to_id`, `relation`, `source` (`panel` when a viewpoint's own reason is reused, `parts` for part-of steps, `explain` when the model wrote a reason for that specific step).
72
+ - **races:** `finish`, `start`, `next`, `hops`, `cost`. Follow `next` from any start until you reach the finish to get the whole route; join each step on `steps` for its reason.
73
+ - **maps:** `map`, `kind` (`race`, `part` or `viewpoint`), `emoji_id`, `x`, `y`.
74
+ - `race` is the map the races are drawn on. `blended`, `pictures` and `names` show the parts of the race similarity on their own; every other map shows one viewpoint's descriptions alone.
75
+ - Every map is centred and scaled to unit size, and rotated to line up with the blended map. The component and viewpoint maps were fitted outward from the blended map, so the same emoji tends to sit in a similar place on each.
76
+
77
+ ## Quick start
78
+
79
+ ```python
80
+ from datasets import load_dataset
81
+
82
+ emoji = load_dataset("dpwiz/nutmap", "emoji", split="train").to_pandas().set_index("id")
83
+ races = load_dataset("dpwiz/nutmap", "races", split="train").to_pandas()
84
+ steps = load_dataset("dpwiz/nutmap", "steps", split="train").to_pandas()
85
+
86
+ next_hop = races[races.finish == "1f330"].set_index("start")["next"]
87
+ reason = steps.set_index(["from_id", "to_id"])["relation"]
88
+
89
+ at = "1f4bb"
90
+ while at != "1f330":
91
+ step = next_hop[at]
92
+ print(emoji.emoji[at], "β†’", emoji.emoji[step], reason[at, step])
93
+ at = step
94
+ ```
95
+
96
+ ## How it was made
97
+
98
+ 1. **Emoji.** All fully-qualified emoji of Unicode 18.0, with names from Unicode's emoji test data and keywords from CLDR 49. Skin-tone variants, and gendered variants that have a gender-neutral form, are folded into the base emoji.
99
+ 2. **Descriptions.** claude-haiku-5-5 described every emoji once from each viewpoint: a short description, keywords, and up to eight related emoji with a reason for each link.
100
+ 3. **Similarity.** For each pair of emoji, three channels are compared: the descriptions viewpoint by viewpoint (embedded with Qwen/Qwen3-Embedding-0.6B), the Noto Emoji 3D and flat images (embedded with google/siglip2-so400m-patch14-384), and the names and keywords. They are mixed 60/30/10 and turned into a rank within each emoji's own neighbourhood.
101
+ 4. **Graph.** Each emoji connects to its 12 most similar emoji, to every emoji a viewpoint linked it to, and to its parts; a spanning tree keeps everything reachable.
102
+ 5. **Races.** A step costs more the less alike its ends are, less the more viewpoints proposed the link, and half for a part-of link. The cheapest routes between all pairs come from Dijkstra's algorithm.
103
+ 6. **Step reasons.** A step reuses a viewpoint's reason when one exists, says "contains" for part-of steps, and otherwise has a reason written by claude-haiku-5-5 for that step.
104
+ 7. **Maps.** UMAP lays out the race map. A sweep of aligned UMAP layouts grows the blended-descriptions map out of it, and further sweeps grow each component and viewpoint map out of the blended one.
105
+
106
+ The whole dataset cost about six dollars of API calls. The repository has the full pipeline, including the batch requests and every answer received.
107
+
108
+ ## Limitations
109
+
110
+ - **Model-written text.** Descriptions, links and reasons were written by one language model, in English, and may be wrong or loose. Treat them as associations, not facts.
111
+ - **Reasons can point the other way.** A viewpoint's reason for linking A to B is reused when a race steps from B to A, so some reasons are written from the far end.
112
+ - **Cultural slant.** The viewpoints include internet slang and cross-cultural meanings, so a few descriptions mention innuendo or culture-specific readings.
113
+ - **One art style.** The picture similarity comes from Google's Noto Emoji; other vendors draw some emoji very differently. The images themselves are not included.
114
+ - **Hubs.** Very general emoji such as πŸ’°, πŸ† and πŸŒ™ attract many links and many races.
115
+ - **Flat maps.** Every 2D map keeps only about 37–56% of each emoji's 15 nearest neighbours. The races are worked out on the full similarities, not on the maps.
116
+
117
+ ## Licences
118
+
119
+ - This dataset is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). The [pipeline](https://github.com/dpwiz/nutmap) that builds it is under the Apache License 2.0.
120
+ - Emoji names, groups and CLDR keywords: Β© Unicode, Inc., under the [Unicode License v3](https://www.unicode.org/license.txt) (SPDX: Unicode-3.0). See the [Unicode terms of use](https://www.unicode.org/terms_of_use.html).
121
+ - Descriptions, links and step reasons were generated with claude-haiku-5-5 by Anthropic and have not been checked by hand.
122
+ - No images or embeddings are included. The images come from [Noto Emoji](https://github.com/googlefonts/noto-emoji) (Apache License 2.0), and the embeddings can be rebuilt with [Qwen/Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B) and [google/siglip2-so400m-patch14-384](https://huggingface.co/google/siglip2-so400m-patch14-384).
data/descriptions.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8be29421a4cfd009381e6061b906eb608c68a316ecd23df0784566a032c475be
3
+ size 10479146
data/edges.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14f2b0f6834ce7ed0e2e271c0c28de92583117c98d441d9ffe80a1f9e5b208b6
3
+ size 4553450
data/emoji.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6d561ff8b7289218285852e95c2f7c48f2f570044bab13b9a55847da1fc8b54
3
+ size 61100
data/maps.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:653f2940201d77f1e5dc0d6e39aac595583f36855f5697b8ed4e5027d12f2798
3
+ size 576689
data/races.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f2315968bfbbe7adb98b66707eebb15a0e745ff68210a5fe6866d82f757bb5b
3
+ size 18402143
data/steps.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14cff180b21f4af6ef59e13e30d7804cbe58909e335d186eb07844b7a2761a83
3
+ size 443064
data/viewpoints.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b098d5a79e786d28475fe26a03561b05d72af456bbff239d906fcbdbdc70609b
3
+ size 3490