name large_stringlengths 1 141 | scryfallId large_stringlengths 36 36 | manaCost large_stringclasses 829 values | type large_stringlengths 4 50 | text large_stringlengths 5 775 ⌀ | power large_stringclasses 34 values | toughness large_stringclasses 38 values | loyalty large_stringclasses 12 values | rarities large listlengths 1 5 | sets large listlengths 1 66 | embedding sequence | x_2d float32 -12.27 4.14 | y_2d float32 -5.81 8.69 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
"Ach! Hans, Run!" | 84f2c8f5-8e11-4639-b7de-00e4a2cbabee | {2}{R}{R}{G}{G} | Enchantment | At the beginning of your upkeep, you may say "Ach! Hans, run! It's the . . ." and the name of a creature card. If you do, search your library for a card with that name, put it onto the battlefield, then shuffle. That creature gains haste. Exile it at the beginning of the next end step. | null | null | null | [
"rare"
] | [
"UNH"
] | [
0.02145829051733017,
-0.03610171005129814,
-0.05294724926352501,
-0.011336883530020714,
-0.019175907596945763,
0.0005627506761811674,
-0.023171432316303253,
-0.04495768994092941,
0.036438144743442535,
-0.013094624504446983,
-0.011124076321721077,
0.02973208762705326,
-0.034746456891298294,
... | -0.261871 | 2.217163 |
"Brims" Barone, Midway Mobster | 68832214-2943-4253-8884-ffa490e84087 | {3}{W}{B} | Legendary Creature — Human Rogue | When ~ enters, put a +1/+1 counter on each other creature you control that has a hat.\n~ has menace as long as you're wearing a hat. | 5 | 4 | null | [
"uncommon"
] | [
"UNF"
] | [
0.0002610206720419228,
0.025206809863448143,
-0.01799505017697811,
-0.03972186893224716,
-0.0389925092458725,
0.012854845263063908,
-0.030158812180161476,
-0.04052910953760147,
-0.005807932466268539,
-0.03850233554840088,
0.0027427386958152056,
0.02716326154768467,
-0.03070593811571598,
-0... | 0.045746 | -0.990356 |
"Lifetime" Pass Holder | 42293306-aaea-4542-8df4-8138234bf556 | {B} | Creature — Zombie Guest | This creature enters tapped.\nWhen this creature dies, open an Attraction.\nWhenever you roll to visit your Attractions, if you roll a 6, you may return this card from your graveyard to the battlefield. | 2 | 1 | null | [
"rare"
] | [
"UNF"
] | [
-0.004467252176254988,
-0.016706841066479683,
-0.032644953578710556,
-0.05000946670770645,
-0.016892466694116592,
0.0011974811786785722,
-0.006687512155622244,
-0.03816118836402893,
-0.01812792383134365,
-0.013764395378530025,
0.03460042178630829,
-0.014232732355594635,
-0.02431609109044075,... | -1.034943 | 0.165527 |
"Name Sticker" Goblin | fd1442b4-da59-4042-835f-143c8dcaa73b | {2}{R} | Creature — Goblin Guest | When this creature enters from anywhere other than a graveyard or exile, if it's on the battlefield and you control 9 or fewer creatures named ~, roll a 20-sided die.\n1-6 | Add {R}{R}{R}{R}.\n7-14 | Add {R}{R}{R}{R}{R}.\n15-20 | Add {R}{R}{R}{R}{R}{R}. | 2 | 2 | null | [
"common"
] | [
"UNF"
] | [
-0.03243042528629303,
-0.006905271206051111,
0.0014067867305129766,
-0.03485441207885742,
-0.024812981486320496,
0.039991118013858795,
-0.04580288007855415,
-0.029368925839662552,
0.01147405430674553,
-0.01807928830385208,
0.0238731037825346,
0.01810324564576149,
-0.040853843092918396,
0.0... | -3.05658 | -2.964111 |
"Rumors of My Death . . ." | cb3587b9-e727-4f37-b4d6-1baa7316262f | {2}{B} | Enchantment | {3}{B}, Exile a permanent you control with a League of Dastardly Doom watermark: Return a permanent card with a League of Dastardly Doom watermark from your graveyard to the battlefield. | null | null | null | [
"uncommon"
] | [
"UST"
] | [
-0.008718706667423248,
-0.009454002603888512,
-0.032359231263399124,
-0.010376865975558758,
-0.010418839752674103,
-0.02431662380695343,
-0.030384501442313194,
-0.040762972086668015,
0.01497714128345251,
0.003771310904994607,
0.012999146245419979,
-0.006264859344810247,
-0.05699900537729263,... | 0.421021 | 2.189697 |
+2 Mace | e882c9f9-bf30-46b6-bedc-379d2c80e5cb | {1}{W} | Artifact — Equipment | Equipped creature gets +2/+2.\nEquip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.) | null | null | null | [
"common"
] | [
"AFR"
] | [
-0.003423895686864853,
0.02097606286406517,
-0.009319425560534,
-0.031998664140701294,
-0.013653337955474854,
0.009623517282307148,
-0.043866705149412155,
-0.05479871481657028,
0.03265182301402092,
-0.027521098032593727,
-0.019897017627954483,
0.04362381994724274,
-0.0005131611251272261,
0... | 3.74176 | 0.507935 |
1996 World Champion | d3f10f07-7cfe-4a6f-8de6-373e367a731b | {W}{U}{B}{R}{G} | Summon Legend | Cannot be the target of spells or effects. World Champion has power and toughness equal to the life total of target opponent.\n{0}: Discard your hand to search your library for ~ and reveal it to all players. Shuffle your library and put ~ on top of it. Use this ability only at the beginning of your upkeep, and only if ~ is in your library. | * | * | null | [
"rare"
] | [
"PCEL"
] | [
0.002097155898809433,
-0.0016517003532499075,
-0.06017081439495087,
-0.029889166355133057,
-0.023254362866282463,
-0.024772783741354942,
-0.045627009123563766,
-0.05207722261548042,
-0.011309939436614513,
-0.006073550321161747,
-0.000028191148885525763,
0.01912720315158367,
-0.05078183114528... | 1.106415 | 1.618042 |
A Display of My Dark Power | c5287e77-890d-41bd-acc6-7a8f1866426d | null | Scheme | When you set this scheme in motion, until your next turn, whenever a player taps a land for mana, that player adds one mana of any type that land produced. | null | null | null | [
"common"
] | [
"OARC"
] | [
0.011368264444172382,
0.03128967434167862,
0.0034117107279598713,
-0.023207256570458412,
-0.009963471442461014,
-0.0029407646507024765,
-0.03083300031721592,
-0.02562866359949112,
0.025680655613541603,
-0.0031895230058580637,
0.015067330561578274,
0.025789033621549606,
-0.05316045880317688,
... | 1.75705 | 7.45813 |
A Girl and Her Dogs | 40a5e12b-9fe9-40ee-8114-08241668765c | {4}{W} | Creature — Human | When ~ enters the battlefield and at the beginning of your upkeep, create a 1/1 white legendary Dog creature token and name it.\nWhenever ~ attacks, it gets +1/+1 until end of turn for each legendary creature you control. | 3 | 3 | null | [
"rare"
] | [
"MB2"
] | [
0.006446389481425285,
-0.010229072533547878,
-0.060509588569402695,
0.005786617752164602,
-0.010468296706676483,
0.026105130091309547,
-0.023255204781889915,
-0.025661299005150795,
-0.007205494679510593,
-0.034222498536109924,
0.017350435256958008,
0.0017272861441597342,
-0.0452745221555233,... | -2.944885 | -1.920898 |
A Golden Opportunity | 651be3e2-0d26-4def-98c1-3e526e650fe5 | {2}{G} | Enchantment — Saga | (As this Saga enters and after your draw step add a lore counter. Sacrifice after III.)\nI — Conjure a card named Gilded Goose onto the battlefield.\nII, III — You may tap an untapped Bird you control and sacrifice an artifact. If you do, conjure a card named Golden Egg onto the battlefield. | null | null | null | [
"rare"
] | [
"YWOE"
] | [
0.03554346412420273,
-0.024191338568925858,
-0.04981807991862297,
-0.017654992640018463,
0.0015715332701802254,
0.004919764585793018,
-0.030525952577590942,
-0.031198054552078247,
0.020395487546920776,
-0.01582007110118866,
0.009899995289742947,
0.02753484435379505,
-0.035781458020210266,
... | -0.634338 | 1.327515 |
A Good Day to Pie | 9cc2b6b4-399d-411a-a057-8dd1fff0d3b7 | {1}{W} | Instant | Tap up to two target creatures.\nWhenever you put a name sticker on a creature, you may return this instant from your graveyard to your hand. | null | null | null | [
"common"
] | [
"UNF"
] | [
-0.006270361598581076,
-0.008792982436716557,
0.013989569619297981,
-0.041956737637519836,
-0.02619621902704239,
0.035397183150053024,
-0.01983998902142048,
-0.023515185341238976,
-0.0015995427966117859,
-0.017094992101192474,
0.017955832183361053,
0.013327428139746189,
-0.000962583697400987... | 0.201691 | 3.150879 |
Dataset Card for Dataset Name
Text embeddings of all Magic: The Gathering card until Aetherdrift (2024-02-14). The text embeddings are centered around card mechanics (i.e. no flavor text/card art embeddings) in order to identify similar cards mathematically.
This dataset also includes zero-mean-centered 2D UMAP coordinates for all the cards, in columns x_2d and y_2d.
Dataset Details
How The Embeddings Were Created
Using the data exports from MTGJSON, the data was deduped by card name to the most recent card printing and aggregated as a prettified JSON object string (including indentation, which is relevant to embedding quality).
An example card input string:
{
"name": "Marhault Elsdragon",
"manaCost": "{3}{R}{R}{G}",
"type": "Legendary Creature — Elf Warrior",
"text": "Rampage 1 (Whenever this creature becomes blocked, it gets +1/+1 until end of turn for each creature blocking it beyond the first.)",
"power": "4",
"toughness": "6",
"rarities": [
"uncommon"
],
"sets": [
"LEG",
"BCHR",
"CHR",
"ME3"
]
}
This JSON string was then encoded and unit-normalized using the Alibaba-NLP/gte-modernbert-base text embedding model.
JSON schema definitions:
name: Card namemanaCost: Card mana costtype: Card type (full textline)text: Gatherer card text. Exact matches to card names within card text are replaced with~for consistency.power: Card power. Omitted if N/A.toughness: Card toughness. Omitted if N/A.loyalty: Card loyalty. Omitted if N/A.rarities: List of all card rarities for all printings of the card. Rarities are listed in this order:["common", "uncommon", "rare", "mythic", "bonus", "special"]sets: List of all sets the card was printed in. Sets are listed in chronological order of printing. Basic lands have a special case of[*].
It took 1:17 to encode all ~33k cards using a preemptible L4 GPU on Google Cloud Platform (g2-standard-4) at ~$0.28/hour, costing < $0.01 overall.
- Downloads last month
- 23