3 ms·
Is there a limit on the number of lines/tokens it can take as input? Can it be increased? The limit seems to be somewhere above 30 lines. I'm on a MacBook Pro
by JoelJacobson 3y ago
Is there a limit on the number of lines/tokens it can take as input? Can it be increased? The limit seems to be somewhere above 30 lines.
I'm on a MacBook Pro M1 Max 64GB.
% ollama --version
ollama version 0.0.16
% ollama run phind-codellama "$(cat prompt.txt)"
⠧ Error: Post "http://localhost:11434/api/generate": EOF
% wc prompt.txt
335 1481 11457 prompt.txt
- syntaxing 3y agoThis feature was surprisingly hard to find, but you can wrap multi line in “””. So start off with “””, then type or new line (with enter) anything you want, then close with “”” and it’ll run the whole prompt. (“”” is 3 parenthesis quote, the formatting from HN is making it look funny)
- jquery 3y ago>3 parenthesis quote Do you mean triple double quotes?
- JoelJacobson 3y agoThat's what I've been using but still get that error.
- tomduncalf 3y agoSame here, would be interested to know if there's a solution! I created an issue, if you have an example prompt to add that would be helpful! https://github.com/jmorganca/ollama/issues/422 https://github.com/jmorganca/ollama/issues/422
- jmorgan 3y agoThanks for creating an issue! And sorry for the error folks… working on it!
- tomduncalf 3y agoHaha no need to apologise! Thanks for an amazing project :)
- pmarreck 3y agoDatapoint here on an M1Max Macbook Pro: I use the triple doublequotes and I'm not getting that error