Spaces:
Runtime error
Runtime error
Zoey Lyu
commited on
Commit
•
d6dbb46
1
Parent(s):
2d37052
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -22,7 +22,7 @@ login(token = token)
|
|
22 |
|
23 |
if PREFERED_MODEL == "pretrained":
|
24 |
#print("Using pretrained model")
|
25 |
-
model_id = "
|
26 |
print("Loading model...")
|
27 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map = "cuda", load_in_8bit = True)
|
28 |
print("loading tokenizer...")
|
|
|
22 |
|
23 |
if PREFERED_MODEL == "pretrained":
|
24 |
#print("Using pretrained model")
|
25 |
+
model_id = "mattshumer/Llama-3-8B-16K"
|
26 |
print("Loading model...")
|
27 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map = "cuda", load_in_8bit = True)
|
28 |
print("loading tokenizer...")
|