huggingface / huggingface/cookbook
Structured Text-to-SQL generation using Hugging Face and Outlines
Open
- Dominant language
- Jupyter Notebook
- Stars
- 2.7k
- Forks
- 417
- Avg merge
- 17h
- Merged PRs (30d)
- 3
Description
Hi y'all, I thought about writing a notebook that showcases how to create a natural language interface for databases using Hugging Face models, Outlines for structured generation and Lark as a parser for syntax checks.
[Outlines](https://outlines-dev.github.io/outlines/) is a library that constrain auto-regressive text generation models on outputting text that matches regular expressions, JSON schemas or even grammars, which is pretty amazing.
What do you think @MKhalusova ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.