code: sync from git
Browse files
code/.claude/skills/eco-release/reference/page.md
CHANGED
|
@@ -120,7 +120,7 @@
|
|
| 120 |
| MiniMax-H3-Image | MiniMax / **H3** / *image* | MiniMax H3 *image* |
|
| 121 |
| MiniMax-Music3 | MiniMax / Music / **3** | MiniMax Music3 |
|
| 122 |
| MiniMax-M3-Pro(新) | MiniMax / **M3** / *pro* | MiniMax M3 *pro* |
|
| 123 |
-
| SynLogic
|
| 124 |
|
| 125 |
- 新名字一定要在预览里看一眼卡片和标题。
|
| 126 |
- 名字很长时(如 `M3.1-Flash-Lite`),字号可能把 240 px 宽的卡片撑破。`MarkLockup` 现在的规则是标记超过 4 个字符就从 80 px 降到 62 px,不够就再加一档。
|
|
|
|
| 120 |
| MiniMax-H3-Image | MiniMax / **H3** / *image* | MiniMax H3 *image* |
|
| 121 |
| MiniMax-Music3 | MiniMax / Music / **3** | MiniMax Music3 |
|
| 122 |
| MiniMax-M3-Pro(新) | MiniMax / **M3** / *pro* | MiniMax M3 *pro* |
|
| 123 |
+
| SynLogic | 名字本身(Abhaya) | 名字本身 |
|
| 124 |
|
| 125 |
- 新名字一定要在预览里看一眼卡片和标题。
|
| 126 |
- 名字很长时(如 `M3.1-Flash-Lite`),字号可能把 240 px 宽的卡片撑破。`MarkLockup` 现在的规则是标记超过 4 个字符就从 80 px 降到 62 px,不够就再加一档。
|
code/.claude/skills/eco-release/reference/rules.md
CHANGED
|
@@ -174,13 +174,13 @@
|
|
| 174 |
- 改这两处属于引擎改动,改完对**所有家族**跑一遍 `label_diff.py`,确认没有连带变化。
|
| 175 |
6. 家族 key 和模态 key 可以同名(music 两者都是)。家族看板写在 `dashboard/family/` 下,页面数据写在 `dashboard/` 下,不会冲突。
|
| 176 |
|
| 177 |
-
### E. 只认声明的发布(数据集式、研究小模型、工具;SynLogic
|
| 178 |
|
| 179 |
不写家族文件。只在 `org.RELEASES` 加一行,最后一项写 `None`。它的社区只沿 HF 的 base_model 标签逐层往下找,和 Model tree 一样。什么都不加的话,`org.group` 会把匹配不上的公开仓库自成一个发布,并在日志打印 `matches no release rule`;它的模态按 pipeline tag 猜,猜不到就算 language。
|
| 180 |
|
| 181 |
### F. 公开但不该展示的官方仓库
|
| 182 |
|
| 183 |
-
- 加进 `org.HIDDEN`:页面和
|
| 184 |
- 或者 `Member(tracked=False)`:照常分类,好把它的衍生品从兄弟成员里分出去,但不展示。
|
| 185 |
|
| 186 |
### G. 官方一次发多个仓库(-hf、官方 MXFP8 / GGUF、多个上下文长度)
|
|
|
|
| 174 |
- 改这两处属于引擎改动,改完对**所有家族**跑一遍 `label_diff.py`,确认没有连带变化。
|
| 175 |
6. 家族 key 和模态 key 可以同名(music 两者都是)。家族看板写在 `dashboard/family/` 下,页面数据写在 `dashboard/` 下,不会冲突。
|
| 176 |
|
| 177 |
+
### E. 只认声明的发布(数据集式、研究小模型、工具;SynLogic 那种)
|
| 178 |
|
| 179 |
不写家族文件。只在 `org.RELEASES` 加一行,最后一项写 `None`。它的社区只沿 HF 的 base_model 标签逐层往下找,和 Model tree 一样。什么都不加的话,`org.group` 会把匹配不上的公开仓库自成一个发布,并在日志打印 `matches no release rule`;它的模态按 pipeline tag 猜,猜不到就算 language。
|
| 180 |
|
| 181 |
### F. 公开但不该展示的官方仓库
|
| 182 |
|
| 183 |
+
- 加进 `org.HIDDEN`(仓库名的整串正则):页面、总数和数据集的表都不出现。现在藏的是 H3-Image-PE 和 VTP(2026-11-26 用户要求从图片模态里去掉)。不要只从 `RELEASES` 删掉那一行:匹配不上的公开仓库会自成一个发布,反而每个仓库各出现一次。
|
| 184 |
- 或者 `Member(tracked=False)`:照常分类,好把它的衍生品从兄弟成员里分出去,但不展示。
|
| 185 |
|
| 186 |
### G. 官方一次发多个仓库(-hf、官方 MXFP8 / GGUF、多个上下文长度)
|
code/hfeco/families/__init__.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
m.py language: Text-01, VL-01, M1, M2 ... M2.7, M3, M3.1-Flash
|
| 5 |
music.py music: Music3
|
| 6 |
|
| 7 |
-
Releases without a file here (SynLogic
|
| 8 |
"""
|
| 9 |
from . import h3, m, music
|
| 10 |
|
|
|
|
| 4 |
m.py language: Text-01, VL-01, M1, M2 ... M2.7, M3, M3.1-Flash
|
| 5 |
music.py music: Music3
|
| 6 |
|
| 7 |
+
Releases without a file here (SynLogic) are followed through declared base_model only.
|
| 8 |
"""
|
| 9 |
from . import h3, m, music
|
| 10 |
|
code/hfeco/org.py
CHANGED
|
@@ -40,10 +40,16 @@ RELEASES = [
|
|
| 40 |
("text-01", "MiniMax-Text-01", "language", r"MiniMax-Text-01(-.+)?", ("m", "Text-01")),
|
| 41 |
("vl-01", "MiniMax-VL-01", "language", r"MiniMax-VL-01(-.+)?", ("m", "VL-01")),
|
| 42 |
("synlogic", "SynLogic", "language", r"SynLogic-.+", None),
|
| 43 |
-
("vtp", "VTP", "image", r"VTP-.+", None),
|
| 44 |
]
|
| 45 |
-
# Public, but not shown (the user asked for only H3
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
PIPELINE_CATEGORY = {"text-to-video": "video", "image-to-video": "video", "video-text-to-text": "language",
|
| 48 |
"text-to-image": "image", "image-to-image": "image", "text-to-audio": "music",
|
| 49 |
"text-to-speech": "audio", "automatic-speech-recognition": "audio"}
|
|
@@ -58,7 +64,7 @@ def public_models():
|
|
| 58 |
"""The org's public models. `private` must be exactly False: with an admin token the
|
| 59 |
listing also returns private repos, and a missing field must not count as public."""
|
| 60 |
ms = retry(lambda: list(api.list_models(author=ORG, expand=OFFICIAL_EXPAND)))
|
| 61 |
-
return [m for m in ms if m.private is False and m.id
|
| 62 |
|
| 63 |
|
| 64 |
def group(models, log=print):
|
|
|
|
| 40 |
("text-01", "MiniMax-Text-01", "language", r"MiniMax-Text-01(-.+)?", ("m", "Text-01")),
|
| 41 |
("vl-01", "MiniMax-VL-01", "language", r"MiniMax-VL-01(-.+)?", ("m", "VL-01")),
|
| 42 |
("synlogic", "SynLogic", "language", r"SynLogic-.+", None),
|
|
|
|
| 43 |
]
|
| 44 |
+
# Public, but not shown anywhere (page, totals, tables): H3-Image-PE (the user asked for only H3
|
| 45 |
+
# and H3-Image from the H3 family) and VTP (taken off the Image modality at the user's request,
|
| 46 |
+
# 2026-11-26). Full-match patterns on the repo name, so a later VTP size stays hidden too; a
|
| 47 |
+
# hidden repo must not simply be dropped from RELEASES, or it comes back as a release of its own.
|
| 48 |
+
HIDDEN = [r"MiniMax-H3-Image-PE", r"VTP-.+"]
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def hidden(repo_id):
|
| 52 |
+
return any(re.fullmatch(p, repo_id.split("/", 1)[1]) for p in HIDDEN)
|
| 53 |
PIPELINE_CATEGORY = {"text-to-video": "video", "image-to-video": "video", "video-text-to-text": "language",
|
| 54 |
"text-to-image": "image", "image-to-image": "image", "text-to-audio": "music",
|
| 55 |
"text-to-speech": "audio", "automatic-speech-recognition": "audio"}
|
|
|
|
| 64 |
"""The org's public models. `private` must be exactly False: with an admin token the
|
| 65 |
listing also returns private repos, and a missing field must not count as public."""
|
| 66 |
ms = retry(lambda: list(api.list_models(author=ORG, expand=OFFICIAL_EXPAND)))
|
| 67 |
+
return [m for m in ms if m.private is False and not hidden(m.id)]
|
| 68 |
|
| 69 |
|
| 70 |
def group(models, log=print):
|