mirror of
https://github.com/zebrajr/ollama.git
synced 2025-12-06 12:19:56 +01:00
Now that we have a built-in parser abstraction, which was introduced in <https://github.com/ollama/ollama/pull/12248>, we can modify our harmony parser to match this and then get rid of nearly all of the harmony-specific logic in routes.go. We do have a small amount of code that turns the parser on by default if the architecture matches and no other built-in parser was provided. The built-in parser interface was modified in order to handle harmony's prefill and tool name translation requirements. |
||
|---|---|---|
| .. | ||
| imageproc | ||
| input | ||
| models | ||
| parsers | ||
| renderers | ||
| testdata | ||
| bytepairencoding_test.go | ||
| bytepairencoding.go | ||
| model_test.go | ||
| model.go | ||
| sentencepiece_test.go | ||
| sentencepiece.go | ||
| textprocessor.go | ||
| vocabulary_test.go | ||
| vocabulary.go | ||
| wordpiece_test.go | ||
| wordpiece.go | ||