transformers-CFG

🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers (by epfl-dlab)

transformers-CFG Alternatives

Similar projects and alternatives to transformers-CFG

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better transformers-CFG alternative or higher similarity.

transformers-CFG reviews and mentions

Posts with mentions or reviews of transformers-CFG. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • Show HN: Prompts as (WASM) Programs
    9 projects | news.ycombinator.com | 11 Mar 2024
    Does it support constrained generation during training?

    This is what we need for the large language models I am training for health care use cases.

    For example, constraining LLM output is currently done by masking, and having this rust based library would enable novel ways to train LLMs.

    Relevant papers:

    https://github.com/epfl-dlab/transformers-CFG

    https://neurips.cc/virtual/2023/poster/70782

Stats

Basic transformers-CFG repo stats
1
55
8.7
7 days ago

epfl-dlab/transformers-CFG is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of transformers-CFG is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com