LuuNgoc2k2
commited on
Commit
•
ca63cba
1
Parent(s):
832b0fd
Update README.md
Browse files
README.md
CHANGED
@@ -15,6 +15,7 @@ tokenizer = AutoTokenizer.from_pretrained("LuuNgoc2k2/Law-Llama-v1", add_eos_tok
|
|
15 |
model = AutoModelForCausalLM.from_pretrained(
|
16 |
'LuuNgoc2k2/Law-Llama-v1',
|
17 |
torch_dtype=torch.bfloat16,
|
|
|
18 |
device_map="auto",
|
19 |
use_cache=True,
|
20 |
)
|
|
|
15 |
model = AutoModelForCausalLM.from_pretrained(
|
16 |
'LuuNgoc2k2/Law-Llama-v1',
|
17 |
torch_dtype=torch.bfloat16,
|
18 |
+
quantization_config=bnb_config, # If you need
|
19 |
device_map="auto",
|
20 |
use_cache=True,
|
21 |
)
|