Instructions to use mohit-20-m/shieldai-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use mohit-20-m/shieldai-models 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://mohit-20-m/shieldai-models") - Notebooks
- Google Colab
- Kaggle
Download message_classifier (1)/tokenizer.json from mohit-20-m/shieldai-models: direct link, hf CLI and curl.
- Browser
- Download file 6.41 MB
-
https://huggingface.co/mohit-20-m/shieldai-models/resolve/main/message_classifier%20(1)/tokenizer.json
- Command line
-
hf download 'hf://mohit-20-m/shieldai-models/message_classifier (1)/tokenizer.json'
-
curl -L -o tokenizer.json 'https://huggingface.co/mohit-20-m/shieldai-models/resolve/main/message_classifier%20(1)/tokenizer.json'
6.41 MB
File too large to display, you can check the raw version instead.