robinhad commited on
Commit
156f98f
·
verified ·
1 Parent(s): 92704d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ quant_config = BitsAndBytesConfig(
23
  tokenizer = LlamaTokenizer.from_pretrained(model_name)
24
  model = LlamaForCausalLM.from_pretrained(
25
  model_name,
26
- quantization_config=quant_config
27
  )
28
 
29
  model = PeftModel.from_pretrained(model, lora_name, torch_device="cpu")
 
23
  tokenizer = LlamaTokenizer.from_pretrained(model_name)
24
  model = LlamaForCausalLM.from_pretrained(
25
  model_name,
26
+ #quantization_config=quant_config
27
  )
28
 
29
  model = PeftModel.from_pretrained(model, lora_name, torch_device="cpu")