This is an implementation of Text Summarization.
-
Clone the repo
git clone https://github.com/phkhanhtrinh23/text_summarization.git
-
Use any code editor to open the folder text_summarization.
-
Create conda virtual environment:
conda create -n summarizer python=3.9, activate it:conda activate summzarizer- In order to run
custom_module, you should installtesseractby command:sudo apt-get install tesseract-ocr.
- In order to run
-
You have the following choices:
chatgpt_module:- Install the required packages:
pip install -r requirements.txt. - Start the app:
streamlit run app.py.
- Install the required packages:
custom_module:- Install the required packages:
pip install -r requirements.txt. - Run the file:
python main.py:summarize_custom()is heuristic summarization.summarize_model()is summarization using LLMs.
- Install the required packages:
Contributions are what make GitHub such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the project
- Create your Contribute branch:
git checkout -b contribute/Contribute - Commit your changes:
git commit -m 'add your messages' - Push to the branch:
git push origin contribute/Contribute - Open a pull request
Email: phkhanhtrinh23@gmail.com