Stefano Fiorucci
big improvement in documentation
a8158b1
|
raw
history blame
1.23 kB

πŸ““ Notebooks

Jupyter/Colab notebooks to create the Search pipeline and generate questions, using πŸ” Haystack.

Indexing and pipeline creation

This notebook is inspired by "Build Your First QA System" tutorial, from Haystack documentation.

Here we use a collection of articles about Twin Peaks to answer a variety of questions about that awesome TV series!

The following steps are performed:

  • load and preprocess data
  • create (FAISS) document store and write documents
  • initialize retriever and generate document embeddings
  • initialize reader
  • compose and try Question Answering pipeline
  • save and export (FAISS) index

Question generation

This notebook is inspired by Question Generation tutorial, from Haystack documentation.

Here we use a collection of articles about Twin Peaks to generate a variety of questions about that awesome TV series!

The following steps are performed:

  • load data
  • create document store and write documents
  • generate questions and save them