Skip to content

ValueError: The model class you are passing has a config_class attribute that is not consistent with the config class you passed (model has None and you passed <class 'transformers_modules.codefuse-ai.CodeFuse-CGE-Small.fd0871aa546be63188628752a09c4d42dd07250d.configuration_codefuse_cge_small.CodeFuseCGESmallConfig'>. Fix one of those so they match! #3

Open
@CZH-THU

Description

@CZH-THU

ValueError when use transformers==4.43.0 to load "codefuse-ai/CodeFuse-CGE-Small"

ValueError: The model class you are passing has a config_class attribute that is not consistent with the config class you passed (model has None and you passed <class 'transformers_modules.codefuse-ai.CodeFuse-CGE-Small.fd0871aa546be63188628752a09c4d42dd07250d.configuration_codefuse_cge_small.CodeFuseCGESmallConfig'>. Fix one of those so they match!

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