cicdatopea
commited on
Commit
•
4fbcee9
1
Parent(s):
c4f4a1f
Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ datasets:
|
|
5 |
---
|
6 |
## Model Details
|
7 |
|
8 |
-
This model is an int4 model with group_size 128 and symmetric quantization of [Qwen/Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct). Load the model with revision="
|
9 |
|
10 |
## How To Use
|
11 |
|
@@ -27,7 +27,7 @@ model = Qwen2VLForConditionalGeneration.from_pretrained(
|
|
27 |
quantized_model_path,
|
28 |
torch_dtype="auto",
|
29 |
device_map="auto",
|
30 |
-
##revision="
|
31 |
)
|
32 |
processor = AutoProcessor.from_pretrained(quantized_model_path)
|
33 |
image_url = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
|
|
|
5 |
---
|
6 |
## Model Details
|
7 |
|
8 |
+
This model is an int4 model with group_size 128 and symmetric quantization of [Qwen/Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct). Load the model with revision="2161994" to use AutoGPTQ format.
|
9 |
|
10 |
## How To Use
|
11 |
|
|
|
27 |
quantized_model_path,
|
28 |
torch_dtype="auto",
|
29 |
device_map="auto",
|
30 |
+
##revision="2161994" ##AutoGPTQ format
|
31 |
)
|
32 |
processor = AutoProcessor.from_pretrained(quantized_model_path)
|
33 |
image_url = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
|