Spaces:
Paused
Paused
Daniel Marques
commited on
Commit
·
07c4eee
1
Parent(s):
f18cc47
feat: set context size
Browse files- constants.py +1 -1
constants.py
CHANGED
@@ -32,7 +32,7 @@ CHROMA_SETTINGS = Settings(
|
|
32 |
)
|
33 |
|
34 |
# Context Window and Max New Tokens
|
35 |
-
CONTEXT_WINDOW_SIZE =
|
36 |
MAX_NEW_TOKENS = CONTEXT_WINDOW_SIZE # int(CONTEXT_WINDOW_SIZE/4)
|
37 |
|
38 |
#### If you get a "not enough space in the buffer" error, you should reduce the values below, start with half of the original values and keep halving the value until the error stops appearing
|
|
|
32 |
)
|
33 |
|
34 |
# Context Window and Max New Tokens
|
35 |
+
CONTEXT_WINDOW_SIZE = 2048
|
36 |
MAX_NEW_TOKENS = CONTEXT_WINDOW_SIZE # int(CONTEXT_WINDOW_SIZE/4)
|
37 |
|
38 |
#### If you get a "not enough space in the buffer" error, you should reduce the values below, start with half of the original values and keep halving the value until the error stops appearing
|