←搜索结果

按匹配度 · 共 1621 条结果 清除搜索

星期二

  1. Zyphra Research

    Zyphra 发布 5 万亿 token 数据集 Zyda-2,用 NVIDIA NeMo Curator 将处理时间从 3 周缩短到 2 天

    Zyphra 发布 Zyda-2,一个约 5 万亿 token 的宽松许可数据集,由 DCLM、FineWeb-Edu、Zyda-1 和 Dolma v1.7 的 Common Crawl 部分经跨数据集去重与模型过滤组合而成,已在 HuggingFace 上开放。借助 NVIDIA NeMo Curator 的 GPU 加速,数据处理从 CPU 上的 3 周缩短到 2 天,总拥有成本降低 2 倍。Zyphra 称用 Zyda-2 退火训练的模型在 MMLU、Hellaswag 等聚合评测上优于 DCLM 和 FineWeb-Edu,其 Zamba2 系列模型即基于该数据集的早期版本训练。

    o scale our data processing capabilities, but optimize costs. Download the Zyda-2 dataset directly from Hugging Face and train higher-accuracy models. For more information see our GitHub tutorial. Appendix Analysis of Global Duplicates Figure 7: Distribution of cluster sizes of duplicates in global dataset (log-log scale). Figure 8: Distribution of cluster sizes of duplicates in DCLM (log-log scale). Figure 9: Distribution of cluster sizes of duplicates in FineWeb-Edu2 (log-log scale). Figure 10

    匹配字段正文

星期五

  1. Redwood Research:Blog

    Redwood Research:自主研究型 AI 智能体的基础系统架构

    Redwood Research 提出自主做 AI R&D 研究的 AI 智能体的基础系统架构,指出推理服务器、scaffold 服务器和执行服务器几乎必然部署在逻辑上不同的计算机上。scaffold 服务器负责维护智能体状态、解析 LLM 输出并执行动作,也是插入安全机制的位置,例如在动作执行前调用可信模型判断其是否安全。

    ode you want on that API, but if they have weights access they’re by default going to be able to do whatever they want; Internal tools, e.g. Slack, wikis, internal arxiv, internal github. Like the internet, you could either access these through the scaffold or from the execution server Different ways the AI could compromise this Model weight exfiltration The simplest way to imagine something going wrong is that you gave the agent access to sensitive model weights on the execution server, and it

    匹配字段正文

星期四

  1. FutureHouse Research

    FutureHouse 详解 PaperQA2:如何让科学 RAG 超越科学家表现

    FutureHouse 发布工程博客,介绍其科学 RAG 系统 PaperQA2 的设计实验,称其在回答高难度科学问题、撰写综述文章和检测文献矛盾等任务上超过科学家的表现。团队基于 LitQA2 的 200 道专家多选题评测发现,智能体式查询扩展、LLM 重排与上下文摘要(RCS)、引用遍历对准确率重要,而嵌入模型选择、混合关键词嵌入、chunk 大小和结构化解析影响不大。新增的引用遍历工具通过 Semantic Scholar 和 Crossref API 前后各遍历一度引用,提升了正确论文的召回率。

    bove figure. As a novel tool in PaperQA2, we added a citation traversal tool, which we’ll dive into in a later section. PaperQA2 agentic configuration options can be found here in Github. We’ve included some descriptive statistics of PaperQA2’s agentic actions averaged across 3 LitQA2 benchmark runs (table below). Here we see that the agent is calling more than 4 tool calls per question on average, indicating that it’s not simply calling the tools in a deterministic order. This is especially app

    匹配字段正文

星期三

  1. Ollama Blog

    Ollama 上线 Bespoke-Minicheck:用事实核查减少模型幻觉

    Bespoke Labs 开发的事实核查模型 Bespoke-Minicheck 已在 Ollama 上线,可对其他模型生成的回答做核查以检测并减少幻觉。它接收文档与待验证的 Claim,若文档支持该 Claim 则输出 Yes,否则输出 No,尤其适合作为 RAG 应用的后处理步骤,确保回答基于检索到的上下文。

    LLM. This can be done as a post-processing step to detect hallucinations: For an example of how to use Bespoke-Minicheck in a RAG application using Ollama, see the RAG example on GitHub. Getting started Start by downloading and running the model: Next, write the prompt as follows, providing both the source document and the claim: Since the source information supports the claim, the model will output Yes. However, when the claim is not supported by the document, the model will respond with No: F

    匹配字段正文

