Skip to content

Demo of fine-tuning QA models for answering FAQ of cloud providers documentation

Notifications You must be signed in to change notification settings

nizamsp/demo-cloud-faq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question Answering tutorial with Quaterion

Intro

Similarity learning can be handy in a large amount of domains and tasks. It can be used in CV, NLP, recommendation systems, etc.

You may need to look at problems you are already used to from a different angle in order to solve them with similarity learning. At first, it may be unusual and to mitigate "mind-shift" we present our series of tutorials.

This tutorial covers one of NLP problems - Q&A. Here we train a model capable of answering to questions from F.A.Q. pages of popular cloud providers.

The whole tutorial is available here

Dependencies

We use poetry to manage our dependencies.

All packages required are listed in pyproject.toml.

If you have never used poetry earlier, we've collected a bunch of commands to make it seamless in install_dependencies.sh. You can install all the dependencies with only one command:

./install_dependencies.sh

Make this file executable with chmod +x install_dependencies.sh before usage.

Dataset

In this tutorial we use our own dataset.

You can download it with

./download_data.sh

Make this file executable with chmod +x download_data.sh before usage.

It will fetch cloud_faq_dataset.jsonl file from our Google Storage and make a train-val split.

About

Demo of fine-tuning QA models for answering FAQ of cloud providers documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.9%
  • Shell 2.1%