# langchain-hobbylm: a 36M-active MoE embedding model for LangChain that runs on CPU

**URL:** <https://forum.langchain.com/t/langchain-hobbylm-a-36m-active-moe-embedding-model-for-langchain-that-runs-on-cpu/5380>\
**Category:** Talking Shop\
**Created:** [November 24, 2026, 2:13pm UTC](https://forum.langchain.com/t/langchain-hobbylm-a-36m-active-moe-embedding-model-for-langchain-that-runs-on-cpu/5380 "2026-11-24T14:13:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prajhan26](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/prajhan26/32/3874_2.png) [@Prajhan26](https://forum.langchain.com/u/Prajhan26)\
**Post date:** [November 24, 2026, 2:13pm UTC](https://forum.langchain.com/t/langchain-hobbylm-a-36m-active-moe-embedding-model-for-langchain-that-runs-on-cpu/5380/1 "2026-11-24T14:13:50Z")

</div>

Hey all, we built HobbyLM-Embed at Fuel Labs, an open-weight English embedding model (Apache-2.0). It’s a sparse MoE with 140M total parameters

 ![langchain-real-output](https://canada1.discourse-cdn.com/flex007/uploads/langchain/original/2X/8/83d6de0f6a5e185f572a72a253fc9ee623e59002.png)

and 36M active per token (excluding embeddings), 512-d vectors, and it runs on a laptop CPU. 62.33 Mean (Task) on the MTEB(eng, v2) leaderboard.

We published a small LangChain package so queries and documents get the right prompts automatically:

```bash
pip install langchain-hobbylm langchain-core

```

```python
from langchain_core.vectorstores import InMemoryVectorStore
from langchain_hobbylm import HobbyLMEmbeddings

# embed_documents uses the "passage" prompt, embed_query the "query" prompt
store = InMemoryVectorStore(HobbyLMEmbeddings())
store.add_documents(docs)
store.similarity_search_with_score("How long does a refund take to reach my card?", k=2)

```

We indexed 21 sections of a fictional help-center refund policy and asked three questions (langchain-hobbylm 0.1.1, langchain-core 1.8.4, real output):

```auto
Q: How long does a refund take to reach my card?
  0.817 refunds-and-freshness.md > How long a refund takes
  0.724 refunds-and-freshness.md > Late deliveries

Q: My flowers arrived wilted, what can I do?
  0.706 returns-and-substitutions.md > Substitutions
  0.647 refunds-and-freshness.md > Our freshness guarantee

Q: Can I get a refund if I change my mind?
  0.742 refunds-and-freshness.md > What we cannot refund
  0.690 sympathy-and-bereavement-orders.md > Documentation for refunds

```

Two of three land the right section first; on “wilted flowers” the right one comes second. The model is strongest at classification and similarity, so test retrieval on your own documents. English only for now.

PyPI: [langchain-hobbylm · PyPI](https://pypi.org/project/langchain-hobbylm/)  
Model: [harims95/hobbylm-embed-140m · Hugging Face](https://huggingface.co/harims95/hobbylm-embed-140m)

Feedback welcome, especially what works and what breaks in your chains.
