在 `FlagAutoModel.from_finetuned` 中通过仅基于名称的注册表查找启用静默 `trust_remote_code=True`

作者: beanduan22创建于 2026年5月7日更新于 2026年7月29日

`FlagAutoModel.from_finetuned(model_name_or_path)` silently enables `trust_remote_code=True` for certain model names based only on the basename of the user-supplied path or Hub repository identifier.

内容来源: FlagOpen/FlagEmbedding