Spaces:
Runtime error
Runtime error
thepolymerguy
commited on
Commit
•
bd64187
1
Parent(s):
fbca9a1
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ auth_token = os.environ.get("AUTH_TOKEN_SECRET")
|
|
13 |
tokenizer = LlamaTokenizer.from_pretrained("Claimed/capybara", use_auth_token=auth_token)
|
14 |
|
15 |
model = LlamaForCausalLM.from_pretrained(
|
16 |
-
"Claimed/capybara", use_auth_token=auth_token)
|
17 |
model = model.to('cuda')
|
18 |
|
19 |
|
|
|
13 |
tokenizer = LlamaTokenizer.from_pretrained("Claimed/capybara", use_auth_token=auth_token)
|
14 |
|
15 |
model = LlamaForCausalLM.from_pretrained(
|
16 |
+
"Claimed/capybara", use_auth_token=auth_token, low_cpu_mem_usage=True)
|
17 |
model = model.to('cuda')
|
18 |
|
19 |
|