Пропустить навигацию
🚀 Excited to announce the first release of a novel open source programming language and platform for…
0:00 / 0:20

🚀 Excited to announce the first release of a novel open source programming language and platform for…

LMQL (Language Model Query Language)

@lmqllang1,7 тыс. подписчиков

Открыть в X
725 отметок «Нравится»СкачатьОригинальный пост

199 157 просмотров

🚀 Excited to announce the first release of a novel open source programming language and platform for language model interaction! Combining prompts, constraints & scripting, LMQL elevates the capabilities of large language models. 🧵1/6 A quick tour.

9 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    🧵2/6 LMQL is a declarative, SQL-like language based on Python, extending static text prompting with control-flow, constraint-guided decoding and tool augmentation. This form of scripting greatly simplifies multi-part prompting flows with very little code necessary:

    58 отметок «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    🧵3/6 LMQL supports high-level, logical constraints. Using novel evaluation semantics, constraints are translated to token masks that are enforced eagerly during generation. Using LMQL constraints, you can steer text generation, and avoid costly re-querying and validation:

    34 отметки «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    🧵4/6 LMQL integrates with 🤗 Transformers, the OpenAI API & langchain. Explore our developer resources at and experiment with the entirely browser-based Playground IDE at

    43 отметки «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    🧵5/6 LMQL is an actively evolving project at @the_sri_lab @ETH , that has been in development for almost a year! We're excited to finally release this to the research & developer community with more underway, including work on decoders, tool augmentation & language improvements

    27 отметок «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    🧵6/6 LMQL was also accepted as a research paper at this year's ACM PLDI'23. Check out the paper and make sure to follow @lmqllang for more updates in the coming days. 📑 Paper: 📖 Docs: ⚡️ Playground IDE:

    30 отметок «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    A research project by the @the_sri_lab, @ETH_en, @ETH, @ETH_AI_Center, @CSatETH. Authored by @lbeurerkellner @marc_r_fischer @mnmueller @mvechev.

    21 отметка «Нравится»

  • Фото профиля Dan Treasure

    @dan__treasure

    @karpathy Would it be accurate to describe this as a “lower-code” version of langchain?

    2 отметки «Нравится»

  • Фото профиля LMQL (Language Model Query Language)

    @lmqllang

    @CodeTreasurer @karpathy Not quite. @LangChainAI is compositional, and LMQL operates on the decoder level of a query/prompt with multiple variables. In that sense they are orthogonal. In fact, LMQL and langchain are fully compatible and can be used together (both ways):

    24 отметки «Нравится»

  • Фото профиля Maney

    @0xManey

    Why would i need this?

    2 отметки «Нравится»