Skip to content

Conversation

@Xunzhuo
Copy link
Member

@Xunzhuo Xunzhuo commented Dec 5, 2025

Add an interactive Streamlit-based playground for demonstrating semantic router models on HuggingFace Spaces.

Features:

  • πŸ“š Category Classifier for academic/professional prompts
  • πŸ›‘οΈ Fact Check detector for factual verification needs
  • 🚨 Jailbreak Detector for prompt injection attacks
  • πŸ”’ PII Detector (sequence classification)
  • πŸ” PII Token NER (token-level entity detection with highlighting)

https://huggingface.co/spaces/llm-semantic-router/playground


  • Make sure the code changes pass the pre-commit checks.
  • Sign-off your commit by using -s when doing git commit
  • Try to classify PRs for easy understanding of the type of changes, such as [Bugfix], [Feat], and [CI].

Add an interactive Streamlit-based playground for demonstrating
semantic router models on HuggingFace Spaces.

Features:
- Category Classifier for academic/professional prompts
- Fact Check detector for factual verification needs
- Jailbreak Detector for prompt injection attacks
- PII Detector (sequence classification)
- PII Token NER (token-level entity detection with highlighting)

Includes model caching, confidence scores display, and
highlighted HTML output for NER results.

Signed-off-by: bitliu <bitliu@tencent.com>
@Xunzhuo Xunzhuo requested a review from rootfs as a code owner December 5, 2025 08:03
@netlify
Copy link

netlify bot commented Dec 5, 2025

βœ… Deploy Preview for vllm-semantic-router ready!

Name Link
πŸ”¨ Latest commit 01c2732
πŸ” Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/693291c343ec3a000835fc64
😎 Deploy Preview https://deploy-preview-779--vllm-semantic-router.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

πŸ‘₯ vLLM Semantic Team Notification

The following members have been identified for the changed files in this PR and have been automatically assigned:

πŸ“ tools

Owners: @yuluo-yx, @rootfs, @Xunzhuo
Files changed:

  • tools/hf-playground/README.md
  • tools/hf-playground/app.py
  • tools/hf-playground/requirements.txt
  • tools/hf-playground/vllm-logo.png

vLLM

πŸŽ‰ Thanks for your contributions!

This comment was automatically generated based on the OWNER files in the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants