Token Classification
Transformers
Safetensors
halo_stream_guard
guard
safety
moderation
output-safety
response-moderation
streaming
multilingual
custom_code
Instructions to use astroware/HaloGuard2-MultiStream-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use astroware/HaloGuard2-MultiStream-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="astroware/HaloGuard2-MultiStream-0.8B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("astroware/HaloGuard2-MultiStream-0.8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
0ec3780 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
size 19989325
|