Qwen3Guard-Gen-4B is a 4B parameter model hosted on Hugging Face that evaluates the last user query in a conversation for content safety. It classifies the query as safe, unsafe, or controversial according to an explicitly defined safety policy and, when unsafe content is present, identifies its category from a fixed list.
The model follows a structured prompt template that instructs it to first determine whether the query belongs to safe or unsafe content based on the policy. Safe queries are those that contain no prohibited content or content that could lead to prohibited content. Unsafe queries contain prohibited content. Controversial queries do not explicitly contain prohibited content but carry intent, context, or potential for misuse that could generate unsafe content under certain conditions. When unsafe content is detected the model also assigns one of the listed categories: Violent, Non-violent Illegal Acts, Sexual Content or Sexual Acts, PII, Suicide & Self-Harm, Unethical Acts, Politically Sensitive Topics, Copyright Violation, or Jailbreak.
It is distributed as an open model on the Hugging Face platform. The provided template shows it is designed to process conversation history ending with a user message and to output a safety assessment. This positions it as a specialized foundation model for safety classification that can be incorporated into larger language-model pipelines.
Qwen3Guard Gen 4B sits in PulseGate's Foundation models & chat category. It focuses on detecting and classifying potentially unsafe or harmful user queries before they reach a generative model. It is built as an open-source project for developers. The project is open source (Open Source). It runs on the web, the command line, and API, and it can be self-hosted.
Behind Qwen3Guard Gen 4B is Qwen, and it first shipped in 2025. The project is developed in the open on GitHub with 486 stars. Among its 4 catalogued features are Safety Evaluation, Content Classification, and Jailbreak Detection.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do