> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# AFM-D 决策模型

> 双轨 System 1 决策模型：AFM-D Encoder（afm-de）与 Decoder（afm-dd）对文本或 JSON 状态返回类型化的 Choice / Score / Noul 答案。

**AFM-D** 是咏唱引擎的双轨 **System 1** 决策产品。两条轨都接收文本或 JSON **状态**与类型化问题，返回你提供的答案上的分布，**不**走自回归对话。

| 轨           | 模型 id    | 架构                                               |
| ----------- | -------- | ------------------------------------------------ |
| **Encoder** | `afm-de` | 非自回归 ModernBERT + MASK 选项头                       |
| **Decoder** | `afm-dd` | MiniCPM5-2B 上的 SemIf direct 选项字母 logits（可选 LoRA） |

## 类型化原语

| 原语     | 答案空间                                 |
| ------ | ------------------------------------ |
| Choice | 1–255 选项（Decoder System One 常见 2–16） |
| Score  | 2–10 个有序档位                           |
| Noul   | `false` / `true`                     |

## Hub

| Hub          | Encoder              | Decoder              |
| ------------ | -------------------- | -------------------- |
| Hugging Face | `ariacompute/afm-de` | `ariacompute/afm-dd` |
| ModelScope   | `AriaCompute/afm-de` | `AriaCompute/afm-dd` |

## 如何运行

* **[Aria Engine](/sdks/engine-runtime)** — 官方 System One HTTP（`POST /v1/systemone`）；默认 Encoder `:8010`、Decoder `:8011`。
* **[Ollaya](/guides/ollaya)** — 本地决策模型守护进程；`ollaya pull afm-de` / `afm-dd`。
* **[ROUTER afm-d 轨](/api-reference/router/introduction)** — 黄金入口 `ariacompute/afm-d-auto`（需 `AFM_ENGINE_URL` 指向 engine）。

## 另见

* [模型（端侧包）](/concepts/models)
* [演练场](/guides/playground)
* [Serve 站点](/concepts/serve)
