Stefano Fiorucci
Improved README
261cff9
|
raw
history blame
2.82 kB
metadata
title: Who killed Laura Palmer?
emoji: πŸ—»πŸ—»
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.2.0
app_file: app.py
pinned: false
license: Apache-2.0

Who killed Laura Palmer?   Generic badge Generic badge

πŸ—»πŸ—» Twin Peaks Question Answering system

WKLP is a simple Question Answering system, based on data crawled from Twin Peaks Wiki. It is built using πŸ” Haystack, an awesome open-source framework for building search systems that work intelligently over large document collections.


Project architecture 🧱

Project architecture


What can I learn from this project? πŸ“š

  • How to quickly ⌚ build a modern Question Answering system using πŸ” Haystack
  • How to generate questions based on your documents
  • How to build a nice Streamlit web app to show your QA system
  • How to optimize the web app to πŸš€ deploy in πŸ€— Spaces

Repository structure πŸ“

Within each folder, you can find more in-depth explanations.

Possible improvements ✨

  • The reader model (deepset/roberta-base-squad2) is a good compromise between speed and accuracy, running on CPU. There are certainly better (and more computationally expensive) models, as you can read in the Haystack documentation.
  • You can also think about preparing a Twin Peaks QA dataset and fine-tune the reader model to get better accuracy, as explained in Haystack tutorial.
  • ...