Artples commited on
Commit
f8b3d82
1 Parent(s): b353969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ if not torch.cuda.is_available():
25
 
26
  if torch.cuda.is_available():
27
  model_id = "NousResearch/Hermes-2-Pro-Mistral-7B"
28
- model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True)
29
  tokenizer = AutoTokenizer.from_pretrained(model_id)
30
  tokenizer.use_default_system_prompt = False
31
 
 
25
 
26
  if torch.cuda.is_available():
27
  model_id = "NousResearch/Hermes-2-Pro-Mistral-7B"
28
+ model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
29
  tokenizer = AutoTokenizer.from_pretrained(model_id)
30
  tokenizer.use_default_system_prompt = False
31