Downloads · 30 days
356
31% of all-time downloads
FlameF0X/TinyMoE-100m-2x8
TinyMoE-100m-2x8 is a text generation model from FlameF0X. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
TinyMoE-100M-2x8 is a compact, highly efficient Sparse Mixture of Experts (MoE) language model built upon the Mixtral/Mistral architecture. Designed for research, edge applications, and resource-constrained environmen…
Downloads · 30 days
356
31% of all-time downloads
All-time downloads
1.1K
Public
Parameters
99.8M
399 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors399 MB · 99%
From the Hugging Face model README
TinyMoE-100M-2x8 is a compact, highly efficient Sparse Mixture of Experts (MoE) language model built upon the Mixtral/Mistral architecture. Designed for research, edge applications, and resource-constrained environments, this model leverages an expert-routing mechanism to balance a larger total parameter capacity with ultra-low computational overhead during inference.
num_experts_per_tok": 2)Unlike a standard dense model, an MoE model stores a larger footprint of parameters on disk but selectively activates only a subset for any given token during a forward pass:
| Component | Total Parameters | Status During Inference |
|---|---|---|
| Embeddings (Input + LM Head) | 24,576,000 | Always Active |
| Attention Blocks (10 Layers) | 4,423,680 | Always Active |
| MoE Routers (10 Layers) | 30,720 | Always Active |
| Experts (8 Total across 10 Layers) | 70,778,880 | 2 of 8 Active per Layer (~17.6M active) |
| Overall Footprint | 99,809,280 | 22,544,640 Active per Token |
This model was trained on a high-quality mixture of datasets to balance narrative fluidness with factual language structural grounding:
You can load and experiment with this model using the Hugging Face transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "FlameF0X/TinyMoE-100M-2x8"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
input_text = "Once upon a time,"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))