From 1ccf2efddff49ca6b64a3520ed3788e244c9711f Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Thu, 28 Sep 2023 22:02:42 -0400 Subject: [PATCH 1/2] 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 9675ce1e7f191..43f3dffb17253 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 From 2c498c6a7cd7a30793c3b4cffb3c1e7a3d6c9ca7 Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Thu, 28 Sep 2023 22:06:16 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43f3dffb17253..8cdfb04e0132c 100644 --- a/README.md +++ b/README.md @@ -662,7 +662,7 @@ 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. +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