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