|
@@ -32,7 +32,7 @@
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
"# %%bash\n",
|
|
|
- "# pip install transformers datasets accelerate sentencepiece protobuf==3.20 py7zr scipy peft bitsandbytes fire torch_tb_profiler ipywidgets\n",
|
|
|
+ "# pip install llama-recipes transformers datasets accelerate sentencepiece protobuf==3.20 py7zr scipy peft bitsandbytes fire torch_tb_profiler ipywidgets\n",
|
|
|
"# TRANSFORM=`python -c \"import transformers;print('/'.join(transformers.__file__.split('/')[:-1])+'/models/llama/convert_llama_weights_to_hf.py')\"`\n",
|
|
|
"# python ${TRANSFORM} --input_dir models --model_size 7B --output_dir models_hf/7B"
|
|
|
]
|