目录文档-技术白皮书44-EFT.WP.Data.ModelCards v1.0

第4章 标准字段定义


I. 章节目的与适用范围

的语义、类型、约束与落盘示例,提供可直接使用的 Schema 片段与校核要点;命名一律 snake_case,条文级引用采用“卷名 vX.Y:锚点”。 必填字段固化

II. 字段总表(必填)

键名

类型

约束/正则

语义定义

交叉引用/锚点

model_id

string

^[a-z0-9_\\-.]+$

模型唯一标识(对外发布与血缘引用的根键)

导出组织见 DataSpec。

title

string

长度 ≥ 3

人类可读标题

version

string

^v\\d+\\.\\d+(\\.\\d+)?$

语义化版本(外部引用采用稳定线)

引用规范 v0.1。

task

string

enum

任务类型:`classification

retrieval

io_schema

object

schema

I/O 模式(shape/dtype/约束/批处理/流式)

与部署接口一致。

architecture

object

schema

架构与参数(backbone/模块/参数量)

training_data

object

schema

训练数据引用与冻结切分映射

回指 DatasetCards。

preprocess

object

schema

训练/推理前处理流水线与参数锁定

与计量校核一致。

optimization

object

schema

目标函数、优化器与调度器

hyperparams

object

schema

关键超参数与搜索口径

evaluation

object

schema

评测协议与指标、显著性

冻结切分;见质量章。

calibration

object

schema

概率校准方法与覆盖指标

计量/不确定度一致。

robustness

object

schema

偏移/对抗扰动设置与鲁棒性报告

fairness

object

schema

公平性维度与差异阈值

safety

object

schema

使用限制、危害防控与安全审计

与合规对接。

deployment

object

schema

部署形态/设备/并发与时延指标

resources

object

schema

资源用量:M_param/FLOPs/T_inf/QPS/显存/功耗

单位由计量章统一。

export_manifest

object

schema

导出清单,含 version、references[]、工件列表

机器可读引用。


III. 详细定义与示例

1) model_id

2) task

3) io_schema

4) architecture

5) training_data

6) preprocess

7) optimization 与 hyperparams

8) evaluation

9) calibration

10) robustness / fairness / safety

11) deployment 与 resources

12) export_manifest


IV. 与路径/到达时相关的必填登记(如适用)

  1. 若模型涉及路径依赖量(如 T_arr),在本章字段中至少落地:
  2. path_dependence:
  3. applies_to: ["T_arr"]
  4. delta_form: "const-factor" # 或 "general"
  5. path: "gamma(ell)"
  6. measure: "d ell"
  7. see:
  8. - "EFT.WP.Core.Equations v1.1:S20-1"
  9. - "EFT.WP.Core.Metrology v1.0:check_dim"
  10. 两种等价表达:
    • T_arr = ( 1 / c_ref ) * ( ∫ n_eff d ell )
    • T_arr = ( ∫ ( n_eff / c_ref ) d ell )
  11. 登记 delta_form、path、measure 并通过量纲校核。

V. 机器可读 Schema(节选,规范性)

# I15-1 Model Card Schema (required subset)

type: object

required:

[model_id,title,version,task,io_schema,architecture,training_data,

preprocess,optimization,hyperparams,evaluation,calibration,

robustness,fairness,safety,deployment,resources,export_manifest]

properties:

model_id: {type: string, pattern: "^[a-z0-9_\\-\\.]+$"}

title: {type: string, minLength: 3}

version: {type: string, pattern: "^v\\d+\\.\\d+(\\.\\d+)?$"}

task: {type: string}

io_schema:

type: object

required: [inputs,outputs]

properties:

inputs: {type: array}

outputs:{type: array}

batching:{type: object}

streaming:{type: object}

architecture: {type: object}

training_data:

type: object

required: [refs, splits_ref]

properties:

refs: {type: array, items: {type: string}}

splits_ref: {type: string}

preprocess: {type: object, required:[pipeline_id,steps]}

optimization: {type: object}

hyperparams: {type: object}

evaluation:

type: object

required: [protocol, metrics]

calibration: {type: object}

robustness: {type: object}

fairness: {type: object}

safety: {type: object}

deployment: {type: object}

resources:

type: object

properties:

M_param: {type: number}

FLOPs: {type: number}

T_inf: {type: number}

export_manifest:

type: object

required: [version, artifacts, references]

properties:

version: {type: string}

artifacts: {type: array, items: {type: object}}

references: {type: array, items: {type: string, pattern:"^[^:]+ v\\d+\\.\\d+:[A-Z].+$"}}

see:

- "EFT.WP.Core.DataSpec v1.0:EXPORT"

- "EFT.WP.Core.Metrology v1.0:check_dim"

- "EFT.WP.Core.Equations v1.1:S20-1"

(引用锚点/单位校核/禁混用符号按《全面清单 v0.1》与《引用规范 v0.1》执行。)


VI. 名称冲突与禁令(适用于本章所有字段)

并声明 gamma(ell)、d ell。必须加括号;含分式/积分/复合算符公式/符号/定义禁用中文严格区分;n(数密度)与 n_eff(有效折射率)不可混用T_fil(张力)与 T_trans(透射系数)

VII. 本章合规自检


版权与许可(CC BY 4.0)

版权声明:除另有说明外,《能量丝理论》(含文本、图表、插图、符号与公式)的著作权由作者(“屠广林”先生)享有。
许可方式:本作品采用 Creative Commons 署名 4.0 国际许可协议(CC BY 4.0)进行许可;在注明作者与来源的前提下,允许为商业或非商业目的进行复制、转载、节选、改编与再分发。
署名格式(建议):作者:“屠广林”;作品:《能量丝理论》;来源:energyfilament.org;许可证:CC BY 4.0。

首次发布: 2025-11-11|当前版本:v5.1
协议链接:https://creativecommons.org/licenses/by/4.0/