Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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():
|