Update config.py
Browse files
config.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
7 |
|
8 |
# Path to the Yi-Coder model
|
9 |
-
MODEL_PATH = "
|
10 |
|
11 |
# Maximum length for generated text
|
12 |
MAX_LENGTH = 1024
|
|
|
6 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
7 |
|
8 |
# Path to the Yi-Coder model
|
9 |
+
MODEL_PATH = "01-ai/Yi-Coder-9B-Chat" # Replace with your actual model path
|
10 |
|
11 |
# Maximum length for generated text
|
12 |
MAX_LENGTH = 1024
|