跳到正文
Hugging Face Blog·· 2024-10-22AI 评分40

Hugging Face 与 dottxt 发布 outlines-core 0.1.0:用 Rust 重写结构化生成核心

Releasing Outlines-core 0.1.0: structured generation in Rust and Python

AI 导读

Hugging Face 与 dottxt 联合发布 outlines-core 0.1.0,这是 outlines 结构化生成核心算法的 Rust 移植版,Python 绑定已上线并集成进 outlines。索引编译速度平均提升 2 倍,且因改用 Rust 预编译,首次运行不再有 Numba JIT 带来的延迟。核心算法与主库解耦后更为轻量,便于其他库集成,并可绑定 Python 之外的语言。

来源:Hugging Face Blog · huggingface.co