LLMs often hallucinate incorrect names, especially in private codebases. We introduce Monitor-Guided Decoding (MGD)-guide LMs to generate compilable code with correct symbol names more reliably!๐Ÿš€ (Work w/ @adityakanade0 Navin Goyal @LahiriShuvendu @SriramRajamani @MSFTResearch) https://t.co/FwmlkcS2C0

1 min read Original article โ†—

Post

LLMs often hallucinate incorrect names, especially in private codebases. We introduce Monitor-Guided Decoding (MGD)-guide LMs to generate compilable code with correct symbol names more reliably!๐Ÿš€ (Work w/

@adityakanade0

Navin Goyal

@LahiriShuvendu@SriramRajamani@MSFTResearch

)

Example where text-davinci-003 and SantaCoder generate wrong identifiers, but SantaCoder with monitor-guided decoding generates correct identifiers.

Guiding Language Models of Code with Global Context using Monitors paper page: huggingface.co/papers/2306.10โ€ฆ Language models of code (LMs) work well when the surrounding code in the vicinity of generation provides sufficient context. This is not true when it becomes necessary to use

Don't miss what's happening

People on X are the first to know.

Log inSign up