/ Модель

Характеристики

Контекст
1 024 токена
Лицензия
Apache 2.0
Архитектура
fwkv · dense
Библиотека
transformers
Опубликована
1 сен 2026

Myosotis-1-base

Генерация текстаТекст → текст3 профессии

Компактная англоязычная рекуррентная модель FWKV на 100 млн параметров для генерации текста и диалоговых ответов.

1 047скачиваний за 30 дней21лайквеса обновлены24 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Myosotis-1-base — языковая модель с 100 млн параметров от разработчиков FWKV, построенная на рекуррентной архитектуре FWKV в стиле RWKV. Она предназначена для генерации текста и диалоговых ответов. В README описаны предобучение на англоязычных образовательных текстах и коде, а также обучение на многоходовых диалогах с маскированием потерь для пользовательских реплик; метаданные указывают английский язык и библиотеку Transformers.

Рекуррентное состояние фиксированного размера обновляется gated-линейной рекуррентностью с обучаемым затуханием. Заявлены постоянный расход памяти при генерации, отсутствие растущего KV-кэша и возможность инференса на CPU без пользовательских CUDA-ядер. Размер модели и конкретные скорости приведены разработчиками; результаты оценки в README описаны как невысокие. Модель распространяется в формате safetensors по лицензии Apache-2.0.

Среди ограничений разработчики отмечают слабое извлечение фактов у модели такого размера, отсутствие селективного затухания и ограниченную выразительность относительно более крупных или иных рекуррентных моделей.

Сценарии применения

  • генерация англоязычного текста
  • создание ответов в многоходовом диалоге
  • локальный запуск генерации на CPU
  • эксперименты с рекуррентными языковыми моделями

Ограничения

Разработчики отмечают ограниченное извлечение фактов из-за небольшого размера модели, а также менее выразительное затухание по сравнению с селективными моделями и отсутствие token-shift. Оценочные результаты в README охарактеризованы как невысокие.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Myosotis-1-base (100M)

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.


Architecture at a Glance

ComponentSpecification
TypeRWKV-style Gating
Total Parameters~100 Million
Hidden Dimension (d_model)768
Embedding Bottleneck (d_emb)192
Layers (n_layers)13
FFN Expansion Factor4× (GELU activation)
Context Length1024 tokens (packed training)
Vocabulary50,257 (GPT-2 tokenizer
Weight TyingFully tied, factorized input/output head

Core Technical Innovations

1. The FWKV Recurrent Core

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 $$

  • \( W = \text{clamp}(\sigma(w), 0.1) \) is a learned, constant-per-channel decay.
  • By clamping the minimum decay to 0.1, the model guarantees that past information decays exponentially but never reaches zero.

2. Training via \( O(\log T) \) Parallel Scan

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.

3. Factorized Tied Embeddings

We employ a low-rank factorization for the embedding layer:

  • Stored weight shape: \(V \times d_{emb}\) (vs. standard \(V \times d_{model}\)), with a learned linear projection mapping inputs up to the full hidden dimension \(d_{model}\) before the first block, and back down to \(d_{emb}\) for the final logits (so the internal representation remains \(d_{model}\)).
  • This saves \(V \times (d_{model} - d_{emb})\) parameters (~15 million in our setup) while maintaining full representational capacity.
  • The output head uses the transposed projection, enabling chunked cross-entropy loss to avoid materializing huge logit tensors during training.

4. Loss Masking for Conversational AI

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.


Training Regimen

Myosotis-1 was trained in two distinct stages, leveraging the Chinchilla scaling law (20× parameter count in tokens) for optimal performance.

Stage 1: Pretraining (General Language)

  • Data Mixture (SmolLM-Corpus style):
    • 60% fineweb-edu-dedup (educational web text)
    • 25% cosmopedia-v2 (synthetic textbooks)
    • 15% python-edu (code understanding)
  • Total Tokens: ~2 Billion (Chinchilla-optimal)
  • Optimizer: AdamW (fused), \( \text{LR} = 1 \times 10^{-4} \)
  • Precision: BF16 Mixed Precision with Gradient Checkpointing

[!Note] Val perplexity at save time: 62.76


Performance & Speed

Myosotis-1 is optimized for hardware portability over pure theoretical FLOPs. It achieves this by avoiding data-dependent (selective) gating, allowing pure vectorized operations.

  • Inference Style: True RNN. No growing KV cache. Constant memory usage \( L \times d_{model} \).
  • CPU Speed : ~14.7 tokens/second Decoding & ~1244.7 tokens/second Prefill (pure PyTorch, no custom kernels).
  • GPU Speed : ~130 tokens/second with BF16.

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).

Evaluation

TasksVersionFiltern-shotMetricValueStderr
arc_challenge1none0acc↑0.1664±0.0109
none0acc_norm↑0.2159±0.0120
arc_easy1none0acc↑0.3864±0.0100
none0acc_norm↑0.3434±0.0097
hellaswag1none0acc↑0.2621±0.0044
none0acc_norm↑0.2579±0.0044
piqa1none0acc↑0.5756±0.0115
none0acc_norm↑0.5533±0.0116

Not the best results, we blame the dataset.


Usage Example

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

StrengthsLimitations
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.

Technical References

  • Inspirations: RWKV (Peng et al.), and the Transformer FFN sandwich.

Licensing & Acknowledgements

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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
FWKVLanguageModel
Ревизия весов
392bfa2

0 моделей