import{s as N,n as O,o as R}from"../chunks/scheduler.37c15a92.js";import{S as W,i as B,g as c,s as l,r as k,A as D,h,f as a,c as i,j as z,u as A,x as E,k as U,y as I,a as n,v as j,d as q,t as F,w as G}from"../chunks/index.2bf4358c.js";import{H as J,E as K}from"../chunks/getInferenceSnippets.80a69898.js";function Q(H){let s,d,_,x,o,g,m,L="既然您知道如何使用🤗 Transformers處理最常見的NLP任務，您應該能夠開始自己的項目了！在本章中，我們將探討遇到問題時該怎麼做。您將學習如何成功調試代碼或訓練，以及如果自己無法解決問題，如何向社區尋求幫助。如果您認為您在其中一個擁抱人臉庫中發現了錯誤，我們將向您展示報告它的最佳方式，以便儘快解決問題。",v,r,y="更準確地說，在本章中，您將學習：",C,u,M='<li>出現錯誤時要做的第一件事</li> <li>如何在網上尋求幫助<a href="https://discuss.huggingface.co/" rel="nofollow">forums</a></li> <li>如何調試您的訓練管道</li> <li>如何寫一個好問題</li>',P,p,S="當然，所有這些都與 🤗 Transformers 或Hugging Face 生態無關；本章的經驗教訓適用於大多數開源項目！",b,f,w,$,T;return o=new J({props:{title:"介紹",local:"介紹",headingTag:"h1"}}),f=new K({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-TW/chapter8/1.mdx"}}),{c(){s=c("meta"),d=l(),_=c("p"),x=l(),k(o.$$.fragment),g=l(),m=c("p"),m.textContent=L,v=l(),r=c("p"),r.textContent=y,C=l(),u=c("ul"),u.innerHTML=M,P=l(),p=c("p"),p.textContent=S,b=l(),k(f.$$.fragment),w=l(),$=c("p"),this.h()},l(t){const e=D("svelte-u9bgzb",document.head);s=h(e,"META",{name:!0,content:!0}),e.forEach(a),d=i(t),_=h(t,"P",{}),z(_).forEach(a),x=i(t),A(o.$$.fragment,t),g=i(t),m=h(t,"P",{"data-svelte-h":!0}),E(m)!=="svelte-11shbkx"&&(m.textContent=L),v=i(t),r=h(t,"P",{"data-svelte-h":!0}),E(r)!=="svelte-1tc4sgu"&&(r.textContent=y),C=i(t),u=h(t,"UL",{"data-svelte-h":!0}),E(u)!=="svelte-1so5cg6"&&(u.innerHTML=M),P=i(t),p=h(t,"P",{"data-svelte-h":!0}),E(p)!=="svelte-balltr"&&(p.textContent=S),b=i(t),A(f.$$.fragment,t),w=i(t),$=h(t,"P",{}),z($).forEach(a),this.h()},h(){U(s,"name","hf:doc:metadata"),U(s,"content",V)},m(t,e){I(document.head,s),n(t,d,e),n(t,_,e),n(t,x,e),j(o,t,e),n(t,g,e),n(t,m,e),n(t,v,e),n(t,r,e),n(t,C,e),n(t,u,e),n(t,P,e),n(t,p,e),n(t,b,e),j(f,t,e),n(t,w,e),n(t,$,e),T=!0},p:O,i(t){T||(q(o.$$.fragment,t),q(f.$$.fragment,t),T=!0)},o(t){F(o.$$.fragment,t),F(f.$$.fragment,t),T=!1},d(t){t&&(a(d),a(_),a(x),a(g),a(m),a(v),a(r),a(C),a(u),a(P),a(p),a(b),a(w),a($)),a(s),G(o,t),G(f,t)}}}const V='{"title":"介紹","local":"介紹","sections":[],"depth":1}';function X(H){return R(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class et extends W{constructor(s){super(),B(this,s,X,Q,N,{})}}export{et as component};
