跳到正文
每分钟自动更新
11月3日周二
  1. Simon Willison

    llm 0.37

    中文摘要

    发布:llm 0.37 这次我的LLM CLI工具和Python库的新版本包含了很多内容,代表了大约两个月积累的功能和修复。我添加了gpt-6.1-sol和gpt-6.1-terra,还新增了一个llm openai端点添加命令,以更方便地配置使用OpenAI兼容端点的其他模型。如果尚未设置自己的默认模型,我将默认模型切换为gpt-6-luna——其价格是之前默认模型gpt-5.6-luna的一半。LLM对嵌入(embeddings)的支持现在可以接受不同的二进制内容可能具有不同的内容类型——这对于像Gemini Embedding 2这样的模型来说是必要的,因为它可以嵌入文本、音频、图像和视频。很多开源维护者都抱怨AI辅助的PR(Pull Request)泛滥。LLM是我受影响最严重的项目,说实话,我并没有觉得这是个问题。这主要是因为我有Opus 5.5或GPT-6 Astra帮助我进行分类,以发现最有用的修复!此版本包含了来自12位作者的修复——几乎全部都是AI辅助的——而审查它们的负担远没有我预期的那么大。我真的把这些看作是带有附加示例的错误报告——有时我会合并它们,有时我会

    英文原文

    Release: llm 0.37 There's a lot of stuff in this new release of my LLM CLI tool and Python library, representing around two months of accumulated features and fixes. I added gpt-6.1-sol and gpt-6.1-terra , plus a new llm openai endpoint add command to make it easier to configure additional models that use OpenAI-compatible endpoints. I switched the default model (if you have not set your own default) to gpt-6-luna - half the price of the previous default, gpt-5.6-luna . LLM's support for embeddings now accepts that different binary content may have different content-type - necessary for models like Gemini Embedding 2 , which can embed text, audio, images, and video. A lot of open source maintainers complain about a flood of AI-assisted PRs. LLM is my project that has been most affected by this and, to be honest, I'm not finding it to be a problem. That's mainly because I have Opus 5.5 or GPT-6 Astra help me with triage to spot the most useful fixes! This release includes fixes from 12 authors - almost all AI-assisted - and the burden of reviewing them wasn't nearly as great as I expected. I really see them as bug reports with attached examples - sometimes I land them, sometimes I i

10月7日周三
  1. Simon Willison

    EmbeddingGemma 2

    中文摘要

    我对EmbeddingGemma 2的评论 —— Hacker News。我非常欣赏EmbeddingGemma 2是基于Apache 2.0许可证的。对于嵌入模型来说,我认为使用封闭的、专有的、仅限托管的模型是没有意义的。嵌入模型的大多数应用涉及计算数千个甚至数百万个嵌入向量并存储它们以供以后比较。如果你的模型是专有的,供应商可能某一天会决定停止提供该模型。他们可能会有更好的模型来替代它,但你仍然需要支付费用重新计算这些已存储的数百万个向量。(2024年4月,OpenAI曾表示愿意“承担用户使用这些新模型重新生成内容的财务成本” - https://openai.com/index/gpt-4-api-general-availability/ - 但我认为我们不能指望每个供应商都这样做。)值得注意的是,我不希望自己托管这个模型。我更愿意支付费用让供应商提供托管模型,同时知道如果他们有一天停止托管,我可以自己运行开源权重版本 - 或者找到另一个供应商为我做这件事。标签:google,ai,生成式ai,嵌入,gemma

    英文原文

    My comment on EmbeddingGemma 2 — Hacker News. I really appreciate that EmbeddingGemma 2 is under the Apache 2.0 license. For embedding models in particular, I don't think it makes sense to use a closed, proprietary, hosted-only model. Most applications of embedding models involve calculating thousands or even millions of embedding vectors and storing them for later comparison. If your model is proprietary, the vendor is likely someday going to decide to stop offering that model. They'll have a better model to replace it, but you still need to pay to re-calculate those millions of stored existing vectors. (In April 2024 OpenAI offered to "cover the financial cost of users re-embedding content with these new models" - https://openai.com/index/gpt-4-api-general-availability/ - but I don't think that's something we can rely on from every provider.) Notably, I don't want to host the model myself . I'd much rather pay a provider for a hosted model while knowing that if they ever stop hosting it I can run the open weights version myself - or find another vendor who can do that for me. Tags: google , ai , generative-ai , embeddings , gemma