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
annotator_a_project_id: Annotated[int, Query(description="The project ID from one annotator")],
107
108
annotator_b_project_id: Annotated[int, Query(description="The project ID from another annotator")],
108
109
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_str: Annotated[str, Form(description="The trainer export raw JSON string")] ="{\"projects\": []}",
51
52
project_id: Annotated[Union[int, None], Query(description="The target project ID, and if not provided, all projects will be included")] =None,
52
53
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
34
log_frequency: Annotated[int, Query(description="The number of processed documents after which training metrics will be logged", ge=1)] =1,
34
35
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,
98
99
log_frequency: Annotated[int, Query(description="The number of processed documents after which training metrics will be logged", ge=1)] =1000,
99
100
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