From 32e4c25cae440cb77f077aebdd91dd413d29d2f3 Mon Sep 17 00:00:00 2001 From: joe-at-openai Date: Sat, 13 Apr 2024 16:10:35 -0700 Subject: [PATCH] cleanup --- examples/Summarizing_long_documents.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Summarizing_long_documents.ipynb b/examples/Summarizing_long_documents.ipynb index 01f7a55f..8d044f60 100644 --- a/examples/Summarizing_long_documents.ipynb +++ b/examples/Summarizing_long_documents.ipynb @@ -194,9 +194,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Now we can define a utility to summarize text with a controllable level of detail (note the detail parameter).\n", + "Now we can define a utility to summarize text with a controllable level of detail (note the `detail` parameter).\n", "\n", - "The function first determines the number of chunks by interpolating between a minimum and a maximum chunk count based on a controllable detail parameter. It then splits the text into chunks and summarizes each chunk." + "The function first determines the number of chunks by interpolating between a minimum and a maximum chunk count based on a controllable `detail` parameter. It then splits the text into chunks and summarizes each chunk." ] }, { @@ -292,7 +292,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Now we can use this utility to produce summaries with varying levels of detail. By increasing 'detail' from 0 to 1 we get progressively longer summaries of the underlying document. A higher value for the detail parameter results in a more detailed summary because the utility first splits the document into a greater number of chunks. Each chunk is then summarized, and the final summary is a concatenation of all the chunk summaries." + "Now we can use this utility to produce summaries with varying levels of detail. By increasing `detail` from 0 to 1 we get progressively longer summaries of the underlying document. A higher value for the `detail` parameter results in a more detailed summary because the utility first splits the document into a greater number of chunks. Each chunk is then summarized, and the final summary is a concatenation of all the chunk summaries." ] }, {