Skip to content

A question about how to handle '<none>' in the output result #1

@jasonzhangok

Description

@jasonzhangok

I successfully ran the open-source code, but the output contains multiple <none> values. Additionally, some of these values appear incomplete or truncated, showing only partial strings like <none (without the closing >).
I was wondering how should I handle or interpret these values in the result?

Environment:
Operating System: 22.04.5
Python Version: Python 3.10

Code:
Image

Inference result:
Image

We can see that the output contains both complete <none> and truncated <none values. And after removing complete <none> values (creating cleaned_result), truncated <none strings persist. And in the inference results, each sentence ends with <none (partial string).

I'm unsure how to handle incomplete parts in the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions