Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.65 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.65 KB

Question-Answer-Retrieval

This project uses Mistral-7B model to generate Question and Answers from a PDF and gives output in a CSV file and on the terminal.

Steps to run the code:

  1. Download the code:

    • Clone the repository or download the code as a ZIP file.
  2. Navigate to the directory:

    • Use Annaconda CLI to navigate to the directory where the code is located.
  3. Create a conda environment and activate it

  4. Install dependencies:

    • pip install -r requirements.txt
      
  5. Run the code:

    • Execute the command to run the code.
      python app.py
      
    • Start the server
      uvicorn app:app --reload
      
  6. Open localhost:8000 and upload the desired pdf and generate😀

Project Preview

localhost:8000 image

image

image Click on download button to download the csv file else it will be saved here.

image