Downloads · 30 days
591
9% of all-time downloads
kalomaze/Mistral-7b-MoEified-8x
Mistral-7b-MoEified-8x is a text generation model from kalomaze. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Turns out, you can slice up the individual MLP layers of a dense language model into even splits of experts.
Downloads · 30 days
591
9% of all-time downloads
All-time downloads
6.6K
Public
Parameters
7.2B
29 GB on disk
Likes
6
Public
Click a slice to open those files.
.gguf14.5 GB · 50%
From the Hugging Face model README
Turns out, you can slice up the individual MLP layers of a dense language model into even splits of experts.
What I did here:
As a result, the model behaves completely coherently when all 8 experts are activated (i.e, experts_per_tok is equal to 8.)

With 4 experts activated, it's... far less coherent.

I am interested in the prospect of continuing to train this in such a way where it can naturally handle variable expert counts, and learn to balance the features. If this works, we can potentially teach the behavior of using less computation for tokens that are trivial to predict, while using more when necessary.