Update run.ipynb to use export.py and --meta-llama parameter

Already export_meta_llama_bin.py was replaced with export.py and README.md file was updated accordingly. 
But this notebook wasn't updated yet.

The Python command is updated to use the export.py file.
This commit is contained in:
KyoungJe Oh 2023-11-14 17:30:52 +09:00 committed by GitHub
parent d9862069e7
commit 49d299266e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@
"token = \"replace your huggingface access token\" #@param {type:\"string\"}\n",
"path = snapshot_download(repo_id=\"meta-llama/Llama-2-7b\",cache_dir=\"Llama-2-7b\", use_auth_token=token)\n",
"\n",
"!python export_meta_llama_bin.py $path llama2_7b.bin\n",
"!python export.py llama2_7b.bin --meta-llama $path\n",
"\n",
"print(\"./run llama2_7b.bin\\n\")\n",
"!./run llama2_7b.bin"