import{s as Ye,n as Je,o as Be}from"../chunks/scheduler.f7e1785c.js";import{S as Ge,i as ze,g as o,s as i,r as d,A as Re,h as l,f as a,c as s,j as qe,u as h,x as r,k as re,y as Ze,a as n,v as u,d as p,t as f,w as m}from"../chunks/index.9f8f0838.js";import{C as Ve}from"../chunks/CodeBlock.4baef5d7.js";import{H as c,E as Oe}from"../chunks/getInferenceSnippets.ad8e59bc.js";function Xe(de){let g,pt,ht,ft,y,mt,v,he=`As with any machine learning problem, our model is only as good as the data that we train it on. Speech recognition
datasets vary considerably in how they are curated and the domains that they cover. To pick the right dataset, we need
to match our criteria with the features that a dataset offers.`,ct,$,ue="Before we pick a dataset, we first need to understand the key defining features.",gt,b,wt,C,yt,x,pe=`Simply put, the number of training hours indicates how large the dataset is. It’s analogous to the number of training
examples in an NLP dataset. However, bigger datasets aren’t necessarily better. If we want a model that generalises well,
we want a <strong>diverse</strong> dataset with lots of different speakers, domains and speaking styles.`,vt,T,$t,k,fe=`The domain entails where the data was sourced from, whether it be audiobooks, podcasts, YouTube or financial meetings.
Each domain has a different distribution of data. For example, audiobooks are recorded in high-quality studio conditions
(with no background noise) and text that is taken from written literature. Whereas for YouTube, the audio likely contains
more background noise and a more informal style of speech.`,bt,M,me=`We need to match our domain to the conditions we anticipate at inference time. For instance, if we train our model on
audiobooks, we can’t expect it to perform well in noisy environments.`,Ct,_,xt,H,ce="The speaking style falls into one of two categories:",Tt,L,ge="<li>Narrated: read from a script</li> <li>Spontaneous: un-scripted, conversational speech</li>",kt,S,we=`The audio and text data reflect the style of speaking. Since narrated text is scripted, it tends to be spoken articulately
and without any errors:`,Mt,P,_t,U,ye=`Whereas for spontaneous speech, we can expect a more colloquial style of speech, with the inclusion of repetitions,
hesitations and false-starts:`,Ht,j,Lt,D,St,W,ve=`The transcription style refers to whether the target text has punctuation, casing or both. If we want a system to generate
fully formatted text that could be used for a publication or meeting transcription, we require training data with punctuation
and casing. If we just require the spoken words in an un-formatted structure, neither punctuation nor casing are necessary.
In this case, we can either pick a dataset without punctuation or casing, or pick one that has punctuation and casing and
then subsequently remove them from the target text through pre-processing.`,Pt,A,Ut,F,$e="Here is a summary of the most popular English speech recognition datasets on the Hugging Face Hub:",jt,E,be='<thead><tr><th>Dataset</th> <th>Train Hours</th> <th>Domain</th> <th>Speaking Style</th> <th>Casing</th> <th>Punctuation</th> <th>License</th> <th>Recommended Use</th></tr></thead> <tbody><tr><td><a href="https://huggingface.co/datasets/librispeech_asr" rel="nofollow">LibriSpeech</a></td> <td>960</td> <td>Audiobook</td> <td>Narrated</td> <td>❌</td> <td>❌</td> <td>CC-BY-4.0</td> <td>Academic benchmarks</td></tr> <tr><td><a href="https://huggingface.co/datasets/mozilla-foundation/common_voice_17_0" rel="nofollow">Common Voice 17</a></td> <td>3000</td> <td>Wikipedia</td> <td>Narrated</td> <td>✅</td> <td>✅</td> <td>CC0-1.0</td> <td>Non-native speakers</td></tr> <tr><td><a href="https://huggingface.co/datasets/facebook/voxpopuli" rel="nofollow">VoxPopuli</a></td> <td>540</td> <td>European Parliament</td> <td>Oratory</td> <td>❌</td> <td>✅</td> <td>CC0</td> <td>Non-native speakers</td></tr> <tr><td><a href="https://huggingface.co/datasets/LIUM/tedlium" rel="nofollow">TED-LIUM</a></td> <td>450</td> <td>TED talks</td> <td>Oratory</td> <td>❌</td> <td>❌</td> <td>CC-BY-NC-ND 3.0</td> <td>Technical topics</td></tr> <tr><td><a href="https://huggingface.co/datasets/speechcolab/gigaspeech" rel="nofollow">GigaSpeech</a></td> <td>10000</td> <td>Audiobook, podcast, YouTube</td> <td>Narrated, spontaneous</td> <td>❌</td> <td>✅</td> <td>apache-2.0</td> <td>Robustness over multiple domains</td></tr> <tr><td><a href="https://huggingface.co/datasets/kensho/spgispeech" rel="nofollow">SPGISpeech</a></td> <td>5000</td> <td>Financial meetings</td> <td>Oratory, spontaneous</td> <td>✅</td> <td>✅</td> <td>User Agreement</td> <td>Fully formatted transcriptions</td></tr> <tr><td><a href="https://huggingface.co/datasets/revdotcom/earnings22" rel="nofollow">Earnings-22</a></td> <td>119</td> <td>Financial meetings</td> <td>Oratory, spontaneous</td> <td>✅</td> <td>✅</td> <td>CC-BY-SA-4.0</td> <td>Diversity of accents</td></tr> <tr><td><a href="https://huggingface.co/datasets/edinburghcstr/ami" rel="nofollow">AMI</a></td> <td>100</td> <td>Meetings</td> <td>Spontaneous</td> <td>✅</td> <td>✅</td> <td>CC-BY-4.0</td> <td>Noisy speech conditions</td></tr></tbody>',Dt,I,Ce=`This table serves as a reference for selecting a dataset based on your criterion. Below is an equivalent table for
multilingual speech recognition. Note that we omit the train hours column, since this varies depending on the language
for each dataset, and replace it with the number of languages per dataset:`,Wt,N,xe='<thead><tr><th>Dataset</th> <th>Languages</th> <th>Domain</th> <th>Speaking Style</th> <th>Casing</th> <th>Punctuation</th> <th>License</th> <th>Recommended Usage</th></tr></thead> <tbody><tr><td><a href="https://huggingface.co/datasets/facebook/multilingual_librispeech" rel="nofollow">Multilingual LibriSpeech</a></td> <td>6</td> <td>Audiobooks</td> <td>Narrated</td> <td>❌</td> <td>❌</td> <td>CC-BY-4.0</td> <td>Academic benchmarks</td></tr> <tr><td><a href="https://huggingface.co/datasets/mozilla-foundation/common_voice_17_0" rel="nofollow">Common Voice 17</a></td> <td>124</td> <td>Wikipedia text &amp; crowd-sourced speech</td> <td>Narrated</td> <td>✅</td> <td>✅</td> <td>CC0-1.0</td> <td>Diverse speaker set</td></tr> <tr><td><a href="https://huggingface.co/datasets/facebook/voxpopuli" rel="nofollow">VoxPopuli</a></td> <td>15</td> <td>European Parliament recordings</td> <td>Spontaneous</td> <td>❌</td> <td>✅</td> <td>CC0</td> <td>European languages</td></tr> <tr><td><a href="https://huggingface.co/datasets/google/fleurs" rel="nofollow">FLEURS</a></td> <td>101</td> <td>European Parliament recordings</td> <td>Spontaneous</td> <td>❌</td> <td>❌</td> <td>CC-BY-4.0</td> <td>Multilingual evaluation</td></tr></tbody>',At,q,Te=`For a detailed breakdown of the audio datasets covered in both tables, refer to the blog post <a href="https://huggingface.co/blog/audio-datasets#a-tour-of-audio-datasets-on-the-hub" rel="nofollow">A Complete Guide to Audio Datasets</a>.
While there are over 180 speech recognition datasets on the Hub, it may be possible that there isn’t a dataset that matches
your needs. In this case, it’s also possible to use your own audio data with 🤗 Datasets. To create a custom audio dataset,
refer to the guide <a href="https://huggingface.co/docs/datasets/audio_dataset" rel="nofollow">Create an audio dataset</a>. When creating a custom
audio dataset, consider sharing the final dataset on the Hub so that others in the community can benefit from your
efforts - the audio community is inclusive and wide-ranging, and others will appreciate your work as you do theirs.`,Ft,V,ke=`Alright! Now that we’ve gone through all the criterion for selecting an ASR dataset, let’s pick one for the purpose of this tutorial.
We know that Whisper already does a pretty good job at transcribing data in high-resource languages (such as English and Spanish), so
we’ll focus ourselves on low-resource multilingual transcription. We want to retain Whisper’s ability to predict punctuation and casing,
so it seems from the second table that Common Voice 17 is a great candidate dataset!`,Et,Y,It,J,Me=`Common Voice 17 is a crowd-sourced dataset where speakers record text from Wikipedia in various languages. It forms part of
the Common Voice series, a collection of Common Voice datasets released by Mozilla Foundation. At the time of writing,
Common Voice 17 is the latest edition of the dataset, with the most languages and hours per language out of any release to date.`,Nt,B,_e=`We can get the full list of languages for the Common Voice 17 dataset by checking-out the dataset page on the Hub:
<a href="https://huggingface.co/datasets/mozilla-foundation/common_voice_17_0" rel="nofollow">mozilla-foundation/common_voice_17_0</a>.
The first time you view this page, you’ll be asked to accept the terms of use. After that, you’ll be given full access to the dataset.`,qt,G,He=`Once we’ve provided authentication to use the dataset, we’ll be presented with the dataset preview. The dataset preview
shows us the first 100 samples of the dataset for each language. What’s more, it’s loaded up with audio samples ready for us
to listen to in real time. For this Unit, we’ll select <a href="https://en.wikipedia.org/wiki/Maldivian_language" rel="nofollow"><em>Dhivehi</em></a>
(or <em>Maldivian</em>), an Indo-Aryan language spoken in the South Asian island country of the Maldives. While we’re selecting
Dhivehi for this tutorial, the steps covered here apply to any one of the 124 languages in the Common Voice 17 dataset, and
more generally to any one of the 180+ audio datasets on the Hugging Face Hub, so there’s no restriction on language or dialect.`,Vt,z,Le=`We can select the Dhivehi subset of Common Voice 17 by setting the subset to <code>dv</code> using the dropdown menu (<code>dv</code> being the language
identifier code for Dhivehi):`,Yt,w,Se='<img src="https://huggingface.co/datasets/huggingface-course/audio-course-images/resolve/main/cv_13_dv_selection.png" alt="Selecting the Dhivehi split from the Dataset&#39;s Preview"/>',Jt,R,Pe=`If we hit the play button on the first sample, we can listen to the audio and see the corresponding text. Have a scroll
through the samples for the train and test sets to get a better feel for the audio and text data that we’re dealing with.
You can tell from the intonation and style that the recordings are taken from narrated speech. You’ll also likely notice
the large variation in speakers and recording quality, a common trait of crowd-sourced data.`,Bt,Z,Ue=`The Dataset Preview is a brilliant way of experiencing audio datasets before committing to using them. You can pick any
dataset on the Hub, scroll through the samples and listen to the audio for the different subsets and splits, gauging whether
it’s the right dataset for your needs. Once you’ve selected a dataset, it’s trivial to load the data so that you can
start using it.`,Gt,O,zt,X,je="When selecting a dataset for fine-tuning, it’s important to consider the specific requirements and characteristics of your chosen ASR model:",Rt,Q,Zt,K,De="<li><strong>Multilingual datasets</strong> work best due to Whisper’s multilingual training</li> <li><strong>Longer audio segments</strong> (up to 30 seconds) are processed efficiently</li> <li><strong>Diverse domains</strong> benefit from Whisper’s robust pre-training</li> <li><strong>Punctuation and casing</strong> are recommended as Whisper handles them well</li>",Ot,tt,Xt,et,We="<li><strong>English-only datasets</strong> are required (currently)</li> <li><strong>Shorter audio segments</strong> (under 10 seconds) leverage Moonshine’s efficiency advantages</li> <li><strong>Clean, high-quality audio</strong> maximizes the model’s edge computing benefits</li> <li><strong>Domain-specific data</strong> can be particularly effective due to the model’s focused training</li>",Qt,at,Kt,nt,Ae="<li><strong>English and French datasets</strong> are supported</li> <li><strong>Streaming-compatible data</strong> with natural speech patterns work best</li> <li><strong>Longer audio files</strong> (up to 2 hours) are handled efficiently</li> <li><strong>Noisy or challenging audio</strong> conditions are well-supported</li>",te,it,ee,st,Fe="<li><strong>Match your model’s language support</strong> to your target languages</li> <li><strong>Consider audio length characteristics</strong> for optimal performance</li> <li><strong>Evaluate computational constraints</strong> when choosing between models</li> <li><strong>Test on representative samples</strong> from your target domain</li>",ae,ot,Ee="The Common Voice 17 dataset we selected works well for all three model types, though you might see different performance characteristics depending on your choice of model architecture.",ne,lt,Ie='For production deployments, you might also consider <a href="alternative_implementations">alternative ASR implementations</a> that offer different optimization trade-offs, such as whisper.cpp for edge devices, faster-whisper for server applications, or MLX-Whisper for Apple Silicon devices.',ie,rt,Ne=`Now, I personally don’t speak Dhivehi, and expect the vast majority of readers not to either! To know if our fine-tuned model
is any good, we’ll need a rigorous way of <em>evaluating</em> it on unseen data and measuring its transcription accuracy.
We’ll cover exactly this in the next section!`,se,dt,oe,ut,le;return y=new c({props:{title:"Choosing a dataset",local:"choosing-a-dataset",headingTag:"h1"}}),b=new c({props:{title:"Features of speech datasets",local:"features-of-speech-datasets",headingTag:"h2"}}),C=new c({props:{title:"1. Number of hours",local:"1-number-of-hours",headingTag:"h3"}}),T=new c({props:{title:"2. Domain",local:"2-domain",headingTag:"h3"}}),_=new c({props:{title:"3. Speaking style",local:"3-speaking-style",headingTag:"h3"}}),P=new Ve({props:{code:"JUUyJTgwJTlDQ29uc2lkZXIlMjB0aGUlMjB0YXNrJTIwb2YlMjB0cmFpbmluZyUyMGElMjBtb2RlbCUyMG9uJTIwYSUyMHNwZWVjaCUyMHJlY29nbml0aW9uJTIwZGF0YXNldCVFMiU4MCU5RA==",highlighted:'“Consider <span class="hljs-keyword">the</span> task <span class="hljs-keyword">of</span> training <span class="hljs-keyword">a</span> model <span class="hljs-keyword">on</span> <span class="hljs-title">a</span> <span class="hljs-title">speech</span> <span class="hljs-title">recognition</span> <span class="hljs-title">dataset</span>”',wrap:!1}}),j=new Ve({props:{code:"JUUyJTgwJTlDTGV0JUUyJTgwJTk5cyUyMHVoaCUyMGxldCdzJTIwdGFrZSUyMGElMjBsb29rJTIwYXQlMjBob3clMjB5b3UnZCUyMGdvJTIwYWJvdXQlMjB0cmFpbmluZyUyMGElMjBtb2RlbCUyMG9uJTIwdWhtJTIwYSUyMHNwLSUyMHNwZWVjaCUyMHJlY29nbml0aW9uJTIwZGF0YXNldCVFMiU4MCU5RA==",highlighted:'“<span class="hljs-keyword">Let</span>’s uhh <span class="hljs-keyword">let</span><span class="hljs-comment">&#x27;s take a look at how you&#x27;d go about training a model on uhm a sp- speech recognition dataset”</span>',wrap:!1}}),D=new c({props:{title:"4. Transcription style",local:"4-transcription-style",headingTag:"h3"}}),A=new c({props:{title:"A summary of datasets on the Hub",local:"a-summary-of-datasets-on-the-hub",headingTag:"h2"}}),Y=new c({props:{title:"Common Voice 17",local:"common-voice-17",headingTag:"h2"}}),O=new c({props:{title:"Model-Specific Dataset Considerations",local:"model-specific-dataset-considerations",headingTag:"h2"}}),Q=new c({props:{title:"For Whisper Models",local:"for-whisper-models",headingTag:"h3"}}),tt=new c({props:{title:"For Moonshine Models",local:"for-moonshine-models",headingTag:"h3"}}),at=new c({props:{title:"For Kyutai STT Models",local:"for-kyutai-stt-models",headingTag:"h3"}}),it=new c({props:{title:"Dataset Selection Strategy",local:"dataset-selection-strategy",headingTag:"h3"}}),dt=new Oe({props:{source:"https://github.com/huggingface/audio-transformers-course/blob/main/chapters/en/chapter5/choosing_dataset.mdx"}}),{c(){g=o("meta"),pt=i(),ht=o("p"),ft=i(),d(y.$$.fragment),mt=i(),v=o("p"),v.textContent=he,ct=i(),$=o("p"),$.textContent=ue,gt=i(),d(b.$$.fragment),wt=i(),d(C.$$.fragment),yt=i(),x=o("p"),x.innerHTML=pe,vt=i(),d(T.$$.fragment),$t=i(),k=o("p"),k.textContent=fe,bt=i(),M=o("p"),M.textContent=me,Ct=i(),d(_.$$.fragment),xt=i(),H=o("p"),H.textContent=ce,Tt=i(),L=o("ul"),L.innerHTML=ge,kt=i(),S=o("p"),S.textContent=we,Mt=i(),d(P.$$.fragment),_t=i(),U=o("p"),U.textContent=ye,Ht=i(),d(j.$$.fragment),Lt=i(),d(D.$$.fragment),St=i(),W=o("p"),W.textContent=ve,Pt=i(),d(A.$$.fragment),Ut=i(),F=o("p"),F.textContent=$e,jt=i(),E=o("table"),E.innerHTML=be,Dt=i(),I=o("p"),I.textContent=Ce,Wt=i(),N=o("table"),N.innerHTML=xe,At=i(),q=o("p"),q.innerHTML=Te,Ft=i(),V=o("p"),V.textContent=ke,Et=i(),d(Y.$$.fragment),It=i(),J=o("p"),J.textContent=Me,Nt=i(),B=o("p"),B.innerHTML=_e,qt=i(),G=o("p"),G.innerHTML=He,Vt=i(),z=o("p"),z.innerHTML=Le,Yt=i(),w=o("div"),w.innerHTML=Se,Jt=i(),R=o("p"),R.textContent=Pe,Bt=i(),Z=o("p"),Z.textContent=Ue,Gt=i(),d(O.$$.fragment),zt=i(),X=o("p"),X.textContent=je,Rt=i(),d(Q.$$.fragment),Zt=i(),K=o("ul"),K.innerHTML=De,Ot=i(),d(tt.$$.fragment),Xt=i(),et=o("ul"),et.innerHTML=We,Qt=i(),d(at.$$.fragment),Kt=i(),nt=o("ul"),nt.innerHTML=Ae,te=i(),d(it.$$.fragment),ee=i(),st=o("ol"),st.innerHTML=Fe,ae=i(),ot=o("p"),ot.textContent=Ee,ne=i(),lt=o("p"),lt.innerHTML=Ie,ie=i(),rt=o("p"),rt.innerHTML=Ne,se=i(),d(dt.$$.fragment),oe=i(),ut=o("p"),this.h()},l(t){const e=Re("svelte-u9bgzb",document.head);g=l(e,"META",{name:!0,content:!0}),e.forEach(a),pt=s(t),ht=l(t,"P",{}),qe(ht).forEach(a),ft=s(t),h(y.$$.fragment,t),mt=s(t),v=l(t,"P",{"data-svelte-h":!0}),r(v)!=="svelte-15zyog0"&&(v.textContent=he),ct=s(t),$=l(t,"P",{"data-svelte-h":!0}),r($)!=="svelte-1rsl8i9"&&($.textContent=ue),gt=s(t),h(b.$$.fragment,t),wt=s(t),h(C.$$.fragment,t),yt=s(t),x=l(t,"P",{"data-svelte-h":!0}),r(x)!=="svelte-1mt3582"&&(x.innerHTML=pe),vt=s(t),h(T.$$.fragment,t),$t=s(t),k=l(t,"P",{"data-svelte-h":!0}),r(k)!=="svelte-utmvu5"&&(k.textContent=fe),bt=s(t),M=l(t,"P",{"data-svelte-h":!0}),r(M)!=="svelte-k3up68"&&(M.textContent=me),Ct=s(t),h(_.$$.fragment,t),xt=s(t),H=l(t,"P",{"data-svelte-h":!0}),r(H)!=="svelte-1je74i9"&&(H.textContent=ce),Tt=s(t),L=l(t,"UL",{"data-svelte-h":!0}),r(L)!=="svelte-1l9j9hu"&&(L.innerHTML=ge),kt=s(t),S=l(t,"P",{"data-svelte-h":!0}),r(S)!=="svelte-1tb6mrj"&&(S.textContent=we),Mt=s(t),h(P.$$.fragment,t),_t=s(t),U=l(t,"P",{"data-svelte-h":!0}),r(U)!=="svelte-th73kg"&&(U.textContent=ye),Ht=s(t),h(j.$$.fragment,t),Lt=s(t),h(D.$$.fragment,t),St=s(t),W=l(t,"P",{"data-svelte-h":!0}),r(W)!=="svelte-lu6hxf"&&(W.textContent=ve),Pt=s(t),h(A.$$.fragment,t),Ut=s(t),F=l(t,"P",{"data-svelte-h":!0}),r(F)!=="svelte-12pozb0"&&(F.textContent=$e),jt=s(t),E=l(t,"TABLE",{"data-svelte-h":!0}),r(E)!=="svelte-l3n4v7"&&(E.innerHTML=be),Dt=s(t),I=l(t,"P",{"data-svelte-h":!0}),r(I)!=="svelte-m8mw9i"&&(I.textContent=Ce),Wt=s(t),N=l(t,"TABLE",{"data-svelte-h":!0}),r(N)!=="svelte-naqoww"&&(N.innerHTML=xe),At=s(t),q=l(t,"P",{"data-svelte-h":!0}),r(q)!=="svelte-tge7kj"&&(q.innerHTML=Te),Ft=s(t),V=l(t,"P",{"data-svelte-h":!0}),r(V)!=="svelte-hzpvqn"&&(V.textContent=ke),Et=s(t),h(Y.$$.fragment,t),It=s(t),J=l(t,"P",{"data-svelte-h":!0}),r(J)!=="svelte-vr5aqk"&&(J.textContent=Me),Nt=s(t),B=l(t,"P",{"data-svelte-h":!0}),r(B)!=="svelte-ks5cdi"&&(B.innerHTML=_e),qt=s(t),G=l(t,"P",{"data-svelte-h":!0}),r(G)!=="svelte-1dntdse"&&(G.innerHTML=He),Vt=s(t),z=l(t,"P",{"data-svelte-h":!0}),r(z)!=="svelte-x55jol"&&(z.innerHTML=Le),Yt=s(t),w=l(t,"DIV",{class:!0,"data-svelte-h":!0}),r(w)!=="svelte-y9qjeu"&&(w.innerHTML=Se),Jt=s(t),R=l(t,"P",{"data-svelte-h":!0}),r(R)!=="svelte-1im4yyp"&&(R.textContent=Pe),Bt=s(t),Z=l(t,"P",{"data-svelte-h":!0}),r(Z)!=="svelte-1yhqqce"&&(Z.textContent=Ue),Gt=s(t),h(O.$$.fragment,t),zt=s(t),X=l(t,"P",{"data-svelte-h":!0}),r(X)!=="svelte-1pca7dc"&&(X.textContent=je),Rt=s(t),h(Q.$$.fragment,t),Zt=s(t),K=l(t,"UL",{"data-svelte-h":!0}),r(K)!=="svelte-1mf7bqu"&&(K.innerHTML=De),Ot=s(t),h(tt.$$.fragment,t),Xt=s(t),et=l(t,"UL",{"data-svelte-h":!0}),r(et)!=="svelte-1wiow5w"&&(et.innerHTML=We),Qt=s(t),h(at.$$.fragment,t),Kt=s(t),nt=l(t,"UL",{"data-svelte-h":!0}),r(nt)!=="svelte-sxm8qc"&&(nt.innerHTML=Ae),te=s(t),h(it.$$.fragment,t),ee=s(t),st=l(t,"OL",{"data-svelte-h":!0}),r(st)!=="svelte-1thqnng"&&(st.innerHTML=Fe),ae=s(t),ot=l(t,"P",{"data-svelte-h":!0}),r(ot)!=="svelte-awiz2q"&&(ot.textContent=Ee),ne=s(t),lt=l(t,"P",{"data-svelte-h":!0}),r(lt)!=="svelte-v6rx0q"&&(lt.innerHTML=Ie),ie=s(t),rt=l(t,"P",{"data-svelte-h":!0}),r(rt)!=="svelte-1esedkp"&&(rt.innerHTML=Ne),se=s(t),h(dt.$$.fragment,t),oe=s(t),ut=l(t,"P",{}),qe(ut).forEach(a),this.h()},h(){re(g,"name","hf:doc:metadata"),re(g,"content",Qe),re(w,"class","flex justify-center")},m(t,e){Ze(document.head,g),n(t,pt,e),n(t,ht,e),n(t,ft,e),u(y,t,e),n(t,mt,e),n(t,v,e),n(t,ct,e),n(t,$,e),n(t,gt,e),u(b,t,e),n(t,wt,e),u(C,t,e),n(t,yt,e),n(t,x,e),n(t,vt,e),u(T,t,e),n(t,$t,e),n(t,k,e),n(t,bt,e),n(t,M,e),n(t,Ct,e),u(_,t,e),n(t,xt,e),n(t,H,e),n(t,Tt,e),n(t,L,e),n(t,kt,e),n(t,S,e),n(t,Mt,e),u(P,t,e),n(t,_t,e),n(t,U,e),n(t,Ht,e),u(j,t,e),n(t,Lt,e),u(D,t,e),n(t,St,e),n(t,W,e),n(t,Pt,e),u(A,t,e),n(t,Ut,e),n(t,F,e),n(t,jt,e),n(t,E,e),n(t,Dt,e),n(t,I,e),n(t,Wt,e),n(t,N,e),n(t,At,e),n(t,q,e),n(t,Ft,e),n(t,V,e),n(t,Et,e),u(Y,t,e),n(t,It,e),n(t,J,e),n(t,Nt,e),n(t,B,e),n(t,qt,e),n(t,G,e),n(t,Vt,e),n(t,z,e),n(t,Yt,e),n(t,w,e),n(t,Jt,e),n(t,R,e),n(t,Bt,e),n(t,Z,e),n(t,Gt,e),u(O,t,e),n(t,zt,e),n(t,X,e),n(t,Rt,e),u(Q,t,e),n(t,Zt,e),n(t,K,e),n(t,Ot,e),u(tt,t,e),n(t,Xt,e),n(t,et,e),n(t,Qt,e),u(at,t,e),n(t,Kt,e),n(t,nt,e),n(t,te,e),u(it,t,e),n(t,ee,e),n(t,st,e),n(t,ae,e),n(t,ot,e),n(t,ne,e),n(t,lt,e),n(t,ie,e),n(t,rt,e),n(t,se,e),u(dt,t,e),n(t,oe,e),n(t,ut,e),le=!0},p:Je,i(t){le||(p(y.$$.fragment,t),p(b.$$.fragment,t),p(C.$$.fragment,t),p(T.$$.fragment,t),p(_.$$.fragment,t),p(P.$$.fragment,t),p(j.$$.fragment,t),p(D.$$.fragment,t),p(A.$$.fragment,t),p(Y.$$.fragment,t),p(O.$$.fragment,t),p(Q.$$.fragment,t),p(tt.$$.fragment,t),p(at.$$.fragment,t),p(it.$$.fragment,t),p(dt.$$.fragment,t),le=!0)},o(t){f(y.$$.fragment,t),f(b.$$.fragment,t),f(C.$$.fragment,t),f(T.$$.fragment,t),f(_.$$.fragment,t),f(P.$$.fragment,t),f(j.$$.fragment,t),f(D.$$.fragment,t),f(A.$$.fragment,t),f(Y.$$.fragment,t),f(O.$$.fragment,t),f(Q.$$.fragment,t),f(tt.$$.fragment,t),f(at.$$.fragment,t),f(it.$$.fragment,t),f(dt.$$.fragment,t),le=!1},d(t){t&&(a(pt),a(ht),a(ft),a(mt),a(v),a(ct),a($),a(gt),a(wt),a(yt),a(x),a(vt),a($t),a(k),a(bt),a(M),a(Ct),a(xt),a(H),a(Tt),a(L),a(kt),a(S),a(Mt),a(_t),a(U),a(Ht),a(Lt),a(St),a(W),a(Pt),a(Ut),a(F),a(jt),a(E),a(Dt),a(I),a(Wt),a(N),a(At),a(q),a(Ft),a(V),a(Et),a(It),a(J),a(Nt),a(B),a(qt),a(G),a(Vt),a(z),a(Yt),a(w),a(Jt),a(R),a(Bt),a(Z),a(Gt),a(zt),a(X),a(Rt),a(Zt),a(K),a(Ot),a(Xt),a(et),a(Qt),a(Kt),a(nt),a(te),a(ee),a(st),a(ae),a(ot),a(ne),a(lt),a(ie),a(rt),a(se),a(oe),a(ut)),a(g),m(y,t),m(b,t),m(C,t),m(T,t),m(_,t),m(P,t),m(j,t),m(D,t),m(A,t),m(Y,t),m(O,t),m(Q,t),m(tt,t),m(at,t),m(it,t),m(dt,t)}}}const Qe='{"title":"Choosing a dataset","local":"choosing-a-dataset","sections":[{"title":"Features of speech datasets","local":"features-of-speech-datasets","sections":[{"title":"1. Number of hours","local":"1-number-of-hours","sections":[],"depth":3},{"title":"2. Domain","local":"2-domain","sections":[],"depth":3},{"title":"3. Speaking style","local":"3-speaking-style","sections":[],"depth":3},{"title":"4. Transcription style","local":"4-transcription-style","sections":[],"depth":3}],"depth":2},{"title":"A summary of datasets on the Hub","local":"a-summary-of-datasets-on-the-hub","sections":[],"depth":2},{"title":"Common Voice 17","local":"common-voice-17","sections":[],"depth":2},{"title":"Model-Specific Dataset Considerations","local":"model-specific-dataset-considerations","sections":[{"title":"For Whisper Models","local":"for-whisper-models","sections":[],"depth":3},{"title":"For Moonshine Models","local":"for-moonshine-models","sections":[],"depth":3},{"title":"For Kyutai STT Models","local":"for-kyutai-stt-models","sections":[],"depth":3},{"title":"Dataset Selection Strategy","local":"dataset-selection-strategy","sections":[],"depth":3}],"depth":2}],"depth":1}';function Ke(de){return Be(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ia extends Ge{constructor(g){super(),ze(this,g,Ke,Xe,Ye,{})}}export{ia as component};
