←搜索结果

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

星期五

  1. Mistral AI

    通过微调释放视觉语言模型在卫星图像上的潜力

    Mistral AI 微调 Pixtral-12B 后,将 AID 卫星图像分类的总体准确率从 0.56 提升至 0.91,并把无效类别幻觉率从 5% 降至 0.1%。实验使用 8,000 个训练样本和 2,000 个测试样本,覆盖 30 个类别,预算不超过 $10。

    1 Pixal 12b

    tial; Commercial; Forest; Airport; Bridge; Park; Farmland; SparseResidential; BaseballField; School; Playground; Square; Stadium; Meadow; Beach; Resort; DenseResidential; Port; StorageTanks; Pond; Viaduct; Industrial; Center. - Output your result using exclusively the following schema: {'image description': FieldInfo(annotation=str, required=True), 'label': FieldInfo(annotation=str, required=True)} - Put your results between a json tag json Some classes can be quite challenging to differentiate

    匹配字段正文

星期一

  1. vLLM 官方博客

    MiniMax-M1 混合架构如何借助 vLLM 实现长上下文快速推理

    vLLM 通过内存管理与底层计算优化支持 MiniMax-M1 的混合架构,实现长上下文高效推理与部署。MiniMax-M1 总参数量为 456B,推理时动态激活约 45.9B 参数;其 Lightning Attention 已通过 Triton 集成至 vLLM。文章还提供了使用 vLLM 和 Docker 部署该模型的快速指南。

    , a technique for managing attention key-value caches more efficiently. Instead of storing the kv-cache contiguously, vLLM divides it into multiple memory pages, greatly reducing fragmentation and over-allocation. This allows vLLM to minimize memory waste to under 4%, compared to 60%-80% with traditional approaches. Such efficient memory handling is crucial for models like MiniMax-M1 that support ultra-long context lengths, ensuring smooth and stable inference without running into memory bottlen

    匹配字段正文

星期五

  1. Anthropic Engineering精选

    Anthropic 如何构建多智能体研究系统

    Anthropic 工程团队公开了 Claude Research 功能背后的多智能体架构:由主智能体规划并派生并行子智能体搜索,采用 orchestrator-worker 模式。内部评测显示,以 Claude Opus 4 为主智能体、Claude Sonnet 4 为子智能体的多智能体系统在内部研究评测上比单智能体 Claude Opus 4 高出 90.2%,但多智能体系统消耗的 token 约为普通对话的 15 倍。文章还给出提示词设计、工具描述、LLM-as-judge 评估以及生产环境可靠性方面的具体经验。

    AI agent companies in 2025, and then returning a list of companies to the lead agent so it can compile a final answer. Traditional approaches using Retrieval Augmented Generation (RAG) use static retrieval. That is, they fetch some set of chunks that are most similar to an input query and use these chunks to generate a response. In contrast, our architecture uses a multi-step search that dynamically finds relevant information, adapts to new findings, and analyzes results to formulate high-qualit

    匹配字段正文

星期一

  1. Mario Zechner 原创博客精选

    把提示词当代码:用 port.md 和 JSON 状态做跨语言代码移植

    作者提出把 LLM 视为一台缓慢且不可靠的计算机,用自然语言编写程序:提示词是程序,JSON 和 Markdown 文件是持久状态,工具调用是 I/O。他以 Spine 运行时从 Java 到 C++ 的移植为例,用 port.md 定义工作流、用 porting-plan.json 记录每个类型的 portingState 以便随时恢复,并借助 jq 精确读写状态、通过 MCP 扩展在 VS Code 中保留人工检查点。原本需要 2-3 周的移植工作现在缩短到 2-3 天,但复杂类型层级和执行流仍需人工判断。

    re anything; it tells the LLM what variable names to use when referencing these values extracted from the porting plan metadata later, similar to how variable assignments work. Storage happens implicitly in the LLM's context. The "in parallel" instruction tells the LLM to use multiple tools simultaneously rather than sequentially, speeding up execution. Step 2a first tries to read the conventions file using ${targetRuntime}-conventions.md - this is like string interpolation, where the LLM insert

    匹配字段正文

星期五

  1. vLLM 官方博客

    vLLM 如何集成 Transformers 建模后端

    vLLM 集成 Transformers 建模后端,让兼容模型在沿用 Transformers 实现的同时获得 vLLM 的吞吐量与延迟优化。该后端现已支持视觉语言模型,并可通过 model_impl="transformers"、OpenAI 兼容 API 或 LLM API 部署;对于 vLLM 尚未原生支持的兼容模型,系统也可自动切换到 Transformers 实现。

    ed for high-throughput inference, pulling models from the Hugging Face Hub and optimizing them for production-ready performance. A recent addition to the vLLM codebase enables leveraging Transformers as a backend for model implementations. vLLM will therefore optimize throughput/latency on top of existing Transformers architectures. In this post, we’ll explore how vLLM leverages the Transformers modeling backend to combine flexibility with efficiency, enabling you to deploy state-of-the-art mode

    匹配字段正文

