import{s as X,n as Z,o as ee}from"../chunks/scheduler.9cda857a.js";import{S as te,i as ae,e as l,s as o,c as v,h as ne,a as m,d as a,b as s,f as W,g as w,j as L,k as V,l as oe,m as n,n as y,t as x,o as _,p as H}from"../chunks/index.003612b0.js";import{C as se}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as R,E as re}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function ie(Y){let r,C,B,k,d,P,u,E,f,F="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,p,z,c,J='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.',S,i,K='<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"/>',U,g,O,h,N="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.",j,$,q,b,Q='<li>TensorBoard <a href="https://www.tensorflow.org/tensorboard" rel="nofollow">documentation</a>.</li>',I,T,D,M,G;return d=new se({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new R({props:{title:"Using TensorBoard",local:"using-tensorboard",headingTag:"h1"}}),p=new R({props:{title:"Exploring TensorBoard models on the Hub",local:"exploring-tensorboard-models-on-the-hub",headingTag:"h2"}}),g=new R({props:{title:"Adding your TensorBoard traces",local:"adding-your-tensorboard-traces",headingTag:"h2"}}),$=new R({props:{title:"Additional resources",local:"additional-resources",headingTag:"h2"}}),T=new re({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/tensorboard.md"}}),{c(){r=l("meta"),C=o(),B=l("p"),k=o(),v(d.$$.fragment),P=o(),v(u.$$.fragment),E=o(),f=l("p"),f.textContent=F,A=o(),v(p.$$.fragment),z=o(),c=l("p"),c.innerHTML=J,S=o(),i=l("div"),i.innerHTML=K,U=o(),v(g.$$.fragment),O=o(),h=l("p"),h.innerHTML=N,j=o(),v($.$$.fragment),q=o(),b=l("ul"),b.innerHTML=Q,I=o(),v(T.$$.fragment),D=o(),M=l("p"),this.h()},l(e){const t=ne("svelte-u9bgzb",document.head);r=m(t,"META",{name:!0,content:!0}),t.forEach(a),C=s(e),B=m(e,"P",{}),W(B).forEach(a),k=s(e),w(d.$$.fragment,e),P=s(e),w(u.$$.fragment,e),E=s(e),f=m(e,"P",{"data-svelte-h":!0}),L(f)!=="svelte-1tuul32"&&(f.textContent=F),A=s(e),w(p.$$.fragment,e),z=s(e),c=m(e,"P",{"data-svelte-h":!0}),L(c)!=="svelte-1y4sb1m"&&(c.innerHTML=J),S=s(e),i=m(e,"DIV",{class:!0,"data-svelte-h":!0}),L(i)!=="svelte-1hia6xz"&&(i.innerHTML=K),U=s(e),w(g.$$.fragment,e),O=s(e),h=m(e,"P",{"data-svelte-h":!0}),L(h)!=="svelte-bgwmql"&&(h.innerHTML=N),j=s(e),w($.$$.fragment,e),q=s(e),b=m(e,"UL",{"data-svelte-h":!0}),L(b)!=="svelte-nw7l8o"&&(b.innerHTML=Q),I=s(e),w(T.$$.fragment,e),D=s(e),M=m(e,"P",{}),W(M).forEach(a),this.h()},h(){V(r,"name","hf:doc:metadata"),V(r,"content",le),V(i,"class","flex justify-center")},m(e,t){oe(document.head,r),n(e,C,t),n(e,B,t),n(e,k,t),y(d,e,t),n(e,P,t),y(u,e,t),n(e,E,t),n(e,f,t),n(e,A,t),y(p,e,t),n(e,z,t),n(e,c,t),n(e,S,t),n(e,i,t),n(e,U,t),y(g,e,t),n(e,O,t),n(e,h,t),n(e,j,t),y($,e,t),n(e,q,t),n(e,b,t),n(e,I,t),y(T,e,t),n(e,D,t),n(e,M,t),G=!0},p:Z,i(e){G||(x(d.$$.fragment,e),x(u.$$.fragment,e),x(p.$$.fragment,e),x(g.$$.fragment,e),x($.$$.fragment,e),x(T.$$.fragment,e),G=!0)},o(e){_(d.$$.fragment,e),_(u.$$.fragment,e),_(p.$$.fragment,e),_(g.$$.fragment,e),_($.$$.fragment,e),_(T.$$.fragment,e),G=!1},d(e){e&&(a(C),a(B),a(k),a(P),a(E),a(f),a(A),a(z),a(c),a(S),a(i),a(U),a(O),a(h),a(j),a(q),a(b),a(I),a(D),a(M)),a(r),H(d,e),H(u,e),H(p,e),H(g,e),H($,e),H(T,e)}}}const le='{"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 me(Y){return ee(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ce extends te{constructor(r){super(),ae(this,r,me,ie,X,{})}}export{ce as component};
