Spaces:
Sleeping
Sleeping
ubermenchh
commited on
Commit
•
d43ba03
1
Parent(s):
45cc06a
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
MAX_INPUT_TOKEN_LENGTH = 4096
|
7 |
|
8 |
model_id = 'HuggingFaceH4/zephyr-7b-beta'
|
9 |
-
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float32
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
11 |
tokenizer.use_default_system_prompt = False
|
12 |
|
|
|
6 |
MAX_INPUT_TOKEN_LENGTH = 4096
|
7 |
|
8 |
model_id = 'HuggingFaceH4/zephyr-7b-beta'
|
9 |
+
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float32)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
11 |
tokenizer.use_default_system_prompt = False
|
12 |
|