星期二

  1. The Gradient

    LLM 聊天机器人缺失的是什么:目的性对话

    The Gradient 文章指出,LLM 聊天机器人的能力虽按月提升,但 MMLU、HumanEval、MATH 等基准日趋饱和,用户体验并未按分数比例增长。作者认为现有评测以非交互方式衡量对话系统,忽略了围绕目标展开的多轮“目的性对话”,并以旅行规划、SWE-bench 代码任务和长期记忆型个人助理为例说明其价值。

    nted research direction like code generation. Existing coding benchmarks mostly measure performances in a one-pass generation setting; however, for AI to automate solving ordinary Github issues (like in SWE-bench ), it’s unlikely to be achieved by a single action—the AI needs to communicate back and forth with human software engineers to make sure it understands the correct requirements, ask for missing documentation and data, and even ask humans to give it a hand if needed. In a similar vein to

    匹配字段正文

星期四

  1. vLLM 官方博客

    vLLM v0.6.0 发布,吞吐量提升最高 2.7x、TPOT 最多降低 5x

    vLLM 发布 v0.6.0,相比 v0.5.3 吞吐量提升 1.8-2.7x,其中 Llama 8B 的吞吐量提升 2.7x、TPOT 加快 5x,Llama 70B 的吞吐量提升 1.8x、TPOT 减少 2x。主要优化包括拆分 API server 与推理引擎、多步批量调度、异步输出处理、对象缓存和非阻塞数据传输。多步调度目前会造成 token 间延迟波动,并可能在低请求率下提高 TTFT。

    as well as captured detailed metrics for time-to-first-token (TTFT) and time-per-output-token (TPOT), please refer to the appendix for more data and analysis. You can follow this github issue to reproduce our benchmark. Limitation of current optimizations. Although our current optimizations give a significant throughput gain, there are performance trade-offs from our current optimizations, especially from multi-step scheduling: Bumpy inter-token latency: In our current implementation of multi-s

    匹配字段正文

星期一

  1. Zyphra Research

    Zyphra 训练手册:如何构建 SSM、Transformer 与 MoE 混合模型

    Zyphra 发布《Zyphra Training Cookbook》,分享构建混合(SSM、Transformer、MoE)模型的工程经验,供其他技术团队参考。Zyphra 已构建 BlackMamba、Zamba-7B、Zamba2-2.7B、Zamba2-1.2B 等混合模型,以及 Zyda 数据集和 Tree Attention 工程优化。手册聚焦 1B-15B 端侧小模型,建议每 1/4 到 1/6 的序列混合层使用全注意力,其余采用 Mamba 等线性混合器以降低 FLOP 和内存开销。

    into building good ones. The purpose of this cookbook is to enable other technical groups to hit the ground running when building their own hybrid (SSM, Transformer, MoE) models. GitHub For context, we at Zyphra have built the following hybrid models: BlackMamba; Zamba-7B; Zamba2-2.7B; Zamba2-1.2B The following datasets: Zyda And the following engineering optimizations Tree Attention Dense transformer models (i.e. alternating multi-head attention (MHA) and multilayer perceptron (MLP) blocks) ha

    匹配字段正文

星期四

  1. Replit Blog

    Replit 如何理解大规模代码:300 亿仓库的数据基础设施

    Replit 构建了一套数据基础设施,用于分析其平台上超过 3 亿个软件仓库,以了解用户正在构建什么。该数据包含 Operational Transformation(OT)时间线、执行日志、错误堆栈跟踪和 LSP 诊断日志,用户平均每天编辑 7000 万个文件,每月写入超过 1PiB 数据。这些洞察被用于改进 Postgres 产品、开发 Replit ModelFarm,并训练 AI 模型。

    How Replit makes sense of code at scale — cover image

    e of the richest coding data in the industry. Replit data is unique. We store over 300 million software repositories, in the same ballpark of the world’s largest coding hosts like GitHub and Bitbucket. We have a deeply granular understanding of the timeline of each project, thanks to a protocol called Operational Transformation (OT), and to the execution data logged when developers run their programs. The timeline is also enriched with error stack traces and LSP diagnostic logs, so we have debug

    匹配字段正文

