/picard-lite

The PICARD algorithm for constrained decoding from language models.

Primary LanguageHaskellOtherNOASSERTION

PICARD-LITE

This code is the extract of the PICARD algorithm for constrained decoding from language models published at ElementAI/picard.

Citations:

@inproceedings{Scholak2021:PICARD,
  author = {Torsten Scholak and Nathan Schucher and Dzmitry Bahdanau},
  title = "{PICARD}: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models",
  booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
  month = nov,
  year = "2021",
  publisher = "Association for Computational Linguistics",
  url = "https://aclanthology.org/2021.emnlp-main.779",
  pages = "9895--9901",
}