Update app.py
Browse files
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 |
|