PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The most effective open source solution to turn your pdf files in a cha
PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The most effective open source solution to turn your pdf files in a cha
If you find the response for a specific question in the PDF is not good using Turbo models, then you need to understand that Turbo models such as gpt-3.5-turbo are chat completion models and will not give a good response in some cases where the embedding similarity is low. Despite the claim by OpenAI, the turbo model is not the best model for Q&A. In those specific cases, either use the good old text-DaVinci-003 or use GPT4 and above. These models invariably give you the most relevant output.
Run docker-compose -f docker-compose.yaml up to use it with Docker compose.
…flowchart TB
A[Input] --> B[URL]
A -- Upload File manually --> C[Parse PDF]
B --> D[Parse PDF] -- Preprocess --> E[Dynamic Text Chunks]
C -- Preprocess --> E[Dynamic Text Chunks with citation history]
E --Fit-->F[Generate text embedding with Deep Averaging Network Encoder on each chunk]
F -- Query --> G[Get Top Results]
G -- K-Nearest Neighbour --> K[Get Nearest Neighbour - matching citation references]
K -- Generate Prompt --> H[Generate Answer]
H -- Output --> I[Output]I am looking for more contributors from the open source community who can take up backlog items voluntarily and maintain the application jointly with me.
Running Large Language Models on consumer hardware remains a challenge due to their massive size (in gigabytes). Model Quantization is a way to reduce their size while not compromising much on their performance. No-code Model Quantization is highly desired by ML Engineers and AI researchers for quick experimentation. I developed a no-code Model Quantization tool that addresses these key hurdles: Size: Reduces model size, making them feasible to run on consumer-grade hardware. Format: Converts training-optimized formats into ones suitable for efficient inference.
Project Link https://github.com/bhaskatripathi/LLM_Quantization
This project is licensed under the MIT License. See the LICENSE.txt file for details.
If you use PDF-GPT in your research or wish to refer to the examples in this repo, please cite with:
@misc{pdfgpt2023,
author = {Bhaskar Tripathi},
title = {PDF-GPT},
year = {2023},
publisher = {GitHub},
journal = {GitHub Repository},
howpublished = {\\url{https://github.com/bhaskatripathi/pdfGPT}}
}Dependency hardening: pin minimum safe dependency versions
Security: multiple gradio advisories appear reachable in pdfGPT
Unauthenticated arbitrary file read via gradio CVE-2024-4941 on pinned `gradio==4.11.0`
PDFGPT is rebuilt here ==> https://github.com/tuxxon/PDFGPT
How to use the api? Is it still available?
Anyway to use a repository of PDF files on disk?
Demo seems to be not working
`requirements > langchain-serve` is no longer maintained, any alternative?
requirements.txt takes too long to install
ChatPDF can create some exam questions based on the document, but pdfGPT failed