Skip to content

Commit

Permalink
minor markdown fixes (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kleine authored Jun 21, 2024
1 parent ad9dd99 commit 06921f3
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions ch06/01_main-chapter-code/exercise-solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"train_dataset = SpamDataset(base_path / \"train.csv\", max_length=max_length, tokenizer=tokenizer)\n",
"val_dataset = SpamDataset(base_path / \"validation.csv\", max_length=max_length, tokenizer=tokenizer)\n",
"test_dataset = SpamDataset(base_path / \"test.csv\", max_length=max_length, tokenizer=tokenizer)\n",
"\n",
"```\n",
"\n",
"or, equivalently, we can define the `max_length` via:\n",
Expand All @@ -72,7 +71,7 @@
"source": [
"For convenience, you can run this experiment via\n",
"\n",
"```\n",
"```bash\n",
"python additional-experiments.py --context_length \"model_context_length\"\n",
"```\n",
"\n",
Expand Down Expand Up @@ -101,7 +100,7 @@
"\n",
"For convenience, you can run this experiment via\n",
"\n",
"```\n",
"```bash\n",
"python additional-experiments.py --trainable_layers all\n",
"```\n",
"\n",
Expand Down Expand Up @@ -143,14 +142,6 @@
"\n",
"using the code in the [../02_bonus_additional-experiments](../02_bonus_additional-experiments) folder, which results in a substantially worse test accuracy of 75.00% (versus the 95.67% in the main chapter)."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e5e6188a-f182-4f26-b9e5-ccae3ecadae0",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -169,7 +160,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.11"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 06921f3

Please sign in to comment.