Text Classification
Transformers
Safetensors
English
Turkish
astraeaguard_v2
prompt-injection
security
binary-classification
embeddinggemma
mixture-of-experts
custom_code
endpoints-template
Instructions to use selimk92/AstraeaGuard-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use selimk92/AstraeaGuard-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="selimk92/AstraeaGuard-V2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("selimk92/AstraeaGuard-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
5 days ago
-
Add Transformers AutoModel integration and custom inference endpoint handler
Verified signature9e9a98f