51 Commits (main)

Author SHA1 Message Date
Michael Yang 0dabb4ef6a
skip tokenizer.model if possible (#11050) 10 months ago
Jeffrey Morgan fa9973cd7f
api: remove unused sampling parameters (#10581) 11 months ago
Jeffrey Morgan 3b2d2c8326
api: remove unused or unsupported api options (#10574) 11 months ago
Michael Yang d931ee8f22
create blobs in parallel (#10135) 11 months ago
Michael Yang 16fca86c4a digest files in parallel 1 year ago
Bruce MacDonald 6bd0a983cd model: support for mistral-small in the ollama runner 1 year ago
Parth Sareen 00ebda8cc4
Revert "parser: remove role validation from Modelfile parser" (#9917) 1 year ago
rylativity ffbfe833da
parser: remove role validation from Modelfile parser (#9874) 1 year ago
Jeffrey Morgan 42cf4db601
parser: fix parsing Modelfiles with multiple FROM commands (#8449) 1 year ago
Patrick Devine 2539f2dbf9
Fix absolute path names + gguf detection (#8428) 1 year ago
Patrick Devine 32bd37adf8
make the modelfile path relative for `ollama create` (#8380) 1 year ago
Jeffrey Morgan 1deafd8254
llama: update vendored code to commit 46e3556 (#8308) 1 year ago
Patrick Devine 86a622cbdc
Update the /api/create endpoint to use JSON (#7935) 1 year ago
Patrick Devine 4efb98cb4f
add line numbers for parser errors (#7326) 1 year ago
Josh Yan 9bd00041fa trim all params 2 years ago
Josh Yan 4e986a823c unquote, trimp space 2 years ago
Michael Yang d528e1af75 fix utf16 for multibyte runes 2 years ago
Michael Yang 20b9f8e6f4 Revert "proper utf16 support" 2 years ago
Michael Yang 66ab48772f proper utf16 support 2 years ago
Patrick Devine ccdf0b2a44
Move the parser back + handle utf16 files (#4533) 2 years ago
Michael Yang 63bc884e25 types/model: fix parser for empty values 2 years ago
Michael Yang 8acb233668 use strings.Builder 2 years ago
Michael Yang 119589fcb3 rename parser to model/file 2 years ago
Michael Yang bd8eed57fc fix parser name 2 years ago
Michael Yang 9cf0f2e973 use parser.Format instead of templating modelfile 2 years ago
Michael Yang 176ad3aa6e parser: add commands format 2 years ago
Michael Yang 4d08363580 comments 2 years ago
Michael Yang 8907bf51d2 fix multiline 2 years ago
Michael Yang abe614c705 tests 2 years ago
Michael Yang 238715037d linting 2 years ago
Michael Yang c0a00f68ae refactor modelfile parser 2 years ago
Patrick Devine 7c40a67841
Save and load sessions (#2063) 2 years ago
Daniel Hiltgen fedd705aea Mechanical switch from log to slog 2 years ago
Michael Yang 38fe1a368b fix: trim space in modelfile fields 2 years ago
Bruce MacDonald a0c3e989de
deprecate modelfile embed command (#759) 2 years ago
Michael Yang 20bf000e55 no warning on comments 3 years ago
Michael Yang 40d0c4a1dc length check for parameters 3 years ago
Michael Yang 6de5d032e1 implement loading ggml lora adapters through the modelfile 3 years ago
Bruce MacDonald a6f6d18f83 embed text document in modelfile 3 years ago
Michael Yang 9c7f30d31c use max scan token size to hold large objects 3 years ago
Michael Yang f5ac8ddfb4 refactor scan multiline for reuse 3 years ago
Michael Yang 24c2c77057 fix multiline string 3 years ago
Mohit Gaur f5f79049c2 Incorporate code review improvements 3 years ago
Mohit Gaur ed89da92b4 Improve command parsing and multiline string handling 3 years ago
Jeffrey Morgan d59b164fa2 add prompt back to parser 3 years ago
Jeffrey Morgan 3b135ac963 parser: fix case where multi line string termination error wouldnt show 3 years ago
Jeffrey Morgan e6bae8d916 parser: keep seeking until eof 3 years ago
Michael Yang df146c41e2 separate prompt into template and system 3 years ago
Patrick Devine 572fc9099f
add license layers to the parser (#116) 3 years ago
Jeffrey Morgan 1f45f7bb52 convert commands to uppercase in parser 3 years ago