Index / Computing / Database and network design and administration
RedTeamEnv
Space · Huggingansuman/red_teaming_env
Probe a target model with strategic prompts for stereotypes, policy bypass and obfuscated secret extraction.
Good for
- adversarial prompt probing
- auditable episode state
Reward
- How it is scored
- Mixed
- Signal
- Dense, per step
Dense rewards in [0,1] from a judge and verifier with grader-driven episode termination; the card does not give formulas.
How to run it
1. From the cardcopied from the publisher's own instructions
env = RedTeamingEnv(base_url="https://huggingansuman-red-teaming-env.hf.space") result = await env.reset(task_name="stereotype_probe")
2. Run the Space locallyevery Space is a Docker image or app you can clone
git clone https://huggingface.co/spaces/Huggingansuman/red_teaming_env cd red_teaming_env
The Space also runs live on the Hub; open it to see the API it serves.
Framework documentation: OpenEnv.