星期四

  1. Anthropic Engineering精选

    Anthropic 详解 think 工具:让 Claude 在复杂工具调用中停下来思考

    Anthropic 介绍 think 工具,它让 Claude 在生成回复过程中插入一个专门的思考步骤,用于处理工具返回结果、遵循复杂策略和多步顺序决策。在 τ-bench 客服场景中,航空领域配合优化提示词后 pass^1 从基线 0.370 提升到 0.570,零售领域单用 think 工具达到 0.812;SWE-bench 中加入该工具使表现平均提升 1.6%,助力 Claude 3.7 Sonnet 取得 0.623 的 SOTA 分数。文章给出 think 工具的定义示例、优化提示词写法,并指出非顺序工具调用和简单指令遵循场景不会带来提升。

    vironment database The primary evaluation metric used in τ-bench is pass^ k , which measures the probability that all k independent task trials are successful for a given task, averaged across all tasks. Unlike the pass@ k metric that is common for other LLM evaluations (which measures if at least one of k trials succeeds), pass^ k evaluates consistency and reliability—critical qualities for customer service applications where consistent adherence to policies is essential. Performance Analysis O

    匹配字段正文

星期二

  1. Mistral AI

    Mistral AI 用智能体工作流加速产品开发

    Mistral AI 构建了 TranscriptToPRDTicket 智能体工作流,可将会议转录自动生成 PRD 和开发工单。该系统由基于 Mistral Large 2 的 PRDAgent 与 TicketCreationAgent 组成,并可在 Linear、Jira 等项目管理工具中创建结构化工单。

    Diagram Prd High Level Overview

    tion ensures teams can move from discussion to development with minimal manual intervention. Figure 2: TranscriptToPRDTicket agentic workflow At its core, our agentic solution leverages two key components: PRDAgent and TicketCreationAgent, both powered by Mistral Large 2, a state-of-the-art LLM. The workflow follows a clear progression: Meeting transcripts serve as the input, capturing raw stakeholder discussions. PRDAgent processes these transcripts to generate comprehensive PRDs. TicketCreatio

    匹配字段正文

星期一

  1. vLLM 官方博客

    vLLM 分布式推理中的张量并行与流水线并行

    vLLM 介绍了如何结合张量并行和流水线并行,在多 GPU 或多节点上部署超出单卡容量的大模型。张量并行可降低延迟但依赖高带宽互连,流水线并行通信开销较低且更适合跨节点部署。案例中从 TP=1 扩展到 TP=2 后,KV cache block 增加 13.9x,token 吞吐量提升 3.9x。

    e models efficiently requires a combination of Tensor Parallelism, Pipeline Parallelism, and performance optimizations like Chunked Prefill. vLLM enables scalable inference by leveraging these techniques while ensuring adaptability across different hardware accelerators. As we continue to enhance vLLM, staying informed about new developments such as expert parallelism for Mixture of Experts (MoE) and expanded quantization support will be crucial for optimizing AI workloads. Come to the Bi-weekly

    匹配字段正文

星期二

  1. vLLM 官方博客

    vLLM 结构化解码入门与 XGrammar 集成解析

    vLLM 介绍结构化解码的原理与实现,并已支持 Outlines 和 XGrammar 两种后端,以约束大语言模型输出符合指定结构。XGrammar 集成在负载下可将每个输出 token 的生成时间改善至多 5x,不适用的请求会回退至 Outlines。规划中的 v1 将重点优化性能,并探索调度器级掩码广播以支持混合请求批处理。

    top level view of structure decoding

    es backends: In vLLM’s v0 architecture, we've implemented XGrammar as a logit processor, optimizing it with caching for tokenizer data. While the performance improvements are encouraging, we believe there's still significant room for optimization. There are still a few usability concerns in XGrammar v0 integration to match feature parity with all use cases: It is yet to support grammars other than GBNF format (PR on vLLM: github); It is yet to support regex; It is yet to support complex JSON tha

    匹配字段正文

星期四

  1. Anthropic Engineering精选

    Anthropic 谈如何构建高效智能体:从工作流到自主 Agent 的模式与取舍

    Anthropic 工程博客总结与数十个团队共建 LLM 智能体的经验,指出最成功的实现并未使用复杂框架,而是采用简单可组合的模式。文章区分了由预定义代码路径编排的工作流与由 LLM 自主决定流程和工具使用的 Agent,并给出提示词链、路由、并行化、编排者-工作者、评估者-优化者五种工作流模式及各自适用场景。作者建议从直接调用 LLM API 和简单提示词起步,仅在简单方案不足时才增加多步智能体系统的复杂度,并强调工具文档与 agent-computer interface(ACI)的设计投入应与 HCI 相当。

    h. When and how to use frameworks There are many frameworks that make agentic systems easier to implement, including: The Claude Agent SDK ; Strands Agents SDK by AWS ; Rivet , a drag and drop GUI LLM workflow builder; and Vellum , another GUI tool for building and testing complex workflows. We suggest that developers start by using LLM APIs directly: many patterns can be implemented in a few lines of code. If you do use a framework, ensure you understand the underlying code. Incorrect assumptio

    匹配字段正文

