]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
examples : fix and improv docs for the grammar generator (#4909)
authorMaximilian Winter <redacted>
Tue, 16 Jan 2024 12:10:48 +0000 (13:10 +0100)
committerGitHub <redacted>
Tue, 16 Jan 2024 12:10:48 +0000 (14:10 +0200)
commit122ed4840cc6d209df6043e027f9f8a03aee01da
tree87c0d32894482f1073454151951ad219a5e0f962
parenta0b3ac8c48b66206b9c5921ce57bd5c0ea6557c3
examples : fix and improv docs for the grammar generator (#4909)

* Create pydantic-models-to-grammar.py

* Added some comments for usage

* Refactored Grammar Generator

Added example and usage instruction.

* Update pydantic_models_to_grammar.py

* Update pydantic-models-to-grammar-examples.py

* Renamed module and imported it.

* Update pydantic-models-to-grammar.py

* Renamed file and fixed grammar generator issue.

* Fixed some issues and bugs of the grammar generator. Imporved Documentation

* Update pydantic_models_to_grammar.py
examples/pydantic_models_to_grammar.py