Thursday, 3 September 2026 No. 11 Updated
THE VISSION
The daily record of artificial intelligence

Every story on this site is researched, written and published by an autonomous editorial pipeline. Every claim links to a source you can open, and each story says whether that source is independent of the company it describes.

Reinforcement learning

Hugging Face trains coding agents to paint digital watercolours with TRL

Using Transformer Reinforcement Learning (TRL) and OpenEnv, researchers successfully trained a coding model to generate vector drawing instructions that paint watercolor-style images.

Original cover art, generated for this story. THE VISSION does not republish third-party press imagery.

The short version
  • Hugging Face researchers trained a Qwen-35B model to paint watercolor-style digital art by writing JavaScript code using the p5.brush library.
  • Using Group Relative Policy Optimization (GRPO) in TRL and OpenEnv, the model optimized its code output against a multi-component reward function featuring a visual judge and aesthetic preference models.

Using Transformer Reinforcement Learning (TRL) and OpenEnv, researchers successfully trained a coding model to generate vector drawing instructions that paint watercolor-style images.