|
Download README.md from BlueQuasar/Extractive_text_summarizer: direct link, hf CLI and curl.
- Browser
- Download file 691 Bytes
-
https://huggingface.co/BlueQuasar/Extractive_text_summarizer/resolve/main/README.md
- Command line
-
hf download hf://BlueQuasar/Extractive_text_summarizer/README.md
-
curl -L -o README.md https://huggingface.co/BlueQuasar/Extractive_text_summarizer/resolve/main/README.md
691 Bytes
metadata
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.