nutmap / README.md
dpwiz's picture
Upload folder using huggingface_hub
1719b96 verified
|
Raw History Blame Contribute Delete
8.54 kB
metadata
pretty_name: 'nutmap: emoji races and viewpoint maps'
license: cc-by-4.0
language:
  - en
tags:
  - emoji
  - synthetic
  - llm-generated
  - semantic-similarity
  - graph
  - umap
size_categories:
  - 1M<n<10M
configs:
  - config_name: emoji
    data_files: data/emoji.parquet
    default: true
  - config_name: viewpoints
    data_files: data/viewpoints.parquet
  - config_name: descriptions
    data_files: data/descriptions.parquet
  - config_name: steps
    data_files: data/steps.parquet
  - config_name: edges
    data_files: data/edges.parquet
  - config_name: races
    data_files: data/races.parquet
  - config_name: maps
    data_files: data/maps.parquet

nutmap 🌰

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.

Think of it as Wikipedia racing for emoji:

πŸ’» β†’ πŸ–±οΈ computer mouse is a common accessory used with laptops

πŸ–±οΈ β†’ 🐁 Mouse doubles as computer hardware for clicking

🐁 β†’ 🐿️ small rounded brown body with bushy tail shape

🐿️ β†’ 🌰 chipmunks stuff acorns and nuts into their cheeks

  • Interactive map: 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.
  • Viewpoints: every viewpoint's instruction, its map, and what it said about 🌰 and πŸ‰.
  • Videos: the morph, from description similarity to picture similarity and back, and the viewpoint tour, from the blended map out to each viewpoint's map and back.
  • Source: the pipeline that builds all of this, rebuildable byte for byte.

Configurations

Config Rows One row per
emoji 1,734 emoji: Unicode name, group, CLDR keywords, the emoji it is made of
viewpoints 24 viewpoint: its title and the instruction the model was given
descriptions 41,616 emoji and viewpoint: a description, keywords, and linked emoji with a reason for each link
edges 96,167 connection in the similarity graph, with its similarity, race cost and why it exists
steps 29,698 directed step used by at least one race, with a one-line reason
races 3,005,022 ordered pair of emoji: the next step on the cheapest route from start to finish, hops left and total cost
maps 48,552 emoji on one of 28 2D maps

Emoji are identified everywhere by id, their code points in lowercase hex joined by underscores (1f330 is 🌰, 1f43b_200d_2744 is πŸ»β€β„οΈ).

Columns

  • 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).
  • viewpoints: id, title, instruction.
  • 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).
  • 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).
  • 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).
  • 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.
  • maps: map, kind (race, part or viewpoint), emoji_id, x, y.
    • 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.
    • 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.

Quick start

from datasets import load_dataset

emoji = load_dataset("dpwiz/nutmap", "emoji", split="train").to_pandas().set_index("id")
races = load_dataset("dpwiz/nutmap", "races", split="train").to_pandas()
steps = load_dataset("dpwiz/nutmap", "steps", split="train").to_pandas()

next_hop = races[races.finish == "1f330"].set_index("start")["next"]
reason = steps.set_index(["from_id", "to_id"])["relation"]

at = "1f4bb"
while at != "1f330":
    step = next_hop[at]
    print(emoji.emoji[at], "β†’", emoji.emoji[step], reason[at, step])
    at = step

How it was made

  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.
  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.
  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.
  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.
  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.
  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.
  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.

The whole dataset cost about six dollars of API calls. The repository has the full pipeline, including the batch requests and every answer received.

Limitations

  • 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.
  • 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.
  • Cultural slant. The viewpoints include internet slang and cross-cultural meanings, so a few descriptions mention innuendo or culture-specific readings.
  • 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.
  • Hubs. Very general emoji such as πŸ’°, πŸ† and πŸŒ™ attract many links and many races.
  • 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.

Licences