Dataset Viewer
Auto-converted to Parquet Duplicate
id
large_stringlengths
3
19
game
large_stringclasses
1 value
name
large_stringlengths
3
20
card_text
large_stringlengths
120
258
embedding
listlengths
1.02k
1.02k
umap_x
float32
2.33
13.5
umap_y
float32
2.5
7.86
ABRASIVE
sts2
Abrasive
{ "name": "Abrasive", "type": "Power", "rarity": "Rare", "color": "silent", "cost": "3", "description": "Gain 1 Dexterity.\nGain 4 Thorns.", "keywords": [ "Sly" ] }
[ 0.037109375, -0.0216064453125, -0.00848388671875, 0.0279541015625, 0.0172119140625, 0.037109375, -0.01153564453125, -0.0126953125, 0.061767578125, 0.0294189453125, -0.043212890625, -0.016357421875, -0.01239013671875, -0.00982666015625, -0.0274658203125, 0.1474609375, 0.056640625, 0...
8.6597
5.727687
ACCELERANT
sts2
Accelerant
{ "name": "Accelerant", "type": "Power", "rarity": "Rare", "color": "silent", "cost": "1", "description": "Poison is triggered 1 additional time." }
[ 0.06982421875, -0.0107421875, -0.00830078125, 0.040771484375, 0.024658203125, 0.035400390625, 0.0081787109375, -0.016357421875, 0.005828857421875, 0.033935546875, -0.01068115234375, -0.056884765625, 0.01422119140625, -0.00823974609375, -0.041015625, 0.126953125, 0.02587890625, -0.0...
13.319338
4.400455
ACCURACY
sts2
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.575779
4.550295
ACROBATICS
sts2
Acrobatics
{ "name": "Acrobatics", "type": "Skill", "rarity": "Uncommon", "color": "silent", "cost": "1", "description": "Draw 3 cards.\nDiscard 1 card." }
[ 0.0191650390625, -0.029541015625, -0.007171630859375, -0.054931640625, -0.0137939453125, 0.01446533203125, 0.007537841796875, -0.040283203125, 0.0301513671875, 0.043701171875, -0.035888671875, -0.060791015625, 0.018798828125, -0.00836181640625, -0.037841796875, 0.10791015625, 0.03491...
8.263824
4.011471
ADAPTIVE_STRIKE
sts2
Adaptive Strike
{ "name": "Adaptive Strike", "type": "Attack", "rarity": "Rare", "color": "defect", "cost": "2", "description": "Deal 18 damage.\nAdd a 0[E] copy of this card into your Discard Pile." }
[ 0.050048828125, -0.021240234375, -0.00872802734375, -0.027587890625, 0.0108642578125, 0.03564453125, -0.000812530517578125, -0.0322265625, 0.04150390625, 0.0478515625, -0.0301513671875, -0.0390625, 0.01300048828125, -0.00860595703125, -0.0277099609375, 0.11279296875, 0.041015625, 0...
11.889138
4.148079
ADRENALINE
sts2
Adrenaline
{ "name": "Adrenaline", "type": "Skill", "rarity": "Rare", "color": "silent", "cost": "0", "description": "Gain [E].\nDraw 2 cards.", "keywords": [ "Exhaust" ] }
[ 0.06103515625, 0.0052490234375, -0.007232666015625, -0.001312255859375, -0.028076171875, 0.0194091796875, -0.0035552978515625, -0.040283203125, -0.03759765625, 0.0230712890625, -0.0390625, -0.01287841796875, 0.0076904296875, -0.0081787109375, -0.0380859375, 0.12255859375, 0.044921875...
6.178198
3.348855
AFTERIMAGE
sts2
Afterimage
{ "name": "Afterimage", "type": "Power", "rarity": "Rare", "color": "silent", "cost": "1", "description": "Whenever you play a card, gain 1 Block." }
[ 0.01092529296875, -0.06982421875, -0.00927734375, -0.0216064453125, -0.01446533203125, 0.033203125, -0.006927490234375, -0.0240478515625, 0.00811767578125, -0.00970458984375, 0.00168609619140625, -0.08349609375, -0.031494140625, -0.00982666015625, -0.036376953125, 0.130859375, 0.0390...
8.551843
6.856348
AFTERLIFE
sts2
Afterlife
{ "name": "Afterlife", "type": "Skill", "rarity": "Common", "color": "necrobinder", "cost": "1", "description": "Summon 6.", "keywords": [ "Exhaust" ] }
[ 0.04052734375, -0.00762939453125, -0.01068115234375, -0.005126953125, 0.00799560546875, -0.0135498046875, 0.0069580078125, -0.07080078125, -0.006683349609375, -0.004150390625, -0.078125, -0.0159912109375, 0.021484375, -0.01068115234375, -0.0299072265625, 0.11962890625, 0.06298828125,...
5.949918
4.086728
AGGRESSION
sts2
Aggression
{ "name": "Aggression", "type": "Power", "rarity": "Rare", "color": "ironclad", "cost": "1", "description": "At the start of your turn, put a random Attack from your Discard Pile into your Hand and Upgrade it." }
[ 0.0478515625, -0.03955078125, -0.007080078125, 0.00022220611572265625, 0.03271484375, -0.0162353515625, 0.018798828125, -0.03173828125, 0.0191650390625, 0.060791015625, -0.027587890625, -0.0233154296875, 0.0169677734375, -0.00689697265625, -0.039306640625, 0.1220703125, 0.01348876953...
9.467784
2.729436
ALCHEMIZE
sts2
Alchemize
{ "name": "Alchemize", "type": "Skill", "rarity": "Rare", "color": "colorless", "cost": "1", "description": "Procure a random potion.", "keywords": [ "Exhaust" ] }
[ 0.0693359375, -0.008544921875, -0.00830078125, -0.0059814453125, 0.0107421875, 0.0218505859375, 0.0218505859375, -0.05517578125, -0.037841796875, 0.041015625, -0.0615234375, -0.05029296875, -0.0306396484375, -0.00958251953125, -0.03564453125, 0.140625, 0.07373046875, 0.01806640625,...
6.105136
3.854051
ALIGNMENT
sts2
Alignment
{ "name": "Alignment", "type": "Skill", "rarity": "Uncommon", "color": "regent", "cost": "0", "description": "Gain [E][E]." }
[ 0.039794921875, -0.061279296875, -0.00970458984375, -0.0299072265625, 0.037109375, 0.000415802001953125, 0.00537109375, -0.0224609375, 0.043701171875, 0.006683349609375, -0.0011138916015625, -0.004425048828125, 0.026123046875, -0.00909423828125, -0.0400390625, 0.12255859375, -0.00043...
8.241728
5.350314
End of preview. Expand in Data Studio

Slay the Spire 2: Card Embeddings

1024-D unit-normalized text embeddings for every card in Slay the Spire 2 (Early Access), 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:

For Slay the Spire 1 text embeddings, see t22000t/slay-the-spire-1-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.

⚠️ Early Access, content is unstable. STS2 cards change with patches. When the cards dataset is refreshed, this embedding dataset is re-built and re-uploaded. Always check provenance.json for the snapshot version and embedding date.

Data Fields

Field Type Description
id string Card identifier, the join key to the cards dataset
game string Always "sts2"
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

Identical to the STS1 embeddings dataset:

  • Each card encoded as a prettified-JSON string of mechanics-relevant fields (indentation intentional)
  • Card-name self-references replaced with ~
  • Task instruction prepended at encode time
  • Encoded with Qwen/Qwen3-Embedding-0.6B, unit-normalized

Because the recipe matches STS1, embeddings from both games live in a shared coordinate system and are directly comparable.

Loading

from datasets import load_dataset
import numpy as np

ds = load_dataset("t22000t/slay-the-spire-2-card-embeddings", split="train")
emb = np.array(ds["embedding"], dtype=np.float32)

# Find the 10 cards most similar to "Zap"
i = ds["name"].index("Zap")
sims = emb @ emb[i]
top = np.argsort(-sims)[1:11]
for j in top:
    print(f"{sims[j]:.3f}  {ds[j]['name']}")

Joining with card metadata

from datasets import load_dataset

embs  = load_dataset("t22000t/slay-the-spire-2-card-embeddings", split="train").to_pandas()
cards = load_dataset("t22000t/slay-the-spire-2-cards", split="train").to_pandas()

df = embs.merge(cards, on="id", suffixes=("", "_card"))

Considerations for Using the Data

Patch drift

This dataset reflects the STS2 cards in the snapshot the embedding model was run against. After a patch, both the cards repo and this embeddings repo get rebuilt. Use the provenance.json to align snapshots, never assume a specific embedding still corresponds to its current card text.

Discussion of Biases

The embeddings inherit the biases of Qwen/Qwen3-Embedding-0.6B. STS2-specific mechanics (Orbs, Forge, Souls, Enchantments) use vocabulary the model has likely never seen during training, so semantic separation along those axes depends on contextual cues from the rest of the card text. Cross-game similarity is more reliable for shared mechanics (damage, block, vulnerable) than for STS2-only ones.

Other Known Limitations

  • English only.
  • Quality not yet formally evaluated on a card-pair benchmark, on the project roadmap.

Provenance

A provenance.json ships with this dataset recording the embedding model id, the task instruction, the embedding date, and the upstream STS2 game version.

Citation

@dataset{sts2_card_embeddings_dataset,
  title = {Slay the Spire 2: Card Embeddings},
  author = {timothy22000},
  year = {2026},
  url = {https://huggingface.co/datasets/t22000t/slay-the-spire-2-card-embeddings},
  note = {Early Access snapshot; embeddings from Qwen/Qwen3-Embedding-0.6B; card data via nkhoit/spire-archive; game IP © Mega Crit}
}

Licensing

Downloads last month
69

Spaces using t22000t/slay-the-spire-2-card-embeddings 3

Collection including t22000t/slay-the-spire-2-card-embeddings

Articles mentioning t22000t/slay-the-spire-2-card-embeddings