mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-27 23:22:10 +00:00
minor: removed redundant imports (#260)
* removed duplicated imports * removed empty cell
This commit is contained in:
parent
bd216fdade
commit
7e0dd7f765
@ -54,9 +54,6 @@
|
||||
"source": [
|
||||
"from importlib.metadata import version\n",
|
||||
"\n",
|
||||
"import tiktoken\n",
|
||||
"import torch\n",
|
||||
"\n",
|
||||
"print(\"torch version:\", version(\"torch\"))\n",
|
||||
"print(\"tiktoken version:\", version(\"tiktoken\"))"
|
||||
]
|
||||
@ -1885,14 +1882,6 @@
|
||||
"\n",
|
||||
"See [./exercise-solutions.ipynb](./exercise-solutions.ipynb) for the exercise solutions."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "c6aa436b-c9ff-4f01-9a58-5c377b3700a5",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
@ -1911,7 +1900,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.4"
|
||||
"version": "3.10.11"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user