{"id":20497199,"url":"https://github.com/fork123aniket/abstractive-text-summarization","last_synced_at":"2026-05-07T13:36:08.108Z","repository":{"id":158619638,"uuid":"570880185","full_name":"fork123aniket/Abstractive-Text-Summarization","owner":"fork123aniket","description":"Implementation of an Attention-based LSTM Encoder-Decoder Approach for Abstractive Text Summarization","archived":false,"fork":false,"pushed_at":"2022-12-06T07:16:53.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T18:56:34.512Z","etag":null,"topics":["abstractive-text-summarization","encoder-decoder","encoder-decoder-attention","encoder-decoder-model","keras","natural-language-processing","nltk","nltk-python","stacked-lstm","tensorflow","text-summarization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fork123aniket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-26T12:37:16.000Z","updated_at":"2025-01-31T00:51:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"d42e9cf1-ef5f-45e3-b7fc-8b5c5f47f269","html_url":"https://github.com/fork123aniket/Abstractive-Text-Summarization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fork123aniket/Abstractive-Text-Summarization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fork123aniket%2FAbstractive-Text-Summarization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fork123aniket%2FAbstractive-Text-Summarization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fork123aniket%2FAbstractive-Text-Summarization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fork123aniket%2FAbstractive-Text-Summarization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fork123aniket","download_url":"https://codeload.github.com/fork123aniket/Abstractive-Text-Summarization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fork123aniket%2FAbstractive-Text-Summarization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstractive-text-summarization","encoder-decoder","encoder-decoder-attention","encoder-decoder-model","keras","natural-language-processing","nltk","nltk-python","stacked-lstm","tensorflow","text-summarization"],"created_at":"2024-11-15T18:10:19.804Z","updated_at":"2026-05-07T13:36:03.069Z","avatar_url":"https://github.com/fork123aniket.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Abstractive Text Summarization\n\nThis repository aims at providing ***Stacked LSTM-based Encoder-Decoder*** implementation for ***Abstactive Text Summarization*** task, which generates new relevant sentence as summary for each input (original text in the form of longer paragraphs).\nThis task has many applications:-\n- Entity timelines - Given an entity and a time period, provide a summary of the most memorable events involving this entity.\n- Sentence Compression - Given a sentence, generate a shorter one while preserving the essential contextual information.\n- Summarization of User Generated Content - Identify main aspects and summarize for machine or user consumption.\n\n## Requirements\n- `Tensorflow`\n- `keras`\n- `NLTK`\n- `NumPy`\n- `Pandas`\n- `Matplotlib`\n\n## Usage\n### Data\n- The developed model is trained on the ***Amazon Fine Food reviews*** dataset, which can be downloaded from [***here***](https://www.kaggle.com/snap/amazon-fine-food-reviews).\n- The data spans a period of more than 10 years, including all ~500,000 reviews up to October 2012.\n- These reviews include product and user information, ratings, plain text review, and summary.\n- It also includes reviews from all other Amazon categories.\n### Training and Testing\nTo train the model and generate summary for each new test paragraph, run `Abstractive_Text_Summarization.py`.\n\n## Results\nFollowing are a few summaries generated by the model:-\n\n```\nReview: aware decaf coffee although showed search decaf cups intended purchase gift kept recipient drink caffeine favorite means \nOriginal summary: not decaf \nPredicted summary:  decaf decaf\n```\n\n```\nReview: first time using fondarific fondant general one really easy use baby shower cake worked indicated also colored made two tier cake final product looked great greasy \nOriginal summary: easy to use \nPredicted summary:  great product\n```\n\n```\nReview: size quite good dog training smell strong cannot put open bag must seal everytime gave treat otherwise dog stand trying fetch believe taste great puppy purchase sure \nOriginal summary: strong smell and my puppy loves it \nPredicted summary:  my dog loves these\n```\n\n```\nReview: daughter drinking since months old months old still loves snack time healthy delicious great addition menu \nOriginal summary: great snack \nPredicted summary:  great snack\n```\n\n```\nReview: love stuff great store bought homemade baked goods kicking things professional level works colored dark light frosting also used dusting powdered sugar pretty fine texture \nOriginal summary: fun like dust \nPredicted summary:  perfect\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffork123aniket%2Fabstractive-text-summarization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffork123aniket%2Fabstractive-text-summarization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffork123aniket%2Fabstractive-text-summarization/lists"}