Spaces:
Runtime error
Runtime error
MudassirFayaz
commited on
Commit
•
983c445
1
Parent(s):
db79a15
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,
|