Skip to content

Partial loading of AutoModelForSeq2SeqLM SLED models' checkpoint weights of with AutoModel #4

@Mivg

Description

@Mivg

When loading a model checkpoint of type AutoModelForSeq2SeqLM with AutoModel, the state dict will not be loaded correctly, as some of the name of parameters are different.

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