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.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.