Skip to content

Tokenizer path #171

@vishalsrao

Description

@vishalsrao

I get an error while loading the tokenizer from the auto-generated code. I was able to resolve the issue by changing the value of path in https://github.com/ELS-RD/transformer-deploy/blob/main/src/transformer_deploy/utils/python_tokenizer.py to

str(Path(args["model_repository"]).absolute() / args["model_version"])

from

str(Path(args["model_repository"]).parent.absolute())

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