From 1ccf2efddff49ca6b64a3520ed3788e244c9711f Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Thu, 28 Sep 2023 22:02:42 -0400 Subject: [PATCH] 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 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9675ce1e7..43f3dffb1 100644 --- 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 that lets you write TypeScript interfaces which it compiles to GBNF grammars that you can save for local use. + ### Instruction mode with Alpaca 1. First, download the `ggml` Alpaca model into the `./models` folder