Skip to content

Help: Transformer v5 managed to break HF models #43726

@TomLucidor

Description

@TomLucidor

There are some models that are rendered broken because of from transformers.models.gpt2.tokenization_gpt2 import bytes_to_unicode and ImportError: cannot import name 'bytes_to_unicode' from 'transformers.models.gpt2.tokenization_gpt2'
https://huggingface.co/NexVeridian/Kimi-Linear-REAP-35B-A3B-Instruct-4bit/discussions/1 https://huggingface.co/nightmedia/Kimi-Linear-REAP-35B-A3B-Instruct-mxfp4-mlx/discussions/1

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