Text Classification
Transformers
Safetensors
Chinese
Yue Chinese
English
qwen3
text-generation
safety
moderation
guardrail
content-safety
elderly-care
domain-specific
text-embeddings-inference
Instructions to use ZhangPY/Qwen3Guard-Gen-Domain-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZhangPY/Qwen3Guard-Gen-Domain-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ZhangPY/Qwen3Guard-Gen-Domain-4B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ZhangPY/Qwen3Guard-Gen-Domain-4B") model = AutoModelForCausalLM.from_pretrained("ZhangPY/Qwen3Guard-Gen-Domain-4B", 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!