diff --git a/ch06/01_main-chapter-code/exercise-solutions.ipynb b/ch06/01_main-chapter-code/exercise-solutions.ipynb index 5d10ed55..10de5b66 100644 --- a/ch06/01_main-chapter-code/exercise-solutions.ipynb +++ b/ch06/01_main-chapter-code/exercise-solutions.ipynb @@ -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", @@ -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", @@ -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", @@ -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": { @@ -169,7 +160,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.10.11" } }, "nbformat": 4,