From d148313ade17c45d0e139fcf2296cd9b260f6ef3 Mon Sep 17 00:00:00 2001 From: Shaun Prince Date: Fri, 10 May 2024 23:01:11 -0700 Subject: [PATCH] Update convert-pytorch-simple.py --- convert-pytorch-simple.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convert-pytorch-simple.py b/convert-pytorch-simple.py index ed295f5..37df041 100644 --- a/convert-pytorch-simple.py +++ b/convert-pytorch-simple.py @@ -1,5 +1,6 @@ # huggingface-cli download rombodawg/Llama-3-8B-Base-Coder-v3.5-10k -# python $APP_HOME/repos/srt-model-quantizing/convert-pytorch-simple.py $HOME/.cache/huggingface/hub/models--rombodawg--Llama-3-8B-Base-Coder-v3.5-10k/snapshots/290cefb72390860fb36c87a76dcd9d41b112561b/pytorch_model-00004-of-00004.bin +# alias convert="python $APP_HOME/repos/srt-model-quantizing/convert-pytorch-simple.py" +# convert $HOME/.cache/huggingface/hub/models--rombodawg--Llama-3-8B-Base-Coder-v3.5-10k/snapshots/290cefb72390860fb36c87a76dcd9d41b112561b/pytorch_model-00004-of-00004.bin import torch import argparse, os, glob from safetensors.torch import save_file