import{s as U,n as B,o as R}from"../chunks/scheduler.37c15a92.js";import{S as Y,i as D,g as h,s as a,r as q,A as G,h as f,f as o,c as l,j as E,u as N,x as H,k as A,y as J,a as n,v as F,d as I,t as S,w as z}from"../chunks/index.2bf4358c.js";import{C as K}from"../chunks/CourseFloatingBanner.15ba07e6.js";import{H as O}from"../chunks/Heading.8ada512a.js";function Q(k){let s,y,d,g,i,_,r,$,u,T="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.",b,m,j="More precisely, in this chapter you will learn:",v,p,L='<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>',x,c,M="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!",C,w,P;return i=new O({props:{title:"Introduction",local:"introduction",headingTag:"h1"}}),r=new K({props:{chapter:8,classNames:"absolute z-10 right-0 top-0"}}),{c(){s=h("meta"),y=a(),d=h("p"),g=a(),q(i.$$.fragment),_=a(),q(r.$$.fragment),$=a(),u=h("p"),u.textContent=T,b=a(),m=h("p"),m.textContent=j,v=a(),p=h("ul"),p.innerHTML=L,x=a(),c=h("p"),c.textContent=M,C=a(),w=h("p"),this.h()},l(t){const e=G("svelte-u9bgzb",document.head);s=f(e,"META",{name:!0,content:!0}),e.forEach(o),y=l(t),d=f(t,"P",{}),E(d).forEach(o),g=l(t),N(i.$$.fragment,t),_=l(t),N(r.$$.fragment,t),$=l(t),u=f(t,"P",{"data-svelte-h":!0}),H(u)!=="svelte-10n9566"&&(u.textContent=T),b=l(t),m=f(t,"P",{"data-svelte-h":!0}),H(m)!=="svelte-q5vjq6"&&(m.textContent=j),v=l(t),p=f(t,"UL",{"data-svelte-h":!0}),H(p)!=="svelte-1wogyao"&&(p.innerHTML=L),x=l(t),c=f(t,"P",{"data-svelte-h":!0}),H(c)!=="svelte-tmyhjr"&&(c.textContent=M),C=l(t),w=f(t,"P",{}),E(w).forEach(o),this.h()},h(){A(s,"name","hf:doc:metadata"),A(s,"content",V)},m(t,e){J(document.head,s),n(t,y,e),n(t,d,e),n(t,g,e),F(i,t,e),n(t,_,e),F(r,t,e),n(t,$,e),n(t,u,e),n(t,b,e),n(t,m,e),n(t,v,e),n(t,p,e),n(t,x,e),n(t,c,e),n(t,C,e),n(t,w,e),P=!0},p:B,i(t){P||(I(i.$$.fragment,t),I(r.$$.fragment,t),P=!0)},o(t){S(i.$$.fragment,t),S(r.$$.fragment,t),P=!1},d(t){t&&(o(y),o(d),o(g),o(_),o($),o(u),o(b),o(m),o(v),o(p),o(x),o(c),o(C),o(w)),o(s),z(i,t),z(r,t)}}}const V='{"title":"Introduction","local":"introduction","sections":[],"depth":1}';function W(k){return R(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ot extends Y{constructor(s){super(),D(this,s,W,Q,U,{})}}export{ot as component};
