Prot10 commited on
Commit
1c36341
1 Parent(s): 9a93a48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ from transformers import LlamaTokenizer, LlamaForCausalLM, GenerationConfig
24
  tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
25
  model = LlamaForCausalLM.from_pretrained(
26
  "decapoda-research/llama-7b-hf",
27
- load_in_8bit_fp32_cpu_offload=True
28
  device_map="cpu",
29
  )
30
 
 
24
  tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
25
  model = LlamaForCausalLM.from_pretrained(
26
  "decapoda-research/llama-7b-hf",
27
+ load_in_8bit_fp32_cpu_offload=True,
28
  device_map="cpu",
29
  )
30