{"id":24429113,"url":"https://github.com/0xichikawa/pdf-summarizer-chatbot-using-llama2","last_synced_at":"2025-04-27T02:44:15.686Z","repository":{"id":269607911,"uuid":"907968052","full_name":"0xichikawa/PDF-summarizer-chatbot-using-LLaMa2","owner":"0xichikawa","description":"A user-friendly application that allows users to upload PDF documents and receive concise summaries generated using advanced Large Language Models (LLMs).","archived":false,"fork":false,"pushed_at":"2024-12-27T11:35:58.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T02:44:10.404Z","etag":null,"topics":["llama2","nlp","pdf-summarizer","pypdf2","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xichikawa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-24T18:23:33.000Z","updated_at":"2025-04-10T02:37:37.000Z","dependencies_parsed_at":"2024-12-24T19:49:16.115Z","dependency_job_id":null,"html_url":"https://github.com/0xichikawa/PDF-summarizer-chatbot-using-LLaMa2","commit_stats":null,"previous_names":["0xichikawa/pdf-summarizer-chatbot-using-llama2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xichikawa%2FPDF-summarizer-chatbot-using-LLaMa2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xichikawa%2FPDF-summarizer-chatbot-using-LLaMa2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xichikawa%2FPDF-summarizer-chatbot-using-LLaMa2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xichikawa%2FPDF-summarizer-chatbot-using-LLaMa2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xichikawa","download_url":"https://codeload.github.com/0xichikawa/PDF-summarizer-chatbot-using-LLaMa2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251080974,"owners_count":21533151,"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","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":["llama2","nlp","pdf-summarizer","pypdf2","python","streamlit"],"created_at":"2025-01-20T13:33:23.886Z","updated_at":"2025-04-27T02:44:15.665Z","avatar_url":"https://github.com/0xichikawa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Summarizer and Chatbot using LLaMa2 in Streamlit\n![Screenshot (481)](https://github.com/user-attachments/assets/f5c8a6d0-e9db-4113-a6d2-a44e478b0845)\n\n## Project Overview\nThe PDF Summarizer Chatbot is a user-friendly application that allows you to upload PDF documents and receive concise summaries generated using advanced Large Language Models (LLMs). This project leverages the power of Natural Language Processing (NLP) to extract meaningful insights from textual data, making document analysis faster and more efficient.\n\n## Project Purpose\nThis project can be a starting point for beginners who want to learn about LLMs. I use **Replicate**, which provides **free** cloud API services with open-source models like **LLaMa2**. The open-source Python framework **Streamlit** is used to deploy the model into an interactive web app. Overall, this project was made as simple as possible to help your understanding of the implementation of the LLMs project.\n\n## Features\n- **PDF Parsing**: Extract text from PDF files using PyPDF2.\n- **AI-Powered Summarization**: Summaries are generated using the Llama 2 model, renowned for its state-of-the-art performance in NLP tasks.\n- **Interactive User Interface**: Built with Streamlit, providing an intuitive platform for users to upload files and receive outputs.\n- **Themes**: Support light and dark themes for user convenience.\n- **API Integration**: Utilizes the Replicate API for seamless communication with the LLM backend.\n\n## Getting Started\n1. Clone the repository\n   ```\n   git clone https://github.com/0xichikawa/PDF-summarizer-chatbot-using-LLaMa2\n   cd PDF-summarizer-chatbot-using-LLaMa2 \n2.  Install dependencies\n   ```\n   pip install -r requirements.txt\n   ```\n3. Set Up Replicate API Key\n   Obtain your Replicate API key from [replicate.com](replicate.com) and add it to `secrets.toml` file in the `.streamlit` folder:\n   ```\n   REPLICATE_API_TOKEN = \"INSERT_YOUR_REPLICATE_API_TOKEN_HERE\"\n4. Run the application\n   ```\n   streamlit run app.py  \n\n## Future Enhancements\n- Multi-language support for summarization.\n- Enhanced text extraction with OCR for scanned PDFs.\n- Options for customized summary lengths and formats.\n\n## Acknowledgments\n- Meta AI for Llama 2.\n- Replicate for their API services.\n- Streamlit and PyPDF2 for simplifying the development process.\n- Data Professor (https://github.com/dataprofessor) for tutorials and project inspiration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xichikawa%2Fpdf-summarizer-chatbot-using-llama2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xichikawa%2Fpdf-summarizer-chatbot-using-llama2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xichikawa%2Fpdf-summarizer-chatbot-using-llama2/lists"}