Repository navigation
HobbyLM-Embed: a sparse-MoE text embedding model ported to MLX #4964
Prajhan26
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We trained HobbyLM-Embed from scratch (140M total / 36M active per token, 8 of 32 experts, 512-d) and ported it to MLX.
The float16 build is 280 MB. Its lowest cosine against Sentence Transformers is 0.99965 (float32 matches exactly). The MoE router and its selection bias stay in float32.
Model: https://huggingface.co/harims95/hobbylm-embed-140m-mlx
Feedback on the MoE port is very welcome, especially from anyone who has done expert routing in MLX.
All reactions