星期二

  1. FutureHouse Research

    LAB-Bench:衡量语言模型生物学研究能力的基准

    FutureHouse 发布 Language Agent Biology Benchmark(LAB-Bench),共 2,457 道题、覆盖 8 大类,用于评测语言模型和语言智能体执行科研任务的能力。所有现有模型在各项任务上均大幅落后于人类,仅 Claude 3.5 Sonnet 在 TableQA 精度上略超人类;除它之外,所有模型在视觉推理基准 FigQA 上接近随机水平。数据集已开放 80%,另留 20% 私有测试集用于监测训练污染。

    d the notion of a “human baseline” for harder tasks may cease to be meaningful. ‍ Future Outlook: We have released 80% of the LAB-Bench dataset today (available at HuggingFace and GitHub .) We are withholding a private test set of 20% that we will use to monitor for training contamination (models being overfit to the benchmark). Moreover, the process that we have developed internally for building these evals is scalable and extensible, and we expect to leverage it to create more challenging benc

    匹配字段正文

星期日

  1. Lilian Weng:Lil'Log

    LLM 的外源性幻觉:成因与评估 | Lil'Log

    Lilian Weng 在 Lil'Log 撰文分析 LLM 的外源性幻觉,即模型输出无法被预训练数据所支撑。文章指出预训练数据过时、缺失或错误,以及微调阶段引入新知识都会诱发幻觉;Gekhman et al. 2024 发现模型学习含新知识的微调样本更慢,一旦学会便更易产生幻觉。文中还介绍了 FactualityPrompt、FActScore 等幻觉评估方法。

    e is manually labeled with fine-grained annotations on hallucination error types. Cited as: Weng, Lilian. (Jul 2024). Extrinsic Hallucinations in LLMs. Lil’Log. https://lilianweng.github.io/posts/2024-07-07-hallucination/. Or [1] Ji et al. “Survey of hallucination in natural language generation.” ACM Computing Surveys (2022) [2] Gekhman et al. “Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?” arXiv preprint arXiv:2405.05904 (2024). [3] Min et al. “FActScore: Fine-grained atomic

    匹配字段正文

星期五

  1. Ollama Blog

    如何在编辑器内用 Continue 和 Ollama 搭建全开源 AI 代码助手

    Continue 联合创始人 Ty Dunn 介绍了在 VS Code 和 JetBrains 中结合 Ollama 与开源 LLM 搭建本地代码助手的方法。推荐用 Mistral AI 的 Codestral 22B 做自动补全和对话,或用 DeepSeek Coder 6.7B 补全加 Llama 3 8B 对话;配合 nomic-embed-text 嵌入向量驱动 @codebase,并可用团队接受的补全建议微调 StarCoder 2 后推送到 Ollama 模型库。

    Continue and Ollama

    documentation site. Assuming you have a chat model set up already (e.g. Codestral, Llama 3), you can keep this entire experience local by providing a link to the Ollama README on GitHub and asking questions to learn more with it as context. a. Type @docs in the chat sidebar, select “Add Docs”, copy and paste “https://github.com/ollama/ollama” into the URL field, and type “Ollama” into the title field b. It should quickly index the Ollama README and then you can ask it questions with important s

    匹配字段正文

星期二

  1. Prime Intellect

    Prime Intellect 谈全球分布式训练的最新技术

    Prime Intellect 发布文章,探讨如何在全球分布式 GPU 集群上训练大模型,以应对闭源阵营动辄数十万块 H100 的算力优势。文章梳理了数据并行、张量并行、流水线并行三种基础方法,并重点介绍 Google DeepMind 的 DiLoCo:每 500 步才同步一次梯度,把 1B 模型 2GB 梯度的 16 秒通信摊到数分钟计算中,同时提升对异构硬件和节点增减的容错能力。

    State-of-the-Art in Globally-Distributed Training

    gh it is primarily a research codebase not intended for production use, its contributions to the field are significant. You can explore and contribute to the project here: https://github.com/yandex-research/swarm. SWARM is built upon the hivemind project: Hivemind Hivemind is a framework to perform various distributed training algorithms. It has been used to train a text to image model across a pool of volunteer compute. At its core, Hivemind utilizes a distributed hash table spread across each

    匹配字段正文

星期五

  1. Lilian Weng:Lil'Log

    用于视频生成的扩散模型:从零训练与图像模型扩展

    Lilian Weng 在 Lil'Log 撰文梳理扩散模型用于视频生成的两条技术路线:从零训练时,2D U-net 的 3x3 卷积扩展为 1x3x3,并在每个空间注意力块后加入时间注意力块以捕捉时序一致性;Imagen Video 用 7 个扩散模型级联输出 1280x768、24 fps 视频,经渐进蒸馏后每个模型仅需 8 步采样。另一路线是给预训练图像扩散模型插入时间层,如 Make-A-Video 复用文本-图像先验并加入帧插值网络,以缓解文本-视频配对数据稀缺问题。

    orresponding short clip is synthesized sequentially conditioned on the keyframes Cited as: Weng, Lilian. (Apr 2024). Diffusion Models Video Generation. Lil’Log. https://lilianweng.github.io/posts/2024-04-12-diffusion-video/. Or [1] Cicek et al. 2016. “3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation.” [2] Ho & Salimans, et al. “Video Diffusion Models.” 2022 | webpage [3] Bar-Tal et al. 2024 “Lumiere: A Space-Time Diffusion Model for Video Generation.” [4] Brooks et al. “Vi

    匹配字段正文

