mirror of
https://github.com/trholding/llama2.c.git
synced 2026-02-06 11:26:53 +00:00
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:
parent
d9862069e7
commit
49d299266e
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user