Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

martin-ha
/
text_encoder_in_dual

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

Instructions to use martin-ha/text_encoder_in_dual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Keras

    How to use martin-ha/text_encoder_in_dual with Keras:

    # !pip install -U keras tensorflow huggingface_hub
    # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
    # "jax" and "torch" also work for computation once TensorFlow is installed.
    import os
    os.environ["KERAS_BACKEND"] = "tensorflow"
    
    import keras
    
    model = keras.saving.load_model("hf://martin-ha/text_encoder_in_dual")
    
  • Notebooks
  • Google Colab
  • Kaggle
text_encoder_in_dual
124 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
martin pan
Add model
d3ca48f over 4 years ago
  • assets
    Add model over 4 years ago
  • variables
    Add model over 4 years ago
  • .gitattributes
    1.36 kB
    Add model over 4 years ago
  • README.md
    334 Bytes
    Add model over 4 years ago
  • keras_metadata.pb
    13.3 kB
    xet
    Add model over 4 years ago
  • model.png
    33 kB
    xet
    Add model over 4 years ago
  • saved_model.pb
    6.78 MB
    xet
    Add model over 4 years ago