Downloads · 30 days
798
34% of all-time downloads
FWKV/Myosotis-1-base
Myosotis-1-base is a text generation model from FWKV. 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.
<div align="center" <img src="https://cdn-uploads.huggingface.co/production/uploads/6615494716917dfdc645c44e/j5v2ZbjaxA9owLhmF0eI.png" alt="Myosotis 1 Banner" style="width: 100%; max-width: 100%; height: auto; display…
Downloads · 30 days
798
34% of all-time downloads
All-time downloads
2.4K
Public
Parameters
102M
407 MB on disk
Likes
21
Public
Click a slice to open those files.
.safetensors407 MB · 99%
From the Hugging Face model README
Myosotis-1-base is the first flagship release from us, introducing a 100-million parameter recurrent language model built on the FWKV architecture.
Myosotis-1 is engineered to never truly forget—using a mathematically clamped exponential decay that guarantees an infinite effective context window while maintaining blazing-fast inference on consumer hardware.
| Component | Specification |
|---|---|
| Type | RWKV-style Gating |
| Total Parameters | ~100 Million |
Hidden Dimension (d_model) | 768 |
Embedding Bottleneck (d_emb) | 192 |
Layers (n_layers) | 13 |
| FFN Expansion Factor | 4× (GELU activation) |
| Context Length | 1024 tokens (packed training) |
| Vocabulary | 50,257 (GPT-2 tokenizer |
| Weight Tying | Fully tied, factorized input/output head |
Instead of pairwise attention, Myosotis uses a fixed-size state vector updated via a gated linear recurrence:
$$ S_t = S_{t-1} \odot W + k_t \odot v_t $$
Because \( W \) is data-independent (LTI), the recurrence can be trained using a pure-PyTorch Hillis-Steele associative scan. This bypasses the sequential bottleneck of RNNs without requiring custom CUDA kernels, making the architecture trivially portable across NVIDIA, AMD, Apple Silicon, and standard CPUs.
We employ a low-rank factorization for the embedding layer:
Fine-tuned exclusively on multi-turn chat data, the loss is masked so that only assistant tokens contribute to the gradient. This forces the model to master response generation while treating user prompts purely as contextual memory.
Myosotis-1 was trained in two distinct stages, leveraging the Chinchilla scaling law (20× parameter count in tokens) for optimal performance.
fineweb-edu-dedup (educational web text)cosmopedia-v2 (synthetic textbooks)python-edu (code understanding)[!Note] Val perplexity at save time: 62.76
Myosotis-1 is optimized for hardware portability over pure theoretical FLOPs. It achieves this by avoiding data-dependent (selective) gating, allowing pure vectorized operations.
While we sacrifice the "selectivity" of models like Mamba, we gain the ability to run effectively on devices where CUDA is unavailable (edge devices, free-tier cloud notebooks, and standard servers).
| Tasks | Version | Filter | n-shot | Metric | Value | Stderr | ||
|---|---|---|---|---|---|---|---|---|
| arc_challenge | 1 | none | 0 | acc | ↑ | 0.1664 | ± | 0.0109 |
| none | 0 | acc_norm | ↑ | 0.2159 | ± | 0.0120 | ||
| arc_easy | 1 | none | 0 | acc | ↑ | 0.3864 | ± | 0.0100 |
| none | 0 | acc_norm | ↑ | 0.3434 | ± | 0.0097 | ||
| hellaswag | 1 | none | 0 | acc | ↑ | 0.2621 | ± | 0.0044 |
| none | 0 | acc_norm | ↑ | 0.2579 | ± | 0.0044 | ||
| piqa | 1 | none | 0 | acc | ↑ | 0.5756 | ± | 0.0115 |
| none | 0 | acc_norm | ↑ | 0.5533 | ± | 0.0116 |
Not the best results, we blame the dataset.
Myosotis-1 is fully compatible with the HuggingFace transformers library.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("FWKV/Myosotis-1-base", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("FWKV/Myosotis-1-base", trust_remote_code=True)
inputs = tok("The quick brown fox", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=150, use_cache=True)
print(tok.decode(out[0]))
| Strengths | Limitations |
|---|---|
| Blazing Fast CPU Inference: [..] tokens/sec on cheap cloud instances. | Non-Selective Decay: Less mathematically expressive than Mamba or RWKV-v5. |
| Infinite Context Memory: Clamped decay ensures no hard cutoff. | Factual Hallucination: As a 100M model, fact-retrieval is limited. |
| No Custom Kernels: Runs anywhere PyTorch runs (AMD, Intel, ARM). | No Token-Shift: Lacks the strong local inductive bias of full RWKV. |
| Memory Efficient: Constant-size state, scales perfectly with sequence length. | Knowledge Capacity: Smaller than billion-parameter counterparts. |
| Stable Training: Clamped sigmoid prevents vanishing/exploding gradients. | ROSA Not Included: This is the base recurrent model, separate from the FWKV-ROSA research paper. |
License: Apache 2.0
This model is dedicated to the open-source community. Built by Daniel B. (FlameF0X) using vast.ai, PyTorch, and the Hugging Face ecosystem.
<div align="center"> <i>"Simplicity is all you need."</i> </div>