Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

philipp-zettl
/
MTGEmb

Sentence Similarity
sentence-transformers
Safetensors
clip
feature-extraction
dense
Generated from Trainer
dataset_size:70
loss:ContrastiveLoss
Model card Files Files and versions
xet
Community

Instructions to use philipp-zettl/MTGEmb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use philipp-zettl/MTGEmb with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("philipp-zettl/MTGEmb")
    
    sentences = [
        "Wastewood Verge",
        "https://cards.scryfall.io/normal/front/0/0/00012bd8-ed68-4978-a22d-f450c8a6e048.jpg?1559596693",
        "https://cards.scryfall.io/normal/front/0/0/0001b4a6-10bf-4bdd-a9da-fe78d9d39a82.jpg?1739573394",
        "https://cards.scryfall.io/normal/front/0/0/0000a54c-a511-4925-92dc-01b937f9afad.jpg?1562701869"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MTGEmb
610 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
philipp-zettl's picture
philipp-zettl
End of training script.
15b52ee verified 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    14.4 kB
    End of training script. 9 months ago
  • config.json
    731 Bytes
    End of training script. 9 months ago
  • config_sentence_transformers.json
    283 Bytes
    End of training script. 9 months ago
  • merges.txt
    525 kB
    End of training script. 9 months ago
  • model.safetensors
    605 MB
    xet
    End of training script. 9 months ago
  • modules.json
    111 Bytes
    End of training script. 9 months ago
  • preprocessor_config.json
    504 Bytes
    End of training script. 9 months ago
  • special_tokens_map.json
    472 Bytes
    End of training script. 9 months ago
  • tokenizer.json
    3.64 MB
    End of training script. 9 months ago
  • tokenizer_config.json
    773 Bytes
    End of training script. 9 months ago
  • vocab.json
    862 kB
    End of training script. 9 months ago