microsoft/TransformerCompression

How to export entire model?

Open

#114 opened on Mar 6, 2024

 (10 comments) (0 reactions) (0 assignees)Python (58 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (462 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi, the sliced model are exported to .pt file (only parameters, without structure). However, I want to deploy the model otherwhere, so I have to have the model structure and then can load the pretrained parameters. So how can I do this? How can I export the entire model? thanks!

Contributor guide