Skip to content

Error in Roberta post-processing when trimOffsets is false #66

@season-studio

Description

@season-studio

When trimOffsets is false, the Roberta processing will ignore the encoding result. That results the whole encoding method return nil without any error.

For example, using the openai/clip-vit-base-patch32 as the tokenizer configuration, the tk.EncodeSingle("Hello World", true) will return (nil, nil)

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