{
    "schema_version": 4,
    "runtime": "tflite",
    "id": "flowtext",
    "label": "AHOI Flowtext (LFM2 350M)",
    "revision": "v1@ec97a04",
    "base_model": "LiquidAI/LFM2-350M",
    "finetuned": true,
    "variants": [
        {
            "dtype": "q8",
            "file": "model_q8.tflite",
            "approx_bytes": 367728759,
            "devices": [
                "wasm",
                "webgpu"
            ],
            "signatures": [
                "decode",
                "prefill_16"
            ]
        }
    ],
    "runtime_config": {
        "max_seq_len": 1024,
        "prefill_lengths": [
            16
        ],
        "cache_shapes": {
            "key_cache": [
                6,
                8,
                1024,
                64
            ],
            "value_cache": [
                6,
                8,
                1024,
                64
            ],
            "conv_cache": [
                10,
                1,
                1024,
                3
            ]
        },
        "outputs": [
            "logits",
            "key_cache",
            "value_cache",
            "conv_cache"
        ],
        "layer_types": [
            "conv",
            "conv",
            "full_attention",
            "conv",
            "conv",
            "full_attention",
            "conv",
            "conv",
            "full_attention",
            "conv",
            "full_attention",
            "conv",
            "full_attention",
            "conv",
            "full_attention",
            "conv"
        ],
        "pad_prompts": false
    },
    "template_options": {},
    "generation": {
        "do_sample": true,
        "temperature": 0.05,
        "top_p": 0.9,
        "top_k": 20,
        "repetition_penalty": 1.0,
        "max_new_tokens": 512
    },
    "mode_generation": {
        "fix": {
            "do_sample": false,
            "temperature": 0,
            "max_new_tokens": 512
        }
    },
    "prompts": {
        "system": "Du überarbeitest Text aus einer Dokumentations-App. Antworte nur mit dem überarbeiteten Text. Erfinde nichts, lasse nichts weg.",
        "modes": {
            "expand": "Stichpunkte zu Fließtext.",
            "fix": "Nur Rechtschreibung, Grammatik und Zeichensetzung korrigieren.",
            "formalize": "Sachlicher und förmlicher formulieren."
        }
    },
    "license": "LFM Open License v1.0"
}