Skip to content

Commit fc6241d

Browse files
restore example
Signed-off-by: lilithgrigoryan <lilit.grigoryan00@gmail.com>
1 parent 63d5c1a commit fc6241d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sdp/processors/toloka/accept_if.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ class AcceptIfWERLess(BaseParallelProcessor):
4949
5050
Returns:
5151
A manifest with accepted assignments from Toloka based on the WER threshold.
52+
53+
Example:
54+
.. code-block:: yaml
55+
56+
- _target_: sdp.processors.toloka.accept_if.AcceptIfWERLess
57+
input_manifest_file: ${workspace_dir}/result_manifest_pred_clean.json
58+
output_manifest_file: ${workspace_dir}/result_manifest_pred_review.json
59+
input_data_file: ${workspace_dir}/data_file.json
60+
input_pool_file: ${workspace_dir}/taskpool.json
61+
threshold: 50
5262
"""
5363

5464
def __init__(

0 commit comments

Comments
 (0)