import{s as Al,o as Yl,n as _e}from"../chunks/scheduler.987d3921.js";import{S as Nl,i as ql,g as t,s as l,r as u,A as Hl,h as r,f as a,c as p,j as Sl,u as h,x as m,k as vn,y as El,a as e,v as c,d as i,t as j,w as b}from"../chunks/index.c8b1fed4.js";import{T as Ll}from"../chunks/Tip.6bc1e794.js";import{Y as Ql}from"../chunks/Youtube.67f0a1fc.js";import{C as g}from"../chunks/CodeBlock.18094d58.js";import{D as Dl}from"../chunks/DocNotebookDropdown.aed1009b.js";import{F as Pl,M as Xl}from"../chunks/Markdown.10b8ab04.js";import{H as M}from"../chunks/Heading.3fa3b67f.js";function Kl(J){let o,f="Wenn Sie ein vortrainiertes Modell verwenden möchten, ist es wichtig, den zugehörigen vortrainierten Tokenizer zu verwenden. Dadurch wird sichergestellt, dass der Text auf die gleiche Weise aufgeteilt wird wie das Pretraining-Korpus und die gleichen entsprechenden Token-zu-Index (in der Regel als <em>vocab</em> bezeichnet) während des Pretrainings verwendet werden.";return{c(){o=t("p"),o.innerHTML=f},l(d){o=r(d,"P",{"data-svelte-h":!0}),m(o)!=="svelte-1x15an"&&(o.innerHTML=f)},m(d,T){e(d,o,T)},p:_e,d(d){d&&a(o)}}}function Ol(J){let o,f;return o=new g({props:{code:"YmF0Y2hfc2VudGVuY2VzJTIwJTNEJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIyQnV0JTIwd2hhdCUyMGFib3V0JTIwc2Vjb25kJTIwYnJlYWtmYXN0JTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyRG9uJ3QlMjB0aGluayUyMGhlJTIwa25vd3MlMjBhYm91dCUyMHNlY29uZCUyMGJyZWFrZmFzdCUyQyUyMFBpcC4lMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJXaGF0JTIwYWJvdXQlMjBlbGV2ZW5zaWVzJTNGJTIyJTJDJTBBJTVEJTBBZW5jb2RlZF9pbnB1dCUyMCUzRCUyMHRva2VuaXplcihiYXRjaF9zZW50ZW5jZXMlMkMlMjBwYWRkaW5nJTNEVHJ1ZSUyQyUyMHRydW5jYXRpb24lM0RUcnVlJTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMiklMEFwcmludChlbmNvZGVkX2lucHV0KQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>batch_sentences = [
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;But what about second breakfast?&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;Don&#x27;t think he knows about second breakfast, Pip.&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;What about elevensies?&quot;</span>,
<span class="hljs-meta">... </span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_input = tokenizer(batch_sentences, padding=<span class="hljs-literal">True</span>, truncation=<span class="hljs-literal">True</span>, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_input)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: tensor([[<span class="hljs-number">101</span>, <span class="hljs-number">1252</span>, <span class="hljs-number">1184</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
                      [<span class="hljs-number">101</span>, <span class="hljs-number">1790</span>, <span class="hljs-number">112</span>, <span class="hljs-number">189</span>, <span class="hljs-number">1341</span>, <span class="hljs-number">1119</span>, <span class="hljs-number">3520</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">117</span>, <span class="hljs-number">21902</span>, <span class="hljs-number">1643</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>],
                      [<span class="hljs-number">101</span>, <span class="hljs-number">1327</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">5450</span>, <span class="hljs-number">23434</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]]), 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: tensor([[<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
                           [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
                           [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]]), 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: tensor([[<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
                           [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>],
                           [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]])}`,wrap:!1}}),{c(){u(o.$$.fragment)},l(d){h(o.$$.fragment,d)},m(d,T){c(o,d,T),f=!0},p:_e,i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){j(o.$$.fragment,d),f=!1},d(d){b(o,d)}}}function sp(J){let o,f;return o=new Xl({props:{$$slots:{default:[Ol]},$$scope:{ctx:J}}}),{c(){u(o.$$.fragment)},l(d){h(o.$$.fragment,d)},m(d,T){c(o,d,T),f=!0},p(d,T){const w={};T&2&&(w.$$scope={dirty:T,ctx:d}),o.$set(w)},i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){j(o.$$.fragment,d),f=!1},d(d){b(o,d)}}}function np(J){let o,f;return o=new g({props:{code:"YmF0Y2hfc2VudGVuY2VzJTIwJTNEJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIyQnV0JTIwd2hhdCUyMGFib3V0JTIwc2Vjb25kJTIwYnJlYWtmYXN0JTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyRG9uJ3QlMjB0aGluayUyMGhlJTIwa25vd3MlMjBhYm91dCUyMHNlY29uZCUyMGJyZWFrZmFzdCUyQyUyMFBpcC4lMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJXaGF0JTIwYWJvdXQlMjBlbGV2ZW5zaWVzJTNGJTIyJTJDJTBBJTVEJTBBZW5jb2RlZF9pbnB1dCUyMCUzRCUyMHRva2VuaXplcihiYXRjaF9zZW50ZW5jZXMlMkMlMjBwYWRkaW5nJTNEVHJ1ZSUyQyUyMHRydW5jYXRpb24lM0RUcnVlJTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJ0ZiUyMiklMEFwcmludChlbmNvZGVkX2lucHV0KQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>batch_sentences = [
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;But what about second breakfast?&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;Don&#x27;t think he knows about second breakfast, Pip.&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;What about elevensies?&quot;</span>,
<span class="hljs-meta">... </span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_input = tokenizer(batch_sentences, padding=<span class="hljs-literal">True</span>, truncation=<span class="hljs-literal">True</span>, return_tensors=<span class="hljs-string">&quot;tf&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_input)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: &lt;tf.Tensor: shape=(<span class="hljs-number">2</span>, <span class="hljs-number">9</span>), dtype=int32, numpy=
array([[<span class="hljs-number">101</span>, <span class="hljs-number">1252</span>, <span class="hljs-number">1184</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
       [<span class="hljs-number">101</span>, <span class="hljs-number">1790</span>, <span class="hljs-number">112</span>, <span class="hljs-number">189</span>, <span class="hljs-number">1341</span>, <span class="hljs-number">1119</span>, <span class="hljs-number">3520</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">117</span>, <span class="hljs-number">21902</span>, <span class="hljs-number">1643</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>],
       [<span class="hljs-number">101</span>, <span class="hljs-number">1327</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">5450</span>, <span class="hljs-number">23434</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]],
      dtype=int32)&gt;, 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: &lt;tf.Tensor: shape=(<span class="hljs-number">2</span>, <span class="hljs-number">9</span>), dtype=int32, numpy=
array([[<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
       [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
       [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], dtype=int32)&gt;, 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: &lt;tf.Tensor: shape=(<span class="hljs-number">2</span>, <span class="hljs-number">9</span>), dtype=int32, numpy=
array([[<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
       [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>],
       [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], dtype=int32)&gt;}`,wrap:!1}}),{c(){u(o.$$.fragment)},l(d){h(o.$$.fragment,d)},m(d,T){c(o,d,T),f=!0},p:_e,i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){j(o.$$.fragment,d),f=!1},d(d){b(o,d)}}}function ap(J){let o,f;return o=new Xl({props:{$$slots:{default:[np]},$$scope:{ctx:J}}}),{c(){u(o.$$.fragment)},l(d){h(o.$$.fragment,d)},m(d,T){c(o,d,T),f=!0},p(d,T){const w={};T&2&&(w.$$scope={dirty:T,ctx:d}),o.$set(w)},i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){j(o.$$.fragment,d),f=!1},d(d){b(o,d)}}}function ep(J){let o,f,d,T,w,zn,U,In,C,Be="Bevor Sie Ihre Daten in einem Modell verwenden können, müssen die Daten in ein für das Modell akzeptables Format gebracht werden. Ein Modell versteht keine Rohtexte, Bilder oder Audiodaten. Diese Eingaben müssen in Zahlen umgewandelt und zu Tensoren zusammengesetzt werden. In dieser Anleitung werden Sie:",Un,_,We="<li>Textdaten mit einem Tokenizer vorverarbeiten.</li> <li>Bild- oder Audiodaten mit einem Feature Extractor vorverarbeiten.</li> <li>Daten für eine multimodale Aufgabe mit einem Prozessor vorverarbeiten.</li>",Cn,B,_n,W,Bn,Z,Ze='Das wichtigste Werkzeug zur Verarbeitung von Textdaten ist ein <a href="main_classes/tokenizer">Tokenizer</a>. Ein Tokenizer zerlegt Text zunächst nach einer Reihe von Regeln in <em>Token</em>. Die Token werden in Zahlen umgewandelt, die zum Aufbau von Tensoren als Eingabe für ein Modell verwendet werden. Alle zusätzlichen Eingaben, die ein Modell benötigt, werden ebenfalls vom Tokenizer hinzugefügt.',Wn,$,Zn,G,Ge="Laden Sie einen vortrainierten Tokenizer mit der Klasse [AutoTokenizer], um schnell loszulegen. Damit wird das <em>vocab</em> heruntergeladen, das verwendet wird, wenn ein Modell vortrainiert wird.",Gn,V,Vn,R,Ve="Laden Sie einen vortrainierten Tokenizer mit <code>AutoTokenizer.from_pretrained()</code>:",Rn,F,Fn,S,Re="Dann übergeben Sie Ihren Satz an den Tokenizer:",Sn,X,Xn,A,Fe="Der Tokenizer gibt ein Wörterbuch mit drei wichtigen Elementen zurück:",An,Y,Se='<li><a href="glossary#input-ids">input_ids</a> sind die Indizes, die den einzelnen Token im Satz entsprechen.</li> <li><a href="glossary#attention-mask">attention_mask</a> gibt an, ob ein Token beachtet werden soll oder nicht.</li> <li><a href="glossary#token-type-ids">token_type_ids</a> gibt an, zu welcher Sequenz ein Token gehört, wenn es mehr als eine Sequenz gibt.</li>',Yn,N,Xe="Sie können die <code>input_ids</code> dekodieren, um die ursprüngliche Eingabe zurückzugeben:",Nn,q,qn,H,Ae=`Wie Sie sehen können, hat der Tokenisierer zwei spezielle Token - <code>CLS</code> und <code>SEP</code> (Klassifikator und Separator) - zum Satz hinzugefügt. Nicht alle Modelle benötigen
spezielle Token, aber wenn dies der Fall ist, fügt der Tokenisierer sie automatisch für Sie hinzu.`,Hn,E,Ye="Wenn Sie mehrere Sätze verarbeiten wollen, übergeben Sie die Sätze als Liste an den Tokenizer:",En,L,Ln,Q,Qn,D,Ne="Dies bringt uns zu einem wichtigen Thema. Wenn Sie einen Haufen von Sätzen verarbeiten, sind diese nicht immer gleich lang. Das ist ein Problem, weil Tensoren, die Eingabe für das Modell, eine einheitliche Form haben müssen. Padding ist eine Strategie, die sicherstellt, dass Tensoren rechteckig sind, indem ein spezielles <em>Padding-Token</em> zu Sätzen mit weniger Token hinzugefügt wird.",Dn,P,qe="Setzen Sie den Parameter “padding” auf “true”, um die kürzeren Sequenzen im Stapel so aufzufüllen, dass sie der längsten Sequenz entsprechen:",Pn,K,Kn,O,He="Beachten Sie, dass der Tokenizer den ersten und den dritten Satz mit einer “0” aufgefüllt hat, weil sie kürzer sind!",On,ss,sa,ns,Ee="Auf der anderen Seite des Spektrums kann es vorkommen, dass eine Sequenz zu lang für ein Modell ist. In diesem Fall müssen Sie die Sequenz auf eine kürzere Länge kürzen.",na,as,Le="Setzen Sie den Parameter “truncation” auf “true”, um eine Sequenz auf die vom Modell akzeptierte Höchstlänge zu kürzen:",aa,es,ea,ls,la,ps,Qe="Schließlich möchten Sie, dass der Tokenizer die tatsächlichen Tensoren zurückgibt, die dem Modell zugeführt werden.",pa,ts,De="Setzen Sie den Parameter <code>return_tensors</code> entweder auf <code>pt</code> für PyTorch, oder <code>tf</code> für TensorFlow:",ta,y,ra,rs,ma,ms,Pe='Audioeingaben werden anders vorverarbeitet als Texteingaben, aber das Endziel bleibt dasselbe: numerische Sequenzen zu erstellen, die das Modell verstehen kann. Ein <a href="main_classes/feature_extractor">feature extractor</a> dient dem ausdrücklichen Zweck, Merkmale aus Rohbild- oder Audiodaten zu extrahieren und in Tensoren zu konvertieren. Bevor Sie beginnen, installieren Sie 🤗 Datasets, um einen Audio-Datensatz zu laden, mit dem Sie experimentieren können:',ua,us,ha,hs,Ke='Laden Sie den <a href="https://huggingface.co/datasets/PolyAI/minds14" rel="nofollow">MInDS-14</a> Datensatz (weitere Informationen zum Laden eines Datensatzes finden Sie im 🤗 <a href="https://huggingface.co/docs/datasets/load_hub.html" rel="nofollow">Datasets tutorial</a>):',ca,cs,ia,is,Oe="Greifen Sie auf das erste Element der <code>audio</code>-Spalte zu, um einen Blick auf die Eingabe zu werfen. Durch den Aufruf der Spalte “audio” wird die Audiodatei automatisch geladen und neu gesampelt:",ja,js,ba,bs,sl="Dies gibt drei Elemente zurück:",da,ds,nl="<li>“array” ist das Sprachsignal, das als 1D-Array geladen - und möglicherweise neu gesampelt - wurde.</li> <li>Pfad” zeigt auf den Speicherort der Audiodatei.</li> <li><code>sampling_rate</code> bezieht sich darauf, wie viele Datenpunkte im Sprachsignal pro Sekunde gemessen werden.</li>",oa,os,ga,gs,al='Für dieses Tutorial werden Sie das Modell <a href="https://huggingface.co/facebook/wav2vec2-base" rel="nofollow">Wav2Vec2</a> verwenden. Wie Sie aus der Modellkarte ersehen können, ist das Wav2Vec2-Modell auf 16kHz abgetastetes Sprachaudio vortrainiert. Es ist wichtig, dass die Abtastrate Ihrer Audiodaten mit der Abtastrate des Datensatzes übereinstimmt, der für das Pre-Training des Modells verwendet wurde. Wenn die Abtastrate Ihrer Daten nicht dieselbe ist, müssen Sie Ihre Audiodaten neu abtasten.',fa,fs,el='Der Datensatz <a href="https://huggingface.co/datasets/PolyAI/minds14" rel="nofollow">MInDS-14</a> hat zum Beispiel eine Abtastrate von 8000 kHz. Um das Wav2Vec2-Modell mit diesem Datensatz verwenden zu können, müssen Sie die Abtastrate auf 16 kHz erhöhen:',Ta,Ts,Ma,Ms,ll="<li>Verwenden Sie die Methode [~datasets.Dataset.cast_column] von 🤗 Datasets, um die Abtastrate auf 16kHz zu erhöhen:</li>",wa,ws,Ja,k,pl="<li>Laden Sie die Audiodatei:</li>",$a,Js,ya,$s,tl="Wie Sie sehen können, ist die Abtastrate jetzt 16kHz!",ka,ys,va,ks,rl="Der nächste Schritt ist das Laden eines Merkmalsextraktors, um die Eingabe zu normalisieren und aufzufüllen. Beim Auffüllen von Textdaten wird für kürzere Sequenzen ein <code>0</code> hinzugefügt. Die gleiche Idee gilt für Audiodaten, und der Audio-Feature-Extraktor fügt eine <code>0</code> - interpretiert als Stille - zu <code>array</code> hinzu.",xa,vs,ml="Laden Sie den Merkmalsextraktor mit <code>AutoFeatureExtractor.from_pretrained()</code>:",za,xs,Ia,zs,ul="Übergeben Sie das Audio-”Array” an den Feature-Extraktor. Wir empfehlen auch, das Argument <code>sampling_rate</code> im Feature Extractor hinzuzufügen, um eventuell auftretende stille Fehler besser zu beheben.",Ua,Is,Ca,Us,_a,Cs,hl="Genau wie beim Tokenizer können Sie variable Sequenzen in einem Stapel durch Auffüllen oder Abschneiden behandeln. Werfen Sie einen Blick auf die Sequenzlänge dieser beiden Audiobeispiele:",Ba,_s,Wa,Bs,cl="Wie Sie sehen können, hat das erste Beispiel eine längere Sequenz als das zweite Beispiel. Lassen Sie uns eine Funktion erstellen, die den Datensatz vorverarbeitet. Geben Sie eine maximale Länge der Probe an, und der Feature-Extraktor wird die Sequenzen entweder auffüllen oder abschneiden, damit sie dieser Länge entsprechen:",Za,Ws,Ga,Zs,il="Wenden Sie die Funktion auf die ersten paar Beispiele im Datensatz an:",Va,Gs,Ra,Vs,jl="Schauen Sie sich nun noch einmal die verarbeiteten Beispiel-Längen an:",Fa,Rs,Sa,Fs,bl="Die Länge der ersten beiden Beispiele entspricht nun der von Ihnen angegebenen Maximallänge.",Xa,Ss,Aa,Xs,dl="Ein Merkmalsextraktor wird auch verwendet, um Bilder für Bildverarbeitungsaufgaben zu verarbeiten. Auch hier besteht das Ziel darin, das Rohbild in eine Reihe von Tensoren als Eingabe zu konvertieren.",Ya,As,ol='Laden wir den <a href="https://huggingface.co/datasets/food101" rel="nofollow">food101</a> Datensatz für dieses Tutorial. Verwenden Sie den Parameter 🤗 Datasets <code>split</code>, um nur eine kleine Stichprobe aus dem Trainingssplit zu laden, da der Datensatz recht groß ist:',Na,Ys,qa,Ns,gl='Als Nächstes sehen Sie sich das Bild mit dem Merkmal 🤗 Datensätze [Bild] (<a href="https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=image#datasets.Image" rel="nofollow">https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=image#datasets.Image</a>) an:',Ha,qs,Ea,Hs,fl='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/vision-preprocess-tutorial.png" alt="vision-preprocess-tutorial.png"/>',La,Es,Qa,Ls,Tl="Laden Sie den Merkmalsextraktor mit <code>AutoImageProcessor.from_pretrained()</code>:",Da,Qs,Pa,Ds,Ka,Ps,Ml='Bei Bildverarbeitungsaufgaben ist es üblich, den Bildern als Teil der Vorverarbeitung eine Art von Datenerweiterung hinzuzufügen. Sie können Erweiterungen mit jeder beliebigen Bibliothek hinzufügen, aber in diesem Tutorial werden Sie das Modul <a href="https://pytorch.org/vision/stable/transforms.html" rel="nofollow"><code>transforms</code></a> von torchvision verwenden.',Oa,Ks,wl='<li>Normalisieren Sie das Bild und verwenden Sie <a href="https://pytorch.org/vision/master/generated/torchvision.transforms.Compose.html" rel="nofollow"><code>Compose</code></a>, um einige Transformationen - <a href="https://pytorch.org/vision/main/generated/torchvision.transforms.RandomResizedCrop.html" rel="nofollow"><code>RandomResizedCrop</code></a> und <a href="https://pytorch.org/vision/main/generated/torchvision.transforms.ColorJitter.html" rel="nofollow"><code>ColorJitter</code></a> - miteinander zu verknüpfen:</li>',se,Os,ne,v,Jl='<li>Das Modell akzeptiert <a href="model_doc/visionencoderdecoder#transformers.VisionEncoderDecoderModel.forward.pixel_values"><code>pixel_values</code></a> als Eingabe. Dieser Wert wird vom Merkmalsextraktor erzeugt. Erstellen Sie eine Funktion, die <code>pixel_values</code> aus den Transformationen erzeugt:</li>',ae,sn,ee,x,$l='<li>Dann verwenden Sie 🤗 Datasets <a href="https://huggingface.co/docs/datasets/process.html#format-transform" rel="nofollow"><code>set_transform</code></a>, um die Transformationen im laufenden Betrieb anzuwenden:</li>',le,nn,pe,z,yl="<li>Wenn Sie nun auf das Bild zugreifen, werden Sie feststellen, dass der Feature Extractor die Modelleingabe “pixel_values” hinzugefügt hat:</li>",te,an,re,en,kl="Hier sehen Sie, wie das Bild nach der Vorverarbeitung aussieht. Wie von den angewandten Transformationen zu erwarten, wurde das Bild willkürlich beschnitten und seine Farbeigenschaften sind anders.",me,ln,ue,pn,vl='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/preprocessed_image.png" alt="preprocessed_image"/>',he,tn,ce,rn,xl="Für multimodale Aufgaben werden Sie eine Kombination aus allem, was Sie bisher gelernt haben, verwenden und Ihre Fähigkeiten auf eine Aufgabe der automatischen Spracherkennung (ASR) anwenden. Dies bedeutet, dass Sie einen:",ie,mn,zl="<li>Feature Extractor zur Vorverarbeitung der Audiodaten.</li> <li>Tokenizer, um den Text zu verarbeiten.</li>",je,un,Il='Kehren wir zum <a href="https://huggingface.co/datasets/lj_speech" rel="nofollow">LJ Speech</a> Datensatz zurück:',be,hn,de,cn,Ul="Da Sie hauptsächlich an den Spalten “Audio” und “Text” interessiert sind, entfernen Sie die anderen Spalten:",oe,jn,ge,bn,Cl="Schauen Sie sich nun die Spalten “Audio” und “Text” an:",fe,dn,Te,on,_l='Erinnern Sie sich an den früheren Abschnitt über die Verarbeitung von Audiodaten: Sie sollten immer die Abtastrate Ihrer Audiodaten <a href="preprocessing#audio">resample</a>, damit sie mit der Abtastrate des Datensatzes übereinstimmt, der für das Vortraining eines Modells verwendet wird:',Me,gn,we,fn,Je,Tn,Bl="Ein Processor kombiniert einen Feature-Extraktor und einen Tokenizer. Laden Sie einen Processor mit [`AutoProcessor.from_pretrained]:",$e,Mn,ye,wn,Wl="<li>Erstellen Sie eine Funktion, die die Audiodaten zu <code>input_values</code> verarbeitet und den Text zu <code>labels</code> tokenisiert. Dies sind Ihre Eingaben für das Modell:</li>",ke,Jn,ve,I,Zl="<li>Wenden Sie die Funktion “prepare_dataset” auf ein Beispiel an:</li>",xe,$n,ze,yn,Gl="Beachten Sie, dass der Processor <code>input_values</code> und <code>labels</code> hinzugefügt hat. Auch die Abtastrate wurde korrekt auf 16kHz heruntergerechnet.",Ie,kn,Vl="Toll, Sie sollten jetzt in der Lage sein, Daten für jede Modalität vorzuverarbeiten und sogar verschiedene Modalitäten zu kombinieren! Im nächsten Kurs lernen Sie, wie Sie ein Modell mit Ihren neu aufbereiteten Daten feinabstimmen können.",Ue,xn,Ce;return w=new M({props:{title:"Vorverarbeiten",local:"vorverarbeiten",headingTag:"h1"}}),U=new Dl({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Mixed",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/de/preprocessing.ipynb"},{label:"PyTorch",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/de/pytorch/preprocessing.ipynb"},{label:"TensorFlow",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/de/tensorflow/preprocessing.ipynb"},{label:"Mixed",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/de/preprocessing.ipynb"},{label:"PyTorch",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/de/pytorch/preprocessing.ipynb"},{label:"TensorFlow",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/de/tensorflow/preprocessing.ipynb"}]}}),B=new M({props:{title:"NLP",local:"nlp",headingTag:"h2"}}),W=new Ql({props:{id:"Yffk5aydLzg"}}),$=new Ll({props:{$$slots:{default:[Kl]},$$scope:{ctx:J}}}),V=new M({props:{title:"Tokenize",local:"tokenize",headingTag:"h3"}}),F=new g({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJiZXJ0LWJhc2UtY2FzZWQlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;bert-base-cased&quot;</span>)`,wrap:!1}}),X=new g({props:{code:"ZW5jb2RlZF9pbnB1dCUyMCUzRCUyMHRva2VuaXplciglMjJEbyUyMG5vdCUyMG1lZGRsZSUyMGluJTIwdGhlJTIwYWZmYWlycyUyMG9mJTIwd2l6YXJkcyUyQyUyMGZvciUyMHRoZXklMjBhcmUlMjBzdWJ0bGUlMjBhbmQlMjBxdWljayUyMHRvJTIwYW5nZXIuJTIyKSUwQXByaW50KGVuY29kZWRfaW5wdXQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_input = tokenizer(<span class="hljs-string">&quot;Do not meddle in the affairs of wizards, for they are subtle and quick to anger.&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_input)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [<span class="hljs-number">101</span>, <span class="hljs-number">2079</span>, <span class="hljs-number">2025</span>, <span class="hljs-number">19960</span>, <span class="hljs-number">10362</span>, <span class="hljs-number">1999</span>, <span class="hljs-number">1996</span>, <span class="hljs-number">3821</span>, <span class="hljs-number">1997</span>, <span class="hljs-number">16657</span>, <span class="hljs-number">1010</span>, <span class="hljs-number">2005</span>, <span class="hljs-number">2027</span>, <span class="hljs-number">2024</span>, <span class="hljs-number">11259</span>, <span class="hljs-number">1998</span>, <span class="hljs-number">4248</span>, <span class="hljs-number">2000</span>, <span class="hljs-number">4963</span>, <span class="hljs-number">1012</span>, <span class="hljs-number">102</span>], 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>]}`,wrap:!1}}),q=new g({props:{code:"dG9rZW5pemVyLmRlY29kZShlbmNvZGVkX2lucHV0JTVCJTIyaW5wdXRfaWRzJTIyJTVEKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer.decode(encoded_input[<span class="hljs-string">&quot;input_ids&quot;</span>])
<span class="hljs-string">&#x27;[CLS] Do not meddle in the affairs of wizards, for they are subtle and quick to anger. [SEP]&#x27;</span>`,wrap:!1}}),L=new g({props:{code:"YmF0Y2hfc2VudGVuY2VzJTIwJTNEJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIyQnV0JTIwd2hhdCUyMGFib3V0JTIwc2Vjb25kJTIwYnJlYWtmYXN0JTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyRG9uJ3QlMjB0aGluayUyMGhlJTIwa25vd3MlMjBhYm91dCUyMHNlY29uZCUyMGJyZWFrZmFzdCUyQyUyMFBpcC4lMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJXaGF0JTIwYWJvdXQlMjBlbGV2ZW5zaWVzJTNGJTIyJTJDJTBBJTVEJTBBZW5jb2RlZF9pbnB1dHMlMjAlM0QlMjB0b2tlbml6ZXIoYmF0Y2hfc2VudGVuY2VzKSUwQXByaW50KGVuY29kZWRfaW5wdXRzKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>batch_sentences = [
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;But what about second breakfast?&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;Don&#x27;t think he knows about second breakfast, Pip.&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;What about elevensies?&quot;</span>,
<span class="hljs-meta">... </span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_inputs = tokenizer(batch_sentences)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_inputs)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [[<span class="hljs-number">101</span>, <span class="hljs-number">1252</span>, <span class="hljs-number">1184</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1790</span>, <span class="hljs-number">112</span>, <span class="hljs-number">189</span>, <span class="hljs-number">1341</span>, <span class="hljs-number">1119</span>, <span class="hljs-number">3520</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">117</span>, <span class="hljs-number">21902</span>, <span class="hljs-number">1643</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1327</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">5450</span>, <span class="hljs-number">23434</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>]], 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [[<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [[<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>]]}`,wrap:!1}}),Q=new M({props:{title:"Pad",local:"pad",headingTag:"h3"}}),K=new g({props:{code:"YmF0Y2hfc2VudGVuY2VzJTIwJTNEJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIyQnV0JTIwd2hhdCUyMGFib3V0JTIwc2Vjb25kJTIwYnJlYWtmYXN0JTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyRG9uJ3QlMjB0aGluayUyMGhlJTIwa25vd3MlMjBhYm91dCUyMHNlY29uZCUyMGJyZWFrZmFzdCUyQyUyMFBpcC4lMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJXaGF0JTIwYWJvdXQlMjBlbGV2ZW5zaWVzJTNGJTIyJTJDJTBBJTVEJTBBZW5jb2RlZF9pbnB1dCUyMCUzRCUyMHRva2VuaXplcihiYXRjaF9zZW50ZW5jZXMlMkMlMjBwYWRkaW5nJTNEVHJ1ZSklMEFwcmludChlbmNvZGVkX2lucHV0KQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>batch_sentences = [
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;But what about second breakfast?&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;Don&#x27;t think he knows about second breakfast, Pip.&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;What about elevensies?&quot;</span>,
<span class="hljs-meta">... </span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_input = tokenizer(batch_sentences, padding=<span class="hljs-literal">True</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_input)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [[<span class="hljs-number">101</span>, <span class="hljs-number">1252</span>, <span class="hljs-number">1184</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1790</span>, <span class="hljs-number">112</span>, <span class="hljs-number">189</span>, <span class="hljs-number">1341</span>, <span class="hljs-number">1119</span>, <span class="hljs-number">3520</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">117</span>, <span class="hljs-number">21902</span>, <span class="hljs-number">1643</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1327</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">5450</span>, <span class="hljs-number">23434</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [[<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [[<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]]}`,wrap:!1}}),ss=new M({props:{title:"Kürzung",local:"kürzung",headingTag:"h3"}}),es=new g({props:{code:"YmF0Y2hfc2VudGVuY2VzJTIwJTNEJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIyQnV0JTIwd2hhdCUyMGFib3V0JTIwc2Vjb25kJTIwYnJlYWtmYXN0JTNGJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyRG9uJ3QlMjB0aGluayUyMGhlJTIwa25vd3MlMjBhYm91dCUyMHNlY29uZCUyMGJyZWFrZmFzdCUyQyUyMFBpcC4lMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJXaGF0JTIwYWJvdXQlMjBlbGV2ZW5zaWVzJTNGJTIyJTJDJTBBJTVEJTBBZW5jb2RlZF9pbnB1dCUyMCUzRCUyMHRva2VuaXplcihiYXRjaF9zZW50ZW5jZXMlMkMlMjBwYWRkaW5nJTNEVHJ1ZSUyQyUyMHRydW5jYXRpb24lM0RUcnVlKSUwQXByaW50KGVuY29kZWRfaW5wdXQp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>batch_sentences = [
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;But what about second breakfast?&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;Don&#x27;t think he knows about second breakfast, Pip.&quot;</span>,
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;What about elevensies?&quot;</span>,
<span class="hljs-meta">... </span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>encoded_input = tokenizer(batch_sentences, padding=<span class="hljs-literal">True</span>, truncation=<span class="hljs-literal">True</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoded_input)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [[<span class="hljs-number">101</span>, <span class="hljs-number">1252</span>, <span class="hljs-number">1184</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1790</span>, <span class="hljs-number">112</span>, <span class="hljs-number">189</span>, <span class="hljs-number">1341</span>, <span class="hljs-number">1119</span>, <span class="hljs-number">3520</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">1248</span>, <span class="hljs-number">6462</span>, <span class="hljs-number">117</span>, <span class="hljs-number">21902</span>, <span class="hljs-number">1643</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>], 
               [<span class="hljs-number">101</span>, <span class="hljs-number">1327</span>, <span class="hljs-number">1164</span>, <span class="hljs-number">5450</span>, <span class="hljs-number">23434</span>, <span class="hljs-number">136</span>, <span class="hljs-number">102</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], 
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [[<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]], 
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [[<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>], 
                    [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>]]}`,wrap:!1}}),ls=new M({props:{title:"Tensoren erstellen",local:"tensoren-erstellen",headingTag:"h3"}}),y=new Pl({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[ap],pytorch:[sp]},$$scope:{ctx:J}}}),rs=new M({props:{title:"Audio",local:"audio",headingTag:"h2"}}),us=new g({props:{code:"cGlwJTIwaW5zdGFsbCUyMGRhdGFzZXRz",highlighted:"pip install datasets",wrap:!1}}),cs=new g({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTJDJTIwQXVkaW8lMEElMEFkYXRhc2V0JTIwJTNEJTIwbG9hZF9kYXRhc2V0KCUyMlBvbHlBSSUyRm1pbmRzMTQlMjIlMkMlMjBuYW1lJTNEJTIyZW4tVVMlMjIlMkMlMjBzcGxpdCUzRCUyMnRyYWluJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset, Audio

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;PolyAI/minds14&quot;</span>, name=<span class="hljs-string">&quot;en-US&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)`,wrap:!1}}),js=new g({props:{code:"ZGF0YXNldCU1QjAlNUQlNUIlMjJhdWRpbyUyMiU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>]
{<span class="hljs-string">&#x27;array&#x27;</span>: array([ <span class="hljs-number">0.</span>        ,  <span class="hljs-number">0.00024414</span>, -<span class="hljs-number">0.00024414</span>, ..., -<span class="hljs-number">0.00024414</span>,
         <span class="hljs-number">0.</span>        ,  <span class="hljs-number">0.</span>        ], dtype=float32),
 <span class="hljs-string">&#x27;path&#x27;</span>: <span class="hljs-string">&#x27;/root/.cache/huggingface/datasets/downloads/extracted/f14948e0e84be638dd7943ac36518a4cf3324e8b7aa331c5ab11541518e9368c/en-US~JOINT_ACCOUNT/602ba55abb1e6d0fbce92065.wav&#x27;</span>,
 <span class="hljs-string">&#x27;sampling_rate&#x27;</span>: <span class="hljs-number">8000</span>}`,wrap:!1}}),os=new M({props:{title:"Resample",local:"resample",headingTag:"h3"}}),Ts=new g({props:{code:"ZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJQb2x5QUklMkZtaW5kczE0JTIyJTJDJTIwbmFtZSUzRCUyMmVuLVVTJTIyJTJDJTIwc3BsaXQlM0QlMjJ0cmFpbiUyMiklMEFkYXRhc2V0JTVCMCU1RCU1QiUyMmF1ZGlvJTIyJTVE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;PolyAI/minds14&quot;</span>, name=<span class="hljs-string">&quot;en-US&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>]
{<span class="hljs-string">&#x27;array&#x27;</span>: array([ <span class="hljs-number">0.</span>        ,  <span class="hljs-number">0.00024414</span>, -<span class="hljs-number">0.00024414</span>, ..., -<span class="hljs-number">0.00024414</span>,
         <span class="hljs-number">0.</span>        ,  <span class="hljs-number">0.</span>        ], dtype=float32),
 <span class="hljs-string">&#x27;path&#x27;</span>: <span class="hljs-string">&#x27;/root/.cache/huggingface/datasets/downloads/extracted/f14948e0e84be638dd7943ac36518a4cf3324e8b7aa331c5ab11541518e9368c/en-US~JOINT_ACCOUNT/602ba55abb1e6d0fbce92065.wav&#x27;</span>,
 <span class="hljs-string">&#x27;sampling_rate&#x27;</span>: <span class="hljs-number">8000</span>}`,wrap:!1}}),ws=new g({props:{code:"ZGF0YXNldCUyMCUzRCUyMGRhdGFzZXQuY2FzdF9jb2x1bW4oJTIyYXVkaW8lMjIlMkMlMjBBdWRpbyhzYW1wbGluZ19yYXRlJTNEMTZfMDAwKSk=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = dataset.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, Audio(sampling_rate=<span class="hljs-number">16_000</span>))',wrap:!1}}),Js=new g({props:{code:"ZGF0YXNldCU1QjAlNUQlNUIlMjJhdWRpbyUyMiU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>]
{<span class="hljs-string">&#x27;array&#x27;</span>: array([ <span class="hljs-number">2.3443763e-05</span>,  <span class="hljs-number">2.1729663e-04</span>,  <span class="hljs-number">2.2145823e-04</span>, ...,
         <span class="hljs-number">3.8356509e-05</span>, -<span class="hljs-number">7.3497440e-06</span>, -<span class="hljs-number">2.1754686e-05</span>], dtype=float32),
 <span class="hljs-string">&#x27;path&#x27;</span>: <span class="hljs-string">&#x27;/root/.cache/huggingface/datasets/downloads/extracted/f14948e0e84be638dd7943ac36518a4cf3324e8b7aa331c5ab11541518e9368c/en-US~JOINT_ACCOUNT/602ba55abb1e6d0fbce92065.wav&#x27;</span>,
 <span class="hljs-string">&#x27;sampling_rate&#x27;</span>: <span class="hljs-number">16000</span>}`,wrap:!1}}),ys=new M({props:{title:"Merkmalsextraktor",local:"merkmalsextraktor",headingTag:"h3"}}),xs=new g({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9GZWF0dXJlRXh0cmFjdG9yJTBBJTBBZmVhdHVyZV9leHRyYWN0b3IlMjAlM0QlMjBBdXRvRmVhdHVyZUV4dHJhY3Rvci5mcm9tX3ByZXRyYWluZWQoJTIyZmFjZWJvb2slMkZ3YXYydmVjMi1iYXNlJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoFeatureExtractor

<span class="hljs-meta">&gt;&gt;&gt; </span>feature_extractor = AutoFeatureExtractor.from_pretrained(<span class="hljs-string">&quot;facebook/wav2vec2-base&quot;</span>)`,wrap:!1}}),Is=new g({props:{code:"YXVkaW9faW5wdXQlMjAlM0QlMjAlNUJkYXRhc2V0JTVCMCU1RCU1QiUyMmF1ZGlvJTIyJTVEJTVCJTIyYXJyYXklMjIlNUQlNUQlMEFmZWF0dXJlX2V4dHJhY3RvcihhdWRpb19pbnB1dCUyQyUyMHNhbXBsaW5nX3JhdGUlM0QxNjAwMCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>audio_input = [dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>]]
<span class="hljs-meta">&gt;&gt;&gt; </span>feature_extractor(audio_input, sampling_rate=<span class="hljs-number">16000</span>)
{<span class="hljs-string">&#x27;input_values&#x27;</span>: [array([ <span class="hljs-number">3.8106556e-04</span>,  <span class="hljs-number">2.7506407e-03</span>,  <span class="hljs-number">2.8015103e-03</span>, ...,
        <span class="hljs-number">5.6335266e-04</span>,  <span class="hljs-number">4.6588284e-06</span>, -<span class="hljs-number">1.7142107e-04</span>], dtype=float32)]}`,wrap:!1}}),Us=new M({props:{title:"Auffüllen und Kürzen",local:"auffüllen-und-kürzen",headingTag:"h3"}}),_s=new g({props:{code:"ZGF0YXNldCU1QjAlNUQlNUIlMjJhdWRpbyUyMiU1RCU1QiUyMmFycmF5JTIyJTVELnNoYXBlJTBBJTBBZGF0YXNldCU1QjElNUQlNUIlMjJhdWRpbyUyMiU1RCU1QiUyMmFycmF5JTIyJTVELnNoYXBl",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>].shape
(<span class="hljs-number">173398</span>,)

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">1</span>][<span class="hljs-string">&quot;audio&quot;</span>][<span class="hljs-string">&quot;array&quot;</span>].shape
(<span class="hljs-number">106496</span>,)`,wrap:!1}}),Ws=new g({props:{code:"ZGVmJTIwcHJlcHJvY2Vzc19mdW5jdGlvbihleGFtcGxlcyklM0ElMEElMjAlMjAlMjAlMjBhdWRpb19hcnJheXMlMjAlM0QlMjAlNUJ4JTVCJTIyYXJyYXklMjIlNUQlMjBmb3IlMjB4JTIwaW4lMjBleGFtcGxlcyU1QiUyMmF1ZGlvJTIyJTVEJTVEJTBBJTIwJTIwJTIwJTIwaW5wdXRzJTIwJTNEJTIwZmVhdHVyZV9leHRyYWN0b3IoJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwYXVkaW9fYXJyYXlzJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc2FtcGxpbmdfcmF0ZSUzRDE2MDAwJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcGFkZGluZyUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBtYXhfbGVuZ3RoJTNEMTAwMDAwJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwdHJ1bmNhdGlvbiUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjApJTBBJTIwJTIwJTIwJTIwcmV0dXJuJTIwaW5wdXRz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">preprocess_function</span>(<span class="hljs-params">examples</span>):
<span class="hljs-meta">... </span>    audio_arrays = [x[<span class="hljs-string">&quot;array&quot;</span>] <span class="hljs-keyword">for</span> x <span class="hljs-keyword">in</span> examples[<span class="hljs-string">&quot;audio&quot;</span>]]
<span class="hljs-meta">... </span>    inputs = feature_extractor(
<span class="hljs-meta">... </span>        audio_arrays,
<span class="hljs-meta">... </span>        sampling_rate=<span class="hljs-number">16000</span>,
<span class="hljs-meta">... </span>        padding=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>        max_length=<span class="hljs-number">100000</span>,
<span class="hljs-meta">... </span>        truncation=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>    )
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> inputs`,wrap:!1}}),Gs=new g({props:{code:"cHJvY2Vzc2VkX2RhdGFzZXQlMjAlM0QlMjBwcmVwcm9jZXNzX2Z1bmN0aW9uKGRhdGFzZXQlNUIlM0E1JTVEKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>processed_dataset = preprocess_function(dataset[:<span class="hljs-number">5</span>])',wrap:!1}}),Rs=new g({props:{code:"cHJvY2Vzc2VkX2RhdGFzZXQlNUIlMjJpbnB1dF92YWx1ZXMlMjIlNUQlNUIwJTVELnNoYXBlJTBBJTBBcHJvY2Vzc2VkX2RhdGFzZXQlNUIlMjJpbnB1dF92YWx1ZXMlMjIlNUQlNUIxJTVELnNoYXBl",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>processed_dataset[<span class="hljs-string">&quot;input_values&quot;</span>][<span class="hljs-number">0</span>].shape
(<span class="hljs-number">100000</span>,)

<span class="hljs-meta">&gt;&gt;&gt; </span>processed_dataset[<span class="hljs-string">&quot;input_values&quot;</span>][<span class="hljs-number">1</span>].shape
(<span class="hljs-number">100000</span>,)`,wrap:!1}}),Ss=new M({props:{title:"Bildverarbeitung",local:"bildverarbeitung",headingTag:"h2"}}),Ys=new g({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJmb29kMTAxJTIyJTJDJTIwc3BsaXQlM0QlMjJ0cmFpbiU1QiUzQTEwMCU1RCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;food101&quot;</span>, split=<span class="hljs-string">&quot;train[:100]&quot;</span>)`,wrap:!1}}),qs=new g({props:{code:"ZGF0YXNldCU1QjAlNUQlNUIlMjJpbWFnZSUyMiU1RA==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;image&quot;</span>]',wrap:!1}}),Es=new M({props:{title:"Merkmalsextraktor",local:"merkmalsextraktor",headingTag:"h3"}}),Qs=new g({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9JbWFnZVByb2Nlc3NvciUwQSUwQWltYWdlX3Byb2Nlc3NvciUyMCUzRCUyMEF1dG9JbWFnZVByb2Nlc3Nvci5mcm9tX3ByZXRyYWluZWQoJTIyZ29vZ2xlJTJGdml0LWJhc2UtcGF0Y2gxNi0yMjQlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoImageProcessor

<span class="hljs-meta">&gt;&gt;&gt; </span>image_processor = AutoImageProcessor.from_pretrained(<span class="hljs-string">&quot;google/vit-base-patch16-224&quot;</span>)`,wrap:!1}}),Ds=new M({props:{title:"Datenerweiterung",local:"datenerweiterung",headingTag:"h3"}}),Os=new g({props:{code:"ZnJvbSUyMHRvcmNodmlzaW9uLnRyYW5zZm9ybXMlMjBpbXBvcnQlMjBDb21wb3NlJTJDJTIwTm9ybWFsaXplJTJDJTIwUmFuZG9tUmVzaXplZENyb3AlMkMlMjBDb2xvckppdHRlciUyQyUyMFRvVGVuc29yJTBBJTBBbm9ybWFsaXplJTIwJTNEJTIwTm9ybWFsaXplKG1lYW4lM0RpbWFnZV9wcm9jZXNzb3IuaW1hZ2VfbWVhbiUyQyUyMHN0ZCUzRGltYWdlX3Byb2Nlc3Nvci5pbWFnZV9zdGQpJTBBX3RyYW5zZm9ybXMlMjAlM0QlMjBDb21wb3NlKCUwQSUyMCUyMCUyMCUyMCU1QlJhbmRvbVJlc2l6ZWRDcm9wKGltYWdlX3Byb2Nlc3Nvci5zaXplJTVCJTIyaGVpZ2h0JTIyJTVEKSUyQyUyMENvbG9ySml0dGVyKGJyaWdodG5lc3MlM0QwLjUlMkMlMjBodWUlM0QwLjUpJTJDJTIwVG9UZW5zb3IoKSUyQyUyMG5vcm1hbGl6ZSU1RCUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> torchvision.transforms <span class="hljs-keyword">import</span> Compose, Normalize, RandomResizedCrop, ColorJitter, ToTensor

<span class="hljs-meta">&gt;&gt;&gt; </span>normalize = Normalize(mean=image_processor.image_mean, std=image_processor.image_std)
<span class="hljs-meta">&gt;&gt;&gt; </span>_transforms = Compose(
<span class="hljs-meta">... </span>    [RandomResizedCrop(image_processor.size[<span class="hljs-string">&quot;height&quot;</span>]), ColorJitter(brightness=<span class="hljs-number">0.5</span>, hue=<span class="hljs-number">0.5</span>), ToTensor(), normalize]
<span class="hljs-meta">... </span>)`,wrap:!1}}),sn=new g({props:{code:"ZGVmJTIwdHJhbnNmb3JtcyhleGFtcGxlcyklM0ElMEElMjAlMjAlMjAlMjBleGFtcGxlcyU1QiUyMnBpeGVsX3ZhbHVlcyUyMiU1RCUyMCUzRCUyMCU1Ql90cmFuc2Zvcm1zKGltYWdlLmNvbnZlcnQoJTIyUkdCJTIyKSklMjBmb3IlMjBpbWFnZSUyMGluJTIwZXhhbXBsZXMlNUIlMjJpbWFnZSUyMiU1RCU1RCUwQSUyMCUyMCUyMCUyMHJldHVybiUyMGV4YW1wbGVz",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">transforms</span>(<span class="hljs-params">examples</span>):
<span class="hljs-meta">... </span>    examples[<span class="hljs-string">&quot;pixel_values&quot;</span>] = [_transforms(image.convert(<span class="hljs-string">&quot;RGB&quot;</span>)) <span class="hljs-keyword">for</span> image <span class="hljs-keyword">in</span> examples[<span class="hljs-string">&quot;image&quot;</span>]]
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> examples`,wrap:!1}}),nn=new g({props:{code:"ZGF0YXNldC5zZXRfdHJhbnNmb3JtKHRyYW5zZm9ybXMp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset.set_transform(transforms)',wrap:!1}}),an=new g({props:{code:"ZGF0YXNldCU1QjAlNUQlNUIlMjJpbWFnZSUyMiU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;image&quot;</span>]
{<span class="hljs-string">&#x27;image&#x27;</span>: &lt;PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=384x512 at <span class="hljs-number">0x7F1A7B0630D0</span>&gt;,
 <span class="hljs-string">&#x27;label&#x27;</span>: <span class="hljs-number">6</span>,
 <span class="hljs-string">&#x27;pixel_values&#x27;</span>: tensor([[[ <span class="hljs-number">0.0353</span>,  <span class="hljs-number">0.0745</span>,  <span class="hljs-number">0.1216</span>,  ..., -<span class="hljs-number">0.9922</span>, -<span class="hljs-number">0.9922</span>, -<span class="hljs-number">0.9922</span>],
          [-<span class="hljs-number">0.0196</span>,  <span class="hljs-number">0.0667</span>,  <span class="hljs-number">0.1294</span>,  ..., -<span class="hljs-number">0.9765</span>, -<span class="hljs-number">0.9843</span>, -<span class="hljs-number">0.9922</span>],
          [ <span class="hljs-number">0.0196</span>,  <span class="hljs-number">0.0824</span>,  <span class="hljs-number">0.1137</span>,  ..., -<span class="hljs-number">0.9765</span>, -<span class="hljs-number">0.9686</span>, -<span class="hljs-number">0.8667</span>],
          ...,
          [ <span class="hljs-number">0.0275</span>,  <span class="hljs-number">0.0745</span>,  <span class="hljs-number">0.0510</span>,  ..., -<span class="hljs-number">0.1137</span>, -<span class="hljs-number">0.1216</span>, -<span class="hljs-number">0.0824</span>],
          [ <span class="hljs-number">0.0667</span>,  <span class="hljs-number">0.0824</span>,  <span class="hljs-number">0.0667</span>,  ..., -<span class="hljs-number">0.0588</span>, -<span class="hljs-number">0.0745</span>, -<span class="hljs-number">0.0980</span>],
          [ <span class="hljs-number">0.0353</span>,  <span class="hljs-number">0.0353</span>,  <span class="hljs-number">0.0431</span>,  ..., -<span class="hljs-number">0.0039</span>, -<span class="hljs-number">0.0039</span>, -<span class="hljs-number">0.0588</span>]],
 
         [[ <span class="hljs-number">0.2078</span>,  <span class="hljs-number">0.2471</span>,  <span class="hljs-number">0.2863</span>,  ..., -<span class="hljs-number">0.9451</span>, -<span class="hljs-number">0.9373</span>, -<span class="hljs-number">0.9451</span>],
          [ <span class="hljs-number">0.1608</span>,  <span class="hljs-number">0.2471</span>,  <span class="hljs-number">0.3098</span>,  ..., -<span class="hljs-number">0.9373</span>, -<span class="hljs-number">0.9451</span>, -<span class="hljs-number">0.9373</span>],
          [ <span class="hljs-number">0.2078</span>,  <span class="hljs-number">0.2706</span>,  <span class="hljs-number">0.3020</span>,  ..., -<span class="hljs-number">0.9608</span>, -<span class="hljs-number">0.9373</span>, -<span class="hljs-number">0.8275</span>],
          ...,
          [-<span class="hljs-number">0.0353</span>,  <span class="hljs-number">0.0118</span>, -<span class="hljs-number">0.0039</span>,  ..., -<span class="hljs-number">0.2392</span>, -<span class="hljs-number">0.2471</span>, -<span class="hljs-number">0.2078</span>],
          [ <span class="hljs-number">0.0196</span>,  <span class="hljs-number">0.0353</span>,  <span class="hljs-number">0.0196</span>,  ..., -<span class="hljs-number">0.1843</span>, -<span class="hljs-number">0.2000</span>, -<span class="hljs-number">0.2235</span>],
          [-<span class="hljs-number">0.0118</span>, -<span class="hljs-number">0.0039</span>, -<span class="hljs-number">0.0039</span>,  ..., -<span class="hljs-number">0.0980</span>, -<span class="hljs-number">0.0980</span>, -<span class="hljs-number">0.1529</span>]],
 
         [[ <span class="hljs-number">0.3961</span>,  <span class="hljs-number">0.4431</span>,  <span class="hljs-number">0.4980</span>,  ..., -<span class="hljs-number">0.9216</span>, -<span class="hljs-number">0.9137</span>, -<span class="hljs-number">0.9216</span>],
          [ <span class="hljs-number">0.3569</span>,  <span class="hljs-number">0.4510</span>,  <span class="hljs-number">0.5216</span>,  ..., -<span class="hljs-number">0.9059</span>, -<span class="hljs-number">0.9137</span>, -<span class="hljs-number">0.9137</span>],
          [ <span class="hljs-number">0.4118</span>,  <span class="hljs-number">0.4745</span>,  <span class="hljs-number">0.5216</span>,  ..., -<span class="hljs-number">0.9137</span>, -<span class="hljs-number">0.8902</span>, -<span class="hljs-number">0.7804</span>],
          ...,
          [-<span class="hljs-number">0.2314</span>, -<span class="hljs-number">0.1922</span>, -<span class="hljs-number">0.2078</span>,  ..., -<span class="hljs-number">0.4196</span>, -<span class="hljs-number">0.4275</span>, -<span class="hljs-number">0.3882</span>],
          [-<span class="hljs-number">0.1843</span>, -<span class="hljs-number">0.1686</span>, -<span class="hljs-number">0.2000</span>,  ..., -<span class="hljs-number">0.3647</span>, -<span class="hljs-number">0.3804</span>, -<span class="hljs-number">0.4039</span>],
          [-<span class="hljs-number">0.1922</span>, -<span class="hljs-number">0.1922</span>, -<span class="hljs-number">0.1922</span>,  ..., -<span class="hljs-number">0.2941</span>, -<span class="hljs-number">0.2863</span>, -<span class="hljs-number">0.3412</span>]]])}`,wrap:!1}}),ln=new g({props:{code:"aW1wb3J0JTIwbnVtcHklMjBhcyUyMG5wJTBBaW1wb3J0JTIwbWF0cGxvdGxpYi5weXBsb3QlMjBhcyUyMHBsdCUwQSUwQWltZyUyMCUzRCUyMGRhdGFzZXQlNUIwJTVEJTVCJTIycGl4ZWxfdmFsdWVzJTIyJTVEJTBBcGx0Lmltc2hvdyhpbWcucGVybXV0ZSgxJTJDJTIwMiUyQyUyMDApKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> numpy <span class="hljs-keyword">as</span> np
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> matplotlib.pyplot <span class="hljs-keyword">as</span> plt

<span class="hljs-meta">&gt;&gt;&gt; </span>img = dataset[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;pixel_values&quot;</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>plt.imshow(img.permute(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">0</span>))`,wrap:!1}}),tn=new M({props:{title:"Multimodal",local:"multimodal",headingTag:"h2"}}),hn=new g({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBbGpfc3BlZWNoJTIwJTNEJTIwbG9hZF9kYXRhc2V0KCUyMmxqX3NwZWVjaCUyMiUyQyUyMHNwbGl0JTNEJTIydHJhaW4lMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>lj_speech = load_dataset(<span class="hljs-string">&quot;lj_speech&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)`,wrap:!1}}),jn=new g({props:{code:"bGpfc3BlZWNoJTIwJTNEJTIwbGpfc3BlZWNoLm1hcChyZW1vdmVfY29sdW1ucyUzRCU1QiUyMmZpbGUlMjIlMkMlMjAlMjJpZCUyMiUyQyUyMCUyMm5vcm1hbGl6ZWRfdGV4dCUyMiU1RCk=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>lj_speech = lj_speech.<span class="hljs-built_in">map</span>(remove_columns=[<span class="hljs-string">&quot;file&quot;</span>, <span class="hljs-string">&quot;id&quot;</span>, <span class="hljs-string">&quot;normalized_text&quot;</span>])',wrap:!1}}),dn=new g({props:{code:"bGpfc3BlZWNoJTVCMCU1RCU1QiUyMmF1ZGlvJTIyJTVEJTBBJTBBbGpfc3BlZWNoJTVCMCU1RCU1QiUyMnRleHQlMjIlNUQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>lj_speech[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;audio&quot;</span>]
{<span class="hljs-string">&#x27;array&#x27;</span>: array([-<span class="hljs-number">7.3242188e-04</span>, -<span class="hljs-number">7.6293945e-04</span>, -<span class="hljs-number">6.4086914e-04</span>, ...,
         <span class="hljs-number">7.3242188e-04</span>,  <span class="hljs-number">2.1362305e-04</span>,  <span class="hljs-number">6.1035156e-05</span>], dtype=float32),
 <span class="hljs-string">&#x27;path&#x27;</span>: <span class="hljs-string">&#x27;/root/.cache/huggingface/datasets/downloads/extracted/917ece08c95cf0c4115e45294e3cd0dee724a1165b7fc11798369308a465bd26/LJSpeech-1.1/wavs/LJ001-0001.wav&#x27;</span>,
 <span class="hljs-string">&#x27;sampling_rate&#x27;</span>: <span class="hljs-number">22050</span>}

<span class="hljs-meta">&gt;&gt;&gt; </span>lj_speech[<span class="hljs-number">0</span>][<span class="hljs-string">&quot;text&quot;</span>]
<span class="hljs-string">&#x27;Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition&#x27;</span>`,wrap:!1}}),gn=new g({props:{code:"bGpfc3BlZWNoJTIwJTNEJTIwbGpfc3BlZWNoLmNhc3RfY29sdW1uKCUyMmF1ZGlvJTIyJTJDJTIwQXVkaW8oc2FtcGxpbmdfcmF0ZSUzRDE2XzAwMCkp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>lj_speech = lj_speech.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, Audio(sampling_rate=<span class="hljs-number">16_000</span>))',wrap:!1}}),fn=new M({props:{title:"Prozessor",local:"prozessor",headingTag:"h3"}}),Mn=new g({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Qcm9jZXNzb3IlMEElMEFwcm9jZXNzb3IlMjAlM0QlMjBBdXRvUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJmYWNlYm9vayUyRndhdjJ2ZWMyLWJhc2UtOTYwaCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoProcessor

<span class="hljs-meta">&gt;&gt;&gt; </span>processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;facebook/wav2vec2-base-960h&quot;</span>)`,wrap:!1}}),Jn=new g({props:{code:"ZGVmJTIwcHJlcGFyZV9kYXRhc2V0KGV4YW1wbGUpJTNBJTBBJTIwJTIwJTIwJTIwYXVkaW8lMjAlM0QlMjBleGFtcGxlJTVCJTIyYXVkaW8lMjIlNUQlMEElMEElMjAlMjAlMjAlMjBleGFtcGxlLnVwZGF0ZShwcm9jZXNzb3IoYXVkaW8lM0RhdWRpbyU1QiUyMmFycmF5JTIyJTVEJTJDJTIwdGV4dCUzRGV4YW1wbGUlNUIlMjJ0ZXh0JTIyJTVEJTJDJTIwc2FtcGxpbmdfcmF0ZSUzRDE2MDAwKSklMEElMEElMjAlMjAlMjAlMjByZXR1cm4lMjBleGFtcGxl",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">prepare_dataset</span>(<span class="hljs-params">example</span>):
<span class="hljs-meta">... </span>    audio = example[<span class="hljs-string">&quot;audio&quot;</span>]

<span class="hljs-meta">... </span>    example.update(processor(audio=audio[<span class="hljs-string">&quot;array&quot;</span>], text=example[<span class="hljs-string">&quot;text&quot;</span>], sampling_rate=<span class="hljs-number">16000</span>))

<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> example`,wrap:!1}}),$n=new g({props:{code:"cHJlcGFyZV9kYXRhc2V0KGxqX3NwZWVjaCU1QjAlNUQp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>prepare_dataset(lj_speech[<span class="hljs-number">0</span>])',wrap:!1}}),{c(){o=t("meta"),f=l(),d=t("p"),T=l(),u(w.$$.fragment),zn=l(),u(U.$$.fragment),In=l(),C=t("p"),C.textContent=Be,Un=l(),_=t("ul"),_.innerHTML=We,Cn=l(),u(B.$$.fragment),_n=l(),u(W.$$.fragment),Bn=l(),Z=t("p"),Z.innerHTML=Ze,Wn=l(),u($.$$.fragment),Zn=l(),G=t("p"),G.innerHTML=Ge,Gn=l(),u(V.$$.fragment),Vn=l(),R=t("p"),R.innerHTML=Ve,Rn=l(),u(F.$$.fragment),Fn=l(),S=t("p"),S.textContent=Re,Sn=l(),u(X.$$.fragment),Xn=l(),A=t("p"),A.textContent=Fe,An=l(),Y=t("ul"),Y.innerHTML=Se,Yn=l(),N=t("p"),N.innerHTML=Xe,Nn=l(),u(q.$$.fragment),qn=l(),H=t("p"),H.innerHTML=Ae,Hn=l(),E=t("p"),E.textContent=Ye,En=l(),u(L.$$.fragment),Ln=l(),u(Q.$$.fragment),Qn=l(),D=t("p"),D.innerHTML=Ne,Dn=l(),P=t("p"),P.textContent=qe,Pn=l(),u(K.$$.fragment),Kn=l(),O=t("p"),O.textContent=He,On=l(),u(ss.$$.fragment),sa=l(),ns=t("p"),ns.textContent=Ee,na=l(),as=t("p"),as.textContent=Le,aa=l(),u(es.$$.fragment),ea=l(),u(ls.$$.fragment),la=l(),ps=t("p"),ps.textContent=Qe,pa=l(),ts=t("p"),ts.innerHTML=De,ta=l(),u(y.$$.fragment),ra=l(),u(rs.$$.fragment),ma=l(),ms=t("p"),ms.innerHTML=Pe,ua=l(),u(us.$$.fragment),ha=l(),hs=t("p"),hs.innerHTML=Ke,ca=l(),u(cs.$$.fragment),ia=l(),is=t("p"),is.innerHTML=Oe,ja=l(),u(js.$$.fragment),ba=l(),bs=t("p"),bs.textContent=sl,da=l(),ds=t("ul"),ds.innerHTML=nl,oa=l(),u(os.$$.fragment),ga=l(),gs=t("p"),gs.innerHTML=al,fa=l(),fs=t("p"),fs.innerHTML=el,Ta=l(),u(Ts.$$.fragment),Ma=l(),Ms=t("ol"),Ms.innerHTML=ll,wa=l(),u(ws.$$.fragment),Ja=l(),k=t("ol"),k.innerHTML=pl,$a=l(),u(Js.$$.fragment),ya=l(),$s=t("p"),$s.textContent=tl,ka=l(),u(ys.$$.fragment),va=l(),ks=t("p"),ks.innerHTML=rl,xa=l(),vs=t("p"),vs.innerHTML=ml,za=l(),u(xs.$$.fragment),Ia=l(),zs=t("p"),zs.innerHTML=ul,Ua=l(),u(Is.$$.fragment),Ca=l(),u(Us.$$.fragment),_a=l(),Cs=t("p"),Cs.textContent=hl,Ba=l(),u(_s.$$.fragment),Wa=l(),Bs=t("p"),Bs.textContent=cl,Za=l(),u(Ws.$$.fragment),Ga=l(),Zs=t("p"),Zs.textContent=il,Va=l(),u(Gs.$$.fragment),Ra=l(),Vs=t("p"),Vs.textContent=jl,Fa=l(),u(Rs.$$.fragment),Sa=l(),Fs=t("p"),Fs.textContent=bl,Xa=l(),u(Ss.$$.fragment),Aa=l(),Xs=t("p"),Xs.textContent=dl,Ya=l(),As=t("p"),As.innerHTML=ol,Na=l(),u(Ys.$$.fragment),qa=l(),Ns=t("p"),Ns.innerHTML=gl,Ha=l(),u(qs.$$.fragment),Ea=l(),Hs=t("p"),Hs.innerHTML=fl,La=l(),u(Es.$$.fragment),Qa=l(),Ls=t("p"),Ls.innerHTML=Tl,Da=l(),u(Qs.$$.fragment),Pa=l(),u(Ds.$$.fragment),Ka=l(),Ps=t("p"),Ps.innerHTML=Ml,Oa=l(),Ks=t("ol"),Ks.innerHTML=wl,se=l(),u(Os.$$.fragment),ne=l(),v=t("ol"),v.innerHTML=Jl,ae=l(),u(sn.$$.fragment),ee=l(),x=t("ol"),x.innerHTML=$l,le=l(),u(nn.$$.fragment),pe=l(),z=t("ol"),z.innerHTML=yl,te=l(),u(an.$$.fragment),re=l(),en=t("p"),en.textContent=kl,me=l(),u(ln.$$.fragment),ue=l(),pn=t("p"),pn.innerHTML=vl,he=l(),u(tn.$$.fragment),ce=l(),rn=t("p"),rn.textContent=xl,ie=l(),mn=t("ul"),mn.innerHTML=zl,je=l(),un=t("p"),un.innerHTML=Il,be=l(),u(hn.$$.fragment),de=l(),cn=t("p"),cn.textContent=Ul,oe=l(),u(jn.$$.fragment),ge=l(),bn=t("p"),bn.textContent=Cl,fe=l(),u(dn.$$.fragment),Te=l(),on=t("p"),on.innerHTML=_l,Me=l(),u(gn.$$.fragment),we=l(),u(fn.$$.fragment),Je=l(),Tn=t("p"),Tn.textContent=Bl,$e=l(),u(Mn.$$.fragment),ye=l(),wn=t("ol"),wn.innerHTML=Wl,ke=l(),u(Jn.$$.fragment),ve=l(),I=t("ol"),I.innerHTML=Zl,xe=l(),u($n.$$.fragment),ze=l(),yn=t("p"),yn.innerHTML=Gl,Ie=l(),kn=t("p"),kn.textContent=Vl,Ue=l(),xn=t("p"),this.h()},l(s){const n=Hl("svelte-u9bgzb",document.head);o=r(n,"META",{name:!0,content:!0}),n.forEach(a),f=p(s),d=r(s,"P",{}),Sl(d).forEach(a),T=p(s),h(w.$$.fragment,s),zn=p(s),h(U.$$.fragment,s),In=p(s),C=r(s,"P",{"data-svelte-h":!0}),m(C)!=="svelte-1c59xdm"&&(C.textContent=Be),Un=p(s),_=r(s,"UL",{"data-svelte-h":!0}),m(_)!=="svelte-dfqolb"&&(_.innerHTML=We),Cn=p(s),h(B.$$.fragment,s),_n=p(s),h(W.$$.fragment,s),Bn=p(s),Z=r(s,"P",{"data-svelte-h":!0}),m(Z)!=="svelte-g81qxa"&&(Z.innerHTML=Ze),Wn=p(s),h($.$$.fragment,s),Zn=p(s),G=r(s,"P",{"data-svelte-h":!0}),m(G)!=="svelte-xaymnc"&&(G.innerHTML=Ge),Gn=p(s),h(V.$$.fragment,s),Vn=p(s),R=r(s,"P",{"data-svelte-h":!0}),m(R)!=="svelte-iv96gu"&&(R.innerHTML=Ve),Rn=p(s),h(F.$$.fragment,s),Fn=p(s),S=r(s,"P",{"data-svelte-h":!0}),m(S)!=="svelte-1v3tjlj"&&(S.textContent=Re),Sn=p(s),h(X.$$.fragment,s),Xn=p(s),A=r(s,"P",{"data-svelte-h":!0}),m(A)!=="svelte-16a85p0"&&(A.textContent=Fe),An=p(s),Y=r(s,"UL",{"data-svelte-h":!0}),m(Y)!=="svelte-ehcfcq"&&(Y.innerHTML=Se),Yn=p(s),N=r(s,"P",{"data-svelte-h":!0}),m(N)!=="svelte-on0y8j"&&(N.innerHTML=Xe),Nn=p(s),h(q.$$.fragment,s),qn=p(s),H=r(s,"P",{"data-svelte-h":!0}),m(H)!=="svelte-pt1crd"&&(H.innerHTML=Ae),Hn=p(s),E=r(s,"P",{"data-svelte-h":!0}),m(E)!=="svelte-1xom36s"&&(E.textContent=Ye),En=p(s),h(L.$$.fragment,s),Ln=p(s),h(Q.$$.fragment,s),Qn=p(s),D=r(s,"P",{"data-svelte-h":!0}),m(D)!=="svelte-26r8ij"&&(D.innerHTML=Ne),Dn=p(s),P=r(s,"P",{"data-svelte-h":!0}),m(P)!=="svelte-kvg5wr"&&(P.textContent=qe),Pn=p(s),h(K.$$.fragment,s),Kn=p(s),O=r(s,"P",{"data-svelte-h":!0}),m(O)!=="svelte-1kx41oy"&&(O.textContent=He),On=p(s),h(ss.$$.fragment,s),sa=p(s),ns=r(s,"P",{"data-svelte-h":!0}),m(ns)!=="svelte-1etorhk"&&(ns.textContent=Ee),na=p(s),as=r(s,"P",{"data-svelte-h":!0}),m(as)!=="svelte-1atlazv"&&(as.textContent=Le),aa=p(s),h(es.$$.fragment,s),ea=p(s),h(ls.$$.fragment,s),la=p(s),ps=r(s,"P",{"data-svelte-h":!0}),m(ps)!=="svelte-117r7tm"&&(ps.textContent=Qe),pa=p(s),ts=r(s,"P",{"data-svelte-h":!0}),m(ts)!=="svelte-jw8oly"&&(ts.innerHTML=De),ta=p(s),h(y.$$.fragment,s),ra=p(s),h(rs.$$.fragment,s),ma=p(s),ms=r(s,"P",{"data-svelte-h":!0}),m(ms)!=="svelte-pawou8"&&(ms.innerHTML=Pe),ua=p(s),h(us.$$.fragment,s),ha=p(s),hs=r(s,"P",{"data-svelte-h":!0}),m(hs)!=="svelte-rs2hh"&&(hs.innerHTML=Ke),ca=p(s),h(cs.$$.fragment,s),ia=p(s),is=r(s,"P",{"data-svelte-h":!0}),m(is)!=="svelte-13wforh"&&(is.innerHTML=Oe),ja=p(s),h(js.$$.fragment,s),ba=p(s),bs=r(s,"P",{"data-svelte-h":!0}),m(bs)!=="svelte-1l8nkvh"&&(bs.textContent=sl),da=p(s),ds=r(s,"UL",{"data-svelte-h":!0}),m(ds)!=="svelte-1cugg1l"&&(ds.innerHTML=nl),oa=p(s),h(os.$$.fragment,s),ga=p(s),gs=r(s,"P",{"data-svelte-h":!0}),m(gs)!=="svelte-boafh9"&&(gs.innerHTML=al),fa=p(s),fs=r(s,"P",{"data-svelte-h":!0}),m(fs)!=="svelte-c6z4wu"&&(fs.innerHTML=el),Ta=p(s),h(Ts.$$.fragment,s),Ma=p(s),Ms=r(s,"OL",{"data-svelte-h":!0}),m(Ms)!=="svelte-1r1hw72"&&(Ms.innerHTML=ll),wa=p(s),h(ws.$$.fragment,s),Ja=p(s),k=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(k)!=="svelte-xgh4i2"&&(k.innerHTML=pl),$a=p(s),h(Js.$$.fragment,s),ya=p(s),$s=r(s,"P",{"data-svelte-h":!0}),m($s)!=="svelte-1wzgp5y"&&($s.textContent=tl),ka=p(s),h(ys.$$.fragment,s),va=p(s),ks=r(s,"P",{"data-svelte-h":!0}),m(ks)!=="svelte-19l38g0"&&(ks.innerHTML=rl),xa=p(s),vs=r(s,"P",{"data-svelte-h":!0}),m(vs)!=="svelte-1new3ky"&&(vs.innerHTML=ml),za=p(s),h(xs.$$.fragment,s),Ia=p(s),zs=r(s,"P",{"data-svelte-h":!0}),m(zs)!=="svelte-ct91ai"&&(zs.innerHTML=ul),Ua=p(s),h(Is.$$.fragment,s),Ca=p(s),h(Us.$$.fragment,s),_a=p(s),Cs=r(s,"P",{"data-svelte-h":!0}),m(Cs)!=="svelte-1v18n3g"&&(Cs.textContent=hl),Ba=p(s),h(_s.$$.fragment,s),Wa=p(s),Bs=r(s,"P",{"data-svelte-h":!0}),m(Bs)!=="svelte-1d0iauf"&&(Bs.textContent=cl),Za=p(s),h(Ws.$$.fragment,s),Ga=p(s),Zs=r(s,"P",{"data-svelte-h":!0}),m(Zs)!=="svelte-14so5au"&&(Zs.textContent=il),Va=p(s),h(Gs.$$.fragment,s),Ra=p(s),Vs=r(s,"P",{"data-svelte-h":!0}),m(Vs)!=="svelte-1ki09yh"&&(Vs.textContent=jl),Fa=p(s),h(Rs.$$.fragment,s),Sa=p(s),Fs=r(s,"P",{"data-svelte-h":!0}),m(Fs)!=="svelte-wvzyyg"&&(Fs.textContent=bl),Xa=p(s),h(Ss.$$.fragment,s),Aa=p(s),Xs=r(s,"P",{"data-svelte-h":!0}),m(Xs)!=="svelte-6smxz4"&&(Xs.textContent=dl),Ya=p(s),As=r(s,"P",{"data-svelte-h":!0}),m(As)!=="svelte-sq3im2"&&(As.innerHTML=ol),Na=p(s),h(Ys.$$.fragment,s),qa=p(s),Ns=r(s,"P",{"data-svelte-h":!0}),m(Ns)!=="svelte-6j4v24"&&(Ns.innerHTML=gl),Ha=p(s),h(qs.$$.fragment,s),Ea=p(s),Hs=r(s,"P",{"data-svelte-h":!0}),m(Hs)!=="svelte-1pswjfa"&&(Hs.innerHTML=fl),La=p(s),h(Es.$$.fragment,s),Qa=p(s),Ls=r(s,"P",{"data-svelte-h":!0}),m(Ls)!=="svelte-glvnqt"&&(Ls.innerHTML=Tl),Da=p(s),h(Qs.$$.fragment,s),Pa=p(s),h(Ds.$$.fragment,s),Ka=p(s),Ps=r(s,"P",{"data-svelte-h":!0}),m(Ps)!=="svelte-1usc7ke"&&(Ps.innerHTML=Ml),Oa=p(s),Ks=r(s,"OL",{"data-svelte-h":!0}),m(Ks)!=="svelte-11j1h3u"&&(Ks.innerHTML=wl),se=p(s),h(Os.$$.fragment,s),ne=p(s),v=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(v)!=="svelte-121pxtp"&&(v.innerHTML=Jl),ae=p(s),h(sn.$$.fragment,s),ee=p(s),x=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(x)!=="svelte-1gi0jbr"&&(x.innerHTML=$l),le=p(s),h(nn.$$.fragment,s),pe=p(s),z=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(z)!=="svelte-1penylb"&&(z.innerHTML=yl),te=p(s),h(an.$$.fragment,s),re=p(s),en=r(s,"P",{"data-svelte-h":!0}),m(en)!=="svelte-3p7rad"&&(en.textContent=kl),me=p(s),h(ln.$$.fragment,s),ue=p(s),pn=r(s,"P",{"data-svelte-h":!0}),m(pn)!=="svelte-vgp975"&&(pn.innerHTML=vl),he=p(s),h(tn.$$.fragment,s),ce=p(s),rn=r(s,"P",{"data-svelte-h":!0}),m(rn)!=="svelte-vi8yec"&&(rn.textContent=xl),ie=p(s),mn=r(s,"UL",{"data-svelte-h":!0}),m(mn)!=="svelte-1wva8w2"&&(mn.innerHTML=zl),je=p(s),un=r(s,"P",{"data-svelte-h":!0}),m(un)!=="svelte-13p5bse"&&(un.innerHTML=Il),be=p(s),h(hn.$$.fragment,s),de=p(s),cn=r(s,"P",{"data-svelte-h":!0}),m(cn)!=="svelte-hipclc"&&(cn.textContent=Ul),oe=p(s),h(jn.$$.fragment,s),ge=p(s),bn=r(s,"P",{"data-svelte-h":!0}),m(bn)!=="svelte-1gzy36"&&(bn.textContent=Cl),fe=p(s),h(dn.$$.fragment,s),Te=p(s),on=r(s,"P",{"data-svelte-h":!0}),m(on)!=="svelte-15k345g"&&(on.innerHTML=_l),Me=p(s),h(gn.$$.fragment,s),we=p(s),h(fn.$$.fragment,s),Je=p(s),Tn=r(s,"P",{"data-svelte-h":!0}),m(Tn)!=="svelte-1hdpnt"&&(Tn.textContent=Bl),$e=p(s),h(Mn.$$.fragment,s),ye=p(s),wn=r(s,"OL",{"data-svelte-h":!0}),m(wn)!=="svelte-o941t7"&&(wn.innerHTML=Wl),ke=p(s),h(Jn.$$.fragment,s),ve=p(s),I=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(I)!=="svelte-10gge3x"&&(I.innerHTML=Zl),xe=p(s),h($n.$$.fragment,s),ze=p(s),yn=r(s,"P",{"data-svelte-h":!0}),m(yn)!=="svelte-1jrj23h"&&(yn.innerHTML=Gl),Ie=p(s),kn=r(s,"P",{"data-svelte-h":!0}),m(kn)!=="svelte-14gj5fi"&&(kn.textContent=Vl),Ue=p(s),xn=r(s,"P",{}),Sl(xn).forEach(a),this.h()},h(){vn(o,"name","hf:doc:metadata"),vn(o,"content",lp),vn(k,"start","2"),vn(v,"start","2"),vn(x,"start","3"),vn(z,"start","4"),vn(I,"start","2")},m(s,n){El(document.head,o),e(s,f,n),e(s,d,n),e(s,T,n),c(w,s,n),e(s,zn,n),c(U,s,n),e(s,In,n),e(s,C,n),e(s,Un,n),e(s,_,n),e(s,Cn,n),c(B,s,n),e(s,_n,n),c(W,s,n),e(s,Bn,n),e(s,Z,n),e(s,Wn,n),c($,s,n),e(s,Zn,n),e(s,G,n),e(s,Gn,n),c(V,s,n),e(s,Vn,n),e(s,R,n),e(s,Rn,n),c(F,s,n),e(s,Fn,n),e(s,S,n),e(s,Sn,n),c(X,s,n),e(s,Xn,n),e(s,A,n),e(s,An,n),e(s,Y,n),e(s,Yn,n),e(s,N,n),e(s,Nn,n),c(q,s,n),e(s,qn,n),e(s,H,n),e(s,Hn,n),e(s,E,n),e(s,En,n),c(L,s,n),e(s,Ln,n),c(Q,s,n),e(s,Qn,n),e(s,D,n),e(s,Dn,n),e(s,P,n),e(s,Pn,n),c(K,s,n),e(s,Kn,n),e(s,O,n),e(s,On,n),c(ss,s,n),e(s,sa,n),e(s,ns,n),e(s,na,n),e(s,as,n),e(s,aa,n),c(es,s,n),e(s,ea,n),c(ls,s,n),e(s,la,n),e(s,ps,n),e(s,pa,n),e(s,ts,n),e(s,ta,n),c(y,s,n),e(s,ra,n),c(rs,s,n),e(s,ma,n),e(s,ms,n),e(s,ua,n),c(us,s,n),e(s,ha,n),e(s,hs,n),e(s,ca,n),c(cs,s,n),e(s,ia,n),e(s,is,n),e(s,ja,n),c(js,s,n),e(s,ba,n),e(s,bs,n),e(s,da,n),e(s,ds,n),e(s,oa,n),c(os,s,n),e(s,ga,n),e(s,gs,n),e(s,fa,n),e(s,fs,n),e(s,Ta,n),c(Ts,s,n),e(s,Ma,n),e(s,Ms,n),e(s,wa,n),c(ws,s,n),e(s,Ja,n),e(s,k,n),e(s,$a,n),c(Js,s,n),e(s,ya,n),e(s,$s,n),e(s,ka,n),c(ys,s,n),e(s,va,n),e(s,ks,n),e(s,xa,n),e(s,vs,n),e(s,za,n),c(xs,s,n),e(s,Ia,n),e(s,zs,n),e(s,Ua,n),c(Is,s,n),e(s,Ca,n),c(Us,s,n),e(s,_a,n),e(s,Cs,n),e(s,Ba,n),c(_s,s,n),e(s,Wa,n),e(s,Bs,n),e(s,Za,n),c(Ws,s,n),e(s,Ga,n),e(s,Zs,n),e(s,Va,n),c(Gs,s,n),e(s,Ra,n),e(s,Vs,n),e(s,Fa,n),c(Rs,s,n),e(s,Sa,n),e(s,Fs,n),e(s,Xa,n),c(Ss,s,n),e(s,Aa,n),e(s,Xs,n),e(s,Ya,n),e(s,As,n),e(s,Na,n),c(Ys,s,n),e(s,qa,n),e(s,Ns,n),e(s,Ha,n),c(qs,s,n),e(s,Ea,n),e(s,Hs,n),e(s,La,n),c(Es,s,n),e(s,Qa,n),e(s,Ls,n),e(s,Da,n),c(Qs,s,n),e(s,Pa,n),c(Ds,s,n),e(s,Ka,n),e(s,Ps,n),e(s,Oa,n),e(s,Ks,n),e(s,se,n),c(Os,s,n),e(s,ne,n),e(s,v,n),e(s,ae,n),c(sn,s,n),e(s,ee,n),e(s,x,n),e(s,le,n),c(nn,s,n),e(s,pe,n),e(s,z,n),e(s,te,n),c(an,s,n),e(s,re,n),e(s,en,n),e(s,me,n),c(ln,s,n),e(s,ue,n),e(s,pn,n),e(s,he,n),c(tn,s,n),e(s,ce,n),e(s,rn,n),e(s,ie,n),e(s,mn,n),e(s,je,n),e(s,un,n),e(s,be,n),c(hn,s,n),e(s,de,n),e(s,cn,n),e(s,oe,n),c(jn,s,n),e(s,ge,n),e(s,bn,n),e(s,fe,n),c(dn,s,n),e(s,Te,n),e(s,on,n),e(s,Me,n),c(gn,s,n),e(s,we,n),c(fn,s,n),e(s,Je,n),e(s,Tn,n),e(s,$e,n),c(Mn,s,n),e(s,ye,n),e(s,wn,n),e(s,ke,n),c(Jn,s,n),e(s,ve,n),e(s,I,n),e(s,xe,n),c($n,s,n),e(s,ze,n),e(s,yn,n),e(s,Ie,n),e(s,kn,n),e(s,Ue,n),e(s,xn,n),Ce=!0},p(s,[n]){const Rl={};n&2&&(Rl.$$scope={dirty:n,ctx:s}),$.$set(Rl);const Fl={};n&2&&(Fl.$$scope={dirty:n,ctx:s}),y.$set(Fl)},i(s){Ce||(i(w.$$.fragment,s),i(U.$$.fragment,s),i(B.$$.fragment,s),i(W.$$.fragment,s),i($.$$.fragment,s),i(V.$$.fragment,s),i(F.$$.fragment,s),i(X.$$.fragment,s),i(q.$$.fragment,s),i(L.$$.fragment,s),i(Q.$$.fragment,s),i(K.$$.fragment,s),i(ss.$$.fragment,s),i(es.$$.fragment,s),i(ls.$$.fragment,s),i(y.$$.fragment,s),i(rs.$$.fragment,s),i(us.$$.fragment,s),i(cs.$$.fragment,s),i(js.$$.fragment,s),i(os.$$.fragment,s),i(Ts.$$.fragment,s),i(ws.$$.fragment,s),i(Js.$$.fragment,s),i(ys.$$.fragment,s),i(xs.$$.fragment,s),i(Is.$$.fragment,s),i(Us.$$.fragment,s),i(_s.$$.fragment,s),i(Ws.$$.fragment,s),i(Gs.$$.fragment,s),i(Rs.$$.fragment,s),i(Ss.$$.fragment,s),i(Ys.$$.fragment,s),i(qs.$$.fragment,s),i(Es.$$.fragment,s),i(Qs.$$.fragment,s),i(Ds.$$.fragment,s),i(Os.$$.fragment,s),i(sn.$$.fragment,s),i(nn.$$.fragment,s),i(an.$$.fragment,s),i(ln.$$.fragment,s),i(tn.$$.fragment,s),i(hn.$$.fragment,s),i(jn.$$.fragment,s),i(dn.$$.fragment,s),i(gn.$$.fragment,s),i(fn.$$.fragment,s),i(Mn.$$.fragment,s),i(Jn.$$.fragment,s),i($n.$$.fragment,s),Ce=!0)},o(s){j(w.$$.fragment,s),j(U.$$.fragment,s),j(B.$$.fragment,s),j(W.$$.fragment,s),j($.$$.fragment,s),j(V.$$.fragment,s),j(F.$$.fragment,s),j(X.$$.fragment,s),j(q.$$.fragment,s),j(L.$$.fragment,s),j(Q.$$.fragment,s),j(K.$$.fragment,s),j(ss.$$.fragment,s),j(es.$$.fragment,s),j(ls.$$.fragment,s),j(y.$$.fragment,s),j(rs.$$.fragment,s),j(us.$$.fragment,s),j(cs.$$.fragment,s),j(js.$$.fragment,s),j(os.$$.fragment,s),j(Ts.$$.fragment,s),j(ws.$$.fragment,s),j(Js.$$.fragment,s),j(ys.$$.fragment,s),j(xs.$$.fragment,s),j(Is.$$.fragment,s),j(Us.$$.fragment,s),j(_s.$$.fragment,s),j(Ws.$$.fragment,s),j(Gs.$$.fragment,s),j(Rs.$$.fragment,s),j(Ss.$$.fragment,s),j(Ys.$$.fragment,s),j(qs.$$.fragment,s),j(Es.$$.fragment,s),j(Qs.$$.fragment,s),j(Ds.$$.fragment,s),j(Os.$$.fragment,s),j(sn.$$.fragment,s),j(nn.$$.fragment,s),j(an.$$.fragment,s),j(ln.$$.fragment,s),j(tn.$$.fragment,s),j(hn.$$.fragment,s),j(jn.$$.fragment,s),j(dn.$$.fragment,s),j(gn.$$.fragment,s),j(fn.$$.fragment,s),j(Mn.$$.fragment,s),j(Jn.$$.fragment,s),j($n.$$.fragment,s),Ce=!1},d(s){s&&(a(f),a(d),a(T),a(zn),a(In),a(C),a(Un),a(_),a(Cn),a(_n),a(Bn),a(Z),a(Wn),a(Zn),a(G),a(Gn),a(Vn),a(R),a(Rn),a(Fn),a(S),a(Sn),a(Xn),a(A),a(An),a(Y),a(Yn),a(N),a(Nn),a(qn),a(H),a(Hn),a(E),a(En),a(Ln),a(Qn),a(D),a(Dn),a(P),a(Pn),a(Kn),a(O),a(On),a(sa),a(ns),a(na),a(as),a(aa),a(ea),a(la),a(ps),a(pa),a(ts),a(ta),a(ra),a(ma),a(ms),a(ua),a(ha),a(hs),a(ca),a(ia),a(is),a(ja),a(ba),a(bs),a(da),a(ds),a(oa),a(ga),a(gs),a(fa),a(fs),a(Ta),a(Ma),a(Ms),a(wa),a(Ja),a(k),a($a),a(ya),a($s),a(ka),a(va),a(ks),a(xa),a(vs),a(za),a(Ia),a(zs),a(Ua),a(Ca),a(_a),a(Cs),a(Ba),a(Wa),a(Bs),a(Za),a(Ga),a(Zs),a(Va),a(Ra),a(Vs),a(Fa),a(Sa),a(Fs),a(Xa),a(Aa),a(Xs),a(Ya),a(As),a(Na),a(qa),a(Ns),a(Ha),a(Ea),a(Hs),a(La),a(Qa),a(Ls),a(Da),a(Pa),a(Ka),a(Ps),a(Oa),a(Ks),a(se),a(ne),a(v),a(ae),a(ee),a(x),a(le),a(pe),a(z),a(te),a(re),a(en),a(me),a(ue),a(pn),a(he),a(ce),a(rn),a(ie),a(mn),a(je),a(un),a(be),a(de),a(cn),a(oe),a(ge),a(bn),a(fe),a(Te),a(on),a(Me),a(we),a(Je),a(Tn),a($e),a(ye),a(wn),a(ke),a(ve),a(I),a(xe),a(ze),a(yn),a(Ie),a(kn),a(Ue),a(xn)),a(o),b(w,s),b(U,s),b(B,s),b(W,s),b($,s),b(V,s),b(F,s),b(X,s),b(q,s),b(L,s),b(Q,s),b(K,s),b(ss,s),b(es,s),b(ls,s),b(y,s),b(rs,s),b(us,s),b(cs,s),b(js,s),b(os,s),b(Ts,s),b(ws,s),b(Js,s),b(ys,s),b(xs,s),b(Is,s),b(Us,s),b(_s,s),b(Ws,s),b(Gs,s),b(Rs,s),b(Ss,s),b(Ys,s),b(qs,s),b(Es,s),b(Qs,s),b(Ds,s),b(Os,s),b(sn,s),b(nn,s),b(an,s),b(ln,s),b(tn,s),b(hn,s),b(jn,s),b(dn,s),b(gn,s),b(fn,s),b(Mn,s),b(Jn,s),b($n,s)}}}const lp='{"title":"Vorverarbeiten","local":"vorverarbeiten","sections":[{"title":"NLP","local":"nlp","sections":[{"title":"Tokenize","local":"tokenize","sections":[],"depth":3},{"title":"Pad","local":"pad","sections":[],"depth":3},{"title":"Kürzung","local":"kürzung","sections":[],"depth":3},{"title":"Tensoren erstellen","local":"tensoren-erstellen","sections":[],"depth":3}],"depth":2},{"title":"Audio","local":"audio","sections":[{"title":"Resample","local":"resample","sections":[],"depth":3},{"title":"Merkmalsextraktor","local":"merkmalsextraktor","sections":[],"depth":3},{"title":"Auffüllen und Kürzen","local":"auffüllen-und-kürzen","sections":[],"depth":3}],"depth":2},{"title":"Bildverarbeitung","local":"bildverarbeitung","sections":[{"title":"Merkmalsextraktor","local":"merkmalsextraktor","sections":[],"depth":3},{"title":"Datenerweiterung","local":"datenerweiterung","sections":[],"depth":3}],"depth":2},{"title":"Multimodal","local":"multimodal","sections":[{"title":"Prozessor","local":"prozessor","sections":[],"depth":3}],"depth":2}],"depth":1}';function pp(J){return Yl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class bp extends Nl{constructor(o){super(),ql(this,o,pp,ep,Al,{})}}export{bp as component};
