wonhosong commited on
Commit
1f7abe5
1 Parent(s): 96e4330

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-v2")
50
  model = AutoModelForCausalLM.from_pretrained(
51
- "upstage/Llama-2-70b-instruct-v2",
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,