Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ from transformers import (
|
|
| 26 |
# at module import time; only calls to generate() are inside @spaces.GPU.
|
| 27 |
# ---------------------------------------------------------------------------
|
| 28 |
|
| 29 |
-
MODEL_ID = "TULLUS/codeparrot-small-multi"
|
| 30 |
CHECKPOINT_DTYPE = torch.float32 # Preserve the repository config.json dtype: F32.
|
| 31 |
MAX_NEW_TOKENS_UI = 384
|
| 32 |
MAX_CONTEXT_PROMPT_CHARS = 40_000 # Secondary guard before tokenization.
|
|
|
|
| 26 |
# at module import time; only calls to generate() are inside @spaces.GPU.
|
| 27 |
# ---------------------------------------------------------------------------
|
| 28 |
|
| 29 |
+
MODEL_ID = "TULLUS/codeparrot-small-multi-F32"
|
| 30 |
CHECKPOINT_DTYPE = torch.float32 # Preserve the repository config.json dtype: F32.
|
| 31 |
MAX_NEW_TOKENS_UI = 384
|
| 32 |
MAX_CONTEXT_PROMPT_CHARS = 40_000 # Secondary guard before tokenization.
|