import{s as Q,n as W,o as X}from"../chunks/scheduler.12fdeddc.js";import{S as Z,i as ee,g as l,s as o,r as w,A as te,h as d,f as a,c as s,j as N,u as y,x as _,k as G,y as ae,a as n,v as x,d as H,t as B,w as M}from"../chunks/index.88dae322.js";import{H as D,E as ne}from"../chunks/getInferenceSnippets.00466244.js";function oe(R){let r,L,v,k,u,P,m,V="TensorBoard provides tooling for tracking and visualizing metrics as well as visualizing models. All repositories that contain TensorBoard traces have an automatic tab with a hosted TensorBoard instance for anyone to check it out without any additional effort!",A,f,C,c,Y='Over 52k repositories have TensorBoard traces on the Hub. You can find them by filtering at the left of the <a href="https://huggingface.co/models?filter=tensorboard" rel="nofollow">models page</a>. As an example, if you go to the <a href="https://huggingface.co/aubmindlab/bert-base-arabertv02" rel="nofollow">aubmindlab/bert-base-arabertv02</a> repository, there is a <strong>Metrics</strong> tab. If you select it, you’ll view a TensorBoard instance.',E,i,F='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-tensorflow.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-tensorflow-dark.png"/>',z,h,U,g,J="The Hub automatically detects TensorBoard traces (such as <code>tfevents</code>). Once you push your TensorBoard files to the Hub, they will automatically start an instance.",O,p,S,b,K='<li>TensorBoard <a href="https://www.tensorflow.org/tensorboard" rel="nofollow">documentation</a>.</li>',j,$,q,T,I;return u=new D({props:{title:"Using TensorBoard",local:"using-tensorboard",headingTag:"h1"}}),f=new D({props:{title:"Exploring TensorBoard models on the Hub",local:"exploring-tensorboard-models-on-the-hub",headingTag:"h2"}}),h=new D({props:{title:"Adding your TensorBoard traces",local:"adding-your-tensorboard-traces",headingTag:"h2"}}),p=new D({props:{title:"Additional resources",local:"additional-resources",headingTag:"h2"}}),$=new ne({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/tensorboard.md"}}),{c(){r=l("meta"),L=o(),v=l("p"),k=o(),w(u.$$.fragment),P=o(),m=l("p"),m.textContent=V,A=o(),w(f.$$.fragment),C=o(),c=l("p"),c.innerHTML=Y,E=o(),i=l("div"),i.innerHTML=F,z=o(),w(h.$$.fragment),U=o(),g=l("p"),g.innerHTML=J,O=o(),w(p.$$.fragment),S=o(),b=l("ul"),b.innerHTML=K,j=o(),w($.$$.fragment),q=o(),T=l("p"),this.h()},l(e){const t=te("svelte-u9bgzb",document.head);r=d(t,"META",{name:!0,content:!0}),t.forEach(a),L=s(e),v=d(e,"P",{}),N(v).forEach(a),k=s(e),y(u.$$.fragment,e),P=s(e),m=d(e,"P",{"data-svelte-h":!0}),_(m)!=="svelte-1tuul32"&&(m.textContent=V),A=s(e),y(f.$$.fragment,e),C=s(e),c=d(e,"P",{"data-svelte-h":!0}),_(c)!=="svelte-1y4sb1m"&&(c.innerHTML=Y),E=s(e),i=d(e,"DIV",{class:!0,"data-svelte-h":!0}),_(i)!=="svelte-1hia6xz"&&(i.innerHTML=F),z=s(e),y(h.$$.fragment,e),U=s(e),g=d(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-bgwmql"&&(g.innerHTML=J),O=s(e),y(p.$$.fragment,e),S=s(e),b=d(e,"UL",{"data-svelte-h":!0}),_(b)!=="svelte-nw7l8o"&&(b.innerHTML=K),j=s(e),y($.$$.fragment,e),q=s(e),T=d(e,"P",{}),N(T).forEach(a),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",se),G(i,"class","flex justify-center")},m(e,t){ae(document.head,r),n(e,L,t),n(e,v,t),n(e,k,t),x(u,e,t),n(e,P,t),n(e,m,t),n(e,A,t),x(f,e,t),n(e,C,t),n(e,c,t),n(e,E,t),n(e,i,t),n(e,z,t),x(h,e,t),n(e,U,t),n(e,g,t),n(e,O,t),x(p,e,t),n(e,S,t),n(e,b,t),n(e,j,t),x($,e,t),n(e,q,t),n(e,T,t),I=!0},p:W,i(e){I||(H(u.$$.fragment,e),H(f.$$.fragment,e),H(h.$$.fragment,e),H(p.$$.fragment,e),H($.$$.fragment,e),I=!0)},o(e){B(u.$$.fragment,e),B(f.$$.fragment,e),B(h.$$.fragment,e),B(p.$$.fragment,e),B($.$$.fragment,e),I=!1},d(e){e&&(a(L),a(v),a(k),a(P),a(m),a(A),a(C),a(c),a(E),a(i),a(z),a(U),a(g),a(O),a(S),a(b),a(j),a(q),a(T)),a(r),M(u,e),M(f,e),M(h,e),M(p,e),M($,e)}}}const se='{"title":"Using TensorBoard","local":"using-tensorboard","sections":[{"title":"Exploring TensorBoard models on the Hub","local":"exploring-tensorboard-models-on-the-hub","sections":[],"depth":2},{"title":"Adding your TensorBoard traces","local":"adding-your-tensorboard-traces","sections":[],"depth":2},{"title":"Additional resources","local":"additional-resources","sections":[],"depth":2}],"depth":1}';function re(R){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends Z{constructor(r){super(),ee(this,r,re,oe,Q,{})}}export{ue as component};
