Downloads · 30 days
581
32% of all-time downloads
FlameF0X/TinyMoE-200m-2x16
TinyMoE-200m-2x16 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-200M-2x16 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 environme…
Downloads · 30 days
581
32% of all-time downloads
All-time downloads
1.8K
Public
Parameters
200M
2.4 GB on disk
Likes
6
Public
Click a slice to open those files.
.pt1.6 GB · 67%
From the Hugging Face model README
TinyMoE-200M-2x16 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)This model was trained onFineWeb-Edu-Dedup 60% and Cosmopedia-v2 40%.

You can load and experiment with this model using the Hugging Face transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "FlameF0X/TinyMoE-200m-2x16"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
input_text = "Wikipedia is a free"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))