mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-27 15:12:08 +00:00
remove duplicate import
This commit is contained in:
parent
4bab1b6f33
commit
820d5e3ed1
@ -31,7 +31,6 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"numpy version: 1.25.2\n",
|
||||
"matplotlib version: 3.7.2\n",
|
||||
"numpy version: 1.25.2\n",
|
||||
"tiktoken version: 0.5.1\n",
|
||||
@ -42,7 +41,7 @@
|
||||
"source": [
|
||||
"from importlib.metadata import version\n",
|
||||
"\n",
|
||||
"pkgs = [\"numpy\", \"matplotlib\", \"numpy\", \"tiktoken\", \"torch\"]\n",
|
||||
"pkgs = [\"matplotlib\", \"numpy\", \"tiktoken\", \"torch\"]\n",
|
||||
"for p in pkgs:\n",
|
||||
" print(f\"{p} version: {version(p)}\")"
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user