benchang1110's picture
upload host_weight folder
3432a0c verified
raw
history blame contribute delete
347 Bytes
PHONY:
# path to original model weights
MODEL_DIR = ../../quant/hf_weight
# file names
EMB = emb
WHEAD = Whead_fp
clean:
rm -f *.csv
rm -f *.bin
gen_csv:
rm -f *.csv
python gen_csv.py --model_dir $(MODEL_DIR) --emb $(EMB) --whead $(WHEAD)
# wait for several seconds
gen_bin:
rm -f *.bin
python gen_bin.py --emb $(EMB) --whead $(WHEAD)