PaLM: A Hybrid Parser and Language Model

Hao Peng, Roy Schwartz, Noah A. Smith
9/4/2019
cs.CL
transformer-attention

Official code: Noahs-ARK/PaLM (10 stars, Python, BSD-3-Clause, last commit 2020-01-07).

Abstract

We present PaLM, a hybrid parser and neural language model. Building on an RNN language model, PaLM adds an attention layer over text spans in the left context.

Show full abstract

An unsupervised constituency parser can be derived from its attention weights, using a greedy decoding algorithm. We evaluate PaLM on language modeling, and empirically show that it outperforms strong baselines. If syntactic annotations are available, the attention component can be trained in a supervised manner, providing syntactically-informed representations of the context, and further improving language modeling performance.

View on arXivView PDF

Code Implementations(1)

Noahs-ARK/PaLMOfficial100%
BSD-3-Clause

PyTorch implementation for PaLM: A Hybrid Parser and Language Model.

100Python, ShellAug 28, 20196 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{peng2019palm,
  title  = {PaLM: A Hybrid Parser and Language Model},
  author = {Hao Peng and Roy Schwartz and Noah A. Smith},
  year   = {2019},
  eprint = {1909.02134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.02134}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.02134.svg)](https://codeofpaper.com/paper/1909.02134)

Discussion