INNER CODE UNIT · Python

process_predictions

openfoodfacts/openfoodfacts-ai · category-detection/main.py:533

def process_predictions(
    prediction_path: Annotated[
        Path,
        typer.Argument(
            ...,
            help="Path to the predictions JSONL file",
            file_okay=True,
            dir_okay=False,
            exists=True,
        ),
    ],
    output_path: Annotated[
        Path,
        typer.Argument(
            ...,
            help="Path where to write the processed results TSV file",
            file_okay=True,
            dir_okay=False,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…