Skip to content

Instantly share code, notes, and snippets.

@peikuo
peikuo / NewsQA.md
Created September 27, 2017 02:48 — forked from shagunsodhani/NewsQA.md
Notes for "NewsQA: A Machine Comprehension Dataset" paper

NewsQA: A Machine Comprehension Dataset

Introduction

  • The paper presents NewsQA, a machine comprehension dataset of 119,633 natural language questions obtained from 12,744 CNN articles.
  • Link to the paper

Issues With Existing Datasets

def get_shape(tensor):
static_shape = tensor.get_shape().as_list()
dynamic_shape = tf.unstack(tf.shape(tensor))
dims = [s[1] if s[0] is None else s[0]
for s in zip(static_shape, dynamic_shape)]
return dims