import{s as R,n as B,o as D}from"../chunks/scheduler.cc52f4b9.js";import{S as I,i as J,e as $,s as i,c as H,h as K,a as h,d as n,b as s,f as G,g as M,j as E,k as O,l as Q,m as a,n as z,t as S,o as q,p as F}from"../chunks/index.9480bb2b.js";import{C as V,H as W,E as X}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.009dc98d.js";function Y(N){let l,x,g,d,m,C,o,b,r,U="现在，你已经知道如何使用🤗 Transformers 处理最常见的 NLP 任务，可以开始调试自己的项目了！在本章中我们将探讨可能遇到的问题以及解决方法。你将学习如何成功调试代码和训练，以及在无法自行解决问题时如何向社区寻求帮助。如果你发现了 Hugging Face 库中的一个 bug，我们会告诉你报告 bug 的最佳方法，以便尽快解决问题。",v,p,j="更准确地说，在本章中，你将学习：",P,f,k='<li>出现错误时要做的第一件事</li> <li>如何在 <a href="https://discuss.huggingface.co" rel="nofollow">论坛</a> 寻求帮助</li> <li>如何调试你的训练管道</li> <li>如何写一个好问题</li>',w,u,A="当然，所有这些都与 🤗 Transformers 或 Hugging Face 生态无关；本章的经验教训适用于大多数开源项目！",y,c,L,_,T;return m=new V({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new W({props:{title:"介绍",local:"介绍",headingTag:"h1"}}),c=new X({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-CN/chapter8/1.mdx"}}),{c(){l=$("meta"),x=i(),g=$("p"),d=i(),H(m.$$.fragment),C=i(),H(o.$$.fragment),b=i(),r=$("p"),r.textContent=U,v=i(),p=$("p"),p.textContent=j,P=i(),f=$("ul"),f.innerHTML=k,w=i(),u=$("p"),u.textContent=A,y=i(),H(c.$$.fragment),L=i(),_=$("p"),this.h()},l(t){const e=K("svelte-u9bgzb",document.head);l=h(e,"META",{name:!0,content:!0}),e.forEach(n),x=s(t),g=h(t,"P",{}),G(g).forEach(n),d=s(t),M(m.$$.fragment,t),C=s(t),M(o.$$.fragment,t),b=s(t),r=h(t,"P",{"data-svelte-h":!0}),E(r)!=="svelte-1vbbut2"&&(r.textContent=U),v=s(t),p=h(t,"P",{"data-svelte-h":!0}),E(p)!=="svelte-1qibfiz"&&(p.textContent=j),P=s(t),f=h(t,"UL",{"data-svelte-h":!0}),E(f)!=="svelte-anryhm"&&(f.innerHTML=k),w=s(t),u=h(t,"P",{"data-svelte-h":!0}),E(u)!=="svelte-gz9nt6"&&(u.textContent=A),y=s(t),M(c.$$.fragment,t),L=s(t),_=h(t,"P",{}),G(_).forEach(n),this.h()},h(){O(l,"name","hf:doc:metadata"),O(l,"content",Z)},m(t,e){Q(document.head,l),a(t,x,e),a(t,g,e),a(t,d,e),z(m,t,e),a(t,C,e),z(o,t,e),a(t,b,e),a(t,r,e),a(t,v,e),a(t,p,e),a(t,P,e),a(t,f,e),a(t,w,e),a(t,u,e),a(t,y,e),z(c,t,e),a(t,L,e),a(t,_,e),T=!0},p:B,i(t){T||(S(m.$$.fragment,t),S(o.$$.fragment,t),S(c.$$.fragment,t),T=!0)},o(t){q(m.$$.fragment,t),q(o.$$.fragment,t),q(c.$$.fragment,t),T=!1},d(t){t&&(n(x),n(g),n(d),n(C),n(b),n(r),n(v),n(p),n(P),n(f),n(w),n(u),n(y),n(L),n(_)),n(l),F(m,t),F(o,t),F(c,t)}}}const Z='{"title":"介绍","local":"介绍","sections":[],"depth":1}';function tt(N){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class lt extends I{constructor(l){super(),J(this,l,tt,Y,R,{})}}export{lt as component};
