- 15 Sep, 2023 2 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
- 14 Sep, 2023 1 commit
-
-
Michael Yang authored
This informs the HTTP client the content length is known and disables chunked Transfer-Encoding
-
- 13 Sep, 2023 1 commit
-
-
Michael Yang authored
-
- 12 Sep, 2023 3 commits
-
-
Michael Yang authored
-
Michael Yang authored
get model and file type from bin file
-
Bruce MacDonald authored
* linux gpu support * handle multiple gpus * add cuda docker image (#488) --------- Co-authored-by:Michael Yang <mxyng@pm.me>
-
- 11 Sep, 2023 2 commits
-
-
Patrick Devine authored
-
Patrick Devine authored
-
- 09 Sep, 2023 1 commit
-
-
Jeffrey Morgan authored
-
- 08 Sep, 2023 1 commit
-
-
Michael Yang authored
-
- 07 Sep, 2023 3 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
Bruce MacDonald authored
-
- 06 Sep, 2023 3 commits
-
-
Michael Yang authored
-
Patrick Devine authored
-
Michael Yang authored
-
- 05 Sep, 2023 2 commits
-
-
Michael Yang authored
parameters are not inherited because they are processed differently from other layer. fix this by explicitly merging the inherited params into the new params. parameter values defined in the new modelfile will override those defined in the inherited modelfile. array lists are replaced instead of appended
-
Michael Yang authored
-
- 03 Sep, 2023 1 commit
-
-
Michael Yang authored
-
- 01 Sep, 2023 1 commit
-
-
Quinn Slack authored
The `html/template` package automatically HTML-escapes interpolated strings in templates. This behavior is undesirable because it causes prompts like `<h1>hello` to be escaped to `<h1>hello` before being passed to the LLM. The included test case passes, but before the code change, it failed: ``` --- FAIL: TestModelPrompt images_test.go:21: got "a<h1>b", want "a<h1>b" ```
-
- 31 Aug, 2023 4 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
- 30 Aug, 2023 2 commits
-
-
Bruce MacDonald authored
* remove c code * pack llama.cpp * use request context for llama_cpp * let llama_cpp decide the number of threads to use * stop llama runner when app stops * remove sample count and duration metrics * use go generate to get libraries * tmp dir for running llm
-
Quinn Slack authored
The `stop` option to the generate API is a list of sequences that should cause generation to stop. Although these are commonly called "stop tokens", they do not necessarily correspond to LLM tokens (per the LLM's tokenizer). For example, if the caller sends a generate request with `"stop":["\n"]`, then generation should stop on any token containing `\n` (and trim `\n` from the output), not just if the token exactly matches `\n`. If `stop` were interpreted strictly as LLM tokens, then it would require callers of the generate API to know the LLM's tokenizer and enumerate many tokens in the `stop` list. Fixes https://github.com/jmorganca/ollama/issues/295.
-
- 29 Aug, 2023 1 commit
-
-
Patrick Devine authored
-
- 28 Aug, 2023 4 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
- 26 Aug, 2023 1 commit
-
-
Michael Yang authored
-
- 22 Aug, 2023 7 commits
-
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Michael Yang authored
-
Jeffrey Morgan authored
-
Ryan Baker authored
-