id large_stringlengths 3 18 | game large_stringclasses 1
value | name large_stringlengths 3 18 | card_text large_stringlengths 102 224 | embedding listlengths 1.02k 1.02k | umap_x float32 3.7 11.2 | umap_y float32 -1.63 8.03 |
|---|---|---|---|---|---|---|
ACCURACY | sts1 | Accuracy | {
"name": "Accuracy",
"type": "Power",
"rarity": "Uncommon",
"color": "silent",
"cost": "1",
"description": "Shivs deal 4 additional damage."
} | [
-0.0196533203125,
-0.053466796875,
-0.00799560546875,
-0.00701904296875,
0.028076171875,
0.038330078125,
-0.0002956390380859375,
-0.006134033203125,
-0.0031585693359375,
-0.0068359375,
-0.01953125,
-0.0145263671875,
0.028564453125,
-0.0084228515625,
-0.033203125,
0.14453125,
0.054931... | 9.646827 | 4.18514 |
ACROBATICS | sts1 | Acrobatics | {
"name": "Acrobatics",
"type": "Skill",
"rarity": "Common",
"color": "silent",
"cost": "1",
"description": "Draw 3 cards.\nDiscard 1 card."
} | [
0.0235595703125,
-0.02880859375,
-0.007476806640625,
-0.054931640625,
-0.0152587890625,
0.020263671875,
0.01361083984375,
-0.044677734375,
0.029296875,
0.050537109375,
-0.03955078125,
-0.053955078125,
0.0263671875,
-0.00823974609375,
-0.037353515625,
0.10302734375,
0.036865234375,
... | 6.471635 | 7.211394 |
ADAPTATION | sts1 | Rushdown | {
"name": "Rushdown",
"type": "Power",
"rarity": "Uncommon",
"color": "watcher",
"cost": "1",
"description": "Whenever you enter Wrath, draw 2 cards."
} | [
0.013427734375,
-0.046630859375,
-0.00933837890625,
-0.037353515625,
0.0191650390625,
-0.006866455078125,
0.016357421875,
-0.051513671875,
-0.02978515625,
0.018310546875,
-0.00811767578125,
-0.00628662109375,
0.0308837890625,
-0.009033203125,
-0.0262451171875,
0.12060546875,
0.043457... | 9.149016 | 5.353632 |
ADRENALINE | sts1 | Adrenaline | {
"name": "Adrenaline",
"type": "Skill",
"rarity": "Rare",
"color": "silent",
"cost": "0",
"description": "Gain [G].\nDraw 2 cards.\nExhaust."
} | [
0.05224609375,
-0.013916015625,
-0.006683349609375,
-0.0031585693359375,
-0.0162353515625,
0.0196533203125,
-0.001007080078125,
-0.0306396484375,
-0.0257568359375,
0.0341796875,
-0.0301513671875,
-0.0120849609375,
0.0037689208984375,
-0.00732421875,
-0.033203125,
0.115234375,
0.04541... | 7.062483 | 6.978167 |
AFTER_IMAGE | sts1 | After Image | {
"name": "After Image",
"type": "Power",
"rarity": "Rare",
"color": "silent",
"cost": "1",
"description": "Whenever you play a card, gain 1 Block."
} | [
0.0233154296875,
-0.08349609375,
-0.00921630859375,
-0.0267333984375,
-0.009033203125,
0.0303955078125,
-0.01190185546875,
-0.02880859375,
0.0111083984375,
0.01287841796875,
-0.004302978515625,
-0.061279296875,
-0.0291748046875,
-0.00970458984375,
-0.037353515625,
0.134765625,
0.0363... | 4.578198 | 5.117598 |
AGGREGATE | sts1 | Aggregate | {
"name": "Aggregate",
"type": "Skill",
"rarity": "Uncommon",
"color": "defect",
"cost": "1",
"description": "Gain [B] for every 4 cards in your draw pile."
} | [
0.0172119140625,
-0.07763671875,
-0.01190185546875,
-0.049072265625,
0.0030059814453125,
0.0230712890625,
0.0147705078125,
-0.0546875,
0.0263671875,
0.0181884765625,
-0.0030670166015625,
-0.0234375,
-0.004669189453125,
-0.01153564453125,
-0.035888671875,
0.11669921875,
0.010620117187... | 5.613869 | 5.9632 |
ALL_FOR_ONE | sts1 | All for One | {
"name": "All for One",
"type": "Attack",
"rarity": "Rare",
"color": "defect",
"cost": "2",
"description": "Deal 10 damage.\nPut all cost 0 cards from your discard pile into your hand."
} | [
0.0245361328125,
-0.02490234375,
-0.00738525390625,
-0.0419921875,
0.000553131103515625,
0.01806640625,
0.0230712890625,
-0.076171875,
0.01324462890625,
0.046875,
-0.034423828125,
-0.041259765625,
0.0294189453125,
-0.00830078125,
-0.0257568359375,
0.10595703125,
0.037841796875,
-0.... | 8.628348 | 3.65102 |
ALL_OUT_ATTACK | sts1 | All-Out Attack | {
"name": "All-Out Attack",
"type": "Attack",
"rarity": "Uncommon",
"color": "silent",
"cost": "1",
"description": "Deal 10 damage to ALL enemies.\nDiscard 1 card at random."
} | [
0.01300048828125,
-0.017822265625,
-0.00665283203125,
-0.033447265625,
0.01214599609375,
0.009033203125,
-0.0035552978515625,
-0.06103515625,
0.004364013671875,
0.009033203125,
-0.04248046875,
-0.027587890625,
0.0042724609375,
-0.00787353515625,
-0.0294189453125,
0.1064453125,
0.0329... | 8.554823 | 3.526072 |
ALPHA | sts1 | Alpha | {
"name": "Alpha",
"type": "Skill",
"rarity": "Rare",
"color": "watcher",
"cost": "1",
"description": "Shuffle a Beta into your draw pile.\nExhaust."
} | [
0.0380859375,
-0.046630859375,
-0.0079345703125,
-0.0517578125,
-0.01953125,
-0.018310546875,
-0.009765625,
-0.056640625,
-0.007110595703125,
0.013427734375,
-0.036376953125,
-0.0498046875,
0.012939453125,
-0.00811767578125,
-0.02978515625,
0.1064453125,
0.061767578125,
0.022705078... | 7.412478 | 7.37531 |
AMPLIFY | sts1 | Amplify | {
"name": "Amplify",
"type": "Skill",
"rarity": "Rare",
"color": "defect",
"cost": "1",
"description": "This turn, your next Power card is played twice."
} | [
0.04443359375,
-0.03271484375,
-0.00555419921875,
-0.01336669921875,
0.0150146484375,
0.046875,
0.01904296875,
-0.06787109375,
0.0264892578125,
0.044189453125,
-0.0264892578125,
-0.0322265625,
-0.01263427734375,
-0.0074462890625,
-0.035400390625,
0.11767578125,
-0.000858306884765625,... | 9.568697 | 6.786432 |
ANGER | sts1 | Anger | {
"name": "Anger",
"type": "Attack",
"rarity": "Common",
"color": "ironclad",
"cost": "0",
"description": "Deal 6 damage.\nAdd a copy of this card into your discard pile."
} | [
0.062255859375,
-0.0245361328125,
-0.006317138671875,
0.00384521484375,
0.0157470703125,
0.01153564453125,
0.0107421875,
-0.05517578125,
-0.01397705078125,
0.0252685546875,
-0.00439453125,
-0.0164794921875,
0.043701171875,
-0.00762939453125,
-0.030517578125,
0.09130859375,
0.07421875... | 9.505793 | 2.279887 |
Slay the Spire 1: Card Embeddings
1024-D unit-normalized text embeddings for every card in Slay the Spire, produced by inference with the pretrained Qwen/Qwen3-Embedding-0.6B (frozen, no fine-tuning was done to generate this dataset). Collected for ML/DL training: drop directly into a retriever, similarity index, or downstream model that consumes pre-encoded vectors.
This is the text-embeddings dataset. Companion datasets, all joinable on id:
t22000t/slay-the-spire-1-cards- card metadata + derived features + inline portrait artt22000t/slay-the-spire-1-card-multimodal-embeddings- joint text+image embeddings viaQwen/Qwen3-VL-Embedding-2B(use when portrait similarity matters too)
For Slay the Spire 2 text embeddings, see t22000t/slay-the-spire-2-card-embeddings. Vectors from both games share the same model and instruction prompt, so they're directly comparable for cross-game similarity search.
The full bundle (6 datasets across both games + 3 Gradio demos) is in the slaythespire-codex collection.
Data Fields
| Field | Type | Description |
|---|---|---|
id |
string | Card identifier, the join key to the cards dataset |
game |
string | Always "sts1" |
name |
string | Display name (kept for convenience) |
card_text |
string | The prettified-JSON card document fed to the embedder |
embedding |
list[float32] (1024) | Unit-normalized text embedding |
umap_x |
float | First UMAP-2D coordinate |
umap_y |
float | Second UMAP-2D coordinate |
Embedding Recipe
Following the approach pioneered by minimaxir/mtg-embeddings:
- Each card is encoded as a prettified JSON string of its mechanics-relevant fields. Indentation is intentional, measurably improves embedding quality.
- Card-name self-references inside descriptions are replaced with
~so the embedding isn't dominated by name surface form. - A task instruction is prepended at encode time: "Represent this Slay the Spire card so that mechanically similar cards (same archetype, comparable damage/block patterns, related keywords) are close in embedding space."
- Encoded with
Qwen/Qwen3-Embedding-0.6B, the 8B variant of this family ranked #1 on the multilingual MTEB leaderboard at release. - Embeddings are unit-normalized, so cosine similarity is just a matrix dot product.
The exact model id, instruction, and embedding date are recorded in provenance.json for full reproducibility.
Loading
from datasets import load_dataset
import numpy as np
ds = load_dataset("t22000t/slay-the-spire-1-card-embeddings", split="train")
emb = np.array(ds["embedding"], dtype=np.float32)
# Find the 10 cards most similar to "Strike"
i = ds["name"].index("Strike")
sims = emb @ emb[i]
top = np.argsort(-sims)[1:11]
for j in top:
print(f"{sims[j]:.3f} {ds[j]['name']}")
For 360 cards, the entire similarity matrix fits in a few MB of RAM and a query is sub-millisecond.
Joining with card metadata
The embedding dataset is intentionally minimal. To get card details (cost, description, type, etc.), join with the cards dataset on id:
import pandas as pd
from datasets import load_dataset
embs = load_dataset("t22000t/slay-the-spire-1-card-embeddings", split="train").to_pandas()
cards = load_dataset("t22000t/slay-the-spire-1-cards", split="train").to_pandas()
df = embs.merge(cards, on="id", suffixes=("", "_card"))
Cross-game similarity
Both STS1 and STS2 embeddings use the same model and instruction prompt, so vectors are directly comparable:
import numpy as np
from datasets import load_dataset
sts1 = load_dataset("t22000t/slay-the-spire-1-card-embeddings", split="train")
sts2 = load_dataset("t22000t/slay-the-spire-2-card-embeddings", split="train")
e1 = np.array(sts1["embedding"], dtype=np.float32)
e2 = np.array(sts2["embedding"], dtype=np.float32)
# STS2 cards most similar to "Bash" (an STS1 card)
i = sts1["name"].index("Bash")
sims = e2 @ e1[i]
print(np.array(sts2["name"])[np.argsort(-sims)[:10]])
Considerations for Using the Data
Discussion of Biases
The embeddings inherit the biases of Qwen/Qwen3-Embedding-0.6B, which was trained on multilingual web text. Mechanics described with vocabulary common in the training distribution (damage, block, draw) will likely be better separated than mechanics described with rarer or more idiosyncratic phrasing.
Other Known Limitations
- English only. Other locales would require re-encoding with the multilingual capacity of Qwen3-Embedding (which it has, just not exercised here).
- Quality not yet formally evaluated. A held-out card-pair similarity benchmark is on the project roadmap. Until it lands, treat the rankings as reasonable but not metric-validated.
Provenance
A provenance.json ships with this dataset recording the embedding model id, the task instruction, the embedding date, and the upstream fetch source. Critical for downstream search code, which must encode queries with the same model + instruction.
Citation
@dataset{sts1_card_embeddings_dataset,
title = {Slay the Spire 1: Card Embeddings},
author = {timothy22000},
year = {2026},
url = {https://huggingface.co/datasets/t22000t/slay-the-spire-1-card-embeddings},
note = {Embeddings from Qwen/Qwen3-Embedding-0.6B; card data via nkhoit/spire-archive; game IP © Mega Crit}
}
Licensing
- Dataset: CC BY 4.0
- Pipeline code: MIT, see github.com/timothy22000/slaythespire-codex
- Game IP: Slay the Spire is © Mega Crit.
- Downloads last month
- 33