Run this model with HF Jobs
Run olaverse/YellowMIST-Encoder-15M-AR on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/olaverse/YellowMIST-Encoder-15M-AR. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/olaverse/YellowMIST-Encoder-15M-AR on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use olaverse/YellowMIST-Encoder-15M-AR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use olaverse/YellowMIST-Encoder-15M-AR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="olaverse/YellowMIST-Encoder-15M-AR")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("olaverse/YellowMIST-Encoder-15M-AR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
card: name the Dew preset, credit Gated DeltaNet, explain the pilot
Browse files20 unmodified lines21222324252627282930313233343536373820 unmodified lines## ArchitectureDew hybrid encoder: 6 layers, `GGAGGA`. That is 4 bidirectional Gated DeltaNet layers (a fixed-size memory readforwards and backwards) and 2 attention layers, with a dense SwiGLU feed-forward block in each layer. Hidden size 320.Context of 512 characters in training; it runs on longer text. The first token of a text is its language tag (`<|lang:xxx_Xxxx|>`).Why this layout: in a 3-seed pilot on the West Africa data, it beat a same-size transformer encoder on every test,by more than the seed-to-seed spread:| Model (15M, same data and steps, 3 seeds) | masked chars | mark restoration | punctuation F1 | capitals F1 ||---|---|---|---|---|| **Dew hybrid (this architecture)** | **65.89 ± 0.13** | **82.89 ± 0.04** | **36.67 ± 0.35** | **59.07 ± 0.59** || Transformer encoder | 64.43 ± 0.19 | 82.44 ± 0.02 | 34.33 ± 1.10 | 57.07 ± 1.44 |## Training- Objective: masked characters. Spans of 3 characters are hidden at 15% of positions, and the model fills them in.20 unmodified lines2122232425262728293031323334353637383940414243444520 unmodified lines## Architecture[Dew](https://github.com/Olaverse-Labs/dew), preset `dew-1-enc-hybrid`: 6 layers, `GGAGGA`. That is 4 bidirectional Gated DeltaNet layers (a fixed-size memory readforwards and backwards) and 2 attention layers, with a dense SwiGLU feed-forward block in each layer. Hidden size 320.Context of 512 characters in training; it runs on longer text. The first token of a text is its language tag (`<|lang:xxx_Xxxx|>`).This is Dew's small dense hybrid. Dew also has Mixture-of-Experts ("Nap") presets; those are research presets for largermodels and are not used in any YellowMIST model. The Gated DeltaNet layer is from Yang, Kautz and Hatamizadeh,[Gated Delta Networks: Improving Mamba2 with Delta Rule](https://arxiv.org/abs/2412.06464) (2024); training uses the[flash-linear-attention](https://github.com/fla-org/flash-linear-attention) kernels on GPU.Why this layout: in a 3-seed pilot on the West Africa data, it beat a same-size transformer encoder on every test,by more than the seed-to-seed spread:| Model (15M, same data and steps, 3 seeds) | masked chars | mark restoration | punctuation F1 | capitals F1 ||---|---|---|---|---|| **Dew `dew-1-enc-hybrid` (this architecture)** | **65.89 ± 0.13** | **82.89 ± 0.04** | **36.67 ± 0.35** | **59.07 ± 0.59** || Transformer encoder | 64.43 ± 0.19 | 82.44 ± 0.02 | 34.33 ± 1.10 | 57.07 ± 1.44 |The pilot used shorter training, on the West Africa data only, so its numbers are not comparable with the Results below.## Training- Objective: masked characters. Spans of 3 characters are hidden at 15% of positions, and the model fills them in.
README.md+9-2