Skip to content

josemarcosrf/BiDAF-example-notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bi-Directional Attention Flow

This repo contains a notebook to illustrate the usage of the BiDAF model.

We use the pre-trained model from allennlp library and build some helper functions to visualize the attention weights between a question and a text passage from where knowledge is extracted.

Requirements

allennlp==0.7.0 numpy==1.15.2 matplotlib==3.0.0

About

Usage example for the AllenNLP BiDAF pre-trained model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published