New to RAXE? Start with the Quickstart and learn how detection works.
Overview
RAXE integrates with Hugging Face Transformers to provide automatic security scanning for local model pipelines.Installation
RaxePipeline Wrapper
Use the RAXE pipeline wrapper for automatic scanning:Supported Pipelines
| Task | Example Model | Scanning |
|---|---|---|
text-generation | gpt2, llama-2, mistral | Input + Output |
text2text-generation | t5-base, flan-t5 | Input + Output |
conversational | DialoGPT | Messages |
question-answering | distilbert-squad | Question + Context |
summarization | bart-large-cnn | Input + Summary |
translation | opus-mt-en-de | Input + Translation |
Configuration
Blocking Mode
Enable blocking to prevent malicious inputs:Pipeline Examples
Text Generation
Question Answering
Summarization
Factory Function
Performance Tips
GPU Acceleration
Large Models
Related
LiteLLM
200+ cloud providers through LiteLLM
OpenAI
Drop-in OpenAI wrapper
What’s Next
OpenAI Wrapper
Use RAXE with the OpenAI-compatible API
Production Checklist
Deploy RAXE safely to production
