import{s as G,n as O,o as R}from"../chunks/scheduler.37c15a92.js";import{S as B,i as D,g as c,s as l,r as S,A as I,h,f as n,c as i,j,u as k,x as T,k as A,y as J,a,v as N,d as U,t as q,w as F}from"../chunks/index.2bf4358c.js";import{H as K,E as Q}from"../chunks/EditOnGithub.8916dc7c.js";function V(y){let s,d,_,x,o,g,m,H="既然您知道如何使用🤗 Transformers处理最常见的NLP任务，您应该能够开始自己的项目了！在本章中，我们将探讨遇到问题时该怎么做。您将学习如何成功调试代码或训练，以及如果自己无法解决问题，如何向社区寻求帮助。如果您认为您在其中一个拥抱人脸库中发现了错误，我们将向您展示报告它的最佳方式，以便尽快解决问题。",v,r,L="更准确地说，在本章中，您将学习：",C,f,M='<li>出现错误时要做的第一件事</li> <li>如何在网上寻求帮助<a href="https://discuss.huggingface.co/" rel="nofollow">forums</a></li> <li>如何调试您的训练管道</li> <li>如何写一个好问题</li>',P,u,z="当然，所有这些都与 🤗 Transformers 或Hugging Face 生态无关；本章的经验教训适用于大多数开源项目！",w,p,b,$,E;return o=new K({props:{title:"介绍",local:"介绍",headingTag:"h1"}}),p=new Q({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-CN/chapter8/1.mdx"}}),{c(){s=c("meta"),d=l(),_=c("p"),x=l(),S(o.$$.fragment),g=l(),m=c("p"),m.textContent=H,v=l(),r=c("p"),r.textContent=L,C=l(),f=c("ul"),f.innerHTML=M,P=l(),u=c("p"),u.textContent=z,w=l(),S(p.$$.fragment),b=l(),$=c("p"),this.h()},l(t){const e=I("svelte-u9bgzb",document.head);s=h(e,"META",{name:!0,content:!0}),e.forEach(n),d=i(t),_=h(t,"P",{}),j(_).forEach(n),x=i(t),k(o.$$.fragment,t),g=i(t),m=h(t,"P",{"data-svelte-h":!0}),T(m)!=="svelte-80th5w"&&(m.textContent=H),v=i(t),r=h(t,"P",{"data-svelte-h":!0}),T(r)!=="svelte-1fztk6b"&&(r.textContent=L),C=i(t),f=h(t,"UL",{"data-svelte-h":!0}),T(f)!=="svelte-5rljof"&&(f.innerHTML=M),P=i(t),u=h(t,"P",{"data-svelte-h":!0}),T(u)!=="svelte-1ysi03m"&&(u.textContent=z),w=i(t),k(p.$$.fragment,t),b=i(t),$=h(t,"P",{}),j($).forEach(n),this.h()},h(){A(s,"name","hf:doc:metadata"),A(s,"content",W)},m(t,e){J(document.head,s),a(t,d,e),a(t,_,e),a(t,x,e),N(o,t,e),a(t,g,e),a(t,m,e),a(t,v,e),a(t,r,e),a(t,C,e),a(t,f,e),a(t,P,e),a(t,u,e),a(t,w,e),N(p,t,e),a(t,b,e),a(t,$,e),E=!0},p:O,i(t){E||(U(o.$$.fragment,t),U(p.$$.fragment,t),E=!0)},o(t){q(o.$$.fragment,t),q(p.$$.fragment,t),E=!1},d(t){t&&(n(d),n(_),n(x),n(g),n(m),n(v),n(r),n(C),n(f),n(P),n(u),n(w),n(b),n($)),n(s),F(o,t),F(p,t)}}}const W='{"title":"介绍","local":"介绍","sections":[],"depth":1}';function X(y){return R(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class et extends B{constructor(s){super(),D(this,s,X,V,G,{})}}export{et as component};
