pablorocg commited on
Commit
bdd2583
1 Parent(s): d0afa71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -389,7 +389,7 @@ else:
389
  # )quantization_config = nf4_config,
390
 
391
  tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b-it", token=HF_TOKEN)
392
- model = AutoModelForCausalLM.from_pretrained("google/gemma-2b-it", device_map="auto", load_in_4bit=True,token=HF_TOKEN)
393
 
394
 
395
  def make_inference(query, hist):
 
389
  # )quantization_config = nf4_config,
390
 
391
  tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b-it", token=HF_TOKEN)
392
+ model = AutoModelForCausalLM.from_pretrained("google/gemma-2b-it", token=HF_TOKEN)
393
 
394
 
395
  def make_inference(query, hist):