Prot10 commited on
Commit
485dea7
1 Parent(s): 1c36341

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -24,7 +24,6 @@ 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
  device_map="cpu",
28
  )
29