Analyzing the Temperature-Varied Syntactic Structures of GPT 3.5

24 Jul 2024 · 29 min
28:32

High school student Tianyi used Wolfram Language to test how GPT-3.5's temperature setting affects sentence structure. He generated text at different temperatures, parsed it into syntax trees, and measured them with graph metrics. He found GPT text stays more consistent than human writing, but breaks down at extreme temperatures like 0.25 or 1.75.

Questions this video answers

Wolfram Student Podcast, Season 2.5, Episode 3.

LLMSynthesize (Wolfram function for large language models).

GPT-3.5 (turbo) and the temperature hyperparameter, varied between 0 and 2.

Examples mentioned include temperature = 0 and temperature = 1.75 (and extremes near 2).

23 most-visited Wikipedia articles, about 14,000 sentences and over 300,000 words.

Chapters

More from Guy

34:01
youtube.com

Alexis Nikole Nelson | Happy Snacking, Don't Die! | Talks at Google

2d ago
34:12
youtube.com

Cheryl Strauss Einhorn | The Human Edge: Smarter Decisions in the Age of AI | Talks at Google

2w ago
33:03
youtube.com

Olajuwon Ajanaku | Eastside Golf | Talks at Google

2w ago
38:23
youtube.com

Ethan Kross | Chatter | Talks at Google

4w ago
22:30
youtube.com

Rachel Glennerster | Innovation and the Center for Global Development | Talks at Google

2mo ago
41:07
youtube.com

Rebecca Winthrop | Rethinking the Purpose of Education in the Age of AI | Talks at Google

2mo ago
40:54
youtube.com

Dr. Robert Wachter | A Giant Leap: How AI Is Transforming Healthcare... | Talks at Google

3mo ago
youtube.com

Leo Ku | From Passion to Profession | Talks at Google

3mo ago
youtube.com

Dr. Deepika Chopra | The Power of Real Optimism | Talks at Google

4mo ago
youtube.com

Jeff Kinney | Diary of a Wimpy Kid: Partypooper | Talks at Google

5mo ago
youtube.com

Susie Wolff | Driven | Talks at Google

5mo ago
See all content