Artificial Intelligence Masterclass

Finetune GPT-3 to write a coherent novel - Part 4 (success! with minor bugs...)

Artificial Intelligence Masterclass

Summary

David Shapiro explores the process of fine-tuning a GPT-3 model to write a novel in his latest video. He discusses the challenges and successes he encounters while developing a system that generates coherent narrative chunks. Shapiro emphasizes the importance of summarizing previous sections of the story to maintain continuity and coherence as the writing progresses.

Throughout the session, he demonstrates various techniques for prompt engineering, adjusting the model's responses to ensure they remain relevant and engaging. Shapiro shares his iterative approach, testing different summarization strategies and adjusting the model's parameters to achieve the desired output. He highlights the significance of maintaining a balance between brevity and detail in the summaries to keep the narrative flowing smoothly.

As the video concludes, Shapiro expresses excitement over the successful generation of a compelling story, showcasing the potential of AI in creative writing. He acknowledges the collaborative effort from the OpenAI community that contributed to refining his approach, marking a significant milestone in his project to automate novel writing.

Show Notes

Learn more about your ad choices. Visit megaphone.fm/adchoices

More from Artificial Intelligence Masterclass

Dec 6, 2026

State of the Industry: Integrating GPT-3 and LLMs into Robotics! SayCan and Ameca Episode release date: 16 Sep 2022 Spreading awareness about the works of some of the leading educators in the AI revolution. "Helping humanity shepherd through this transition as we embrace the final invention of mankind: advanced artificial intelligence." David Shapiro aims to provide a pragmatic and optimistic view of the future. Core Ideas: Metamodernism: Narratives and emergence view of reality Postnihilism: The demand for meaning is false, there is only the Great Mystery Heuristic Imperatives: An ethical, moral, and decision framework. - Reduce suffering - Increase prosperity - Increase understanding Post-Labor Economics: Replace humans with machines (better, faster, cheaper, safer) mantra: EXPLORE: Delve into the unknown, driven by curiosity and a quest for discovery. Seek knowledge. ELUCIDATE: Make complex ideas clear, communicating them in an accessible and comprehensible manner. ENUMERATE: Ground insights in concrete data, providing measurable and quantitative evidence. ELABORATE: Add depth and detail to understanding, weaving comprehensive and nuanced explanations. DISCLAIMER: This is a community-driven show. This podcast may contain copyrighted material not owned by AI Masterclass. All copyrighted material in this podcast is believed to be within the bounds of educational purposes.

Dec 6, 2026

How to think of GPT as a developer Episode release date: 28 Oct 2023 Spreading awareness about the works of some of the leading educators in the AI revolution. "Helping humanity shepherd through this transition as we embrace the final invention of mankind: advanced artificial intelligence." David Shapiro aims to provide a pragmatic and optimistic view of the future. Core Ideas: Metamodernism: Narratives and emergence view of reality Postnihilism: The demand for meaning is false, there is only the Great Mystery Heuristic Imperatives: An ethical, moral, and decision framework. - Reduce suffering - Increase prosperity - Increase understanding Post-Labor Economics: Replace humans with machines (better, faster, cheaper, safer) mantra: EXPLORE: Delve into the unknown, driven by curiosity and a quest for discovery. Seek knowledge. ELUCIDATE: Make complex ideas clear, communicating them in an accessible and comprehensible manner. ENUMERATE: Ground insights in concrete data, providing measurable and quantitative evidence. ELABORATE: Add depth and detail to understanding, weaving comprehensive and nuanced explanations. DISCLAIMER: This is a community-driven show. This podcast may contain copyrighted material not owned by AI Masterclass. All copyrighted material in this podcast is believed to be within the bounds of educational purposes.

Dec 6, 2026

Decreasingly Verbose "Alice in Wonderland" - down to 55 characters! Episode release date: 31 May 2022 Spreading awareness about the works of some of the leading educators in the AI revolution. "Helping humanity shepherd through this transition as we embrace the final invention of mankind: advanced artificial intelligence." David Shapiro aims to provide a pragmatic and optimistic view of the future. Core Ideas: Metamodernism: Narratives and emergence view of reality Postnihilism: The demand for meaning is false, there is only the Great Mystery Heuristic Imperatives: An ethical, moral, and decision framework. - Reduce suffering - Increase prosperity - Increase understanding Post-Labor Economics: Replace humans with machines (better, faster, cheaper, safer) mantra: EXPLORE: Delve into the unknown, driven by curiosity and a quest for discovery. Seek knowledge. ELUCIDATE: Make complex ideas clear, communicating them in an accessible and comprehensible manner. ENUMERATE: Ground insights in concrete data, providing measurable and quantitative evidence. ELABORATE: Add depth and detail to understanding, weaving comprehensive and nuanced explanations. DISCLAIMER: This is a community-driven show. This podcast may contain copyrighted material not owned by AI Masterclass. All copyrighted material in this podcast is believed to be within the bounds of educational purposes.

Dec 6, 2026

State of the Industry: Uncontainable AGI + Jobs Destruction Episode release date: 18 Sep 2022 Spreading awareness about the works of some of the leading educators in the AI revolution. "Helping humanity shepherd through this transition as we embrace the final invention of mankind: advanced artificial intelligence." David Shapiro aims to provide a pragmatic and optimistic view of the future. Core Ideas: Metamodernism: Narratives and emergence view of reality Postnihilism: The demand for meaning is false, there is only the Great Mystery Heuristic Imperatives: An ethical, moral, and decision framework. - Reduce suffering - Increase prosperity - Increase understanding Post-Labor Economics: Replace humans with machines (better, faster, cheaper, safer) mantra: EXPLORE: Delve into the unknown, driven by curiosity and a quest for discovery. Seek knowledge. ELUCIDATE: Make complex ideas clear, communicating them in an accessible and comprehensible manner. ENUMERATE: Ground insights in concrete data, providing measurable and quantitative evidence. ELABORATE: Add depth and detail to understanding, weaving comprehensive and nuanced explanations. DISCLAIMER: This is a community-driven show. This podcast may contain copyrighted material not owned by AI Masterclass. All copyrighted material in this podcast is believed to be within the bounds of educational purposes.

Dec 6, 2026

Polymorphic Applications: Mission-Driven Software, Cognitive Architectures, NEXT-GEN PARADIGMS Episode release date: 21 Jul 2023 Spreading awareness about the works of some of the leading educators in the AI revolution. "Helping humanity shepherd through this transition as we embrace the final invention of mankind: advanced artificial intelligence." David Shapiro aims to provide a pragmatic and optimistic view of the future. Core Ideas: Metamodernism: Narratives and emergence view of reality Postnihilism: The demand for meaning is false, there is only the Great Mystery Heuristic Imperatives: An ethical, moral, and decision framework. - Reduce suffering - Increase prosperity - Increase understanding Post-Labor Economics: Replace humans with machines (better, faster, cheaper, safer) mantra: EXPLORE: Delve into the unknown, driven by curiosity and a quest for discovery. Seek knowledge. ELUCIDATE: Make complex ideas clear, communicating them in an accessible and comprehensible manner. ENUMERATE: Ground insights in concrete data, providing measurable and quantitative evidence. ELABORATE: Add depth and detail to understanding, weaving comprehensive and nuanced explanations. DISCLAIMER: This is a community-driven show. This podcast may contain copyrighted material not owned by AI Masterclass. All copyrighted material in this podcast is believed to be within the bounds of educational purposes.

See all episodes →