Instructions to use sumitranjan/PromptShield with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use sumitranjan/PromptShield 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://sumitranjan/PromptShield") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
f6c3b92 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a514807cffabd8abaf028cfaffe7ff0c4f60b97ea2db80c41f14172ae6b018ca
size 17082987
|