mirror of https://gitee.com/namelin2022/ollama
Browse Source
When truncating inputs to the the context window at the beginning of a sequence, we remove the minimum amount possible. However, this may cause us to truncate to the middle of a set of inputs that the model specified should not be split up. To avoid this, we need to remove the rest of the partial batch.mxyng/v3
committed by
Jesse Gross
2 changed files with 31 additions and 4 deletions
Loading…
Reference in new issue