Skip to content

Taming LLMs: A Practical Guide to LLM Pitfalls with Python Examples

License

Notifications You must be signed in to change notification settings

souzatharsis/tamingLLMs

Repository files navigation

Receive updates on new Chapters here.

Taming LLMs Cover

Please open an issue with your feedback or suggestions!

Publication Date: February 2, 2025

A Practical Guide to LLM Pitfalls with Open Source Software

Abstract: The current discourse around Large Language Models (LLMs) tends to focus heavily on their capabilities while glossing over fundamental challenges. Conversely, this book takes a critical look at the key limitations and implementation pitfalls that engineers and technical leaders encounter when building LLM-powered applications. Through practical Python examples and proven open source solutions, it provides an introductory yet comprehensive guide for navigating these challenges. The focus is on concrete problems with reproducible code examples and battle-tested open source tools. By understanding these pitfalls upfront, readers will be better equipped to build products that harness the power of LLMs while sidestepping their inherent limitations.

Chapter Website Notebook Status
Preface html N/A Ready for Review
About the Book html N/A Ready for Review
Chapter 1: The Evals Gap html ipynb Ready for Review
Chapter 2: Managing Input Data html ipynb WIP
Chapter 3: Structured Output html ipynb Ready for Review
Chapter 4: Safety html ipynb Ready for Review
Chapter 5: Preference-Based Alignment html ipynb Ready for Review
Chapter 6: Local LLMs in Practice html ipynb Ready for Review
Chapter 7: The Falling Cost Paradox WIP
Chapter 8: Frontiers
Appendix A: Tools and Resources

Citation

CC BY-NC-SA 4.0

@misc{tharsistpsouza2024tamingllms,
  author = {Tharsis T. P. Souza},
  title = {Taming LLMs: A Practical Guide to LLM Pitfalls with Open Source Software},
  year = {2024},
  journal = {GitHub repository},
  url = {https://github.com/souzatharsis/tamingLLMs)
}