import{S as ye,i as we,s as de,e as s,k as u,w as ue,t as p,M as ge,c as a,d as t,m as h,a as l,x as he,h as m,b as d,G as o,g as n,y as ce,L as ve,q as fe,o as pe,B as me,v as _e}from"../../chunks/vendor-hf-doc-builder.js";import{I as be}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as ke}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";function $e(X){let c,x,f,y,H,g,C,I,B,A,v,T,b,U,S,k,Y,q,i,L,z,G,$,J,_,O,R,N,D,K,P,Q,F,E,V,M;return g=new be({}),v=new ke({props:{chapter:8,classNames:"absolute z-10 right-0 top-0"}}),{c(){c=s("meta"),x=u(),f=s("h1"),y=s("a"),H=s("span"),ue(g.$$.fragment),C=u(),I=s("span"),B=p("Introduction"),A=u(),ue(v.$$.fragment),T=u(),b=s("p"),U=p("Now that you know how to tackle the most common NLP tasks with \u{1F917} Transformers, you should be able to get started on your own projects! In this chapter we will explore what to do when you hit a problem. You\u2019ll learn how to successfully debug your code or your training, and how to ask the community for help if you don\u2019t manage to solve the problem by yourself. And if you think you\u2019ve found a bug in one of the Hugging Face libraries, we\u2019ll show you the best way to report it so that the issue is resolved as quickly as possible."),S=u(),k=s("p"),Y=p("More precisely, in this chapter you will learn:"),q=u(),i=s("ul"),L=s("li"),z=p("The first thing to do when you get an error"),G=u(),$=s("li"),J=p("How to ask for help on the "),_=s("a"),O=p("forums"),R=u(),N=s("li"),D=p("How to debug your training pipeline"),K=u(),P=s("li"),Q=p("How to write a good issue"),F=u(),E=s("p"),V=p("None of this is specifically related to \u{1F917} Transformers or the Hugging Face ecosystem, of course; the lessons from this chapter are applicable to most open source projects!"),this.h()},l(e){const r=ge('[data-svelte="svelte-1phssyn"]',document.head);c=a(r,"META",{name:!0,content:!0}),r.forEach(t),x=h(e),f=a(e,"H1",{class:!0});var j=l(f);y=a(j,"A",{id:!0,class:!0,href:!0});var Z=l(y);H=a(Z,"SPAN",{});var ee=l(H);he(g.$$.fragment,ee),ee.forEach(t),Z.forEach(t),C=h(j),I=a(j,"SPAN",{});var te=l(I);B=m(te,"Introduction"),te.forEach(t),j.forEach(t),A=h(e),he(v.$$.fragment,e),T=h(e),b=a(e,"P",{});var oe=l(b);U=m(oe,"Now that you know how to tackle the most common NLP tasks with \u{1F917} Transformers, you should be able to get started on your own projects! In this chapter we will explore what to do when you hit a problem. You\u2019ll learn how to successfully debug your code or your training, and how to ask the community for help if you don\u2019t manage to solve the problem by yourself. And if you think you\u2019ve found a bug in one of the Hugging Face libraries, we\u2019ll show you the best way to report it so that the issue is resolved as quickly as possible."),oe.forEach(t),S=h(e),k=a(e,"P",{});var re=l(k);Y=m(re,"More precisely, in this chapter you will learn:"),re.forEach(t),q=h(e),i=a(e,"UL",{});var w=l(i);L=a(w,"LI",{});var se=l(L);z=m(se,"The first thing to do when you get an error"),se.forEach(t),G=h(w),$=a(w,"LI",{});var W=l($);J=m(W,"How to ask for help on the "),_=a(W,"A",{href:!0,rel:!0});var ae=l(_);O=m(ae,"forums"),ae.forEach(t),W.forEach(t),R=h(w),N=a(w,"LI",{});var le=l(N);D=m(le,"How to debug your training pipeline"),le.forEach(t),K=h(w),P=a(w,"LI",{});var ie=l(P);Q=m(ie,"How to write a good issue"),ie.forEach(t),w.forEach(t),F=h(e),E=a(e,"P",{});var ne=l(E);V=m(ne,"None of this is specifically related to \u{1F917} Transformers or the Hugging Face ecosystem, of course; the lessons from this chapter are applicable to most open source projects!"),ne.forEach(t),this.h()},h(){d(c,"name","hf:doc:metadata"),d(c,"content",JSON.stringify(Ee)),d(y,"id","introduction"),d(y,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(y,"href","#introduction"),d(f,"class","relative group"),d(_,"href","https://discuss.huggingface.co/"),d(_,"rel","nofollow")},m(e,r){o(document.head,c),n(e,x,r),n(e,f,r),o(f,y),o(y,H),ce(g,H,null),o(f,C),o(f,I),o(I,B),n(e,A,r),ce(v,e,r),n(e,T,r),n(e,b,r),o(b,U),n(e,S,r),n(e,k,r),o(k,Y),n(e,q,r),n(e,i,r),o(i,L),o(L,z),o(i,G),o(i,$),o($,J),o($,_),o(_,O),o(i,R),o(i,N),o(N,D),o(i,K),o(i,P),o(P,Q),n(e,F,r),n(e,E,r),o(E,V),M=!0},p:ve,i(e){M||(fe(g.$$.fragment,e),fe(v.$$.fragment,e),M=!0)},o(e){pe(g.$$.fragment,e),pe(v.$$.fragment,e),M=!1},d(e){t(c),e&&t(x),e&&t(f),me(g),e&&t(A),me(v,e),e&&t(T),e&&t(b),e&&t(S),e&&t(k),e&&t(q),e&&t(i),e&&t(F),e&&t(E)}}}const Ee={local:"introduction",title:"Introduction"};function He(X){return _e(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Pe extends ye{constructor(c){super();we(this,c,He,$e,de,{})}}export{Pe as default,Ee as metadata};
