11-47's picture
Upload 8 files
ecd3d2c verified
|
Raw History Blame
6.05 kB
metadata
license: apache-2.0
language:
  - en
library_name: transformers
pipeline_tag: text-generation
tags:
  - WIUAI.Flash.MoE.Coder.instruct.53m
  - small-language-model
  - from-scratch
  - mixture-of-experts
  - moe
  - lfm2_moe
  - hybrid
  - tool-calling
  - reasoning
  - conversational
  - gguf
datasets:
  - HuggingFaceFW/fineweb-edu
  - mlfoundations/dclm-baseline-1.0
  - wikimedia/wikipedia
  - HuggingFaceTB/cosmopedia
  - HuggingFaceTB/smollm-corpus
  - HuggingFaceTB/finemath
  - OctoThinker/MegaMath-Web-Pro-Max
  - HuggingFaceFW/finepdfs-edu
  - bigcode/the-stack-smol
  - manu/project_gutenberg
  - lucadiliello/bookcorpusopen
  - roneneldan/TinyStories
  - ArrowLabs/DCLM-Ultra-1.1
  - AxiomicLabs/FactBase-DCLM
  - sentence-transformers/gooaq
  - sentence-transformers/eli5
  - HuggingFaceFW/finephrase
  - microsoft/orca-math-word-problems-200k
  - HuggingFaceTB/smol-smoltalk
  - HuggingFaceTB/smoltalk
  - allenai/tulu-3-sft-personas-instruction-following
  - allenai/WildChat-4.8M
  - teknium/OpenHermes-2.5
  - NousResearch/hermes-function-calling-v1
model-index:
  - name: WIUAI.Flash.MoE.Coder.instruct.53m
    results:
      - task:
          type: text-generation
        dataset:
          type: allenai/ai2_arc
          name: ARC-Easy
          config: ARC-Easy
          split: test
        metrics:
          - type: acc_norm
            value: 49.71
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: allenai/ai2_arc
          name: ARC-Challenge
          config: ARC-Challenge
          split: test
        metrics:
          - type: acc_norm
            value: 30.29
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: Rowan/hellaswag
          name: HellaSwag
          split: validation
        metrics:
          - type: acc_norm
            value: 30.1
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: ybisk/piqa
          name: PIQA
          split: validation
        metrics:
          - type: acc_norm
            value: 64.04
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: allenai/openbookqa
          name: OpenBookQA
          config: main
          split: test
        metrics:
          - type: acc_norm
            value: 32.4
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: allenai/sciq
          name: SciQ
          split: test
        metrics:
          - type: acc_norm
            value: 63.9
            name: acc_norm (0-shot)
      - task:
          type: text-generation
        dataset:
          type: allenai/winogrande
          name: WinoGrande
          config: winogrande_xl
          split: validation
        metrics:
          - type: acc
            value: 49.41
            name: acc (0-shot)
      - task:
          type: text-generation
        dataset:
          type: google/boolq
          name: BoolQ
          split: validation
        metrics:
          - type: acc
            value: 58.72
            name: acc (0-shot)
      - task:
          type: text-generation
        dataset:
          type: EleutherAI/lambada_openai
          name: LAMBADA (OpenAI)
          split: test
        metrics:
          - type: acc
            value: 22.88
            name: acc (0-shot)
      - task:
          type: text-generation
        dataset:
          type: cais/mmlu
          name: MMLU
          config: all
          split: test
        metrics:
          - type: acc
            value: 24.82
            name: acc (0-shot)
      - task:
          type: text-generation
        dataset:
          type: tau/commonsense_qa
          name: CommonsenseQA
          split: validation
        metrics:
          - type: acc
            value: 21.7
            name: acc (0-shot)
      - task:
          type: text-generation
        dataset:
          type: allenai/social_i_qa
          name: Social IQa
          split: validation
        metrics:
          - type: acc
            value: 37.67
            name: acc (0-shot)

WIUAI.Flash.MoE.Coder.instruct.53m

A tiny chat model with thinking and tool calling, trained from scratch. It's the first TinyBrainBot on a new hybrid architecture: gated short-convolution blocks plus a few attention blocks, with a mixture of experts. 53.4M parameters in total, 9.3M active per token. The layout matches LiquidAI's LFM2-MoE, so it runs natively in llama.cpp, LM Studio and Ollama, and in transformers >= 5 as Lfm2MoeForCausalLM: no custom code.

It's the small-scale test of the recipe and architecture planned for a larger WIUAI.Flash.MoE.Coder.instruct.53m. Expect a tiny model: fluent and quick, often right on simple facts, unreliable on arithmetic and multi-step instructions.

Benchmark (0-shot, full test sets) This model Base before fine-tuning Change
ARC-Easy (acc_norm) 49.71 49.66 +0.04
  (raw acc) 55.47 55.81
ARC-Challenge (acc_norm) 30.29 29.44 +0.85
  (raw acc) 26.96 26.71
HellaSwag (acc_norm) 30.10 30.13 -0.03
  (raw acc) 28.18 28.23
PIQA (acc_norm) 64.04 63.22 +0.82
  (raw acc) 63.66 63.76
OpenBookQA (acc_norm) 32.40 32.80 -0.40
  (raw acc) 20.60 21.20
SciQ (acc_norm) 63.90 63.70 +0.20
  (raw acc) 72.90 72.90
WinoGrande (acc) 49.41 49.33 +0.08
BoolQ (acc) 58.72 58.26 +0.46
LAMBADA (OpenAI) (acc) 22.88 21.00 +1.88
MMLU (acc) 24.82 23.42 +1.40
CommonsenseQA (acc) 21.70 20.15 +1.56
Social IQa (acc) 37.67 38.08 -0.41
ArithMark-3 (acc_norm) 43.90 52.90 -9.00
  held-out arithmetic (our probe: skills ArithMark-3 doesn't test) 40.94 40.80 +0.14