Document Query Processing With Mistral 7B and Streamlit

PDF’s form an integral part in day to day life of every individual. Researchers, scientists, teachers and students need to read and go through tons of PDF in order to gain information. This is an overhead for the people. In past there have been multiple attempts to get the information from the PDF’s by directly asking the question. But most of the approaches are limited to single PDF and the accuracy is a concern with respect to the context in which answer is generated. In this paper we propose an approach that used Mistral 7B model to generate the answers to the questions asked by the user on multiple PDF’s uploaded at once. We also evaluate our model against the existing approaches to answer generation and demonstrate a better approach to solve the problem. Upon analysis we arrive at a conclusion that Mistral-7B outperforms other LLMs for this task. By incorporating prompt lookup technique, the response time was improved by approximately 80%.

Authors

Publication Details

Published
2024-08-23
DOI
https://doi.org/10.1109/iccubea61740.2024.10774917
Citations
2
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Document Query Processing With Mistral 7B and Streamlit

Pranjali Joshi, Renuka Saraf, Gopalkrushna Kolhe, Soham Badjate et al.
2 citations
Algorithms and Data Compression
0.69
article

Document Query Processing With Mistral 7B and Streamlit

Pranjali Joshi, Renuka Saraf, Gopalkrushna Kolhe, Soham Badjate, Rohit Gadekar
article en
2 citations

Abstract

PDF’s form an integral part in day to day life of every individual. Researchers, scientists, teachers and students need to read and go through tons of PDF in order to gain information. This is an overhead for the people. In past there have been multiple attempts to get the information from the PDF’s by directly asking the question. But most of the approaches are limited to single PDF and the accuracy is a concern with respect to the context in which answer is generated. In this paper we propose an approach that used Mistral 7B model to generate the answers to the questions asked by the user on multiple PDF’s uploaded at once. We also evaluate our model against the existing approaches to answer generation and demonstrate a better approach to solve the problem. Upon analysis we arrive at a conclusion that Mistral-7B outperforms other LLMs for this task. By incorporating prompt lookup technique, the response time was improved by approximately 80%.

Openalex Percentile: Top 22%
Algorithms and Data Compression
0.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.