]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : add link to grammars app (#3388)
authorAndrew Duffy <redacted>
Fri, 29 Sep 2023 11:15:57 +0000 (07:15 -0400)
committerGitHub <redacted>
Fri, 29 Sep 2023 11:15:57 +0000 (14:15 +0300)
* Add link to grammars app per @ggernagov suggestion

Adding a sentence in the Grammars section of README to point to grammar app, per https://github.com/ggerganov/llama.cpp/discussions/2494#discussioncomment-7138211

* Update README.md

README.md

index 9675ce1e7f191372ded74d7bb9c2f70949e445b8..8cdfb04e0132cdd68075e1518bce80b846a1bade 100644 (file)
--- a/README.md
+++ b/README.md
@@ -662,6 +662,8 @@ PROMPT_TEMPLATE=./prompts/chat-with-bob.txt PROMPT_CACHE_FILE=bob.prompt.bin \
 
 The `grammars/` folder contains a handful of sample grammars. To write your own, check out the [GBNF Guide](./grammars/README.md).
 
+For authoring more complex JSON grammars, you can also check out https://grammar.intrinsiclabs.ai/, a browser app that lets you write TypeScript interfaces which it compiles to GBNF grammars that you can save for local use. Note that the app is built and maintained by members of the community, please file any issues or FRs on [its repo](http://github.com/intrinsiclabsai/gbnfgen) and not this one.
+
 ### Instruction mode with Alpaca
 
 1. First, download the `ggml` Alpaca model into the `./models` folder