henry9zhr/QANet-pytorch

A PyTorch implementation of QANet.

What it solves

This project provides a PyTorch implementation of QANet, a model designed for Question Answering (QA) tasks, allowing users to train and test the model on datasets like SQuAD.

How it works

The system uses a neural network architecture defined in models.py to process question and context text. It includes a preprocessing step (preproc.py) to convert raw datasets into tensors, a training loop in main.py, and a configuration file for hyperparameters.

Who it’s for

Researchers and developers interested in implementing or replicating the paper "QANet: Convolutional Question Answering Networks" using PyTorch.

Highlights

  • PyTorch implementation of the QANet architecture.
  • Includes scripts for dataset downloading and preprocessing.
  • Support for training and testing modes.
  • Community-driven bug fixes regarding positional encodings and weight sharing.

Related

  • Project
  • Project
  • Project
  • Project
  • Project