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
Download training_args.bin from hurtmongoose/bert-base-detect-jailbreak: direct link, hf CLI and curl.
- Browser
- Download file 5.43 kB
-
https://huggingface.co/hurtmongoose/bert-base-detect-jailbreak/resolve/main/training_args.bin
- Command line
-
hf download hf://hurtmongoose/bert-base-detect-jailbreak/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/hurtmongoose/bert-base-detect-jailbreak/resolve/main/training_args.bin
5.43 kB
- Xet hash:
- 4f2e61f68c53f4e4cd7a73a7d4bdc1cf1b30ebab31e2562a38aa1984f7655690
- Size of remote file:
- 5.43 kB
- SHA256:
- c3be4239126fd695ab9c25c159b49fdeba1fdaa66b89619d9259c089a0ac1e58
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.