Instructions to use entfane/llama-guard-binary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use entfane/llama-guard-binary with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="entfane/llama-guard-binary")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("entfane/llama-guard-binary") model = AutoModelForSequenceClassification.from_pretrained("entfane/llama-guard-binary") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
9fdb7fe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7fa35d64acf61c7e0e64846d480e102e3943f5b7cbde0b7603bb17db8c65511f
size 16034015
|