增加了英文注释

This commit is contained in:
root
2024-07-30 14:24:19 +08:00
parent 1ee1023d26
commit 28b91ce6b3

View File

@@ -19,9 +19,9 @@ import GPUtil
import os
model_path = '/root/ld/ld_model_pretrained/MiniCPM-Llama3-V-2_5' # Model download path
device = 'cpu' # # Select GPU if available, otherwise CPU
device = 'cuda' # Select GPU if available, otherwise CPU
save_path = '/root/ld/ld_model_pretrain/MiniCPM-Llama3-V-2_5_int4' # Quantized model save path
image_path = '/root/ld/ld_project/pull_request/MiniCPM-V/assets/airplane.jpeg'
image_path = './assets/airplane.jpeg'
# Create a configuration object to specify quantization parameters
quantization_config = BitsAndBytesConfig(