Instructions to use Qwen/Qwen3Guard-Stream-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3Guard-Stream-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Qwen/Qwen3Guard-Stream-4B", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3Guard-Stream-4B", trust_remote_code=True) model = AutoModel.from_pretrained("Qwen/Qwen3Guard-Stream-4B", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Bug in modelling qwen3 guard
#3 opened 5 months ago
by
marksverdhei
Improve model card: Add pipeline tag and update paper link
#2 opened 7 months ago
by
nielsr
Update model.safetensors.index.json
1
#1 opened 8 months ago
by
chrisyuan45