evanperez commited on
Commit
5566f23
1 Parent(s): 40ec4a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ model_name_or_path = "bofenghuang/vigogne-2-7b-chat"
25
  revision = "v2.0"
26
 
27
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, revision=revision, padding_side="right", use_fast=False)
28
- model = AutoModelForCausalLM.from_pretrained(model_name_or_path, revision=revision, torch_dtype=torch.float16, device_map="auto")
29
 
30
 
31
  st.set_page_config(page_title="Gemini RAG", layout="wide")
 
25
  revision = "v2.0"
26
 
27
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, revision=revision, padding_side="right", use_fast=False)
28
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path, revision=revision)
29
 
30
 
31
  st.set_page_config(page_title="Gemini RAG", layout="wide")