Spaces:
Runtime error
Runtime error
Update backend/app/model.py
Browse files- backend/app/model.py +1 -1
backend/app/model.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
3 |
import os
|
4 |
|
5 |
MODEL_NAME = "google/gemma-1.1-2b-it"
|
6 |
-
SAVE_PATH = "./
|
7 |
LABEL_MAP = {0: "low risk", 1: "medium risk", 2: "high risk"}
|
8 |
|
9 |
# Load tokenizer from saved model if available
|
|
|
3 |
import os
|
4 |
|
5 |
MODEL_NAME = "google/gemma-1.1-2b-it"
|
6 |
+
SAVE_PATH = "./data/best_model"
|
7 |
LABEL_MAP = {0: "low risk", 1: "medium risk", 2: "high risk"}
|
8 |
|
9 |
# Load tokenizer from saved model if available
|