add quantize method
This commit is contained in:
parent
e28cdd78b0
commit
56e149d627
3 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,6 @@ quantize_method=Q4_K_M
|
|||
outname=${model_name}_${quantize_method}
|
||||
input_model_path=$gguf_dir/$model_name.gguf
|
||||
output_model_path=$gguf_dir/$outname.gguf
|
||||
echo $outname
|
||||
cd ../../
|
||||
echo $input_model_path
|
||||
echo $output_model_path
|
||||
./llama-quantize $input_model_path $output_model_path $quantize_method
|
|
@ -35,12 +35,12 @@ make xgenmm-cli
|
|||
# --seed 42 --ctx-size 4096 --predict 1024 \
|
||||
# --temp 0 --verbose-prompt
|
||||
|
||||
Q="What is the address of this resturant?"
|
||||
Q="What is the address of this restaurant?"
|
||||
# Q="Is this dine in or dine out receipt?"
|
||||
# Q="What is the total amount paid?"
|
||||
# Q="What is card holder's name?"
|
||||
# Q="What is the transaction date?"
|
||||
# Q="What is the phone number of this resturant?"
|
||||
# Q="What is the phone number of this restaurant?"
|
||||
# Q="Who is the attendant?"
|
||||
# Q="Who is the cashier?"
|
||||
# Q="Briefly describe this image."
|
||||
|
@ -53,7 +53,8 @@ echo $prompt
|
|||
# mmproj=$base_path/mmproj-model-f32.gguf
|
||||
|
||||
base_path=/export/share/yutong/xgenmm/llamacpp_wd/siglip_kosmos_phi3_4k_instruct_bf16_patch128/gguf
|
||||
model=$base_path/phi3_mini_4k_instruct_f16.gguf
|
||||
# model=$base_path/phi3_mini_4k_instruct_f16.gguf
|
||||
model=$base_path/phi3_mini_4k_instruct_f16_Q4_K_M.gguf
|
||||
mmproj=$base_path/mmproj-model-f32.gguf
|
||||
|
||||
./xgenmm-cli --model $model\
|
||||
|
|
BIN
xgenmm-cli
BIN
xgenmm-cli
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue