Gmail smart compose generates functional Python training code for free

dejanseo · x · 2026-08-31

A test revealed that Gmail's smart compose feature can generate code. By prompting it to write a Python script for fine-tuning DeBERTa v3 large for sentiment classification, Gmail drafted a fully functional script including data loading, training loops, and evaluation logic. This demonstrates that the underlying model in Gmail's draft feature has code generation capabilities comparable to general AI assistants.

Original post →

More from coding & agent

coding & agent channel →