Infusing Prompts with Syntax and Semantics
Labate, Anton Bulle, Cozman, Fabio Gagliardi
–arXiv.org Artificial Intelligence
Despite impressive success, language models often generate outputs with flawed linguistic structure. We analyze the effect of directly infusing various kinds of syntactic and semantic information into large language models. To demonstrate the value of our proposals, we focus on the translation of natural language queries to SQL, in particular dealing with languages with less resources than English, to better investigate how much help we can get from low cost syntactic and semantic information. We show that linguistic analysis can significantly boost language models, to the point that we have surpassed previous best systems.
arXiv.org Artificial Intelligence
Dec-8-2024
- Country:
- South America > Brazil
- São Paulo (0.04)
- North America > United States
- New York > New York County > New York City (0.04)
- Europe > Germany
- Berlin (0.04)
- Asia
- Indonesia > Bali (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- China > Shanghai
- Shanghai (0.04)
- South America > Brazil
- Genre:
- Research Report (0.64)
- Technology: