Skip to content

Commit

Permalink
update structured
Browse files Browse the repository at this point in the history
  • Loading branch information
souzatharsis committed Nov 25, 2024
1 parent 48762e9 commit 7e06d8e
Show file tree
Hide file tree
Showing 15 changed files with 138 additions and 79 deletions.
Binary file modified tamingllms/_build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified tamingllms/_build/.doctrees/notebooks/evals.doctree
Binary file not shown.
Binary file modified tamingllms/_build/.doctrees/notebooks/structured_output.doctree
Binary file not shown.
Binary file added tamingllms/_build/html/_images/rebuttal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions tamingllms/_build/html/_sources/notebooks/structured_output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,19 @@
"\n",
"On the other hand, those findings are not without criticism. The .txt team challenges the findings of the paper \"Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models\" {cite}`tam2024letspeakfreelystudy`. The paper claims that structured output formats, like JSON, negatively affect the performance of LLMs, particularly when it comes to reasoning. The rebuttal argues that **structured generation, when done correctly, actually *improves* performance**.\n",
"\n",
"\n",
"```{figure} ../_static/structured_output/rebuttal.png\n",
"---\n",
"name: structured_vs_unstructured\n",
"alt: Structured vs Unstructured Results by .txt team\n",
"scale: 60%\n",
"align: center\n",
"---\n",
"Structured vs Unstructured Results by .txt team.\n",
"```\n",
"The .txt team presents compelling evidence through their reproduction of the paper's experiments. While their unstructured results align with the original paper's findings, their structured results paint a dramatically different picture - demonstrating that structured generation actually improves performance (see {numref}`structured_vs_unstructured`). The team has made their experimental notebooks publicly available on GitHub for independent verification {cite}`dottxt2024demos`.\n",
"\n",
"\n",
".txt team identifies several flaws in the methodology of \"Let Me Speak Freely?\" that they believe led to inaccurate conclusions:\n",
"\n",
"* The paper finds that structured output improves performance on classification tasks but doesn't reconcile this finding with its overall negative conclusion about structured output. \n",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 32 additions & 32 deletions tamingllms/_build/html/notebooks/evals.html

Large diffs are not rendered by default.

101 changes: 56 additions & 45 deletions tamingllms/_build/html/notebooks/structured_output.html

Large diffs are not rendered by default.

Binary file modified tamingllms/_build/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion tamingllms/_build/html/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tamingllms/_build/jupyter_execute/markdown/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "04e29306",
"id": "af54935e",
"metadata": {},
"source": [
"(intro)=\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,19 @@
"\n",
"On the other hand, those findings are not without criticism. The .txt team challenges the findings of the paper \"Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models\" {cite}`tam2024letspeakfreelystudy`. The paper claims that structured output formats, like JSON, negatively affect the performance of LLMs, particularly when it comes to reasoning. The rebuttal argues that **structured generation, when done correctly, actually *improves* performance**.\n",
"\n",
"\n",
"```{figure} ../_static/structured_output/rebuttal.png\n",
"---\n",
"name: structured_vs_unstructured\n",
"alt: Structured vs Unstructured Results by .txt team\n",
"scale: 60%\n",
"align: center\n",
"---\n",
"Structured vs Unstructured Results by .txt team.\n",
"```\n",
"The .txt team presents compelling evidence through their reproduction of the paper's experiments. While their unstructured results align with the original paper's findings, their structured results paint a dramatically different picture - demonstrating that structured generation actually improves performance (see {numref}`structured_vs_unstructured`). The team has made their experimental notebooks publicly available on GitHub for independent verification {cite}`dottxt2024demos`.\n",
"\n",
"\n",
".txt team identifies several flaws in the methodology of \"Let Me Speak Freely?\" that they believe led to inaccurate conclusions:\n",
"\n",
"* The paper finds that structured output improves performance on classification tasks but doesn't reconcile this finding with its overall negative conclusion about structured output. \n",
Expand Down
Binary file added tamingllms/_static/structured_output/rebuttal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions tamingllms/notebooks/structured_output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,19 @@
"\n",
"On the other hand, those findings are not without criticism. The .txt team challenges the findings of the paper \"Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models\" {cite}`tam2024letspeakfreelystudy`. The paper claims that structured output formats, like JSON, negatively affect the performance of LLMs, particularly when it comes to reasoning. The rebuttal argues that **structured generation, when done correctly, actually *improves* performance**.\n",
"\n",
"\n",
"```{figure} ../_static/structured_output/rebuttal.png\n",
"---\n",
"name: structured_vs_unstructured\n",
"alt: Structured vs Unstructured Results by .txt team\n",
"scale: 60%\n",
"align: center\n",
"---\n",
"Structured vs Unstructured Results by .txt team.\n",
"```\n",
"The .txt team presents compelling evidence through their reproduction of the paper's experiments. While their unstructured results align with the original paper's findings, their structured results paint a dramatically different picture - demonstrating that structured generation actually improves performance (see {numref}`structured_vs_unstructured`). The team has made their experimental notebooks publicly available on GitHub for independent verification {cite}`dottxt2024demos`.\n",
"\n",
"\n",
".txt team identifies several flaws in the methodology of \"Let Me Speak Freely?\" that they believe led to inaccurate conclusions:\n",
"\n",
"* The paper finds that structured output improves performance on classification tasks but doesn't reconcile this finding with its overall negative conclusion about structured output. \n",
Expand Down
9 changes: 9 additions & 0 deletions tamingllms/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ @misc{aider2024codejson
howpublished={\url{https://aider.chat/2024/08/14/code-in-json.html}},
note={Accessed: 2024}
}

@misc{dottxt2024demos,
title={Say What You Mean: Demos},
author={Dottxt},
year={2024},
howpublished={\url{https://github.com/dottxt-ai/demos/tree/main/say-what-you-mean}},
note={Accessed: 2024}
}

0 comments on commit 7e06d8e

Please sign in to comment.