星期六

  1. The Gradient

    Car-GPT:LLM 能否最终让自动驾驶成为现实?

    The Gradient 文章探讨大语言模型(LLM)能否成为自动驾驶的意外答案,类比青霉素的偶然发现。文章先解释 LLM 的 tokenization、Transformer 编解码器与下一词预测原理,再梳理 2023 年 LLM 在自动驾驶感知中的三大核心任务:检测、预测与追踪,并列举 HiLM-D、MTD-GPT、PromptTrack 等模型。

    understand what it's like to google "learn LLM"; then see 3 sponsored posts asking you to download e-books (in which nothing concrete appears)... then see 20 ultimate roadmaps and GitHub repos, where step 1/54 is to view a 2-hour long video (and no one knows what step 54 is because it's so looooooooong). So, instead of putting you through this pain myself, let's just break down what LLMs are in 3 key ideas: In ChatGPT, you input a piece of text, and it returns text, right? Well, what's actually

    匹配字段正文

星期四

  1. Ollama Blog

    Ollama 内置兼容 OpenAI Chat Completions API

    Ollama 宣布内置兼容 OpenAI Chat Completions API,可在本地使用更多工具和应用。使用时只需把请求的 hostname 改为 http://localhost:11434,即可沿用 OpenAI 的调用格式,官方还给出了 cURL 和 Microsoft 开源多智能体框架 Autogen 的接入示例。该支持目前为实验性,后续改进方向仍在考虑中。

    s a popular open-source framework by Microsoft for building multi-agent applications. For this, example we’ll use the Code Llama model: Install Autogen: Then create a Python script example.py to use Ollama with Autogen: Lastly, run the example to have the assistant write the code to plot a chart: More to come This is initial experimental support for the OpenAI API. Future improvements under consideration include: GitHub issues are welcome! For more information, see the OpenAI compatibility docs.

    匹配字段正文

星期一

  1. Lilian Weng:Lil'Log

    Lilian Weng 谈高质量人类数据:众包标注与评分者一致性

    Lilian Weng 在 Lil'Log 撰文讨论高质量人类数据对深度学习训练的价值,指出数据收集涉及任务设计、评分者筛选训练与数据聚合三个环节。文章回顾 1907 年 Nature 的“Vox populi”牛体重竞猜,以及 Callison-Burch 2009 年用 Amazon Mechanical Turk 做机器翻译非专家评估的研究,并介绍多数投票、Cohen's Kappa、MACE 等评分者一致性度量方法。

    e trusted candidate set $\mathcal{C}$ and more noisy samples are removed. Cited as: Weng, Lilian. (Feb 2024). “Thinking about High-Quality Human Data”. Lil’Log. https://lilianweng.github.io/posts/2024-02-05-human-data-quality/. Or [1] Francis Galton “Vox populi” Nature 75, 450-451 (1907). [2] Sambasivan et al. “Everyone wants to do the model work, not the data work”: Data Cascades in High-Stakes AI" CHI 2021 [3] Chris Callison-Burch. “Fast, Cheap, and Creative: Evaluating Translation Quality Usi

    匹配字段正文

星期五

  1. FutureHouse Research精选

    FutureHouse 发布 WikiCrow:自动为 15616 个人类蛋白编码基因生成维基式条目

    FutureHouse 发布 WikiCrow,一个基于其 PaperQA 智能体平台的自动合成系统,可为技术主题生成带引用的维基百科式摘要。团队用它为 15616 个尚无条目或仅有残篇的人类蛋白编码基因生成草稿,每篇约 8 分钟,50 个实例并行,几天内完成,估计人工需约 60000 小时。评测显示 WikiCrow 约 9% 的陈述不正确,但引用来源的一致性明显优于人类编辑;PaperQA 在 PubMedQA Blind、MedQA-USMLE 及自建 LitQA 基准上优于 GPT-4、Perplexity 等系统。

    team at Allen Institute for AI , whose API for exploring the citation graph of science is a key feature of PaperQA. We plan to make the full WikiCrow and PaperQA code available on GitHub soon. Until then, the essential aspects of the PaperQA algorithm are available (although you will need access to your own repository of full text scientific articles), as well as the prompts used for WikiCrow . Benchmarking PaperQA In our evaluations, PaperQA outperforms GPT-4, Perplexity, and other LLMs, as wel

    匹配字段正文

