import{s as Nl,o as ql,n as Ge}from"../chunks/scheduler.987d3921.js";import{S as Hl,i as El,g as t,s as l,r as u,A as Ll,h as r,f as a,c as p,j as Yl,u as c,x as m,k as xn,y as Ql,a as e,v as h,d as i,t as b,w as j}from"../chunks/index.c8b1fed4.js";import{T as Dl}from"../chunks/Tip.6bc1e794.js";import{Y as Pl}from"../chunks/Youtube.67f0a1fc.js";import{C as g}from"../chunks/CodeBlock.18094d58.js";import{D as Kl}from"../chunks/DocNotebookDropdown.8be6c56e.js";import{F as Ol,M as Al}from"../chunks/Markdown.10b8ab04.js";import{H as M,E as sp}from"../chunks/EditOnGithub.a3fde557.js";function np(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:Ge,d(d){d&&a(o)}}}function ap(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){c(o.$$.fragment,d)},m(d,T){h(o,d,T),f=!0},p:Ge,i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){b(o.$$.fragment,d),f=!1},d(d){j(o,d)}}}function ep(J){let o,f;return o=new Al({props:{$$slots:{default:[ap]},$$scope:{ctx:J}}}),{c(){u(o.$$.fragment)},l(d){c(o.$$.fragment,d)},m(d,T){h(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){b(o.$$.fragment,d),f=!1},d(d){j(o,d)}}}function lp(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){c(o.$$.fragment,d)},m(d,T){h(o,d,T),f=!0},p:Ge,i(d){f||(i(o.$$.fragment,d),f=!0)},o(d){b(o.$$.fragment,d),f=!1},d(d){j(o,d)}}}function pp(J){let o,f;return o=new Al({props:{$$slots:{default:[lp]},$$scope:{ctx:J}}}),{c(){u(o.$$.fragment)},l(d){c(o.$$.fragment,d)},m(d,T){h(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){b(o.$$.fragment,d),f=!1},d(d){j(o,d)}}}function tp(J){let o,f,d,T,w,In,U,Un,C,Ze="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:",Cn,_,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>",_n,B,Bn,G,Gn,Z,Ve='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.',Zn,$,Wn,W,Re="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.",Vn,V,Rn,R,Fe="Laden Sie einen vortrainierten Tokenizer mit <code>AutoTokenizer.from_pretrained()</code>:",Fn,F,Sn,S,Se="Dann übergeben Sie Ihren Satz an den Tokenizer:",Xn,X,Yn,Y,Xe="Der Tokenizer gibt ein Wörterbuch mit drei wichtigen Elementen zurück:",An,A,Ye='<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>',Nn,N,Ae="Sie können die <code>input_ids</code> dekodieren, um die ursprüngliche Eingabe zurückzugeben:",qn,q,Hn,H,Ne=`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.`,En,E,qe="Wenn Sie mehrere Sätze verarbeiten wollen, übergeben Sie die Sätze als Liste an den Tokenizer:",Ln,L,Qn,Q,Dn,D,He="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.",Pn,P,Ee="Setzen Sie den Parameter “padding” auf “true”, um die kürzeren Sequenzen im Stapel so aufzufüllen, dass sie der längsten Sequenz entsprechen:",Kn,K,On,O,Le="Beachten Sie, dass der Tokenizer den ersten und den dritten Satz mit einer “0” aufgefüllt hat, weil sie kürzer sind!",sa,ss,na,ns,Qe="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.",aa,as,De="Setzen Sie den Parameter “truncation” auf “true”, um eine Sequenz auf die vom Modell akzeptierte Höchstlänge zu kürzen:",ea,es,la,ls,pa,ps,Pe="Schließlich möchten Sie, dass der Tokenizer die tatsächlichen Tensoren zurückgibt, die dem Modell zugeführt werden.",ta,ts,Ke="Setzen Sie den Parameter <code>return_tensors</code> entweder auf <code>pt</code> für PyTorch, oder <code>tf</code> für TensorFlow:",ra,y,ma,rs,ua,ms,Oe='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:',ca,us,ha,cs,sl='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" rel="nofollow">Datasets tutorial</a>):',ia,hs,ba,is,nl="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,bs,da,js,al="Dies gibt drei Elemente zurück:",oa,ds,el="<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>",ga,os,fa,gs,ll='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.',Ta,fs,pl='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:',Ma,Ts,wa,Ms,tl="<li>Verwenden Sie die Methode <code>cast_column</code> von 🤗 Datasets, um die Abtastrate auf 16kHz zu erhöhen:</li>",Ja,ws,$a,k,rl="<li>Laden Sie die Audiodatei:</li>",ya,Js,ka,$s,ml="Wie Sie sehen können, ist die Abtastrate jetzt 16kHz!",va,ys,xa,ks,ul="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.",za,vs,cl="Laden Sie den Merkmalsextraktor mit <code>AutoFeatureExtractor.from_pretrained()</code>:",Ia,xs,Ua,zs,hl="Ü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.",Ca,Is,_a,Us,Ba,Cs,il="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:",Ga,_s,Za,Bs,bl="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:",Wa,Gs,Va,Zs,jl="Wenden Sie die Funktion auf die ersten paar Beispiele im Datensatz an:",Ra,Ws,Fa,Vs,dl="Schauen Sie sich nun noch einmal die verarbeiteten Beispiel-Längen an:",Sa,Rs,Xa,Fs,ol="Die Länge der ersten beiden Beispiele entspricht nun der von Ihnen angegebenen Maximallänge.",Ya,Ss,Aa,Xs,gl="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.",Na,Ys,fl='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:',qa,As,Ha,Ns,Tl='Als Nächstes sehen Sie sich das Bild mit dem Merkmal 🤗 Datensätze <a href="https://huggingface.co/docs/datasets/package_reference/main_classes?highlight=image#datasets.Image" rel="nofollow">Bild</a> an:',Ea,qs,La,Hs,Ml='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/vision-preprocess-tutorial.png" alt="vision-preprocess-tutorial.png"/>',Qa,Es,Da,Ls,wl="Laden Sie den Merkmalsextraktor mit <code>AutoImageProcessor.from_pretrained()</code>:",Pa,Qs,Ka,Ds,Oa,Ps,Jl='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.',se,Ks,$l='<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>',ne,Os,ae,v,yl='<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>',ee,sn,le,x,kl='<li>Dann verwenden Sie 🤗 Datasets <a href="https://huggingface.co/docs/datasets/process#format-transform" rel="nofollow"><code>set_transform</code></a>, um die Transformationen im laufenden Betrieb anzuwenden:</li>',pe,nn,te,z,vl="<li>Wenn Sie nun auf das Bild zugreifen, werden Sie feststellen, dass der Feature Extractor die Modelleingabe “pixel_values” hinzugefügt hat:</li>",re,an,me,en,xl="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.",ue,ln,ce,pn,zl='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/preprocessed_image.png" alt="preprocessed_image"/>',he,tn,ie,rn,Il="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:",be,mn,Ul="<li>Feature Extractor zur Vorverarbeitung der Audiodaten.</li> <li>Tokenizer, um den Text zu verarbeiten.</li>",je,un,Cl='Kehren wir zum <a href="https://huggingface.co/datasets/lj_speech" rel="nofollow">LJ Speech</a> Datensatz zurück:',de,cn,oe,hn,_l="Da Sie hauptsächlich an den Spalten “Audio” und “Text” interessiert sind, entfernen Sie die anderen Spalten:",ge,bn,fe,jn,Bl="Schauen Sie sich nun die Spalten “Audio” und “Text” an:",Te,dn,Me,on,Gl='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:',we,gn,Je,fn,$e,Tn,Zl="Ein Processor kombiniert einen Feature-Extraktor und einen Tokenizer. Laden Sie einen Processor mit <code>AutoProcessor.from_pretrained()</code>:",ye,Mn,ke,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>",ve,Jn,xe,I,Vl="<li>Wenden Sie die Funktion “prepare_dataset” auf ein Beispiel an:</li>",ze,$n,Ie,yn,Rl="Beachten Sie, dass der Processor <code>input_values</code> und <code>labels</code> hinzugefügt hat. Auch die Abtastrate wurde korrekt auf 16kHz heruntergerechnet.",Ue,kn,Fl="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.",Ce,vn,_e,zn,Be;return w=new M({props:{title:"Vorverarbeiten",local:"vorverarbeiten",headingTag:"h1"}}),U=new Kl({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"}}),G=new Pl({props:{id:"Yffk5aydLzg"}}),$=new Dl({props:{$$slots:{default:[np]},$$scope:{ctx:J}}}),V=new M({props:{title:"Tokenize",local:"tokenize",headingTag:"h3"}}),F=new g({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJnb29nbGUtYmVydCUyRmJlcnQtYmFzZS1jYXNlZCUyMik=",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;google-bert/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 Ol({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[pp],pytorch:[ep]},$$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}}),hs=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}}),bs=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}}),Gs=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}}),Ws=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"}}),As=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"}}),cn=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}}),bn=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}}),vn=new sp({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/de/preprocessing.md"}}),{c(){o=t("meta"),f=l(),d=t("p"),T=l(),u(w.$$.fragment),In=l(),u(U.$$.fragment),Un=l(),C=t("p"),C.textContent=Ze,Cn=l(),_=t("ul"),_.innerHTML=We,_n=l(),u(B.$$.fragment),Bn=l(),u(G.$$.fragment),Gn=l(),Z=t("p"),Z.innerHTML=Ve,Zn=l(),u($.$$.fragment),Wn=l(),W=t("p"),W.innerHTML=Re,Vn=l(),u(V.$$.fragment),Rn=l(),R=t("p"),R.innerHTML=Fe,Fn=l(),u(F.$$.fragment),Sn=l(),S=t("p"),S.textContent=Se,Xn=l(),u(X.$$.fragment),Yn=l(),Y=t("p"),Y.textContent=Xe,An=l(),A=t("ul"),A.innerHTML=Ye,Nn=l(),N=t("p"),N.innerHTML=Ae,qn=l(),u(q.$$.fragment),Hn=l(),H=t("p"),H.innerHTML=Ne,En=l(),E=t("p"),E.textContent=qe,Ln=l(),u(L.$$.fragment),Qn=l(),u(Q.$$.fragment),Dn=l(),D=t("p"),D.innerHTML=He,Pn=l(),P=t("p"),P.textContent=Ee,Kn=l(),u(K.$$.fragment),On=l(),O=t("p"),O.textContent=Le,sa=l(),u(ss.$$.fragment),na=l(),ns=t("p"),ns.textContent=Qe,aa=l(),as=t("p"),as.textContent=De,ea=l(),u(es.$$.fragment),la=l(),u(ls.$$.fragment),pa=l(),ps=t("p"),ps.textContent=Pe,ta=l(),ts=t("p"),ts.innerHTML=Ke,ra=l(),u(y.$$.fragment),ma=l(),u(rs.$$.fragment),ua=l(),ms=t("p"),ms.innerHTML=Oe,ca=l(),u(us.$$.fragment),ha=l(),cs=t("p"),cs.innerHTML=sl,ia=l(),u(hs.$$.fragment),ba=l(),is=t("p"),is.innerHTML=nl,ja=l(),u(bs.$$.fragment),da=l(),js=t("p"),js.textContent=al,oa=l(),ds=t("ul"),ds.innerHTML=el,ga=l(),u(os.$$.fragment),fa=l(),gs=t("p"),gs.innerHTML=ll,Ta=l(),fs=t("p"),fs.innerHTML=pl,Ma=l(),u(Ts.$$.fragment),wa=l(),Ms=t("ol"),Ms.innerHTML=tl,Ja=l(),u(ws.$$.fragment),$a=l(),k=t("ol"),k.innerHTML=rl,ya=l(),u(Js.$$.fragment),ka=l(),$s=t("p"),$s.textContent=ml,va=l(),u(ys.$$.fragment),xa=l(),ks=t("p"),ks.innerHTML=ul,za=l(),vs=t("p"),vs.innerHTML=cl,Ia=l(),u(xs.$$.fragment),Ua=l(),zs=t("p"),zs.innerHTML=hl,Ca=l(),u(Is.$$.fragment),_a=l(),u(Us.$$.fragment),Ba=l(),Cs=t("p"),Cs.textContent=il,Ga=l(),u(_s.$$.fragment),Za=l(),Bs=t("p"),Bs.textContent=bl,Wa=l(),u(Gs.$$.fragment),Va=l(),Zs=t("p"),Zs.textContent=jl,Ra=l(),u(Ws.$$.fragment),Fa=l(),Vs=t("p"),Vs.textContent=dl,Sa=l(),u(Rs.$$.fragment),Xa=l(),Fs=t("p"),Fs.textContent=ol,Ya=l(),u(Ss.$$.fragment),Aa=l(),Xs=t("p"),Xs.textContent=gl,Na=l(),Ys=t("p"),Ys.innerHTML=fl,qa=l(),u(As.$$.fragment),Ha=l(),Ns=t("p"),Ns.innerHTML=Tl,Ea=l(),u(qs.$$.fragment),La=l(),Hs=t("p"),Hs.innerHTML=Ml,Qa=l(),u(Es.$$.fragment),Da=l(),Ls=t("p"),Ls.innerHTML=wl,Pa=l(),u(Qs.$$.fragment),Ka=l(),u(Ds.$$.fragment),Oa=l(),Ps=t("p"),Ps.innerHTML=Jl,se=l(),Ks=t("ol"),Ks.innerHTML=$l,ne=l(),u(Os.$$.fragment),ae=l(),v=t("ol"),v.innerHTML=yl,ee=l(),u(sn.$$.fragment),le=l(),x=t("ol"),x.innerHTML=kl,pe=l(),u(nn.$$.fragment),te=l(),z=t("ol"),z.innerHTML=vl,re=l(),u(an.$$.fragment),me=l(),en=t("p"),en.textContent=xl,ue=l(),u(ln.$$.fragment),ce=l(),pn=t("p"),pn.innerHTML=zl,he=l(),u(tn.$$.fragment),ie=l(),rn=t("p"),rn.textContent=Il,be=l(),mn=t("ul"),mn.innerHTML=Ul,je=l(),un=t("p"),un.innerHTML=Cl,de=l(),u(cn.$$.fragment),oe=l(),hn=t("p"),hn.textContent=_l,ge=l(),u(bn.$$.fragment),fe=l(),jn=t("p"),jn.textContent=Bl,Te=l(),u(dn.$$.fragment),Me=l(),on=t("p"),on.innerHTML=Gl,we=l(),u(gn.$$.fragment),Je=l(),u(fn.$$.fragment),$e=l(),Tn=t("p"),Tn.innerHTML=Zl,ye=l(),u(Mn.$$.fragment),ke=l(),wn=t("ol"),wn.innerHTML=Wl,ve=l(),u(Jn.$$.fragment),xe=l(),I=t("ol"),I.innerHTML=Vl,ze=l(),u($n.$$.fragment),Ie=l(),yn=t("p"),yn.innerHTML=Rl,Ue=l(),kn=t("p"),kn.textContent=Fl,Ce=l(),u(vn.$$.fragment),_e=l(),zn=t("p"),this.h()},l(s){const n=Ll("svelte-u9bgzb",document.head);o=r(n,"META",{name:!0,content:!0}),n.forEach(a),f=p(s),d=r(s,"P",{}),Yl(d).forEach(a),T=p(s),c(w.$$.fragment,s),In=p(s),c(U.$$.fragment,s),Un=p(s),C=r(s,"P",{"data-svelte-h":!0}),m(C)!=="svelte-1c59xdm"&&(C.textContent=Ze),Cn=p(s),_=r(s,"UL",{"data-svelte-h":!0}),m(_)!=="svelte-dfqolb"&&(_.innerHTML=We),_n=p(s),c(B.$$.fragment,s),Bn=p(s),c(G.$$.fragment,s),Gn=p(s),Z=r(s,"P",{"data-svelte-h":!0}),m(Z)!=="svelte-g81qxa"&&(Z.innerHTML=Ve),Zn=p(s),c($.$$.fragment,s),Wn=p(s),W=r(s,"P",{"data-svelte-h":!0}),m(W)!=="svelte-xaymnc"&&(W.innerHTML=Re),Vn=p(s),c(V.$$.fragment,s),Rn=p(s),R=r(s,"P",{"data-svelte-h":!0}),m(R)!=="svelte-iv96gu"&&(R.innerHTML=Fe),Fn=p(s),c(F.$$.fragment,s),Sn=p(s),S=r(s,"P",{"data-svelte-h":!0}),m(S)!=="svelte-1v3tjlj"&&(S.textContent=Se),Xn=p(s),c(X.$$.fragment,s),Yn=p(s),Y=r(s,"P",{"data-svelte-h":!0}),m(Y)!=="svelte-16a85p0"&&(Y.textContent=Xe),An=p(s),A=r(s,"UL",{"data-svelte-h":!0}),m(A)!=="svelte-ehcfcq"&&(A.innerHTML=Ye),Nn=p(s),N=r(s,"P",{"data-svelte-h":!0}),m(N)!=="svelte-on0y8j"&&(N.innerHTML=Ae),qn=p(s),c(q.$$.fragment,s),Hn=p(s),H=r(s,"P",{"data-svelte-h":!0}),m(H)!=="svelte-pt1crd"&&(H.innerHTML=Ne),En=p(s),E=r(s,"P",{"data-svelte-h":!0}),m(E)!=="svelte-1xom36s"&&(E.textContent=qe),Ln=p(s),c(L.$$.fragment,s),Qn=p(s),c(Q.$$.fragment,s),Dn=p(s),D=r(s,"P",{"data-svelte-h":!0}),m(D)!=="svelte-26r8ij"&&(D.innerHTML=He),Pn=p(s),P=r(s,"P",{"data-svelte-h":!0}),m(P)!=="svelte-kvg5wr"&&(P.textContent=Ee),Kn=p(s),c(K.$$.fragment,s),On=p(s),O=r(s,"P",{"data-svelte-h":!0}),m(O)!=="svelte-1kx41oy"&&(O.textContent=Le),sa=p(s),c(ss.$$.fragment,s),na=p(s),ns=r(s,"P",{"data-svelte-h":!0}),m(ns)!=="svelte-1etorhk"&&(ns.textContent=Qe),aa=p(s),as=r(s,"P",{"data-svelte-h":!0}),m(as)!=="svelte-1atlazv"&&(as.textContent=De),ea=p(s),c(es.$$.fragment,s),la=p(s),c(ls.$$.fragment,s),pa=p(s),ps=r(s,"P",{"data-svelte-h":!0}),m(ps)!=="svelte-117r7tm"&&(ps.textContent=Pe),ta=p(s),ts=r(s,"P",{"data-svelte-h":!0}),m(ts)!=="svelte-jw8oly"&&(ts.innerHTML=Ke),ra=p(s),c(y.$$.fragment,s),ma=p(s),c(rs.$$.fragment,s),ua=p(s),ms=r(s,"P",{"data-svelte-h":!0}),m(ms)!=="svelte-pawou8"&&(ms.innerHTML=Oe),ca=p(s),c(us.$$.fragment,s),ha=p(s),cs=r(s,"P",{"data-svelte-h":!0}),m(cs)!=="svelte-1hews0a"&&(cs.innerHTML=sl),ia=p(s),c(hs.$$.fragment,s),ba=p(s),is=r(s,"P",{"data-svelte-h":!0}),m(is)!=="svelte-13wforh"&&(is.innerHTML=nl),ja=p(s),c(bs.$$.fragment,s),da=p(s),js=r(s,"P",{"data-svelte-h":!0}),m(js)!=="svelte-1l8nkvh"&&(js.textContent=al),oa=p(s),ds=r(s,"UL",{"data-svelte-h":!0}),m(ds)!=="svelte-1cugg1l"&&(ds.innerHTML=el),ga=p(s),c(os.$$.fragment,s),fa=p(s),gs=r(s,"P",{"data-svelte-h":!0}),m(gs)!=="svelte-boafh9"&&(gs.innerHTML=ll),Ta=p(s),fs=r(s,"P",{"data-svelte-h":!0}),m(fs)!=="svelte-c6z4wu"&&(fs.innerHTML=pl),Ma=p(s),c(Ts.$$.fragment,s),wa=p(s),Ms=r(s,"OL",{"data-svelte-h":!0}),m(Ms)!=="svelte-hyjve4"&&(Ms.innerHTML=tl),Ja=p(s),c(ws.$$.fragment,s),$a=p(s),k=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(k)!=="svelte-xgh4i2"&&(k.innerHTML=rl),ya=p(s),c(Js.$$.fragment,s),ka=p(s),$s=r(s,"P",{"data-svelte-h":!0}),m($s)!=="svelte-1wzgp5y"&&($s.textContent=ml),va=p(s),c(ys.$$.fragment,s),xa=p(s),ks=r(s,"P",{"data-svelte-h":!0}),m(ks)!=="svelte-19l38g0"&&(ks.innerHTML=ul),za=p(s),vs=r(s,"P",{"data-svelte-h":!0}),m(vs)!=="svelte-1new3ky"&&(vs.innerHTML=cl),Ia=p(s),c(xs.$$.fragment,s),Ua=p(s),zs=r(s,"P",{"data-svelte-h":!0}),m(zs)!=="svelte-ct91ai"&&(zs.innerHTML=hl),Ca=p(s),c(Is.$$.fragment,s),_a=p(s),c(Us.$$.fragment,s),Ba=p(s),Cs=r(s,"P",{"data-svelte-h":!0}),m(Cs)!=="svelte-1v18n3g"&&(Cs.textContent=il),Ga=p(s),c(_s.$$.fragment,s),Za=p(s),Bs=r(s,"P",{"data-svelte-h":!0}),m(Bs)!=="svelte-1d0iauf"&&(Bs.textContent=bl),Wa=p(s),c(Gs.$$.fragment,s),Va=p(s),Zs=r(s,"P",{"data-svelte-h":!0}),m(Zs)!=="svelte-14so5au"&&(Zs.textContent=jl),Ra=p(s),c(Ws.$$.fragment,s),Fa=p(s),Vs=r(s,"P",{"data-svelte-h":!0}),m(Vs)!=="svelte-1ki09yh"&&(Vs.textContent=dl),Sa=p(s),c(Rs.$$.fragment,s),Xa=p(s),Fs=r(s,"P",{"data-svelte-h":!0}),m(Fs)!=="svelte-wvzyyg"&&(Fs.textContent=ol),Ya=p(s),c(Ss.$$.fragment,s),Aa=p(s),Xs=r(s,"P",{"data-svelte-h":!0}),m(Xs)!=="svelte-6smxz4"&&(Xs.textContent=gl),Na=p(s),Ys=r(s,"P",{"data-svelte-h":!0}),m(Ys)!=="svelte-sq3im2"&&(Ys.innerHTML=fl),qa=p(s),c(As.$$.fragment,s),Ha=p(s),Ns=r(s,"P",{"data-svelte-h":!0}),m(Ns)!=="svelte-11y8qgq"&&(Ns.innerHTML=Tl),Ea=p(s),c(qs.$$.fragment,s),La=p(s),Hs=r(s,"P",{"data-svelte-h":!0}),m(Hs)!=="svelte-1pswjfa"&&(Hs.innerHTML=Ml),Qa=p(s),c(Es.$$.fragment,s),Da=p(s),Ls=r(s,"P",{"data-svelte-h":!0}),m(Ls)!=="svelte-glvnqt"&&(Ls.innerHTML=wl),Pa=p(s),c(Qs.$$.fragment,s),Ka=p(s),c(Ds.$$.fragment,s),Oa=p(s),Ps=r(s,"P",{"data-svelte-h":!0}),m(Ps)!=="svelte-1usc7ke"&&(Ps.innerHTML=Jl),se=p(s),Ks=r(s,"OL",{"data-svelte-h":!0}),m(Ks)!=="svelte-11j1h3u"&&(Ks.innerHTML=$l),ne=p(s),c(Os.$$.fragment,s),ae=p(s),v=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(v)!=="svelte-121pxtp"&&(v.innerHTML=yl),ee=p(s),c(sn.$$.fragment,s),le=p(s),x=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(x)!=="svelte-17wfhuo"&&(x.innerHTML=kl),pe=p(s),c(nn.$$.fragment,s),te=p(s),z=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(z)!=="svelte-1penylb"&&(z.innerHTML=vl),re=p(s),c(an.$$.fragment,s),me=p(s),en=r(s,"P",{"data-svelte-h":!0}),m(en)!=="svelte-3p7rad"&&(en.textContent=xl),ue=p(s),c(ln.$$.fragment,s),ce=p(s),pn=r(s,"P",{"data-svelte-h":!0}),m(pn)!=="svelte-vgp975"&&(pn.innerHTML=zl),he=p(s),c(tn.$$.fragment,s),ie=p(s),rn=r(s,"P",{"data-svelte-h":!0}),m(rn)!=="svelte-vi8yec"&&(rn.textContent=Il),be=p(s),mn=r(s,"UL",{"data-svelte-h":!0}),m(mn)!=="svelte-1wva8w2"&&(mn.innerHTML=Ul),je=p(s),un=r(s,"P",{"data-svelte-h":!0}),m(un)!=="svelte-13p5bse"&&(un.innerHTML=Cl),de=p(s),c(cn.$$.fragment,s),oe=p(s),hn=r(s,"P",{"data-svelte-h":!0}),m(hn)!=="svelte-hipclc"&&(hn.textContent=_l),ge=p(s),c(bn.$$.fragment,s),fe=p(s),jn=r(s,"P",{"data-svelte-h":!0}),m(jn)!=="svelte-1gzy36"&&(jn.textContent=Bl),Te=p(s),c(dn.$$.fragment,s),Me=p(s),on=r(s,"P",{"data-svelte-h":!0}),m(on)!=="svelte-15k345g"&&(on.innerHTML=Gl),we=p(s),c(gn.$$.fragment,s),Je=p(s),c(fn.$$.fragment,s),$e=p(s),Tn=r(s,"P",{"data-svelte-h":!0}),m(Tn)!=="svelte-s9kgjf"&&(Tn.innerHTML=Zl),ye=p(s),c(Mn.$$.fragment,s),ke=p(s),wn=r(s,"OL",{"data-svelte-h":!0}),m(wn)!=="svelte-o941t7"&&(wn.innerHTML=Wl),ve=p(s),c(Jn.$$.fragment,s),xe=p(s),I=r(s,"OL",{start:!0,"data-svelte-h":!0}),m(I)!=="svelte-10gge3x"&&(I.innerHTML=Vl),ze=p(s),c($n.$$.fragment,s),Ie=p(s),yn=r(s,"P",{"data-svelte-h":!0}),m(yn)!=="svelte-1jrj23h"&&(yn.innerHTML=Rl),Ue=p(s),kn=r(s,"P",{"data-svelte-h":!0}),m(kn)!=="svelte-14gj5fi"&&(kn.textContent=Fl),Ce=p(s),c(vn.$$.fragment,s),_e=p(s),zn=r(s,"P",{}),Yl(zn).forEach(a),this.h()},h(){xn(o,"name","hf:doc:metadata"),xn(o,"content",rp),xn(k,"start","2"),xn(v,"start","2"),xn(x,"start","3"),xn(z,"start","4"),xn(I,"start","2")},m(s,n){Ql(document.head,o),e(s,f,n),e(s,d,n),e(s,T,n),h(w,s,n),e(s,In,n),h(U,s,n),e(s,Un,n),e(s,C,n),e(s,Cn,n),e(s,_,n),e(s,_n,n),h(B,s,n),e(s,Bn,n),h(G,s,n),e(s,Gn,n),e(s,Z,n),e(s,Zn,n),h($,s,n),e(s,Wn,n),e(s,W,n),e(s,Vn,n),h(V,s,n),e(s,Rn,n),e(s,R,n),e(s,Fn,n),h(F,s,n),e(s,Sn,n),e(s,S,n),e(s,Xn,n),h(X,s,n),e(s,Yn,n),e(s,Y,n),e(s,An,n),e(s,A,n),e(s,Nn,n),e(s,N,n),e(s,qn,n),h(q,s,n),e(s,Hn,n),e(s,H,n),e(s,En,n),e(s,E,n),e(s,Ln,n),h(L,s,n),e(s,Qn,n),h(Q,s,n),e(s,Dn,n),e(s,D,n),e(s,Pn,n),e(s,P,n),e(s,Kn,n),h(K,s,n),e(s,On,n),e(s,O,n),e(s,sa,n),h(ss,s,n),e(s,na,n),e(s,ns,n),e(s,aa,n),e(s,as,n),e(s,ea,n),h(es,s,n),e(s,la,n),h(ls,s,n),e(s,pa,n),e(s,ps,n),e(s,ta,n),e(s,ts,n),e(s,ra,n),h(y,s,n),e(s,ma,n),h(rs,s,n),e(s,ua,n),e(s,ms,n),e(s,ca,n),h(us,s,n),e(s,ha,n),e(s,cs,n),e(s,ia,n),h(hs,s,n),e(s,ba,n),e(s,is,n),e(s,ja,n),h(bs,s,n),e(s,da,n),e(s,js,n),e(s,oa,n),e(s,ds,n),e(s,ga,n),h(os,s,n),e(s,fa,n),e(s,gs,n),e(s,Ta,n),e(s,fs,n),e(s,Ma,n),h(Ts,s,n),e(s,wa,n),e(s,Ms,n),e(s,Ja,n),h(ws,s,n),e(s,$a,n),e(s,k,n),e(s,ya,n),h(Js,s,n),e(s,ka,n),e(s,$s,n),e(s,va,n),h(ys,s,n),e(s,xa,n),e(s,ks,n),e(s,za,n),e(s,vs,n),e(s,Ia,n),h(xs,s,n),e(s,Ua,n),e(s,zs,n),e(s,Ca,n),h(Is,s,n),e(s,_a,n),h(Us,s,n),e(s,Ba,n),e(s,Cs,n),e(s,Ga,n),h(_s,s,n),e(s,Za,n),e(s,Bs,n),e(s,Wa,n),h(Gs,s,n),e(s,Va,n),e(s,Zs,n),e(s,Ra,n),h(Ws,s,n),e(s,Fa,n),e(s,Vs,n),e(s,Sa,n),h(Rs,s,n),e(s,Xa,n),e(s,Fs,n),e(s,Ya,n),h(Ss,s,n),e(s,Aa,n),e(s,Xs,n),e(s,Na,n),e(s,Ys,n),e(s,qa,n),h(As,s,n),e(s,Ha,n),e(s,Ns,n),e(s,Ea,n),h(qs,s,n),e(s,La,n),e(s,Hs,n),e(s,Qa,n),h(Es,s,n),e(s,Da,n),e(s,Ls,n),e(s,Pa,n),h(Qs,s,n),e(s,Ka,n),h(Ds,s,n),e(s,Oa,n),e(s,Ps,n),e(s,se,n),e(s,Ks,n),e(s,ne,n),h(Os,s,n),e(s,ae,n),e(s,v,n),e(s,ee,n),h(sn,s,n),e(s,le,n),e(s,x,n),e(s,pe,n),h(nn,s,n),e(s,te,n),e(s,z,n),e(s,re,n),h(an,s,n),e(s,me,n),e(s,en,n),e(s,ue,n),h(ln,s,n),e(s,ce,n),e(s,pn,n),e(s,he,n),h(tn,s,n),e(s,ie,n),e(s,rn,n),e(s,be,n),e(s,mn,n),e(s,je,n),e(s,un,n),e(s,de,n),h(cn,s,n),e(s,oe,n),e(s,hn,n),e(s,ge,n),h(bn,s,n),e(s,fe,n),e(s,jn,n),e(s,Te,n),h(dn,s,n),e(s,Me,n),e(s,on,n),e(s,we,n),h(gn,s,n),e(s,Je,n),h(fn,s,n),e(s,$e,n),e(s,Tn,n),e(s,ye,n),h(Mn,s,n),e(s,ke,n),e(s,wn,n),e(s,ve,n),h(Jn,s,n),e(s,xe,n),e(s,I,n),e(s,ze,n),h($n,s,n),e(s,Ie,n),e(s,yn,n),e(s,Ue,n),e(s,kn,n),e(s,Ce,n),h(vn,s,n),e(s,_e,n),e(s,zn,n),Be=!0},p(s,[n]){const Sl={};n&2&&(Sl.$$scope={dirty:n,ctx:s}),$.$set(Sl);const Xl={};n&2&&(Xl.$$scope={dirty:n,ctx:s}),y.$set(Xl)},i(s){Be||(i(w.$$.fragment,s),i(U.$$.fragment,s),i(B.$$.fragment,s),i(G.$$.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(hs.$$.fragment,s),i(bs.$$.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(Gs.$$.fragment,s),i(Ws.$$.fragment,s),i(Rs.$$.fragment,s),i(Ss.$$.fragment,s),i(As.$$.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(cn.$$.fragment,s),i(bn.$$.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),i(vn.$$.fragment,s),Be=!0)},o(s){b(w.$$.fragment,s),b(U.$$.fragment,s),b(B.$$.fragment,s),b(G.$$.fragment,s),b($.$$.fragment,s),b(V.$$.fragment,s),b(F.$$.fragment,s),b(X.$$.fragment,s),b(q.$$.fragment,s),b(L.$$.fragment,s),b(Q.$$.fragment,s),b(K.$$.fragment,s),b(ss.$$.fragment,s),b(es.$$.fragment,s),b(ls.$$.fragment,s),b(y.$$.fragment,s),b(rs.$$.fragment,s),b(us.$$.fragment,s),b(hs.$$.fragment,s),b(bs.$$.fragment,s),b(os.$$.fragment,s),b(Ts.$$.fragment,s),b(ws.$$.fragment,s),b(Js.$$.fragment,s),b(ys.$$.fragment,s),b(xs.$$.fragment,s),b(Is.$$.fragment,s),b(Us.$$.fragment,s),b(_s.$$.fragment,s),b(Gs.$$.fragment,s),b(Ws.$$.fragment,s),b(Rs.$$.fragment,s),b(Ss.$$.fragment,s),b(As.$$.fragment,s),b(qs.$$.fragment,s),b(Es.$$.fragment,s),b(Qs.$$.fragment,s),b(Ds.$$.fragment,s),b(Os.$$.fragment,s),b(sn.$$.fragment,s),b(nn.$$.fragment,s),b(an.$$.fragment,s),b(ln.$$.fragment,s),b(tn.$$.fragment,s),b(cn.$$.fragment,s),b(bn.$$.fragment,s),b(dn.$$.fragment,s),b(gn.$$.fragment,s),b(fn.$$.fragment,s),b(Mn.$$.fragment,s),b(Jn.$$.fragment,s),b($n.$$.fragment,s),b(vn.$$.fragment,s),Be=!1},d(s){s&&(a(f),a(d),a(T),a(In),a(Un),a(C),a(Cn),a(_),a(_n),a(Bn),a(Gn),a(Z),a(Zn),a(Wn),a(W),a(Vn),a(Rn),a(R),a(Fn),a(Sn),a(S),a(Xn),a(Yn),a(Y),a(An),a(A),a(Nn),a(N),a(qn),a(Hn),a(H),a(En),a(E),a(Ln),a(Qn),a(Dn),a(D),a(Pn),a(P),a(Kn),a(On),a(O),a(sa),a(na),a(ns),a(aa),a(as),a(ea),a(la),a(pa),a(ps),a(ta),a(ts),a(ra),a(ma),a(ua),a(ms),a(ca),a(ha),a(cs),a(ia),a(ba),a(is),a(ja),a(da),a(js),a(oa),a(ds),a(ga),a(fa),a(gs),a(Ta),a(fs),a(Ma),a(wa),a(Ms),a(Ja),a($a),a(k),a(ya),a(ka),a($s),a(va),a(xa),a(ks),a(za),a(vs),a(Ia),a(Ua),a(zs),a(Ca),a(_a),a(Ba),a(Cs),a(Ga),a(Za),a(Bs),a(Wa),a(Va),a(Zs),a(Ra),a(Fa),a(Vs),a(Sa),a(Xa),a(Fs),a(Ya),a(Aa),a(Xs),a(Na),a(Ys),a(qa),a(Ha),a(Ns),a(Ea),a(La),a(Hs),a(Qa),a(Da),a(Ls),a(Pa),a(Ka),a(Oa),a(Ps),a(se),a(Ks),a(ne),a(ae),a(v),a(ee),a(le),a(x),a(pe),a(te),a(z),a(re),a(me),a(en),a(ue),a(ce),a(pn),a(he),a(ie),a(rn),a(be),a(mn),a(je),a(un),a(de),a(oe),a(hn),a(ge),a(fe),a(jn),a(Te),a(Me),a(on),a(we),a(Je),a($e),a(Tn),a(ye),a(ke),a(wn),a(ve),a(xe),a(I),a(ze),a(Ie),a(yn),a(Ue),a(kn),a(Ce),a(_e),a(zn)),a(o),j(w,s),j(U,s),j(B,s),j(G,s),j($,s),j(V,s),j(F,s),j(X,s),j(q,s),j(L,s),j(Q,s),j(K,s),j(ss,s),j(es,s),j(ls,s),j(y,s),j(rs,s),j(us,s),j(hs,s),j(bs,s),j(os,s),j(Ts,s),j(ws,s),j(Js,s),j(ys,s),j(xs,s),j(Is,s),j(Us,s),j(_s,s),j(Gs,s),j(Ws,s),j(Rs,s),j(Ss,s),j(As,s),j(qs,s),j(Es,s),j(Qs,s),j(Ds,s),j(Os,s),j(sn,s),j(nn,s),j(an,s),j(ln,s),j(tn,s),j(cn,s),j(bn,s),j(dn,s),j(gn,s),j(fn,s),j(Mn,s),j(Jn,s),j($n,s),j(vn,s)}}}const rp='{"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 mp(J){return ql(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class gp extends Hl{constructor(o){super(),El(this,o,mp,tp,Nl,{})}}export{gp as component};