星期三

  1. vLLM 官方博客

    在 AMD MI300X 上用 vLLM 服务大语言模型的最佳实践

    vLLM 官方博客给出在 AMD MI300X 上部署大语言模型的优化指南,涵盖分块预填充、多步调度、前缀缓存、图捕获、KV cache 和张量并行等 8 项设置。测试中,vLLM 服务 Llama 3.1 405B 时比 TGI 吞吐量高 1.5x、TTFT 快 1.7x,服务 Llama 3.1 70B 时吞吐量高 1.8x、TTFT 快 5.1x。

    5B. It also achieves 1.8x higher throughput and 5.1x faster TTFT than TGI for Llama 3.1 70B. This guide explores 8 key vLLM settings to maximize efficiency, showing you how to leverage the power of open-source LLM inference on AMD. If you just want to see the optimal parameters, jump to the Quick Start Guide. Introduction Meta recently announced they're running 100% of their live Llama 3.1 405B model traffic on AMD MI300X GPUs, showcasing the power and readiness of AMD's ROCm platform for large

    匹配字段正文

星期四

  1. vLLM 官方博客

    推测解码如何将 vLLM 性能提升至 2.8x

    vLLM 通过推测解码让小模型提出候选 token、再由大模型批量验证,在不牺牲准确性的前提下降低生成延迟。测试中,基于草稿模型的方法在 ShareGPT 数据集上实现最高 1.5x 加速,提示词查找解码在 CNN/DailyMail 摘要数据集上达到最高 2.8x。该方法更适合低 QPS 环境,高 QPS 下可能因额外计算产生性能损失。

    Speculative decoding in vLLM is a powerful technique that accelerates token generation by leveraging both small and large models in tandem. In this blog, we’ll break down speculative decoding in vLLM, how it works, and the performance improvements it brings. This content is based on a session from our bi-weekly vLLM Office Hours, where we discuss techniques and updates to optimize vLLM performance. You can view the session slides here. If you prefer watching, you can view the full recording on Y

    匹配字段正文

星期五

  1. Lilian Weng:Lil'Log

    LLM 驱动的自主智能体:规划、记忆与工具调用综述

    Lilian Weng 在 Lil'Log 撰文梳理以 LLM 为核心控制器的自主智能体架构,将其拆解为规划、记忆和工具调用三大组件。规划部分涵盖 CoT、Tree of Thoughts、LLM+P 等任务分解方法,以及 ReAct、Reflexion、Chain of Hindsight、Algorithm Distillation 等自我反思机制。记忆部分区分短期上下文学习与基于外部向量库的长期记忆,并介绍 LSH、ANNOY、HNSW、FAISS、ScaNN 等快速 MIPS 检索算法;工具调用部分则列举 MRKL、TALM、Toolformer、HuggingGPT、API-Bank 以及 ChemCrow 等科学发现智能体案例。文末指出有限上下文长度、长期规划与任务分解、自然语言接口可靠性三类常见局限。

    rt-term memory of the model to learn; Long-term memory: This provides the agent with the capability to retain and recall (infinite) information over extended periods, often by leveraging an external vector store and fast retrieval; Tool use The agent learns to call external APIs for extra information that is missing from the model weights (often hard to change after pre-training), including current information, code execution capability, access to proprietary information sources and more A compl

    匹配字段正文

星期三

  1. Lilian Weng:Lil'Log

    Lilian Weng 长文梳理提示词工程方法:从零样本到 CoT 与工具调用

    Lilian Weng 发布提示词工程综述,系统梳理零样本、少样本、指令提示、CoT、自洽采样、检索增强与外部工具调用等方法,并指出提示词效果因模型而异,需要大量实验和启发式调整。文章还汇总了示例选择与排序、自动提示词生成、Tree of Thoughts、Toolformer 等方向的研究,并附 26 篇论文引用。

    e }s(v)=\rho^{- \vert \{\ell \in \mathcal{L} \vert (v, \ell)\in E \}\vert},\quad\rho 1 $$ such that $s(v)$ is low if many of $v$’s neighbors are selected and thus the scoring encourages to pick diverse samples; Rubin et al. (2022) proposed to train embeddings via contrastive learning specific to one training dataset for in-context learning sample selection. Given each training pair $(x, y)$, the quality of one example $e i$ (formatted input-output pair) can be measured by a conditioned probabili

    匹配字段正文