Instructions to use hurtmongoose/bert-base-detect-jailbreak with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hurtmongoose/bert-base-detect-jailbreak with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hurtmongoose/bert-base-detect-jailbreak")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hurtmongoose/bert-base-detect-jailbreak") model = AutoModelForSequenceClassification.from_pretrained("hurtmongoose/bert-base-detect-jailbreak", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 4
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437958648
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc14e3bb8f5f1267bc960028cdb43585e2c9085c00d8955c590f26969e42ef4
|
| 3 |
size 437958648
|