Update README.md
Browse files
README.md
CHANGED
@@ -46,9 +46,9 @@ pipeline_tag: text-generation
|
|
46 |
import torch
|
47 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
|
48 |
|
49 |
-
tokenizer = AutoTokenizer.from_pretrained("upstage/Llama-2-70b-instruct
|
50 |
model = AutoModelForCausalLM.from_pretrained(
|
51 |
-
"upstage/Llama-2-70b-instruct
|
52 |
device_map="auto",
|
53 |
torch_dtype=torch.float16,
|
54 |
load_in_8bit=True,
|
|
|
46 |
import torch
|
47 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
|
48 |
|
49 |
+
tokenizer = AutoTokenizer.from_pretrained("upstage/Llama-2-70b-instruct")
|
50 |
model = AutoModelForCausalLM.from_pretrained(
|
51 |
+
"upstage/Llama-2-70b-instruct",
|
52 |
device_map="auto",
|
53 |
torch_dtype=torch.float16,
|
54 |
load_in_8bit=True,
|