Skip to content

i want help to create saved model(.pth) from Pytorch Dump(pytorch_model.bin) if possible! #3834

@pumpkinband

Description

@pumpkinband

i have, PROJECT(folder)
├── pytorch_model.bin
├── bert_config.json
└── vocab.txt

i tried saving it with
torch.save( pytorch_model.bin , PATH)

but came with error
-bash: syntax error near unexpected token pytorch_model.bin,'`

what am i doing wrong ?
and please help me convert pretrained model to saved model( .pth)!!

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