John Doe
commited on
Commit
·
d64d8b3
1
Parent(s):
df4fd6d
fix
Browse files- modules/app.py +2 -0
modules/app.py
CHANGED
@@ -38,6 +38,8 @@ VERBOSE = False
|
|
38 |
MAX_LENGTH = 256+64
|
39 |
TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
|
40 |
BIG_MODEL = False
|
|
|
|
|
41 |
if BIG_MODEL:
|
42 |
model_name = "facebook/incoder-6B"
|
43 |
kwargs = dict(
|
|
|
38 |
MAX_LENGTH = 256+64
|
39 |
TRUNCATION_MESSAGE = f'warning: This demo is limited to {MAX_LENGTH} tokens in the document for efficiency.'
|
40 |
BIG_MODEL = False
|
41 |
+
CUDA = False
|
42 |
+
|
43 |
if BIG_MODEL:
|
44 |
model_name = "facebook/incoder-6B"
|
45 |
kwargs = dict(
|