Skip to content

Commit

Permalink
Update convert-pytorch-simple.py
Browse files Browse the repository at this point in the history
  • Loading branch information
suparious authored May 11, 2024
1 parent f131e89 commit d148313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion convert-pytorch-simple.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d148313

Please sign in to comment.