Text Classification
Transformers
Safetensors
PyTorch
English
deberta-v2
facebook
meta
llama
llama-3
text-embeddings-inference
Instructions to use meta-llama/Prompt-Guard-86M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meta-llama/Prompt-Guard-86M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="meta-llama/Prompt-Guard-86M")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("meta-llama/Prompt-Guard-86M") model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Prompt-Guard-86M") - Inference
- Notebooks
- Google Colab
- Kaggle
Access request FAQ
pinned#12 opened almost 2 years ago
by
samuelselvan
fix: set `clean_up_tokenization_spaces` to `false`
#27 opened 2 months ago
by
maxsloef
Request: DOI
#26 opened 6 months ago
by
karthi-ck
Model access denied- Student
#24 opened 9 months ago
by
ishansingh423
Update README.md
3
#23 opened 10 months ago
by
spencerwmeta
Fixing tutorial links
#22 opened about 1 year ago
by
betodepaola
Adding ONNX file of this model
#21 opened about 1 year ago
by
guychuk
Can you share the training dataset?
🤝➕ 3
#19 opened over 1 year ago
by
GoominDev
Model classifies everything as unsafe
17
#15 opened almost 2 years ago
by
wagnew3
Inference Endpoint Deployment?
1
#13 opened almost 2 years ago
by
iamrobotbear