Instructions to use xiaoyaoes/malicious-keras-text-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use xiaoyaoes/malicious-keras-text-encoder 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://xiaoyaoes/malicious-keras-text-encoder") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload poc.py with huggingface_hub
Verified signature087ef0d -
Upload model.keras with huggingface_hub
Verified signature1e5a3cc -
Upload model.keras with huggingface_hub
Verified signaturea18d181 -
Upload custom_layer.py with huggingface_hub
Verified signaturecf17da8 -
Upload README.md with huggingface_hub
Verified signature94e1c2d -
initial commit
Verified signaturea782eb6