import{s as R,n as Y,o as D}from"../chunks/scheduler.cc52f4b9.js";import{S as J,i as K,e as $,s,c as M,h as Q,a as g,d as o,b as a,f as G,g as E,j,k as O,l as V,m as n,n as q,t as N,o as S,p as z}from"../chunks/index.5b747fde.js";import{C as W,H as X,E as Z}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d38ac5a9.js";import{C as tt}from"../chunks/CourseFloatingBanner.b33fcd79.js";function et(F){let i,w,y,b,l,x,r,_,u,v,m,I="Now that you know how to tackle the most common NLP tasks with 🤗 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’ll learn how to successfully debug your code or your training, and how to ask the community for help if you don’t manage to solve the problem by yourself. And if you think you’ve found a bug in one of the Hugging Face libraries, we’ll show you the best way to report it so that the issue is resolved as quickly as possible.",C,p,A="More precisely, in this chapter you will learn:",P,f,U='<li>The first thing to do when you get an error</li> <li>How to ask for help on the <a href="https://discuss.huggingface.co/" rel="nofollow">forums</a></li> <li>How to debug your training pipeline</li> <li>How to write a good issue</li>',H,h,B="None of this is specifically related to 🤗 Transformers or the Hugging Face ecosystem, of course; the lessons from this chapter are applicable to most open source projects!",k,c,T,d,L;return l=new W({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new X({props:{title:"Introduction",local:"introduction",headingTag:"h1"}}),u=new tt({props:{chapter:8,classNames:"absolute z-10 right-0 top-0"}}),c=new Z({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter8/1.mdx"}}),{c(){i=$("meta"),w=s(),y=$("p"),b=s(),M(l.$$.fragment),x=s(),M(r.$$.fragment),_=s(),M(u.$$.fragment),v=s(),m=$("p"),m.textContent=I,C=s(),p=$("p"),p.textContent=A,P=s(),f=$("ul"),f.innerHTML=U,H=s(),h=$("p"),h.textContent=B,k=s(),M(c.$$.fragment),T=s(),d=$("p"),this.h()},l(t){const e=Q("svelte-u9bgzb",document.head);i=g(e,"META",{name:!0,content:!0}),e.forEach(o),w=a(t),y=g(t,"P",{}),G(y).forEach(o),b=a(t),E(l.$$.fragment,t),x=a(t),E(r.$$.fragment,t),_=a(t),E(u.$$.fragment,t),v=a(t),m=g(t,"P",{"data-svelte-h":!0}),j(m)!=="svelte-10n9566"&&(m.textContent=I),C=a(t),p=g(t,"P",{"data-svelte-h":!0}),j(p)!=="svelte-q5vjq6"&&(p.textContent=A),P=a(t),f=g(t,"UL",{"data-svelte-h":!0}),j(f)!=="svelte-1wogyao"&&(f.innerHTML=U),H=a(t),h=g(t,"P",{"data-svelte-h":!0}),j(h)!=="svelte-tmyhjr"&&(h.textContent=B),k=a(t),E(c.$$.fragment,t),T=a(t),d=g(t,"P",{}),G(d).forEach(o),this.h()},h(){O(i,"name","hf:doc:metadata"),O(i,"content",ot)},m(t,e){V(document.head,i),n(t,w,e),n(t,y,e),n(t,b,e),q(l,t,e),n(t,x,e),q(r,t,e),n(t,_,e),q(u,t,e),n(t,v,e),n(t,m,e),n(t,C,e),n(t,p,e),n(t,P,e),n(t,f,e),n(t,H,e),n(t,h,e),n(t,k,e),q(c,t,e),n(t,T,e),n(t,d,e),L=!0},p:Y,i(t){L||(N(l.$$.fragment,t),N(r.$$.fragment,t),N(u.$$.fragment,t),N(c.$$.fragment,t),L=!0)},o(t){S(l.$$.fragment,t),S(r.$$.fragment,t),S(u.$$.fragment,t),S(c.$$.fragment,t),L=!1},d(t){t&&(o(w),o(y),o(b),o(x),o(_),o(v),o(m),o(C),o(p),o(P),o(f),o(H),o(h),o(k),o(T),o(d)),o(i),z(l,t),z(r,t),z(u,t),z(c,t)}}}const ot='{"title":"Introduction","local":"introduction","sections":[],"depth":1}';function nt(F){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends J{constructor(i){super(),K(this,i,nt,et,R,{})}}export{rt as component};
