News for hackers. Stuff that matters.
Re:Mixtral 8x22B by byteknight on Wednesday April 17, 2024 @11:44AM (#40066272)
First test I tried to run a random taxation question through it

Output: https://gist.github.com/IAmStoxe/7fb224225ff13b1902b6d172467...

Within the first paragraph, it outputs:

> GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE

Thought that was hilarious.

Re:Mixtral 8x22B by jmorgan on Wednesday April 17, 2024 @11:56AM (#40066475)
The `mixtral:8x22b` tag still points to the text completion model – instruct is on the way, sorry!
Re:Mixtral 8x22B by Zuiii on Wednesday April 17, 2024 @11:19PM (#40072639)
Wait. Isn't it a breaking change to change the underlying model like this? Wouldn't people start running into consistency issues in production? (given ollama appears to be oriented towards backend use)
Re:Mixtral 8x22B by orra on Thursday April 18, 2024 @04:04AM (#40074007)
Sure, in theory. But if you move so fast that you already are running the base 8x22B model from last week, you can easily fix this.

I've long thought that if you want reproducibility and reliability, you need to pin your deps.

So, IMO, the change is very much worth it to reduce confusion going forward.

Re:Mixtral 8x22B by orost on Wednesday April 17, 2024 @11:47AM (#40066340)
That's not the model this post is about. You used the base model, not trained for tasks. (The instruct model is probably not on ollama yet.)
Re:Mixtral 8x22B by mysteria on Wednesday April 17, 2024 @12:02PM (#40066553)
Yeah this is exactly what happens when you ask a base model a question. It'll just attempt to continue what you already wrote based off its training set, so if you say have it continue a story you've written it may wrap up the story and then ask you to subscribe for part 2, followed by a bunch of social media comments with reviews.
Re:Mixtral 8x22B by Sohcahtoa82 on Thursday April 18, 2024 @02:28PM (#40079237)
It can be fun, though, to prompt a text completion with something like "I'm thinking about" and just seeing what random thing it completes it with.
Re:Mixtral 8x22B by byteknight on Wednesday April 17, 2024 @11:53AM (#40066425)
I absolutely did not:

ollama run mixtral:8x22b

EDIT: I like how you ninja-editted your comment ;)

Re:Mixtral 8x22B by orost on Wednesday April 17, 2024 @11:55AM (#40066456)
Considering "mixtral:8x22b" on ollama was last updated yesterday, and Mixtral-8x22B-Instruct-v0.1 (the topic of this post) was released about 2 hours ago, they are not the same model.
Re:Mixtral 8x22B by byteknight on Wednesday April 17, 2024 @11:57AM (#40066492)
Are we looking at the same page?

https://imgur.com/a/y6XfpBl

And even the direct tag page: https://ollama.com/library/mixtral:8x22b shows 40-something minutes ago: https://imgur.com/a/WNhv70B

Re:Mixtral 8x22B by orost on Wednesday April 17, 2024 @12:01PM (#40066544)
Let me clarify.

Mixtral-8x22B-v0.1 was released a couple days ago. The "mixtral:8x22b" tag on ollama currently refers to it, so it's what you got when you did "ollama run mixtral:8x22b". It's a base model only capable of text completion, not any other tasks, which is why you got a terrible result when you gave it instructions.

Mixtral-8x22B-Instruct-v0.1 is an instruction-following model based on Mixtral-8x22B-v0.1. It was released two hours ago and it's what this post is about.

(The last updated 44 minutes ago refers to the entire "mixtral" collection.)

Re:Mixtral 8x22B by gliptic on Wednesday April 17, 2024 @12:02PM (#40066550)
And where does it say that's the instruct model?
Re:Mixtral 8x22B by belter on Wednesday April 17, 2024 @12:01PM (#40066546)
I get:

ollama run mixtral:8x22b

Error: exception create_tensor: tensor 'blk.0.ffn_gate.0.weight' not found

Re:Mixtral 8x22B by Me1000 on Wednesday April 17, 2024 @12:06PM (#40066604)
You need to update ollama to 0.1.32.
Re:Mixtral 8x22B by belter on Wednesday April 17, 2024 @12:17PM (#40066778)
Thanks. That did it.
Re:Mixtral 8x22B by woadwarrior01 on Wednesday April 17, 2024 @11:51AM (#40066400)
Looks like an issue with the quantization that ollama (i.e llama.cpp) uses and not the model itself. It's common knowledge from Mixtral 8x7B that quantizing the MoE gates is pernicious to model perplexity. And yet they continue to do it. :)
Re:Mixtral 8x22B by cjbprime on Wednesday April 17, 2024 @12:26PM (#40066908)
No, it's unrelated to quantization, they just weren't using the instruct model.
Re:Mixtral 8x22B by renewiltord on Wednesday April 17, 2024 @12:04PM (#40066576)
Not instruct tuned. You're (actually) "holding it wrong".