File size: 691 Bytes
6439929 b942abf 2463315 b942abf 6439929 b942abf 6439929 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
---
license: mit
---
This is an extractive text summarizer model trained on cnn_dailymail dataset. The trained model was saved as a joblib file, which can be used
to load the models in your python script and perform text summarization tasks.
This model is to be used in conjunction with the extract_features.py module. This module has a function that extracts the features and feed
them to the saved model in the required format.
To summarize text, use this code:
```
from extract_features import extract_features
features = extract_features(Article_you_want_to_summarize)
summarized_sentences = model.predict(features)
```
The summarized_sentences is a list of sentences of your summary. |