import{s as I,n as K,o as D}from"../chunks/scheduler.37c15a92.js";import{S as J,i as Q,g as m,s as l,r as M,A as V,h as r,f as n,c as s,j as O,u as N,x as v,k as B,y as W,a,v as U,d as k,t as F,w as R}from"../chunks/index.2bf4358c.js";import{Y as X}from"../chunks/Youtube.1e50a667.js";import{H as Z,E as tt}from"../chunks/EditOnGithub.8916dc7c.js";function et(S){let i,C,d,P,o,b,p,Y="如果你在课程中做到了这一步，恭喜你——你现在拥有了用 🤗 Transformers 和 Hugging Face 生态系统解决（几乎）任何 NLP 任务所需的所有知识和工具！",g,u,j="我们见过很多不同的数据整理器，所以我们制作了这个小视频来帮助您找到每个任务使用哪一个：",w,f,T,c,q="在完成核心 NLP 任务的快速入门后，您应该：",E,$,z="<li>了解哪种架构（编码器、解码器或编码器-解码器）最适合每个任务</li> <li>了解预训练和微调语言模型之间的区别</li> <li>了解如何使用 <code>Trainer</code> API 和 🤗 Accelerate 或 TensorFlow 和 Keras 的分布式训练功能来训练 Transformer 模型，具体选择那一种方法取决于您所需要完成的任务。</li> <li>了解 ROUGE 和 BLEU 等指标在文本生成任务中的意义和局限性</li> <li>知道如何在 Hub 上和使用 🤗 Transformers 中的“管道”与您的微调模型进行交互</li>",H,_,G="尽管掌握了所有这些知识，但总有一天你会遇到代码中的困难错误，或者对如何解决特定的 NLP 问题有疑问。幸运的是，Hugging Face 社区随时为您提供帮助！在这部分课程的最后一章中，我们将探讨如何调试 Transformer 模型并有效地寻求帮助。",L,x,y,h,A;return o=new Z({props:{title:"精通自然语言处理",local:"精通自然语言处理",headingTag:"h1"}}),f=new X({props:{id:"-RPeakdlHYo"}}),x=new tt({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-CN/chapter7/8.mdx"}}),{c(){i=m("meta"),C=l(),d=m("p"),P=l(),M(o.$$.fragment),b=l(),p=m("p"),p.textContent=Y,g=l(),u=m("p"),u.textContent=j,w=l(),M(f.$$.fragment),T=l(),c=m("p"),c.textContent=q,E=l(),$=m("ul"),$.innerHTML=z,H=l(),_=m("p"),_.textContent=G,L=l(),M(x.$$.fragment),y=l(),h=m("p"),this.h()},l(t){const e=V("svelte-u9bgzb",document.head);i=r(e,"META",{name:!0,content:!0}),e.forEach(n),C=s(t),d=r(t,"P",{}),O(d).forEach(n),P=s(t),N(o.$$.fragment,t),b=s(t),p=r(t,"P",{"data-svelte-h":!0}),v(p)!=="svelte-1p04cvk"&&(p.textContent=Y),g=s(t),u=r(t,"P",{"data-svelte-h":!0}),v(u)!=="svelte-bxd1jd"&&(u.textContent=j),w=s(t),N(f.$$.fragment,t),T=s(t),c=r(t,"P",{"data-svelte-h":!0}),v(c)!=="svelte-1t5c4np"&&(c.textContent=q),E=s(t),$=r(t,"UL",{"data-svelte-h":!0}),v($)!=="svelte-1q7vw40"&&($.innerHTML=z),H=s(t),_=r(t,"P",{"data-svelte-h":!0}),v(_)!=="svelte-1524m22"&&(_.textContent=G),L=s(t),N(x.$$.fragment,t),y=s(t),h=r(t,"P",{}),O(h).forEach(n),this.h()},h(){B(i,"name","hf:doc:metadata"),B(i,"content",nt)},m(t,e){W(document.head,i),a(t,C,e),a(t,d,e),a(t,P,e),U(o,t,e),a(t,b,e),a(t,p,e),a(t,g,e),a(t,u,e),a(t,w,e),U(f,t,e),a(t,T,e),a(t,c,e),a(t,E,e),a(t,$,e),a(t,H,e),a(t,_,e),a(t,L,e),U(x,t,e),a(t,y,e),a(t,h,e),A=!0},p:K,i(t){A||(k(o.$$.fragment,t),k(f.$$.fragment,t),k(x.$$.fragment,t),A=!0)},o(t){F(o.$$.fragment,t),F(f.$$.fragment,t),F(x.$$.fragment,t),A=!1},d(t){t&&(n(C),n(d),n(P),n(b),n(p),n(g),n(u),n(w),n(T),n(c),n(E),n($),n(H),n(_),n(L),n(y),n(h)),n(i),R(o,t),R(f,t),R(x,t)}}}const nt='{"title":"精通自然语言处理","local":"精通自然语言处理","sections":[],"depth":1}';function at(S){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends J{constructor(i){super(),Q(this,i,at,et,I,{})}}export{rt as component};
