cicdatopea
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -27,6 +27,8 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
27 |
quantized_model_dir,
|
28 |
torch_dtype=torch.float16,
|
29 |
trust_remote_code=True,
|
|
|
|
|
30 |
)
|
31 |
|
32 |
tokenizer = AutoTokenizer.from_pretrained(quantized_model_dir,trust_remote_code=True)
|
|
|
27 |
quantized_model_dir,
|
28 |
torch_dtype=torch.float16,
|
29 |
trust_remote_code=True,
|
30 |
+
device_map="auto"
|
31 |
+
|
32 |
)
|
33 |
|
34 |
tokenizer = AutoTokenizer.from_pretrained(quantized_model_dir,trust_remote_code=True)
|