Downloads · 30 days
37
17% of all-time downloads
i3-lab/i3-200m-v2
i3-200m-v2 is a text generation model from i3-lab. 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.
Downloads · 30 days
37
17% of all-time downloads
All-time downloads
219
Public
Parameters
170M
1.4 GB on disk
Likes
3
Public
Click a slice to open those files.
.bin679 MB · 50%
From the Hugging Face model README

The i3-200M Model (aka Redherring) is a novel hybrid architecture combining convolutional/recurrent layers with full attention layers for efficient language modeling. This architecture uniquely blends RWKV-style time-mixing with Mamba state-space dynamics in the early layers, followed by standard multi-head attention in deeper layers.
[!NOTE] To use the model try it here.
Layers 1-10: RWKV-Mamba Hybrid Blocks (Recurrent/Conv)
├─ RWKVMambaHybrid (Time-mixing + State-space)
└─ Feed-Forward Network (4x expansion)
Layers 11-16: Full Attention Blocks
├─ Multi-Head Attention (16 heads)
└─ Feed-Forward Network (4x expansion)
| Feature | i3-22M | i3-80M | i3-200m (This Model) |
|---|---|---|---|
| Parameters | 22.6M | 82.77M | 169.85M |
| Architecture | 24 Hybrid Layers | 10 Hybrid + 6 Attention Layers | 10 Hybrid + 6 Attention Layers |
| Hidden Dimension | 512 | 512 | 512 |
| Vocabulary Size | 4,466 | 35,560 | 32,000 |
| Training Dataset | TinyChat only | TinyStories + TinyChat + HQ Sentences | TinyStories + TinyChat + HQ Sentences + Wikitext |
| Total Tokens | ~1M conversations | ~3M+ tokens | N/A |
| Final Loss | ~2.0 | ~2.0 | 1.6 |
| Final Perplexity | 7.29-9.70 | 7.29-10.0 | 5.2 |
| Training Time | ~17 hours | ~2-4 hours | ~1-2 hours |
| Attention Layers | None (Pure Hybrid) | 6 Full Attention Layers | 6 Full Attention Layers |
To Be added
Hybrid Architecture: Combines the efficiency of recurrent/convolutional processing with the power of attention
Memory-Optimized Training:
Multi-Dataset Pre-training: Trained on diverse text sources for robust language understanding
BPE Tokenization:
agentlans/high-quality-english-sentencesroneneldan/TinyStoriesstarhopp3r/TinyChatwikitext| Metric | Initial | Final |
|---|---|---|
| Training Loss | ~10.0 | 1.6 |
| Perplexity | ~4000+ | 5.2 |
RWKV-Mamba Hybrid Recurrence: Combines RWKV's time-mixing with Mamba's state-space dynamics
Hierarchical Processing:
Memory Efficiency:
pytorch_model.bin: Model weightsconfig.json: Model configurationtokenizer.json: Tokenizer vocabulary@article{mamba,
title={Mamba: Linear-Time Sequence Modeling with Selective State Spaces},
author={Gu, Albert and Dao, Tri},
journal={arXiv preprint arXiv:2312.00752},
year={2023}
}
@article{RWKV,
title={RWKV: Reinventing RNNs for the Transformer Era},
author={Peng, Bo and others},
journal={arXiv preprint arXiv:2305.13048},
year={2023}
}