You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trainer_export: Annotated[List[UploadFile], File(description="A list of trainer export files to be uploaded")],
103
106
annotator_a_project_id: Annotated[int, Query(description="The project ID from one annotator")],
104
107
annotator_b_project_id: Annotated[int, Query(description="The project ID from another annotator")],
105
-
scope: Annotated[str, Query(enum=[s.valueforsinScope], description="The scope for which the score will be calculated, e.g., per_concept, per_document or per_span")]) ->StreamingResponse:
108
+
scope: Annotated[str, Query(enum=[s.valueforsinScope], description="The scope for which the score will be calculated, e.g., per_concept, per_document or per_span")],
109
+
tracking_id: Annotated[Union[str, None], Query(description="The tracking ID of the IAA task")] =None) ->StreamingResponse:
multi_text_file: Annotated[UploadFile, File(description="A file containing a list of plain texts, in the format of [\"text_1\", \"text_2\", ..., \"text_n\"]")],
135
+
tracking_id: Annotated[Union[str, None], Query(description="The tracking ID of the bulk processing task")] =None,
trainer_export: Annotated[List[UploadFile], File(description="One or more trainer export files to be uploaded")] = [],
48
50
trainer_export_str: Annotated[str, Form(description="The trainer export raw JSON string")] ="{\"projects\": []}",
49
51
project_id: Annotated[Union[int, None], Query(description="The target project ID, and if not provided, all projects will be included")] =None,
50
-
document_id: Annotated[Union[int, None], Query(description="The target document ID, and if not provided, all documents of the target project(s) will be included")] =None) ->Response:
52
+
document_id: Annotated[Union[int, None], Query(description="The target document ID, and if not provided, all documents of the target project(s) will be included")] =None,
53
+
tracking_id: Annotated[Union[str, None], Query(description="The tracking ID of the trainer export preview task")] =None) ->Response:
test_size: Annotated[Union[float, None], Query(description="The override of the test size in percentage. (For a 'huggingface-ner' model, a negative value can be used to apply the train-validation-test split if implicitly defined in trainer export: 'projects[0]' is used for training, 'projects[1]' for validation, and 'projects[2]' for testing)")] =0.2,
33
33
log_frequency: Annotated[int, Query(description="The number of processed documents after which training metrics will be logged", ge=1)] =1,
34
34
description: Annotated[Union[str, None], Form(description="The description of the training or change logs")] =None,
35
+
tracking_id: Annotated[Union[str, None], Query(description="The tracking ID of the training task")] =None,
test_size: Annotated[Union[float, None], Query(description="The override of the test size in percentage will only take effect if the dataset does not have predefined validation or test splits", ge=0.0)] =0.2,
97
98
log_frequency: Annotated[int, Query(description="The number of processed documents after which training metrics will be logged", ge=1)] =1000,
98
99
description: Annotated[Union[str, None], Query(description="The description of the training or change logs")] =None,
100
+
tracking_id: Annotated[Union[str, None], Query(description="The tracking ID of the training task")] =None,
0 commit comments