Text Classification
Transformers
Safetensors
PyTorch
deberta-v2
facebook
meta
llama
llama4
safety
text-embeddings-inference
Instructions to use meta-llama/Llama-Prompt-Guard-2-86M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meta-llama/Llama-Prompt-Guard-2-86M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="meta-llama/Llama-Prompt-Guard-2-86M")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-Prompt-Guard-2-86M") model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-Prompt-Guard-2-86M", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Evaluation note: document-embedded injections
#18 opened 7 days ago
by
anasbiswas
Benchmark: on AgentDojo tool-output attacks, threshold 0.5 catches 1%, threshold 0.003 catches 99%
#17 opened 10 days ago
by
optionalrudra
Request to Correct and Reconsider My Rejected Access Application
#16 opened about 1 month ago
by
ZeroSers
May I resubmit the information
#15 opened about 2 months ago
by
cpzheng
The author refused to let me use the model, so I'm asking for help.
1
#14 opened 4 months ago
by
Shuffle14
fix: set `clean_up_tokenization_spaces` to `false`
#13 opened 7 months ago
by
maxsloef
Request: DOI
#11 opened about 1 year ago
by
tsemachh
no vLLM compatibility?
👀 2
#9 opened about 1 year ago
by
alecauduro
Add id2label and label2id to config.json
1
#8 opened over 1 year ago
by
nivado96
I encountered a failure when attempting to download.
#7 opened over 1 year ago
by
cookieQI
Unintuitive outcomes with the model
3
#6 opened over 1 year ago
by
skagpromo
How to add even more cateogries to the model?
3
#5 opened over 1 year ago
by
KushBor
id2label missing in config.json?
👍 4
2
#4 opened over 1 year ago
by
vrdn23