[GH-ISSUE #3704] [Request Model] TowerInstruct-7B/13B #79961

Closed
opened 2026-05-09 07:25:53 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @EaglePPP on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3704

What model would you like?

TowerInstruct-7B/13B
An Open Multilingual LLM for Translation-Related Tasks
Tower - a Unbabel Collection
https://huggingface.co/collections/Unbabel/tower-659eaedfe36e6dd29eb1805c

I have already tried to import it(i used the The BLoke GGUF version) but I cannot figure out how to write a proper Template😿, there is always some gibberish coming out.

thank you very much

Originally created by @EaglePPP on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3704 ### What model would you like? TowerInstruct-7B/13B An Open Multilingual LLM for Translation-Related Tasks Tower - a Unbabel Collection https://huggingface.co/collections/Unbabel/tower-659eaedfe36e6dd29eb1805c I have already tried to import it(i used the The BLoke GGUF version) but I cannot figure out how to write a proper Template😿, there is always some gibberish coming out. thank you very much
GiteaMirror added the model label 2026-05-09 07:25:53 -05:00
Author
Owner

@thinkverse commented on GitHub (Apr 17, 2024):

Is it the <|im_end|> token you see as gibberish? What template are you currently using?

I tried the model with the example template Ollama has in the documentation1 and with the correct stop parameter and it doesn't return any "gibberish" from what I can see.

TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
"""

PARAMETER stop <|im_end|>

But it would be more helpful if you gave an example of the gibberish that comes out.

<!-- gh-comment-id:2062138150 --> @thinkverse commented on GitHub (Apr 17, 2024): Is it the `<|im_end|>` token you see as gibberish? What template are you currently using? I tried the model with the example template Ollama has in the documentation[^1] and with the correct stop parameter and it doesn't return any "gibberish" from what I can see. ``` TEMPLATE """{{ if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ end }}{{ if .Prompt }}<|im_start|>user {{ .Prompt }}<|im_end|> {{ end }}<|im_start|>assistant """ PARAMETER stop <|im_end|> ``` But it would be more helpful if you gave an example of the gibberish that comes out. [^1]: https://github.com/ollama/ollama/blob/main/docs/modelfile.md#template
Author
Owner

@EaglePPP commented on GitHub (Apr 18, 2024):

Thank you, it really was because my bad template.

<!-- gh-comment-id:2064017667 --> @EaglePPP commented on GitHub (Apr 18, 2024): Thank you, it really was because my bad template.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#79961