Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,13 +10,13 @@ deepsparse.cpu.print_hardware_capability()
|
|
10 |
MODEL_PATH = "TinyStories-1M"
|
11 |
|
12 |
DESCRIPTION = f"""
|
13 |
-
# TinyStories
|
14 |
|
15 |
The model stub for this example is: {MODEL_PATH}
|
16 |
"""
|
17 |
|
18 |
MAX_MAX_NEW_TOKENS = 2048
|
19 |
-
DEFAULT_MAX_NEW_TOKENS =
|
20 |
|
21 |
|
22 |
def clear_and_save_textbox(message: str) -> Tuple[str, str]:
|
|
|
10 |
MODEL_PATH = "TinyStories-1M"
|
11 |
|
12 |
DESCRIPTION = f"""
|
13 |
+
# TinyStories running on DeepSparse
|
14 |
|
15 |
The model stub for this example is: {MODEL_PATH}
|
16 |
"""
|
17 |
|
18 |
MAX_MAX_NEW_TOKENS = 2048
|
19 |
+
DEFAULT_MAX_NEW_TOKENS = 512
|
20 |
|
21 |
|
22 |
def clear_and_save_textbox(message: str) -> Tuple[str, str]:
|