LmLogits

LmLogits is a Python package for computing the logits of a language model, under Regex or Yacc constraints.

Installation

Use the package manager pip to install LmLogits.

pip install lmlogits

Usage

Examples are available in the notebooks folder.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT