Skip to main content
TextGrad: Automatic "Differentiation" via TextMert Yuksekgonul et al.

3 Results

We demonstrate the flexibility of TEXTGRAD in a diverse array of applications. In § 3.1, we optimize code snippets to solve hard coding problems from LeetCode. In § 3.2, we optimize solutions to science questions. In § 3.3 we optimize prompts to improve the reasoning of LLMs. In § 3.4, we optimize chemical structures for improved molecular properties. In § 3.5, we optimize treatment plans for prostate cancer patients.