Language Model Sentence Completion with a Parser-Driven Rhetorical Control Method
2024-02-09Code Available0· sign in to hype
Joshua Zingale, Jugal Kalita
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/joshua-zingale/plug-and-play-rst-ctgOfficialIn paperpytorch★ 1
Abstract
Controlled text generation (CTG) seeks to guide large language model (LLM) output to produce text that conforms to desired criteria. The current study presents a novel CTG algorithm that enforces adherence toward specific rhetorical relations in an LLM sentence-completion context by a parser-driven decoding scheme that requires no model fine-tuning. The method is validated both with automatic and human evaluation. The code is accessible on GitHub.