星期三

  1. Lilian Weng:Lil'Log

    LLM 的对抗攻击:Lilian Weng 解析威胁模型与五类攻击方法

    Lilian Weng 在 Lil'Log 撰文梳理针对大语言模型的对抗攻击,假定攻击只发生在推理阶段、模型权重固定,并区分白盒与黑盒两种设定。文章介绍了 Token 操纵、基于梯度的攻击、越狱提示词、人工红队与模型红队五类方法,其中 Token 操纵类攻击可在黑盒条件下进行,如 TextFooler、BERT-Attack 等。

    ctiveness is measured by attack objective functions designed for different experiments: - In text-to-image experiment, they used Q16 (Schramowski et al. 2022) and NudeNet (https://github.com/notAI-tech/NudeNet). - text-to-text experiment: TOXIGEN; Diversity is measured by pairwise dissimilarity, in form of $\sum {(\mathbf{x} i, \mathbf{x} j) \in \text{All pairs}} [1 - \text{sim}(\mathbf{x} i, \mathbf{x} j)]$; Low-toxicity is measured by Perspective API; Scoring-LIFO: Combine LIFO and Scoring str

    匹配字段正文

星期六

  1. The Gradient

    神经算法推理:让神经网络学会执行经典算法

    The Gradient 刊文探讨神经算法推理,即用深度神经网络捕捉最短路径、排序等经典算法计算。文章指出,MIT 的《What Can Neural Networks Reason About?》证明算法对齐越好泛化越好,GNN 与动态规划天然对齐,在 DP 执行基准上优于归纳偏置较弱的架构。作者同时提醒,算法对齐并不能让人随意套用任意表达力强的 GNN,分布外表现仍是关键挑战。

    任务高度相关的目标算法,并且处理器是使用基于这些算法构建的定制执行数据集来训练的。这通常既需要领域专业知识,也需要计算机科学专业知识,因此构成了明显的入门门槛! 自从我开始从事NAR以来,我一直对降低这一入门门槛抱有浓厚兴趣,同时也希望提供一组在各种任务中都应该有用的“基础处理器”。这促成了为期两年的工程努力,最终开源了CLRS算法推理基准(https://github.com/deepmind/clrs)[44]。 CLRS基准的灵感来自Cormen、Leiserson、Rivest和Stein的经典教材《算法导论》(CLRS)[1],这是关于经典算法和数据结构最受欢迎的本科教材之一,也是竞赛程序员的“圣经”。尽管它有数千页之多,却只包含约90种不同的算法,而这些算法往往构成了整个软件工程职业生涯的基础!因此,CLRS中的算法可以构成我们所需的坚实的“基础处理器”集合,我们着手让构建和训练NAR处理器来执行CLRS中的算法变得容易。 在其第一个版本中,我们发布了CLRS-30,这是CLRS中三十种算法的数据集和处理器生成器集合,涵盖多种技能:排序、搜索、动态规划、图算法、字符串算法和

    匹配字段正文

星期二

  1. Ollama Blog

    在本地运行 Llama 2 无审查模型 · Ollama Blog

    Ollama 发布博客介绍如何在本地运行 Llama 2 无审查模型,并对比其与有审查版本的输出差异。可用模型包括微调后的 Llama 2 7B(ollama run llama2-uncensored)、基于 30 万条指令微调的 Nous Hermes Llama 2 13B(ollama run nous-hermes-llama2),以及移除对齐的 Wizard Vicuna 13B(ollama run wizard-vicuna)。

    mechanisms; Try it: ollama run nous-hermes-llama2; Eric Hartford’s Wizard Vicuna 13B uncensored Llama 1 13B model fine-tuned to remove alignment; Try it: ollama run wizard-vicuna Example output comparisons We’ve tried running the 7B Llama 2 model against the 7B llama2 uncensored model with the same prompts. Below are the outputs. Disclaimer: Uncensored models carry their own risk. Please use them accordingly. Try running uncensored models yourself with Ollama: https://github.com/jmorganca/ollama

    匹配字段正文