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