Skip to content

model.save_pretrained not working for AceGPT #15

@ashmalvayani

Description

@ashmalvayani

Hello, I am trying to simply load the model and save it again using model.save_pretrained method but it's throwing the following error (As shown in the image below). I have searched a bit at it looks like there's some error with generation_config.json file.

My current transformer version is 4.39.0.dev0. When I change it to 4.36.0 it starts saving it as safe_tensors. Do you think is that a version with the transformers version or the generation_config file needs to be deleted to run the code?

image

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