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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

keras-io
/
siamese-contrastive

TF-Keras
Model card Files Files and versions
xet
Community
3

Instructions to use keras-io/siamese-contrastive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • TF-Keras

    How to use keras-io/siamese-contrastive with TF-Keras:

    # Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
    # See https://github.com/keras-team/tf-keras for more details.
    from huggingface_hub import from_pretrained_keras
    
    model = from_pretrained_keras("keras-io/siamese-contrastive")
    
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Confusion on the Contrastive Loss

#2 opened over 3 years ago by
gkmeng

Add a title, description and credits to owner of Space and original author of the Keras example

2
#1 opened almost 4 years ago by
merve
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs