TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Weave: Interactive Data Exploration Toolkit by Weights and Biases

49 点作者 sicariusnoctis将近 2 年前

1 comment

slewis将近 2 年前
Hi! I&#x27;m Shawn, founder&#x2F;CTO at Weights &amp; Biases. We&#x27;ve been working on Weave for a couple years now, and it powers core parts of wandb.ai.<p>It&#x27;s a UI toolkit built for programmers that can be reprogrammed from the UI itself. You might call it a &quot;yes-code UI&quot; :)<p>I&#x27;m very happy that we were able to release Weave under Apache2 yesterday, and there is a lot of cool new technology in here that we haven&#x27;t had a chance to describe yet! I&#x27;ll just try to give a quick tech summary for now.<p>There are three core components in Weave: Types, Ops, and Panels.<p>Ops are typed functions like:<p><pre><code> @weave.op() def flip_lr(im: Image.Image) -&gt; Image.Image: return im.transpose(Image.Transpose.FLIP_LEFT_RIGHT) </code></pre> Panels are UI elements that register to render a given type:<p><pre><code> @weave.type() class BertvizHeadView(weave.Panel): id = &quot;BertvizHeadView&quot; input_node: weave.Node[huggingface.ModelOutputAttention] @weave.op() def render(self) -&gt; weave.panels.PanelHtml: html = bertviz_head_view(self.input_node) return weave.panels.PanelHtml(html) </code></pre> And they can render other panels.<p>Panels can expose editable expressions (compositions of Weave ops) to the user, to give them control over what data transforms happen.<p>We call it Weave because it &quot;Weaves a compute graph through the UI&quot;.<p>Weave includes a vectorizing DAG execution engine built on apache arrow, serialization and data versioning capabilities, and batteries Panels like Table and Plot.<p>We&#x27;ll be writing and sharing a lot more now that the release is done. In the meantime, happy to answer any questions!
评论 #36244461 未加载