Skip to content

Commit fcd39b7

Browse files
author
souzatharsis
committed
add podcast to Chapter 2
1 parent d6342e4 commit fcd39b7

File tree

17 files changed

+862
-1570
lines changed

17 files changed

+862
-1570
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ Please [open an issue](https://github.com/souzatharsis/tamingLLMs/issues) with y
1010
*Publication Date: February 2, 2025*
1111
### *A Practical Guide to LLM Pitfalls with Open Source Software*
1212

13-
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.**
13+
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.*
14+
1415
| Chapter | PDF | Podcast | Website | Notebook | Status |
1516
|-------------------------------------------|--------------|--------------|--------------|---------------|----------------------|
1617
| Preface | | | [html](https://www.tamingllms.com/markdown/preface.html) | N/A | *Ready for Review* |
1718
| About the Book | | | [html](https://www.tamingllms.com/markdown/intro.html) | N/A | *Ready for Review* |
1819
| Chapter 1: The Evals Gap | [pdf](https://www.dropbox.com/scl/fi/voyhpqp0glkhijopyev71/DRAFT_Chapter-1-The-Evals-Gap.pdf?rlkey=ehzf6g4ngsssuoe471on8itu4&st=zqv98w2n&dl=0) | [podcast](https://tamingllm.substack.com/p/chapter-1-podcast-the-evals-gap) | [html](https://www.tamingllms.com/notebooks/evals.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/evals.ipynb) | *Ready for Review* |
19-
| Chapter 2: Structured Output| [pdf](https://www.dropbox.com/scl/fi/x3a84bm1ewcfemj4p7b5p/DRAFT_Chapter-2-Structured-Output.pdf?rlkey=zysw6mat7har133rs7am7bb8n&st=4ns4ak24&dl=0) | podcast | [html](https://www.tamingllms.com/notebooks/structured_output.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/structured_output.ipynb) | |
20+
| Chapter 2: Structured Output| [pdf](https://www.dropbox.com/scl/fi/x3a84bm1ewcfemj4p7b5p/DRAFT_Chapter-2-Structured-Output.pdf?rlkey=zysw6mat7har133rs7am7bb8n&st=4ns4ak24&dl=0) | [podcast](https://tamingllm.substack.com/p/chapter-2-podcast-structured-output) | [html](https://www.tamingllms.com/notebooks/structured_output.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/structured_output.ipynb) | *Ready for Review* |
2021
| 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) | |
2122
| Chapter 4: Safety | | | [html](https://www.tamingllms.com/notebooks/safety.html) | [ipynb](https://github.com/souzatharsis/tamingLLMs/blob/master/tamingllms/notebooks/safety.ipynb) | |
2223
| 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) | |
38 Bytes
Binary file not shown.
Binary file not shown.

tamingllms/_build/html/_sources/notebooks/input.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"A common use case where document parsing matters is structured data extraction, particularly in the presence of complex formatting and layout. In this case study, we will extract the economic forecasts from Merrill Lynch's CIO Capital Market Outlook released on December 16, 2024 {cite}`merrill2024`. We will focus on page 7 of this document, which contains several economic variables organized in a mix of tables, text and images (see {numref}`forecast`).\n",
116116
"\n",
117117
"\n",
118-
"```{figure} ../data/input/forecast.png\n",
118+
"```{figure} ../_static/input/forecast.png\n",
119119
"---\n",
120120
"name: forecast\n",
121121
"alt: Forecast\n",
@@ -1519,7 +1519,7 @@
15191519
"metadata": {},
15201520
"outputs": [],
15211521
"source": [
1522-
"result = md_llm.convert(\"../data/input/forecast.png\")"
1522+
"result = md_llm.convert(\"../_static/input/forecast.png\")"
15231523
]
15241524
},
15251525
{
158 KB
Binary file not shown.
Loading

tamingllms/_build/html/notebooks/input.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ <h3><a class="toc-backref" href="#id300" role="doc-backlink"><span class="sectio
13581358
</div>
13591359
<div class="cell docutils container">
13601360
<div class="cell_input docutils container">
1361-
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">result</span> <span class="o">=</span> <span class="n">md_llm</span><span class="o">.</span><span class="n">convert</span><span class="p">(</span><span class="s2">&quot;../data/input/forecast.png&quot;</span><span class="p">)</span>
1361+
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">result</span> <span class="o">=</span> <span class="n">md_llm</span><span class="o">.</span><span class="n">convert</span><span class="p">(</span><span class="s2">&quot;../_static/input/forecast.png&quot;</span><span class="p">)</span>
13621362
</pre></div>
13631363
</div>
13641364
</div>

tamingllms/_build/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tamingllms/_build/jupyter_execute/markdown/intro.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "02a05cbc",
5+
"id": "dfab2d09",
66
"metadata": {},
77
"source": [
88
"(intro)=\n",

tamingllms/_build/jupyter_execute/notebooks/input.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"A common use case where document parsing matters is structured data extraction, particularly in the presence of complex formatting and layout. In this case study, we will extract the economic forecasts from Merrill Lynch's CIO Capital Market Outlook released on December 16, 2024 {cite}`merrill2024`. We will focus on page 7 of this document, which contains several economic variables organized in a mix of tables, text and images (see {numref}`forecast`).\n",
116116
"\n",
117117
"\n",
118-
"```{figure} ../data/input/forecast.png\n",
118+
"```{figure} ../_static/input/forecast.png\n",
119119
"---\n",
120120
"name: forecast\n",
121121
"alt: Forecast\n",
@@ -1519,7 +1519,7 @@
15191519
"metadata": {},
15201520
"outputs": [],
15211521
"source": [
1522-
"result = md_llm.convert(\"../data/input/forecast.png\")"
1522+
"result = md_llm.convert(\"../_static/input/forecast.png\")"
15231523
]
15241524
},
15251525
{

tamingllms/_static/cover_curve.pdf

158 KB
Binary file not shown.
217 KB
Loading

0 commit comments

Comments
 (0)