Wink Pings

2×H200, training a local guard that patches vulnerabilities: the RL recipe for Qwen4-35B-A3B

Hugging Face TRL releases a cybersecurity RL recipe: Qwen4-35B-A3B patches vulnerable code in HF Jobs, verifiers score it, AsyncGRPO learns, runs on 2×H200, and the model, dataset, and evaluation are also open-sourced.

Hugging Face's TRL recipes added a new cybersecurity RL recipe; the target model is Qwen4-35B-A3B.

Recipe flow: the model acts as an agent in HF Jobs to patch vulnerable code; validated verifiers score the fixes; TRL's AsyncGRPO continues training with this feedback. The whole pipeline runs on 2×H200.

Thomas Wolf retweeted Ben Burtenshaw's tweet, which mentioned that the model, dataset, and evaluation will also be open-sourced. The tweet clearly spells out the use case: defensive cybersecurity tasks, with the goal of obtaining a local guard.

The key here is the verifiers. Security teams usually have scanners; what they lack is a local model that ties fixing, verification, and learning together. A model being able to write patches is only the first step; whether validated verifiers can reliably judge right from wrong determines whether this recipe is usable.

Readers unfamiliar with RL can understand this step as tuning the model with verifier scores. The recipe puts training, evaluation, and the runtime environment in HF Jobs, with a Space as the entry point.

Recipe link: https://huggingface.co/spaces/trl-lib/trl-recipes#/cyber/Qwen4-35B-A3B?task=train&platform=hf_jobs&HARNESS=pi%2Chermes%2Copencode

Original tweet: https://x.com/Thom_Wolf/status/2128910183195906493

image

发布时间: 2026-12-05 02:28