import{s as V,n as W,o as X}from"../chunks/scheduler.f7e1785c.js";import{S as Y,i as Z,g as i,s as a,r as N,A as tt,h as p,f as n,c as s,j as O,u as R,x as C,k as B,y as et,a as l,v as F,d as J,t as K,w as Q}from"../chunks/index.9f8f0838.js";import{H as nt,E as lt}from"../chunks/getInferenceSnippets.ba5f4cd0.js";function at(k){let o,P,d,b,m,w,u,G="在这个单元中，我们探讨了语音合成的音频任务，讨论了现有的 Datasets、预训练模型以及为新语言微调 SpeechT5 的细节。",H,f,U="正如您所见，为语音合成任务微调模型在资源较少的情况下可能比较有挑战性。同时，评估语音合成模型也不是一件容易的事。",T,r,q="因此，这个实践练习将侧重于练习技能，而不是达到特定的指标。",y,c,A="您在这个任务中的目标是在您选择的数据集上微调 SpeechT5。您可以从相同的 <code>voxpopuli</code> 数据集中选择另一种语言，或者选择本单元中列出的任何其他数据集。",E,x,j="注意训练数据的大小！如果在 Google Colab 免费版的 GPU 上训练，我们推荐将训练数据限制在大约 10-15 小时。",M,_,D="微调完成后，请上传到 Hub 来分享您的模型，并加上 <code>text-to-speech</code> 模型标签，可以通过 kwargs 或者在 Hub UI 中设置。",L,h,I="请记得，这个练习的主要目的是为您提供充分的实践，让您锻炼学到的技能并深入理解语音合成的音频任务。",S,v,z,$,g;return m=new nt({props:{title:"实战练习",local:"实战练习",headingTag:"h1"}}),v=new lt({props:{source:"https://github.com/huggingface/audio-transformers-course/blob/main/chapters/zh-CN/chapter6/hands_on.mdx"}}),{c(){o=i("meta"),P=a(),d=i("p"),b=a(),N(m.$$.fragment),w=a(),u=i("p"),u.textContent=G,H=a(),f=i("p"),f.textContent=U,T=a(),r=i("p"),r.textContent=q,y=a(),c=i("p"),c.innerHTML=A,E=a(),x=i("p"),x.textContent=j,M=a(),_=i("p"),_.innerHTML=D,L=a(),h=i("p"),h.textContent=I,S=a(),N(v.$$.fragment),z=a(),$=i("p"),this.h()},l(t){const e=tt("svelte-u9bgzb",document.head);o=p(e,"META",{name:!0,content:!0}),e.forEach(n),P=s(t),d=p(t,"P",{}),O(d).forEach(n),b=s(t),R(m.$$.fragment,t),w=s(t),u=p(t,"P",{"data-svelte-h":!0}),C(u)!=="svelte-x93xay"&&(u.textContent=G),H=s(t),f=p(t,"P",{"data-svelte-h":!0}),C(f)!=="svelte-8yufs6"&&(f.textContent=U),T=s(t),r=p(t,"P",{"data-svelte-h":!0}),C(r)!=="svelte-21dm7c"&&(r.textContent=q),y=s(t),c=p(t,"P",{"data-svelte-h":!0}),C(c)!=="svelte-lzez2h"&&(c.innerHTML=A),E=s(t),x=p(t,"P",{"data-svelte-h":!0}),C(x)!=="svelte-6ppffv"&&(x.textContent=j),M=s(t),_=p(t,"P",{"data-svelte-h":!0}),C(_)!=="svelte-evbb0g"&&(_.innerHTML=D),L=s(t),h=p(t,"P",{"data-svelte-h":!0}),C(h)!=="svelte-1w68vqk"&&(h.textContent=I),S=s(t),R(v.$$.fragment,t),z=s(t),$=p(t,"P",{}),O($).forEach(n),this.h()},h(){B(o,"name","hf:doc:metadata"),B(o,"content",st)},m(t,e){et(document.head,o),l(t,P,e),l(t,d,e),l(t,b,e),F(m,t,e),l(t,w,e),l(t,u,e),l(t,H,e),l(t,f,e),l(t,T,e),l(t,r,e),l(t,y,e),l(t,c,e),l(t,E,e),l(t,x,e),l(t,M,e),l(t,_,e),l(t,L,e),l(t,h,e),l(t,S,e),F(v,t,e),l(t,z,e),l(t,$,e),g=!0},p:W,i(t){g||(J(m.$$.fragment,t),J(v.$$.fragment,t),g=!0)},o(t){K(m.$$.fragment,t),K(v.$$.fragment,t),g=!1},d(t){t&&(n(P),n(d),n(b),n(w),n(u),n(H),n(f),n(T),n(r),n(y),n(c),n(E),n(x),n(M),n(_),n(L),n(h),n(S),n(z),n($)),n(o),Q(m,t),Q(v,t)}}}const st='{"title":"实战练习","local":"实战练习","sections":[],"depth":1}';function it(k){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ut extends Y{constructor(o){super(),Z(this,o,it,at,V,{})}}export{ut as component};
