Text Classification
MLX
Safetensors
Chinese
English
tinyguard
safety
guardrail
prompt-injection
security
Instructions to use QuanxinLi/TinyGuard-Injection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use QuanxinLi/TinyGuard-Injection with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download QuanxinLi/TinyGuard-Injection --local-dir TinyGuard-Injection
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
File size: 236 Bytes
3a19248 | 1 2 3 4 5 6 | """TinyGuard inference quickstart (requires pip install mlx)"""
import mlx.core as mx, mlx.nn as nn
from huggingface_hub import hf_hub_download
import json, sys
# See the repo quickstart for the full walkthrough; placeholder stub here.
|