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:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://mohit-20-m/shieldai-models") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "is_local": false, | |
| "lowercase": false, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "strip_accents": false, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |