Spaces:
Runtime error
Runtime error
python-dev-task-summarization
The task has been done in two methods-
- using traditional Python libraries (like NLTK,Sumy)
- using pre-trained transformers model
Method-1
using traditional Python libraries
Web Scraping Tools:
- Selenium
Paraphrasing Tools:
- used nlpaug library
Summarization Tools:
- used sumy library
System Requirements:
- you will find it in the requirements.txt file
How to test or run this?
- just open this link and follow the instructions: https://shamim237-python-dev-task-app-3n18pu.streamlit.app/
Method-2
Using pre-trained transformers model
Web Scraping Tools:
- ScrapperAPI
- BeautifulSoup
Paraphrasing Tools:
- used "ramsrigouthamg/t5-large-paraphraser-diverse-high-quality" pre-trained model from HuggingFace
Summarization Tools:
- used /"google/pegasus-cnn_dailymail"/ pre-trained model from HuggingFace
System Requirements:
- you will find it in the Python_Dev_Task.ipynb notebook or in the below link.
How to test or run this?
- Just open the "Python_Dev_Task.ipynb" file in Colab or open this link: https://colab.research.google.com/drive/1wwaj0TobsnzQL5jMVsYrF5z6rc1944tE?usp=sharing
- Run all the cell
- The summarization output will show up in the last cell of the notebook.