An open API service indexing awesome lists of open source software.

https://github.com/souzatharsis/tamingllms

Taming LLMs: A Practical Guide to LLM Pitfalls with Open Source Software
https://github.com/souzatharsis/tamingllms

book chatgpt genai huggingface langchain llama llm llms open-source outlines python qwen taming-llms

Last synced: 21 days ago
JSON representation

Taming LLMs: A Practical Guide to LLM Pitfalls with Open Source Software

Awesome Lists containing this project

README

        

Receive updates on [new Chapters here](https://tamingllm.substack.com/).


Taming LLMs Cover

Please [open an issue](https://github.com/souzatharsis/tamingLLMs/issues) with your feedback or suggestions!

# [Taming LLMs](https://www.souzatharsis.com/tamingLLMs)
*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 |
|-------------------------------------------|--------------|---------------|
| Preface | [html](https://www.tamingllms.com/markdown/preface.html) | N/A |
| About the Book | [html](https://www.tamingllms.com/markdown/intro.html) | N/A |
| Chapter 1: The Evals Gap | [html](https://www.tamingllms.com/notebooks/evals.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/evals.ipynb) |
| Chapter 2: Structured Output| [html](https://www.tamingllms.com/notebooks/structured_output.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/structured_output.ipynb) |
| Chapter 3: Managing Input Data | [html](https://www.tamingllms.com/notebooks/input.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/input.ipynb) |
| Chapter 4: Safety | [html](https://www.tamingllms.com/notebooks/safety.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/safety.ipynb) |
| Chapter 5: Preference-Based Alignment | [html](https://www.tamingllms.com/notebooks/alignment.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/alignment.ipynb) |
| Chapter 6: Local LLMs in Practice | [html](https://www.tamingllms.com/notebooks/local.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/local.ipynb) |
| Chapter 7: The Falling Cost Paradox | | |
| Chapter 8: Frontiers | | |
| Appendix A: Tools and Resources | | |

## Citation
[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]

[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC-BY--NC--SA-4.0-lightgrey.svg