MLx社区/OLMo-2-0325-32B-Instruct-4bit
Mlx-community/OLMo-2-0325-32B-Instruct-4bit

原始链接: https://simonwillison.net/2025/Mar/16/olmo2/

mlx-community/OLMo-2-0325-32B-Instruct-4bit(通过OLMo 2 32B)号称是“首个完全开放的模型(所有数据、代码、权重和细节均免费提供),其性能优于GPT3.5-Turbo和GPT-4o mini”。感谢MLX项目,以下是在我的Mac上通过llm-mlx插件运行它的方法:安装模型:llm install llm-mlx llm mlx download-model mlx-community/OLMo-2-0325-32B-Instruct-4bit 这将下载17GB到~/.cache/huggingface/hub/models--mlx-community--OLMo-2-0325-32B-Instruct-4bit。启动与OLMo 2的交互式聊天:llm chat -m mlx-community/OLMo-2-0325-32B-Instruct-4bit 或者运行提示:llm -m mlx-community/OLMo-2-0325-32B-Instruct-4bit 'Generate an SVG of a pelican riding a bicycle' -o unlimited 1 -o unlimited 1选项去除了输出token数量的限制——llm-mlx的默认值为1024,这不足以尝试绘制一只鹈鹕。它绘制的鹈鹕令人耳目一新地抽象:

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Mlx-community/OLMo-2-0325-32B-Instruct-4bit (simonwillison.net) mdp2021 提交于 1小时前,获9分 | 隐藏 | 过去 | 收藏 | 1 评论 teruakohatu 4分钟前 [–] 我几乎尝试了所有模型,都难以生成 SVG 图片。这个模型的 SVG 演示效果,跟大型模型生成的差不多。是我哪里做错了吗?每个人都说模型在生成 SVG 方面表现很好,但我生成的图形位置总是错乱。SVG 文档是相当底层的(与在 Inkscape 或 Illustrator 中编辑相比),所以除了非常简单的形状之外,很难修改。 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

mlx-community/OLMo-2-0325-32B-Instruct-4bit (via) OLMo 2 32B claims to be "the first fully-open model (all data, code, weights, and details are freely available) to outperform GPT3.5-Turbo and GPT-4o mini". Thanks to the MLX project here's a recipe that worked for me to run it on my Mac, via my llm-mlx plugin.

To install the model:

llm install llm-mlx
llm mlx download-model mlx-community/OLMo-2-0325-32B-Instruct-4bit

That downloads 17GB to ~/.cache/huggingface/hub/models--mlx-community--OLMo-2-0325-32B-Instruct-4bit.

To start an interactive chat with OLMo 2:

llm chat -m mlx-community/OLMo-2-0325-32B-Instruct-4bit

Or to run a prompt:

llm -m mlx-community/OLMo-2-0325-32B-Instruct-4bit 'Generate an SVG of a pelican riding a bicycle' -o unlimited 1

The -o unlimited 1 removes the cap on the number of output tokens - the default for llm-mlx is 1024 which isn't enough to attempt to draw a pelican.

The pelican it drew is refreshingly abstract:

Blue and black wiggly lines looking more like a circuit diagram than a pelican riding a bicycle

联系我们 contact @ memedata.com