dogear

enter for all results · esc to close

Grammar Prompting for Domain-Specific Language Generation with Large Language Models

proceedings.neurips.ccsite

NeurIPS'23, 2023. [All Versions]. Grammar prompting is a simple approach to enable LLMs to use external knowledge and domain-specific constraints expressed through a grammar in Backus--Naur Form (BNF) during in-context learning. Grammar prompting augments each demonstration…

from
AGI & CoCoSci
added
2026-10-10
likes
0

similar

  1. On the Effectiveness of Large Language Models in Domain-Specific Code Generation dl.acm.org

    ACM Transactions on Software Engineering and Methodology, 2025. [All Versions]. Large language models (LLMs) such as ChatGPT have shown remarkable capabilities in code generation. Despite significant achievements, they rely on enormous training data to acquire a broad spectrum…

  2. Dual retrieving and ranking medical large language model with retrieval augmented generation nature.com

    Scientific Reports, 2025. [All Versions]. Recent advancements in large language models (LLMs) have significantly enhanced text generation across various sectors; however, their medical application faces critical challenges regarding both accuracy and real-time responsiveness…

  3. Communicating Natural Programs to Humans and Machines proceedings.neurips.cc

    NeurIPS'22, 2022. [All Versions]. While humans readily generate and interpret instructions in a general language, computer systems are shackled to a narrow domain-specific language that they can precisely execute. This makes building intelligent systems that can generalize to…

  4. Mathematical discoveries from program search with large language models nature.com

    Nature, 2024. [All Versions]. Large language models (LLMs) have demonstrated tremendous capabilities in solving complex tasks, from quantitative reasoning to understanding natural language. However, LLMs sometimes suffer from confabulations (or hallucinations), which can result…

  5. OpenAI Prompt Engineering Guide platform.openai.com

    Strategies and tactics for getting better results from large language models.

  6. From task structures to world models: what do LLMs know? cell.com

    Trends in Cognitive Sciences, 2024. [All Versions]. [Preprint]. In what sense does a large language model (LLM) have knowledge? The authors answer by granting LLMs ‘instrumental knowledge’: knowledge gained by using next-word generation as an instrument. The authors then ask…

AGI & CoCoSci › Papers > Domain Specific Language > DSL Program Synthesis: “NeurIPS'23, 2023. [All Versions]. Grammar prompting is a simple approach to enable LLMs to use external knowledge and domain-specific constraints expressed through a grammar in Backus--Naur Form (BNF) during in-context learning. Grammar prompting augments each demonstration…”