glouriousgautam
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ This model can be loaded with:
|
|
31 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
32 |
import torch
|
33 |
|
34 |
-
model = AutoModelForCausalLM.from_pretrained("
|
35 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
36 |
```
|
37 |
|
|
|
31 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
32 |
import torch
|
33 |
|
34 |
+
model = AutoModelForCausalLM.from_pretrained("glouriousgautam/llama-3-8b-instruct-bnb-4bit", device_map="auto", torch_dtype=torch.float16)
|
35 |
+
tokenizer = AutoTokenizer.from_pretrained("glouriousgautam/llama-3-8b-instruct-bnb-4bit")
|
36 |
```
|
37 |
|