Skip to content

Unable to Load Custom GPT2 Tokenizer - " data did not match any variant of untagged enum ModelWrapper at line 1 column 3193814" Error #1562

Closed
@maghwa

Description

@maghwa

I am encountering an issue when trying to load a custom merged GPT2 tokenizer using GPT2TokenizerFast. Despite ensuring that the tokenizer.json file is correctly formatted, I receive the following error:
data did not match any variant of untagged enum ModelWrapper at line 1 column 3193814

tokenizer-2.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions