We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c23a83 commit c32c584Copy full SHA for c32c584
src/cnlpt/api/annotate_rest.py
@@ -39,7 +39,7 @@
39
logger.setLevel(logging.DEBUG)
40
41
42
-MODEL_PATH = "/my_trained_model" # path to saved model with model.safetensors
+MODEL_PATH = "/temp"
43
TASK = "DoNotAnnotate"
44
LABELS = [0, 1] # Do not annotate = 0, Annotate = 1
45
@@ -93,7 +93,7 @@ async def process(doc: UnannotatedDocument):
93
pred_time = pred_end - preproc_end
94
postproc_time = postproc_end - pred_end
95
96
- logging.info(
+ logging.info(
97
f"Pre-processing time: {preproc_time:f}, processing time: {pred_time:f}, post-processing time {postproc_time:f}"
98
)
99
0 commit comments