Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to save model as pkl.file for deploying #129

Open
ranjith502 opened this issue Mar 29, 2022 · 0 comments
Open

how to save model as pkl.file for deploying #129

ranjith502 opened this issue Mar 29, 2022 · 0 comments

Comments

@ranjith502
Copy link

Thanks for your contributions

i want to save weights [bert-extractive-summarizer] as pkl file ,and i want to use it for prediction for my text summarization
may i know ,how to save it

from summarizer import Summarizer

body = 'Text body that you want to summarize with BERT'
body2 = 'Something else you want to summarize with BERT'
model = Summarizer()
model(body)
model(body2)

now how to save model ??. any help on it

what are dependencies required for it deploy

Thanks and Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant