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:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://sumitranjan/PromptShield") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,9 +49,9 @@ Whether you're building:
|
|
| 49 |
|
| 50 |
## 🧠 Model Architecture
|
| 51 |
|
| 52 |
-
- **Base Model**:
|
| 53 |
- **Task**: Binary Sequence Classification
|
| 54 |
-
- **Framework**:
|
| 55 |
- **Labels**:
|
| 56 |
- `0` — Safe
|
| 57 |
- `1` — Unsafe
|
|
|
|
| 49 |
|
| 50 |
## 🧠 Model Architecture
|
| 51 |
|
| 52 |
+
- **Base Model**: FacebookAI/roberta-base
|
| 53 |
- **Task**: Binary Sequence Classification
|
| 54 |
+
- **Framework**: Pytorch
|
| 55 |
- **Labels**:
|
| 56 |
- `0` — Safe
|
| 57 |
- `1` — Unsafe
|