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)
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