minimaxir/mtg-embeddings
View on GitHub ↗ ★ 66 Jupyter Notebook
Code used to create text embeddings of all Magic: The Gathering cards.
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2025-02-24 · latest 2025-03-16
20082026
-
…composite five images: one consisting of the left half of the image, the other four in quadrants ( https://github.com/minimaxir/mtg-embeddings/blob/main/mtg_re... ). I know how to do that in PIL (have to manually specify the coordinates…
comment by minimaxir · 2025-03-16 · in AI Is Making Developers Dumb -
…L4 GPU on Google Cloud Platform (g2-standard-4) at ~$0.28/hour, costing < $0.01 overall: https://github.com/minimaxir/mtg-embeddings/blob/main/mtg_em... The base ModernBERT uses CUDA tricks not available in MPS, so I suspect it would take…
comment by minimaxir · 2025-02-24 · in The best way to use text embeddings portably is with Parquet and Polars -
In general I like to send structured data (see the input format here: https://github.com/minimaxir/mtg-embeddings ), but the ModernBERT base for the embedding model used here specifically has better benefits implicitly for structured data…
comment by minimaxir · 2025-02-24 · in The best way to use text embeddings portably is with Parquet and Polars