Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ from transformers import TextIteratorStreamer
|
|
| 13 |
|
| 14 |
# Load the base model and tokenizer
|
| 15 |
base_model = AutoModelForCausalLM.from_pretrained(
|
| 16 |
-
'
|
| 17 |
trust_remote_code=True,
|
| 18 |
device_map="auto",
|
| 19 |
torch_dtype=torch.float16,
|
|
|
|
| 13 |
|
| 14 |
# Load the base model and tokenizer
|
| 15 |
base_model = AutoModelForCausalLM.from_pretrained(
|
| 16 |
+
'NousResearch/Llama-2-7b-chat-hf',
|
| 17 |
trust_remote_code=True,
|
| 18 |
device_map="auto",
|
| 19 |
torch_dtype=torch.float16,
|