Skip to content

Tsingularity/Naive_SQuAD

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Naive_SQuAD

This repo contains the data pre-processing and model training code for the following two methods:

Naive DrQA

We utilize the Document Reader architecture in DrQA to predict answer text span in the context for the given questions. But for the context encoding, we only use fixed word embedding and aligned question embedding as inputs.

Finetune BERT-base

We add a linear classifer on top of BERT output and finetune them together on the given question answering task. The BERT model is Huggingface Transformer's BERT-base-uncased.

About

Naive implementation of DrQA and BERT-base finetune on SQuAD 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published