Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ from auto_gptq import AutoGPTQForCausalLM
|
|
5 |
import torch
|
6 |
|
7 |
model_path = 'efficient-llm/vicuna-13b-v1.3-awq'
|
8 |
-
config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
|
9 |
enc = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-hf', trust_remote_code=True)
|
10 |
kwargs = {"torch_dtype": torch.float16, "low_cpu_mem_usage": True}
|
11 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
5 |
import torch
|
6 |
|
7 |
model_path = 'efficient-llm/vicuna-13b-v1.3-awq'
|
8 |
+
config = AutoConfig.from_pretrained(model_path, revision='3bit_128g', trust_remote_code=True)
|
9 |
enc = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-hf', trust_remote_code=True)
|
10 |
kwargs = {"torch_dtype": torch.float16, "low_cpu_mem_usage": True}
|
11 |
model = AutoModelForCausalLM.from_pretrained(
|