vojay commited on
Commit
6a0a052
·
verified ·
1 Parent(s): 9a14ed3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ adapter_model_id = "vojay/Llama-2-7b-chat-hf-mental-health"
17
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16)
18
  model.load_adapter(adapter_model_id)
19
 
20
- tokenizer = AutoTokenizer.from_pretrained(base_model)
21
 
22
 
23
  def get_base_prompt():
 
17
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16)
18
  model.load_adapter(adapter_model_id)
19
 
20
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
21
 
22
 
23
  def get_base_prompt():