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 A,A as V,h as r,f as n,c as s,j,u as M,x as d,k as B,y as W,a,v as N,d as U,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/getInferenceSnippets.1837c472.js";function et(S){let i,C,h,P,o,g,u,Y="如果你在课程中做到了这一步，恭喜你——你现在拥有了用 🤗 Transformers 和 Hugging Face 生态系统解决（几乎）任何 NLP 任务所需的所有知识和工具！",b,p,q="我们见过很多不同的数据整理器，所以我们制作了这个小视频来帮助你找到每个任务使用哪一个：",w,f,T,c,z="在完成核心 NLP 任务的快速入门后，你应该：",E,$,G="<li>了解哪种架构（编码器、解码器或编码器-解码器）最适合哪种任务</li> <li>了解预训练和微调语言模型之间的区别</li> <li>了解如何使用 <code>Trainer</code> API 和 🤗 Accelerate 或 TensorFlow 和 Keras 的分布式训练功能来训练 Transformer 模型，具体选择那一种方法取决于你所需要完成的任务。</li> <li>了解 ROUGE 和 BLEU 等指标在文本生成任务中的意义和局限性</li> <li>知道如何在 Hub 上和使用 🤗 Transformers 中的“管道”与你的微调模型进行交互</li>",H,_,O="尽管掌握了所有这些知识，但总有一天你会遇到代码中的困难错误，或者对如何解决特定的 NLP 问题有疑问。幸运的是，Hugging Face 社区随时为你提供帮助！在这部分课程的最后一章中，我们将探讨如何调试 Transformer 模型并有效地寻求帮助。",L,x,k,v,y;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(),h=m("p"),P=l(),A(o.$$.fragment),g=l(),u=m("p"),u.textContent=Y,b=l(),p=m("p"),p.textContent=q,w=l(),A(f.$$.fragment),T=l(),c=m("p"),c.textContent=z,E=l(),$=m("ul"),$.innerHTML=G,H=l(),_=m("p"),_.textContent=O,L=l(),A(x.$$.fragment),k=l(),v=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),h=r(t,"P",{}),j(h).forEach(n),P=s(t),M(o.$$.fragment,t),g=s(t),u=r(t,"P",{"data-svelte-h":!0}),d(u)!=="svelte-1p04cvk"&&(u.textContent=Y),b=s(t),p=r(t,"P",{"data-svelte-h":!0}),d(p)!=="svelte-ocwvo1"&&(p.textContent=q),w=s(t),M(f.$$.fragment,t),T=s(t),c=r(t,"P",{"data-svelte-h":!0}),d(c)!=="svelte-1qykogt"&&(c.textContent=z),E=s(t),$=r(t,"UL",{"data-svelte-h":!0}),d($)!=="svelte-1fcukwk"&&($.innerHTML=G),H=s(t),_=r(t,"P",{"data-svelte-h":!0}),d(_)!=="svelte-1igubg2"&&(_.textContent=O),L=s(t),M(x.$$.fragment,t),k=s(t),v=r(t,"P",{}),j(v).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,h,e),a(t,P,e),N(o,t,e),a(t,g,e),a(t,u,e),a(t,b,e),a(t,p,e),a(t,w,e),N(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),N(x,t,e),a(t,k,e),a(t,v,e),y=!0},p:K,i(t){y||(U(o.$$.fragment,t),U(f.$$.fragment,t),U(x.$$.fragment,t),y=!0)},o(t){F(o.$$.fragment,t),F(f.$$.fragment,t),F(x.$$.fragment,t),y=!1},d(t){t&&(n(C),n(h),n(P),n(g),n(u),n(b),n(p),n(w),n(T),n(c),n(E),n($),n(H),n(_),n(L),n(k),n(v)),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};
