mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
small typo fixes
This commit is contained in:
@@ -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",
|
||||
@@ -422,7 +401,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"token_ids_to_text(token_ids.flatten(), tokenizer)"
|
||||
"print(token_ids_to_text(token_ids.flatten(), tokenizer))"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -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:"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -2517,7 +2496,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.12"
|
||||
"version": "3.10.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user