Skip to content

Commit

Permalink
small typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Mar 23, 2024
1 parent 7173632 commit 5418c61
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions ch05/01_main-chapter-code/ch05.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -230,27 +230,6 @@
"- The next chapters on finetuning LLMs will also introduce additional ways to measure model quality"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "a93359b2-1efd-4b2f-930b-d962a3416a90",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1.0"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sum([0.01, 0.00, 0.10, 0.10, 0.20, 0.34, 0.12, 0.13])"
]
},
{
"cell_type": "markdown",
"id": "955f9e1a-7bf7-40d8-b1fa-eacabdee8d8e",
Expand Down Expand Up @@ -422,7 +401,7 @@
}
],
"source": [
"token_ids_to_text(token_ids.flatten(), tokenizer)"
"print(token_ids_to_text(token_ids.flatten(), tokenizer))"
]
},
{
Expand Down Expand Up @@ -1725,7 +1704,7 @@
"id": "526e93cb-8e2a-42a1-b1ba-4fd5fe64c26b",
"metadata": {},
"source": [
"- Th rescaled probabilities via temperature 5 are more uniformly distributed:"
"- The rescaled probabilities via temperature 5 are more uniformly distributed:"
]
},
{
Expand Down Expand Up @@ -2517,7 +2496,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 5418c61

Please sign in to comment.