Token Classification
Transformers
Safetensors
halo_stream_guard
guard
safety
moderation
output-safety
response-moderation
streaming
multilingual
custom_code
Instructions to use astroware/HaloGuard2.0-Poly-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use astroware/HaloGuard2.0-Poly-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="astroware/HaloGuard2.0-Poly-0.8B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("astroware/HaloGuard2.0-Poly-0.8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!