import{s as Xe,o as Ye,n as I}from"../chunks/scheduler.bdbef820.js";import{S as Ne,i as ze,g as m,s as e,r as h,A as qe,h as c,f as n,c as p,j as He,u as j,x as u,k as _,y as Fe,a as l,v as b,d as i,t as o,w as f}from"../chunks/index.33f81d56.js";import{T as Ia}from"../chunks/Tip.34194030.js";import{Y as Qe}from"../chunks/Youtube.0e329b00.js";import{C as g}from"../chunks/CodeBlock.362b34a4.js";import{D as Le}from"../chunks/DocNotebookDropdown.d5db5928.js";import{F as Ee,M as Re}from"../chunks/Markdown.03194dea.js";import{H as U,E as Ae}from"../chunks/EditOnGithub.a9246e21.js";function Pe(J){let t,d="<code>AutoProcessor</code>는 <strong>언제나</strong> 작동하여 토크나이저, 이미지 프로세서, 특성 추출기 또는 프로세서 등 사용 중인 모델에 맞는 클래스를 자동으로 선택합니다.";return{c(){t=m("p"),t.innerHTML=d},l(r){t=c(r,"P",{"data-svelte-h":!0}),u(t)!=="svelte-8prefl"&&(t.innerHTML=d)},m(r,M){l(r,t,M)},p:I,d(r){r&&n(t)}}}function Se(J){let t,d="사전훈련된 모델을 사용할 계획이라면 모델과 함께 사전훈련된 토크나이저를 사용하는 것이 중요합니다. 이렇게 하면 텍스트가 사전훈련 말뭉치와 동일한 방식으로 분할되고 사전훈련 중에 동일한 해당 토큰-인덱스 쌍(일반적으로 <em>vocab</em>이라고 함)을 사용합니다.";return{c(){t=m("p"),t.innerHTML=d},l(r){t=c(r,"P",{"data-svelte-h":!0}),u(t)!=="svelte-1qm7hmc"&&(t.innerHTML=d)},m(r,M){l(r,t,M)},p:I,d(r){r&&n(t)}}}function De(J){let t,d='다양한 패딩과 잘라내기 인수에 대해 더 알아보려면 <a href="./pad_truncation">패딩과 잘라내기</a> 개념 가이드를 확인해보세요.';return{c(){t=m("p"),t.innerHTML=d},l(r){t=c(r,"P",{"data-svelte-h":!0}),u(t)!=="svelte-5nyjl5"&&(t.innerHTML=d)},m(r,M){l(r,t,M)},p:I,d(r){r&&n(t)}}}function Ke(J){let t,d;return t=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(){h(t.$$.fragment)},l(r){j(t.$$.fragment,r)},m(r,M){b(t,r,M),d=!0},p:I,i(r){d||(i(t.$$.fragment,r),d=!0)},o(r){o(t.$$.fragment,r),d=!1},d(r){f(t,r)}}}function Oe(J){let t,d;return t=new Re({props:{$$slots:{default:[Ke]},$$scope:{ctx:J}}}),{c(){h(t.$$.fragment)},l(r){j(t.$$.fragment,r)},m(r,M){b(t,r,M),d=!0},p(r,M){const $={};M&2&&($.$$scope={dirty:M,ctx:r}),t.$set($)},i(r){d||(i(t.$$.fragment,r),d=!0)},o(r){o(t.$$.fragment,r),d=!1},d(r){f(t,r)}}}function sp(J){let t,d;return t=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(){h(t.$$.fragment)},l(r){j(t.$$.fragment,r)},m(r,M){b(t,r,M),d=!0},p:I,i(r){d||(i(t.$$.fragment,r),d=!0)},o(r){o(t.$$.fragment,r),d=!1},d(r){f(t,r)}}}function ap(J){let t,d;return t=new Re({props:{$$slots:{default:[sp]},$$scope:{ctx:J}}}),{c(){h(t.$$.fragment)},l(r){j(t.$$.fragment,r)},m(r,M){b(t,r,M),d=!0},p(r,M){const $={};M&2&&($.$$scope={dirty:M,ctx:r}),t.$set($)},i(r){d||(i(t.$$.fragment,r),d=!0)},o(r){o(t.$$.fragment,r),d=!1},d(r){f(t,r)}}}function np(J){let t,d=`이미지 전처리는 이미지 증강 기법을 몇 가지 적용한 뒤에 할 수도 있습니다.
이미지 전처리 및 이미지 증강은 모두 이미지 데이터를 변형하지만, 서로 다른 목적을 가지고 있습니다:`,r,M,$=`<li>이미지 증강은 과적합(over-fitting)을 방지하고 모델의 견고함(resiliency)을 높이는 데 도움이 되는 방식으로 이미지를 수정합니다.
밝기와 색상 조정, 자르기, 회전, 크기 조정, 확대/축소 등 다양한 방법으로 데이터를 증강할 수 있습니다.
그러나 증강으로 이미지의 의미가 바뀌지 않도록 주의해야 합니다.</li> <li>이미지 전처리는 이미지가 모델이 예상하는 입력 형식과 일치하도록 보장합니다.
컴퓨터 비전 모델을 미세 조정할 때 이미지는 모델이 초기에 훈련될 때와 정확히 같은 방식으로 전처리되어야 합니다.</li>`,y,w,F="이미지 증강에는 원하는 라이브러리를 무엇이든 사용할 수 있습니다. 이미지 전처리에는 모델과 연결된 <code>ImageProcessor</code>를 사용합니다.";return{c(){t=m("p"),t.textContent=d,r=e(),M=m("ul"),M.innerHTML=$,y=e(),w=m("p"),w.innerHTML=F},l(T){t=c(T,"P",{"data-svelte-h":!0}),u(t)!=="svelte-fh9zuk"&&(t.textContent=d),r=p(T),M=c(T,"UL",{"data-svelte-h":!0}),u(M)!=="svelte-1gppyte"&&(M.innerHTML=$),y=p(T),w=c(T,"P",{"data-svelte-h":!0}),u(w)!=="svelte-wokouf"&&(w.innerHTML=F)},m(T,v){l(T,t,v),l(T,r,v),l(T,M,v),l(T,y,v),l(T,w,v)},p:I,d(T){T&&(n(t),n(r),n(M),n(y),n(w))}}}function lp(J){let t,d="데이터 세트가 상당히 크기 때문에 🤗 Datasets의 <code>split</code> 매개변수를 사용하여 훈련 세트에서 작은 샘플만 가져오세요!";return{c(){t=m("p"),t.innerHTML=d},l(r){t=c(r,"P",{"data-svelte-h":!0}),u(t)!=="svelte-1ozj54"&&(t.innerHTML=d)},m(r,M){l(r,t,M)},p:I,d(r){r&&n(t)}}}function ep(J){let t,d=`위의 예에서는 이미지 증강 중에 이미지 크기를 조정했기 때문에 <code>do_resize=False</code>로 설정하고, 해당 <code>image_processor</code>에서 <code>size</code> 속성을 활용했습니다.
이미지 증강 중에 이미지 크기를 조정하지 않은 경우 이 매개변수를 생략하세요.
기본적으로는 <code>ImageProcessor</code>가 크기 조정을 처리합니다.`,r,M,$="증강 변환 과정에서 이미지를 정규화하려면 <code>image_processor.image_mean</code> 및 <code>image_processor.image_std</code> 값을 사용하세요.";return{c(){t=m("p"),t.innerHTML=d,r=e(),M=m("p"),M.innerHTML=$},l(y){t=c(y,"P",{"data-svelte-h":!0}),u(t)!=="svelte-1yu321o"&&(t.innerHTML=d),r=p(y),M=c(y,"P",{"data-svelte-h":!0}),u(M)!=="svelte-mx1c62"&&(M.innerHTML=$)},m(y,w){l(y,t,w),l(y,r,w),l(y,M,w)},p:I,d(y){y&&(n(t),n(r),n(M))}}}function pp(J){let t,d=`<code>ImageProcessor</code>는 객체 감지, 시맨틱 세그멘테이션(semantic segmentation), 인스턴스 세그멘테이션(instance segmentation), 파놉틱 세그멘테이션(panoptic segmentation)과 같은 작업에 대한 후처리 방법을 제공합니다.
이러한 방법은 모델의 원시 출력을 경계 상자나 세그멘테이션 맵과 같은 의미 있는 예측으로 변환해줍니다.`;return{c(){t=m("p"),t.innerHTML=d},l(r){t=c(r,"P",{"data-svelte-h":!0}),u(t)!=="svelte-1nya0re"&&(t.innerHTML=d)},m(r,M){l(r,t,M)},p:I,d(r){r&&n(t)}}}function tp(J){let t,d,r,M,$,y,w,F,T,v="모델을 훈련하려면 데이터 세트를 모델에 맞는 입력 형식으로 전처리해야 합니다. 텍스트, 이미지 또는 오디오인지 관계없이 데이터를 텐서 배치로 변환하고 조립할 필요가 있습니다. 🤗 Transformers는 모델에 대한 데이터를 준비하는 데 도움이 되는 일련의 전처리 클래스를 제공합니다. 이 튜토리얼에서는 다음 내용을 배울 수 있습니다:",xa,Q,xl='<li>텍스트는 <a href="./main_classes/tokenizer">Tokenizer</a>를 사용하여 토큰 시퀀스로 변환하고 토큰의 숫자 표현을 만든 후 텐서로 조립합니다.</li> <li>음성 및 오디오는 <a href="./main_classes/feature_extractor">Feature extractor</a>를 사용하여 오디오 파형에서 시퀀스 특성을 파악하여 텐서로 변환합니다.</li> <li>이미지 입력은 <a href="./main_classes/image">ImageProcessor</a>을 사용하여 이미지를 텐서로 변환합니다.</li> <li>멀티모달 입력은 <a href="./main_classes/processors">Processor</a>을 사용하여 토크나이저와 특성 추출기 또는 이미지 프로세서를 결합합니다.</li>',Ca,x,ka,L,Cl="시작하기 전에 🤗 Datasets를 설치하여 실험에 사용할 데이터를 불러올 수 있습니다:",Za,E,Ga,A,Va,P,Ba,S,kl='텍스트 데이터를 전처리하기 위한 기본 도구는 <a href="main_classes/tokenizer">tokenizer</a>입니다. 토크나이저는 일련의 규칙에 따라 텍스트를 <em>토큰</em>으로 나눕니다. 토큰은 숫자로 변환되고 텐서는 모델 입력이 됩니다. 모델에 필요한 추가 입력은 토크나이저에 의해 추가됩니다.',Wa,C,Ha,D,Zl='시작하려면 <a href="/docs/transformers/pr_22105/ko/model_doc/auto#transformers.AutoTokenizer.from_pretrained">AutoTokenizer.from_pretrained()</a> 메소드를 사용하여 사전훈련된 토크나이저를 불러오세요. 모델과 함께 사전훈련된 <em>vocab</em>을 다운로드합니다:',Ra,K,Xa,O,Gl="그 다음으로 텍스트를 토크나이저에 넣어주세요:",Ya,ss,Na,as,Vl="토크나이저는 세 가지 중요한 항목을 포함한 딕셔너리를 반환합니다:",za,ns,Bl='<li><a href="glossary#input-ids">input_ids</a>는 문장의 각 토큰에 해당하는 인덱스입니다.</li> <li><a href="glossary#attention-mask">attention_mask</a>는 토큰을 처리해야 하는지 여부를 나타냅니다.</li> <li><a href="glossary#token-type-ids">token_type_ids</a>는 두 개 이상의 시퀀스가 있을 때 토큰이 속한 시퀀스를 식별합니다.</li>',qa,ls,Wl="<code>input_ids</code>를 디코딩하여 입력을 반환합니다:",Fa,es,Qa,ps,Hl=`토크나이저가 두 개의 특수한 토큰(분류 토큰 <code>CLS</code>와 분할 토큰 <code>SEP</code>)을 문장에 추가했습니다.
모든 모델에 특수한 토큰이 필요한 것은 아니지만, 필요하다면 토크나이저가 자동으로 추가합니다.`,La,ts,Rl="전처리할 문장이 여러 개 있는 경우에는 리스트로 토크나이저에 전달합니다:",Ea,rs,Aa,ms,Pa,cs,Xl="모델 입력인 텐서는 모양이 균일해야 하지만, 문장의 길이가 항상 같지는 않기 때문에 문제가 될 수 있습니다. 패딩은 짧은 문장에 특수한 <em>패딩 토큰</em>을 추가하여 텐서를 직사각형 모양이 되도록 하는 전략입니다.",Sa,us,Yl="<code>padding</code> 매개변수를 <code>True</code>로 설정하여 배치 내의 짧은 시퀀스를 가장 긴 시퀀스에 맞춰 패딩합니다.",Da,hs,Ka,js,Nl="길이가 짧은 첫 문장과 세 번째 문장이 이제 <code>0</code>으로 채워졌습니다.",Oa,bs,sn,is,zl="한편, 때로는 시퀀스가 모델에서 처리하기에 너무 길 수도 있습니다. 이 경우, 시퀀스를 더 짧게 줄일 필요가 있습니다.",an,os,ql="모델에서 허용하는 최대 길이로 시퀀스를 자르려면 <code>truncation</code> 매개변수를 <code>True</code>로 설정하세요:",nn,fs,ln,k,en,ds,pn,Ms,Fl="마지막으로, 토크나이저가 모델에 공급되는 실제 텐서를 반환하도록 합니다.",tn,gs,Ql="<code>return_tensors</code> 매개변수를 PyTorch의 경우 <code>pt</code>, TensorFlow의 경우 <code>tf</code>로 설정하세요:",rn,Z,mn,Js,cn,Ts,Ll='오디오 작업은 모델에 맞는 데이터 세트를 준비하기 위해 <a href="main_classes/feature_extractor">특성 추출기</a>가 필요합니다. 특성 추출기는 원시 오디오 데이터에서 특성를 추출하고 이를 텐서로 변환하는 것이 목적입니다.',un,$s,El='오디오 데이터 세트에 특성 추출기를 사용하는 방법을 보기 위해 <a href="https://huggingface.co/datasets/PolyAI/minds14" rel="nofollow">MInDS-14</a> 데이터 세트를 가져오세요. (데이터 세트를 가져오는 방법은 🤗 <a href="https://huggingface.co/docs/datasets/load_hub" rel="nofollow">데이터 세트 튜토리얼</a>에서 자세히 설명하고 있습니다.)',hn,ys,jn,ws,Al="<code>audio</code> 열의 첫 번째 요소에 접근하여 입력을 살펴보세요. <code>audio</code> 열을 호출하면 오디오 파일을 자동으로 가져오고 리샘플링합니다.",bn,_s,on,Us,Pl="이렇게 하면 세 가지 항목이 반환됩니다:",fn,Is,Sl="<li><code>array</code>는 1D 배열로 가져와서 (필요한 경우) 리샘플링된 음성 신호입니다.</li> <li><code>path</code>는 오디오 파일의 위치를 가리킵니다.</li> <li><code>sampling_rate</code>는 음성 신호에서 초당 측정되는 데이터 포인트 수를 나타냅니다.</li>",dn,vs,Dl=`이 튜토리얼에서는 <a href="https://huggingface.co/facebook/wav2vec2-base" rel="nofollow">Wav2Vec2</a> 모델을 사용합니다. 모델 카드를 보면 Wav2Vec2가 16kHz 샘플링된 음성 오디오를 기반으로 사전훈련된 것을 알 수 있습니다.
모델을 사전훈련하는 데 사용된 데이터 세트의 샘플링 레이트와 오디오 데이터의 샘플링 레이트가 일치해야 합니다. 데이터의 샘플링 레이트가 다르면 데이터를 리샘플링해야 합니다.`,Mn,xs,Kl="<li>🤗 Datasets의 <code>cast_column</code> 메소드를 사용하여 샘플링 레이트를 16kHz로 업샘플링하세요:</li>",gn,Cs,Jn,G,Ol="<li>오디오 파일을 리샘플링하기 위해 <code>audio</code> 열을 다시 호출합니다:</li>",Tn,ks,$n,Zs,se=`다음으로, 입력을 정규화하고 패딩할 특성 추출기를 가져오세요. 텍스트 데이터의 경우, 더 짧은 시퀀스에 대해 <code>0</code>이 추가됩니다. 오디오 데이터에도 같은 개념이 적용됩니다.
특성 추출기는 배열에 <code>0</code>(묵음으로 해석)을 추가합니다.`,yn,Gs,ae='<a href="/docs/transformers/pr_22105/ko/model_doc/auto#transformers.AutoFeatureExtractor.from_pretrained">AutoFeatureExtractor.from_pretrained()</a>를 사용하여 특성 추출기를 가져오세요:',wn,Vs,_n,Bs,ne="오디오 <code>array</code>를 특성 추출기에 전달하세요. 또한, 발생할 수 있는 조용한 오류(silent errors)를 더 잘 디버깅할 수 있도록 특성 추출기에 <code>sampling_rate</code> 인수를 추가하는 것을 권장합니다.",Un,Ws,In,Hs,le="토크나이저와 마찬가지로 배치 내에서 가변적인 시퀀스를 처리하기 위해 패딩 또는 잘라내기를 적용할 수 있습니다. 이 두 개의 오디오 샘플의 시퀀스 길이를 확인해보세요:",vn,Rs,xn,Xs,ee="오디오 샘플의 길이가 동일하도록 데이터 세트를 전처리하는 함수를 만드세요. 최대 샘플 길이를 지정하면 특성 추출기가 해당 길이에 맞춰 시퀀스를 패딩하거나 잘라냅니다:",Cn,Ys,kn,Ns,pe="<code>preprocess_function</code>을 데이터 세트의 처음 예시 몇 개에 적용해보세요:",Zn,zs,Gn,qs,te="이제 샘플 길이가 모두 같고 지정된 최대 길이에 맞게 되었습니다. 드디어 전처리된 데이터 세트를 모델에 전달할 수 있습니다!",Vn,Fs,Bn,Qs,Wn,Ls,re=`컴퓨터 비전 작업의 경우, 모델에 대한 데이터 세트를 준비하기 위해 <a href="main_classes/image_processor">이미지 프로세서</a>가 필요합니다.
이미지 전처리는 이미지를 모델이 예상하는 입력으로 변환하는 여러 단계로 이루어집니다.
이러한 단계에는 크기 조정, 정규화, 색상 채널 보정, 이미지의 텐서 변환 등이 포함됩니다.`,Hn,V,Rn,Es,me=`<a href="https://huggingface.co/datasets/food101" rel="nofollow">food101</a> 데이터 세트를 가져와서 컴퓨터 비전 데이터 세트에서 이미지 프로세서를 어떻게 사용하는지 알아보세요.
데이터 세트를 불러오는 방법은 🤗 <a href="https://huggingface.co/docs/datasets/load_hub" rel="nofollow">데이터 세트 튜토리얼</a>을 참고하세요.`,Xn,B,Yn,As,Nn,Ps,ce='다음으로, 🤗 Datasets의 <a href="https://huggingface.co/docs/datasets/package_reference/main_classes?highlight=image#datasets.Image" rel="nofollow"><code>image</code></a>로 이미지를 확인해보세요:',zn,Ss,qn,W,ue='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/vision-preprocess-tutorial.png"/>',Fn,Ds,he='<a href="/docs/transformers/pr_22105/ko/model_doc/auto#transformers.AutoImageProcessor.from_pretrained">AutoImageProcessor.from_pretrained()</a>로 이미지 프로세서를 가져오세요:',Qn,Ks,Ln,Os,je=`먼저 이미지 증강 단계를 추가해 봅시다. 아무 라이브러리나 사용해도 괜찮지만, 이번 튜토리얼에서는 torchvision의 <a href="https://pytorch.org/vision/stable/transforms.html" rel="nofollow"><code>transforms</code></a> 모듈을 사용하겠습니다.
다른 데이터 증강 라이브러리를 사용해보고 싶다면, <a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb" rel="nofollow">Albumentations</a> 또는 <a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb" rel="nofollow">Kornia notebooks</a>에서 어떻게 사용하는지 배울 수 있습니다.`,En,sa,be=`<li><a href="https://pytorch.org/vision/master/generated/torchvision.transforms.Compose.html" rel="nofollow"><code>Compose</code></a>로  <a href="https://pytorch.org/vision/main/generated/torchvision.transforms.RandomResizedCrop.html" rel="nofollow"><code>RandomResizedCrop</code></a>와 <a href="https://pytorch.org/vision/main/generated/torchvision.transforms.ColorJitter.html" rel="nofollow"><code>ColorJitter</code></a> 등 변환을 몇 가지 연결하세요.
참고로 크기 조정에 필요한 이미지의 크기 요구사항은 <code>image_processor</code>에서 가져올 수 있습니다.
일부 모델은 정확한 높이와 너비를 요구하지만, 제일 짧은 변의 길이(<code>shortest_edge</code>)만 정의된 모델도 있습니다.</li>`,An,aa,Pn,H,ie=`<li>모델은 입력으로 <a href="model_doc/visionencoderdecoder#transformers.VisionEncoderDecoderModel.forward.pixel_values"><code>pixel_values</code></a>를 받습니다.
<code>ImageProcessor</code>는 이미지 정규화 및 적절한 텐서 생성을 처리할 수 있습니다.
배치 이미지에 대한 이미지 증강 및 이미지 전처리를 결합하고 <code>pixel_values</code>를 생성하는 함수를 만듭니다:</li>`,Sn,na,Dn,R,Kn,X,oe='<li>🤗 Datasets의 <a href="https://huggingface.co/docs/datasets/process#format-transform" rel="nofollow"><code>set_transform</code></a>를 사용하여 실시간으로 변환을 적용합니다:</li>',On,la,sl,Y,fe=`<li>이제 이미지에 접근하면 이미지 프로세서가 <code>pixel_values</code>를 추가한 것을 알 수 있습니다.
드디어 처리된 데이터 세트를 모델에 전달할 수 있습니다!</li>`,al,ea,nl,pa,de="다음은 변형이 적용된 후의 이미지입니다. 이미지가 무작위로 잘려나갔고 색상 속성이 다릅니다.",ll,ta,el,N,Me='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/preprocessed_image.png"/>',pl,z,tl,ra,rl,ma,ge=`예를 들어, <a href="./model_doc/detr">DETR</a>와 같은 경우에는 모델이 훈련할 때 크기 조정 증강을 적용합니다.
이로 인해 배치 내 이미지 크기가 달라질 수 있습니다.
<code>DetrImageProcessor</code>의 <code>DetrImageProcessor.pad()</code>를 사용하고 사용자 정의 <code>collate_fn</code>을 정의해서 배치 이미지를 처리할 수 있습니다.`,ml,ca,cl,ua,ul,ha,Je=`멀티모달 입력이 필요한 작업의 경우, 모델에 데이터 세트를 준비하기 위한 <a href="main_classes/processors">프로세서</a>가 필요합니다.
프로세서는 토크나이저와 특성 추출기와 같은 두 가지 처리 객체를 결합합니다.`,hl,ja,Te=`<a href="https://huggingface.co/datasets/lj_speech" rel="nofollow">LJ Speech</a> 데이터 세트를 가져와서 자동 음성 인식(ASR)을 위한 프로세서를 사용하는 방법을 확인하세요.
(데이터 세트를 가져오는 방법에 대한 자세한 내용은 🤗 <a href="https://huggingface.co/docs/datasets/load_hub" rel="nofollow">데이터 세트 튜토리얼</a>에서 볼 수 있습니다.)`,jl,ba,bl,ia,$e="자동 음성 인식(ASR)에서는 <code>audio</code>와 <code>text</code>에만 집중하면 되므로, 다른 열들은 제거할 수 있습니다:",il,oa,ol,fa,ye="이제 <code>audio</code>와 <code>text</code>열을 살펴보세요:",fl,da,dl,Ma,we='기존에 사전훈련된 모델에서 사용된 데이터 세트와 새로운 오디오 데이터 세트의 샘플링 레이트를 일치시키기 위해 오디오 데이터 세트의 샘플링 레이트를 <a href="preprocessing#audio">리샘플링</a>해야 합니다!',Ml,ga,gl,Ja,_e='<a href="/docs/transformers/pr_22105/ko/model_doc/auto#transformers.AutoProcessor.from_pretrained">AutoProcessor.from_pretrained()</a>로 프로세서를 가져오세요:',Jl,Ta,Tl,$a,Ue=`<li><code>array</code>에 들어 있는 오디오 데이터를 <code>input_values</code>로 변환하고 <code>text</code>를 토큰화하여 <code>labels</code>로 변환하는 함수를 만듭니다.
모델의 입력은 다음과 같습니다:</li>`,$l,ya,yl,q,Ie="<li>샘플을 <code>prepare_dataset</code> 함수에 적용하세요:</li>",wl,wa,_l,_a,ve=`이제 프로세서가 <code>input_values</code>와 <code>labels</code>를 추가하고, 샘플링 레이트도 올바르게 16kHz로 다운샘플링했습니다.
드디어 처리된 데이터 세트를 모델에 전달할 수 있습니다!`,Ul,Ua,Il,va,vl;return $=new U({props:{title:"전처리",local:"preprocess",headingTag:"h1"}}),w=new Le({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/ko/preprocessing.ipynb"},{label:"PyTorch",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/ko/pytorch/preprocessing.ipynb"},{label:"TensorFlow",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/ko/tensorflow/preprocessing.ipynb"},{label:"Mixed",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/preprocessing.ipynb"},{label:"PyTorch",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/pytorch/preprocessing.ipynb"},{label:"TensorFlow",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/tensorflow/preprocessing.ipynb"}]}}),x=new Ia({props:{$$slots:{default:[Pe]},$$scope:{ctx:J}}}),E=new g({props:{code:"cGlwJTIwaW5zdGFsbCUyMGRhdGFzZXRz",highlighted:"pip install datasets",wrap:!1}}),A=new U({props:{title:"자연어처리",local:"natural-language-processing",headingTag:"h2"}}),P=new Qe({props:{id:"Yffk5aydLzg"}}),C=new Ia({props:{$$slots:{default:[Se]},$$scope:{ctx:J}}}),K=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}}),ss=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}}),es=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}}),rs=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}}),ms=new U({props:{title:"패딩",local:"pad",headingTag:"h3"}}),hs=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}}),bs=new U({props:{title:"잘라내기",local:"truncation",headingTag:"h3"}}),fs=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}}),k=new Ia({props:{$$slots:{default:[De]},$$scope:{ctx:J}}}),ds=new U({props:{title:"텐서 만들기",local:"build-tensors",headingTag:"h3"}}),Z=new Ee({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[ap],pytorch:[Oe]},$$scope:{ctx:J}}}),Js=new U({props:{title:"오디오",local:"audio",headingTag:"h2"}}),ys=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}}),_s=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}}),Cs=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}}),ks=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}}),Vs=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}}),Ws=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}}),Rs=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}}),Ys=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}}),zs=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}}),Fs=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}}),Qs=new U({props:{title:"컴퓨터 비전",local:"computer-vision",headingTag:"h2"}}),V=new Ia({props:{$$slots:{default:[np]},$$scope:{ctx:J}}}),B=new Ia({props:{$$slots:{default:[lp]},$$scope:{ctx:J}}}),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}}),Ss=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}}),Ks=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}}),aa=new g({props:{code:"ZnJvbSUyMHRvcmNodmlzaW9uLnRyYW5zZm9ybXMlMjBpbXBvcnQlMjBSYW5kb21SZXNpemVkQ3JvcCUyQyUyMENvbG9ySml0dGVyJTJDJTIwQ29tcG9zZSUwQSUwQXNpemUlMjAlM0QlMjAoJTBBJTIwJTIwJTIwJTIwaW1hZ2VfcHJvY2Vzc29yLnNpemUlNUIlMjJzaG9ydGVzdF9lZGdlJTIyJTVEJTBBJTIwJTIwJTIwJTIwaWYlMjAlMjJzaG9ydGVzdF9lZGdlJTIyJTIwaW4lMjBpbWFnZV9wcm9jZXNzb3Iuc2l6ZSUwQSUyMCUyMCUyMCUyMGVsc2UlMjAoaW1hZ2VfcHJvY2Vzc29yLnNpemUlNUIlMjJoZWlnaHQlMjIlNUQlMkMlMjBpbWFnZV9wcm9jZXNzb3Iuc2l6ZSU1QiUyMndpZHRoJTIyJTVEKSUwQSklMEElMEFfdHJhbnNmb3JtcyUyMCUzRCUyMENvbXBvc2UoJTVCUmFuZG9tUmVzaXplZENyb3Aoc2l6ZSklMkMlMjBDb2xvckppdHRlcihicmlnaHRuZXNzJTNEMC41JTJDJTIwaHVlJTNEMC41KSU1RCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> torchvision.transforms <span class="hljs-keyword">import</span> RandomResizedCrop, ColorJitter, Compose

<span class="hljs-meta">&gt;&gt;&gt; </span>size = (
<span class="hljs-meta">... </span>    image_processor.size[<span class="hljs-string">&quot;shortest_edge&quot;</span>]
<span class="hljs-meta">... </span>    <span class="hljs-keyword">if</span> <span class="hljs-string">&quot;shortest_edge&quot;</span> <span class="hljs-keyword">in</span> image_processor.size
<span class="hljs-meta">... </span>    <span class="hljs-keyword">else</span> (image_processor.size[<span class="hljs-string">&quot;height&quot;</span>], image_processor.size[<span class="hljs-string">&quot;width&quot;</span>])
<span class="hljs-meta">... </span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>_transforms = Compose([RandomResizedCrop(size), ColorJitter(brightness=<span class="hljs-number">0.5</span>, hue=<span class="hljs-number">0.5</span>)])`,wrap:!1}}),na=new g({props:{code:"ZGVmJTIwdHJhbnNmb3JtcyhleGFtcGxlcyklM0ElMEElMjAlMjAlMjAlMjBpbWFnZXMlMjAlM0QlMjAlNUJfdHJhbnNmb3JtcyhpbWcuY29udmVydCglMjJSR0IlMjIpKSUyMGZvciUyMGltZyUyMGluJTIwZXhhbXBsZXMlNUIlMjJpbWFnZSUyMiU1RCU1RCUwQSUyMCUyMCUyMCUyMGV4YW1wbGVzJTVCJTIycGl4ZWxfdmFsdWVzJTIyJTVEJTIwJTNEJTIwaW1hZ2VfcHJvY2Vzc29yKGltYWdlcyUyQyUyMGRvX3Jlc2l6ZSUzREZhbHNlJTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMiklNUIlMjJwaXhlbF92YWx1ZXMlMjIlNUQlMEElMjAlMjAlMjAlMjByZXR1cm4lMjBleGFtcGxlcw==",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>    images = [_transforms(img.convert(<span class="hljs-string">&quot;RGB&quot;</span>)) <span class="hljs-keyword">for</span> img <span class="hljs-keyword">in</span> examples[<span class="hljs-string">&quot;image&quot;</span>]]
<span class="hljs-meta">... </span>    examples[<span class="hljs-string">&quot;pixel_values&quot;</span>] = image_processor(images, do_resize=<span class="hljs-literal">False</span>, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)[<span class="hljs-string">&quot;pixel_values&quot;</span>]
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> examples`,wrap:!1}}),R=new Ia({props:{$$slots:{default:[ep]},$$scope:{ctx:J}}}),la=new g({props:{code:"ZGF0YXNldC5zZXRfdHJhbnNmb3JtKHRyYW5zZm9ybXMp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset.set_transform(transforms)',wrap:!1}}),ea=new g({props:{code:"ZGF0YXNldCU1QjAlNUQua2V5cygp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset[<span class="hljs-number">0</span>].keys()',wrap:!1}}),ta=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}}),z=new Ia({props:{$$slots:{default:[pp]},$$scope:{ctx:J}}}),ra=new U({props:{title:"패딩",local:"pad",headingTag:"h3"}}),ca=new g({props:{code:"ZGVmJTIwY29sbGF0ZV9mbihiYXRjaCklM0ElMEElMjAlMjAlMjAlMjBwaXhlbF92YWx1ZXMlMjAlM0QlMjAlNUJpdGVtJTVCJTIycGl4ZWxfdmFsdWVzJTIyJTVEJTIwZm9yJTIwaXRlbSUyMGluJTIwYmF0Y2glNUQlMEElMjAlMjAlMjAlMjBlbmNvZGluZyUyMCUzRCUyMGltYWdlX3Byb2Nlc3Nvci5wYWQocGl4ZWxfdmFsdWVzJTJDJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMiklMEElMjAlMjAlMjAlMjBsYWJlbHMlMjAlM0QlMjAlNUJpdGVtJTVCJTIybGFiZWxzJTIyJTVEJTIwZm9yJTIwaXRlbSUyMGluJTIwYmF0Y2glNUQlMEElMjAlMjAlMjAlMjBiYXRjaCUyMCUzRCUyMCU3QiU3RCUwQSUyMCUyMCUyMCUyMGJhdGNoJTVCJTIycGl4ZWxfdmFsdWVzJTIyJTVEJTIwJTNEJTIwZW5jb2RpbmclNUIlMjJwaXhlbF92YWx1ZXMlMjIlNUQlMEElMjAlMjAlMjAlMjBiYXRjaCU1QiUyMnBpeGVsX21hc2slMjIlNUQlMjAlM0QlMjBlbmNvZGluZyU1QiUyMnBpeGVsX21hc2slMjIlNUQlMEElMjAlMjAlMjAlMjBiYXRjaCU1QiUyMmxhYmVscyUyMiU1RCUyMCUzRCUyMGxhYmVscyUwQSUyMCUyMCUyMCUyMHJldHVybiUyMGJhdGNo",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">collate_fn</span>(<span class="hljs-params">batch</span>):
<span class="hljs-meta">... </span>    pixel_values = [item[<span class="hljs-string">&quot;pixel_values&quot;</span>] <span class="hljs-keyword">for</span> item <span class="hljs-keyword">in</span> batch]
<span class="hljs-meta">... </span>    encoding = image_processor.pad(pixel_values, return_tensors=<span class="hljs-string">&quot;pt&quot;</span>)
<span class="hljs-meta">... </span>    labels = [item[<span class="hljs-string">&quot;labels&quot;</span>] <span class="hljs-keyword">for</span> item <span class="hljs-keyword">in</span> batch]
<span class="hljs-meta">... </span>    batch = {}
<span class="hljs-meta">... </span>    batch[<span class="hljs-string">&quot;pixel_values&quot;</span>] = encoding[<span class="hljs-string">&quot;pixel_values&quot;</span>]
<span class="hljs-meta">... </span>    batch[<span class="hljs-string">&quot;pixel_mask&quot;</span>] = encoding[<span class="hljs-string">&quot;pixel_mask&quot;</span>]
<span class="hljs-meta">... </span>    batch[<span class="hljs-string">&quot;labels&quot;</span>] = labels
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> batch`,wrap:!1}}),ua=new U({props:{title:"멀티모달",local:"multimodal",headingTag:"h2"}}),ba=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}}),oa=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}}),da=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}}),ga=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}}),Ta=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}}),ya=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}}),wa=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}}),Ua=new Ae({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ko/preprocessing.md"}}),{c(){t=m("meta"),d=e(),r=m("p"),M=e(),h($.$$.fragment),y=e(),h(w.$$.fragment),F=e(),T=m("p"),T.textContent=v,xa=e(),Q=m("ul"),Q.innerHTML=xl,Ca=e(),h(x.$$.fragment),ka=e(),L=m("p"),L.textContent=Cl,Za=e(),h(E.$$.fragment),Ga=e(),h(A.$$.fragment),Va=e(),h(P.$$.fragment),Ba=e(),S=m("p"),S.innerHTML=kl,Wa=e(),h(C.$$.fragment),Ha=e(),D=m("p"),D.innerHTML=Zl,Ra=e(),h(K.$$.fragment),Xa=e(),O=m("p"),O.textContent=Gl,Ya=e(),h(ss.$$.fragment),Na=e(),as=m("p"),as.textContent=Vl,za=e(),ns=m("ul"),ns.innerHTML=Bl,qa=e(),ls=m("p"),ls.innerHTML=Wl,Fa=e(),h(es.$$.fragment),Qa=e(),ps=m("p"),ps.innerHTML=Hl,La=e(),ts=m("p"),ts.textContent=Rl,Ea=e(),h(rs.$$.fragment),Aa=e(),h(ms.$$.fragment),Pa=e(),cs=m("p"),cs.innerHTML=Xl,Sa=e(),us=m("p"),us.innerHTML=Yl,Da=e(),h(hs.$$.fragment),Ka=e(),js=m("p"),js.innerHTML=Nl,Oa=e(),h(bs.$$.fragment),sn=e(),is=m("p"),is.textContent=zl,an=e(),os=m("p"),os.innerHTML=ql,nn=e(),h(fs.$$.fragment),ln=e(),h(k.$$.fragment),en=e(),h(ds.$$.fragment),pn=e(),Ms=m("p"),Ms.textContent=Fl,tn=e(),gs=m("p"),gs.innerHTML=Ql,rn=e(),h(Z.$$.fragment),mn=e(),h(Js.$$.fragment),cn=e(),Ts=m("p"),Ts.innerHTML=Ll,un=e(),$s=m("p"),$s.innerHTML=El,hn=e(),h(ys.$$.fragment),jn=e(),ws=m("p"),ws.innerHTML=Al,bn=e(),h(_s.$$.fragment),on=e(),Us=m("p"),Us.textContent=Pl,fn=e(),Is=m("ul"),Is.innerHTML=Sl,dn=e(),vs=m("p"),vs.innerHTML=Dl,Mn=e(),xs=m("ol"),xs.innerHTML=Kl,gn=e(),h(Cs.$$.fragment),Jn=e(),G=m("ol"),G.innerHTML=Ol,Tn=e(),h(ks.$$.fragment),$n=e(),Zs=m("p"),Zs.innerHTML=se,yn=e(),Gs=m("p"),Gs.innerHTML=ae,wn=e(),h(Vs.$$.fragment),_n=e(),Bs=m("p"),Bs.innerHTML=ne,Un=e(),h(Ws.$$.fragment),In=e(),Hs=m("p"),Hs.textContent=le,vn=e(),h(Rs.$$.fragment),xn=e(),Xs=m("p"),Xs.textContent=ee,Cn=e(),h(Ys.$$.fragment),kn=e(),Ns=m("p"),Ns.innerHTML=pe,Zn=e(),h(zs.$$.fragment),Gn=e(),qs=m("p"),qs.textContent=te,Vn=e(),h(Fs.$$.fragment),Bn=e(),h(Qs.$$.fragment),Wn=e(),Ls=m("p"),Ls.innerHTML=re,Hn=e(),h(V.$$.fragment),Rn=e(),Es=m("p"),Es.innerHTML=me,Xn=e(),h(B.$$.fragment),Yn=e(),h(As.$$.fragment),Nn=e(),Ps=m("p"),Ps.innerHTML=ce,zn=e(),h(Ss.$$.fragment),qn=e(),W=m("div"),W.innerHTML=ue,Fn=e(),Ds=m("p"),Ds.innerHTML=he,Qn=e(),h(Ks.$$.fragment),Ln=e(),Os=m("p"),Os.innerHTML=je,En=e(),sa=m("ol"),sa.innerHTML=be,An=e(),h(aa.$$.fragment),Pn=e(),H=m("ol"),H.innerHTML=ie,Sn=e(),h(na.$$.fragment),Dn=e(),h(R.$$.fragment),Kn=e(),X=m("ol"),X.innerHTML=oe,On=e(),h(la.$$.fragment),sl=e(),Y=m("ol"),Y.innerHTML=fe,al=e(),h(ea.$$.fragment),nl=e(),pa=m("p"),pa.textContent=de,ll=e(),h(ta.$$.fragment),el=e(),N=m("div"),N.innerHTML=Me,pl=e(),h(z.$$.fragment),tl=e(),h(ra.$$.fragment),rl=e(),ma=m("p"),ma.innerHTML=ge,ml=e(),h(ca.$$.fragment),cl=e(),h(ua.$$.fragment),ul=e(),ha=m("p"),ha.innerHTML=Je,hl=e(),ja=m("p"),ja.innerHTML=Te,jl=e(),h(ba.$$.fragment),bl=e(),ia=m("p"),ia.innerHTML=$e,il=e(),h(oa.$$.fragment),ol=e(),fa=m("p"),fa.innerHTML=ye,fl=e(),h(da.$$.fragment),dl=e(),Ma=m("p"),Ma.innerHTML=we,Ml=e(),h(ga.$$.fragment),gl=e(),Ja=m("p"),Ja.innerHTML=_e,Jl=e(),h(Ta.$$.fragment),Tl=e(),$a=m("ol"),$a.innerHTML=Ue,$l=e(),h(ya.$$.fragment),yl=e(),q=m("ol"),q.innerHTML=Ie,wl=e(),h(wa.$$.fragment),_l=e(),_a=m("p"),_a.innerHTML=ve,Ul=e(),h(Ua.$$.fragment),Il=e(),va=m("p"),this.h()},l(s){const a=qe("svelte-u9bgzb",document.head);t=c(a,"META",{name:!0,content:!0}),a.forEach(n),d=p(s),r=c(s,"P",{}),He(r).forEach(n),M=p(s),j($.$$.fragment,s),y=p(s),j(w.$$.fragment,s),F=p(s),T=c(s,"P",{"data-svelte-h":!0}),u(T)!=="svelte-1ueibi3"&&(T.textContent=v),xa=p(s),Q=c(s,"UL",{"data-svelte-h":!0}),u(Q)!=="svelte-ngf5dq"&&(Q.innerHTML=xl),Ca=p(s),j(x.$$.fragment,s),ka=p(s),L=c(s,"P",{"data-svelte-h":!0}),u(L)!=="svelte-rmtgt1"&&(L.textContent=Cl),Za=p(s),j(E.$$.fragment,s),Ga=p(s),j(A.$$.fragment,s),Va=p(s),j(P.$$.fragment,s),Ba=p(s),S=c(s,"P",{"data-svelte-h":!0}),u(S)!=="svelte-kpujfp"&&(S.innerHTML=kl),Wa=p(s),j(C.$$.fragment,s),Ha=p(s),D=c(s,"P",{"data-svelte-h":!0}),u(D)!=="svelte-93h8a9"&&(D.innerHTML=Zl),Ra=p(s),j(K.$$.fragment,s),Xa=p(s),O=c(s,"P",{"data-svelte-h":!0}),u(O)!=="svelte-u80qx0"&&(O.textContent=Gl),Ya=p(s),j(ss.$$.fragment,s),Na=p(s),as=c(s,"P",{"data-svelte-h":!0}),u(as)!=="svelte-ixh93j"&&(as.textContent=Vl),za=p(s),ns=c(s,"UL",{"data-svelte-h":!0}),u(ns)!=="svelte-1tce14x"&&(ns.innerHTML=Bl),qa=p(s),ls=c(s,"P",{"data-svelte-h":!0}),u(ls)!=="svelte-1a1g138"&&(ls.innerHTML=Wl),Fa=p(s),j(es.$$.fragment,s),Qa=p(s),ps=c(s,"P",{"data-svelte-h":!0}),u(ps)!=="svelte-m6mlu2"&&(ps.innerHTML=Hl),La=p(s),ts=c(s,"P",{"data-svelte-h":!0}),u(ts)!=="svelte-css2bf"&&(ts.textContent=Rl),Ea=p(s),j(rs.$$.fragment,s),Aa=p(s),j(ms.$$.fragment,s),Pa=p(s),cs=c(s,"P",{"data-svelte-h":!0}),u(cs)!=="svelte-hmrxfb"&&(cs.innerHTML=Xl),Sa=p(s),us=c(s,"P",{"data-svelte-h":!0}),u(us)!=="svelte-2tf9js"&&(us.innerHTML=Yl),Da=p(s),j(hs.$$.fragment,s),Ka=p(s),js=c(s,"P",{"data-svelte-h":!0}),u(js)!=="svelte-o2a688"&&(js.innerHTML=Nl),Oa=p(s),j(bs.$$.fragment,s),sn=p(s),is=c(s,"P",{"data-svelte-h":!0}),u(is)!=="svelte-i5pcfq"&&(is.textContent=zl),an=p(s),os=c(s,"P",{"data-svelte-h":!0}),u(os)!=="svelte-13rfu1z"&&(os.innerHTML=ql),nn=p(s),j(fs.$$.fragment,s),ln=p(s),j(k.$$.fragment,s),en=p(s),j(ds.$$.fragment,s),pn=p(s),Ms=c(s,"P",{"data-svelte-h":!0}),u(Ms)!=="svelte-abudyz"&&(Ms.textContent=Fl),tn=p(s),gs=c(s,"P",{"data-svelte-h":!0}),u(gs)!=="svelte-140uq15"&&(gs.innerHTML=Ql),rn=p(s),j(Z.$$.fragment,s),mn=p(s),j(Js.$$.fragment,s),cn=p(s),Ts=c(s,"P",{"data-svelte-h":!0}),u(Ts)!=="svelte-l8fn48"&&(Ts.innerHTML=Ll),un=p(s),$s=c(s,"P",{"data-svelte-h":!0}),u($s)!=="svelte-rgh7on"&&($s.innerHTML=El),hn=p(s),j(ys.$$.fragment,s),jn=p(s),ws=c(s,"P",{"data-svelte-h":!0}),u(ws)!=="svelte-1s5qc7n"&&(ws.innerHTML=Al),bn=p(s),j(_s.$$.fragment,s),on=p(s),Us=c(s,"P",{"data-svelte-h":!0}),u(Us)!=="svelte-7soiv8"&&(Us.textContent=Pl),fn=p(s),Is=c(s,"UL",{"data-svelte-h":!0}),u(Is)!=="svelte-5q96q8"&&(Is.innerHTML=Sl),dn=p(s),vs=c(s,"P",{"data-svelte-h":!0}),u(vs)!=="svelte-5qklin"&&(vs.innerHTML=Dl),Mn=p(s),xs=c(s,"OL",{"data-svelte-h":!0}),u(xs)!=="svelte-wxp4z0"&&(xs.innerHTML=Kl),gn=p(s),j(Cs.$$.fragment,s),Jn=p(s),G=c(s,"OL",{start:!0,"data-svelte-h":!0}),u(G)!=="svelte-uiahc9"&&(G.innerHTML=Ol),Tn=p(s),j(ks.$$.fragment,s),$n=p(s),Zs=c(s,"P",{"data-svelte-h":!0}),u(Zs)!=="svelte-uv2sks"&&(Zs.innerHTML=se),yn=p(s),Gs=c(s,"P",{"data-svelte-h":!0}),u(Gs)!=="svelte-1bd83uv"&&(Gs.innerHTML=ae),wn=p(s),j(Vs.$$.fragment,s),_n=p(s),Bs=c(s,"P",{"data-svelte-h":!0}),u(Bs)!=="svelte-wrzhj9"&&(Bs.innerHTML=ne),Un=p(s),j(Ws.$$.fragment,s),In=p(s),Hs=c(s,"P",{"data-svelte-h":!0}),u(Hs)!=="svelte-1nx5ga4"&&(Hs.textContent=le),vn=p(s),j(Rs.$$.fragment,s),xn=p(s),Xs=c(s,"P",{"data-svelte-h":!0}),u(Xs)!=="svelte-mzhho4"&&(Xs.textContent=ee),Cn=p(s),j(Ys.$$.fragment,s),kn=p(s),Ns=c(s,"P",{"data-svelte-h":!0}),u(Ns)!=="svelte-14lyav7"&&(Ns.innerHTML=pe),Zn=p(s),j(zs.$$.fragment,s),Gn=p(s),qs=c(s,"P",{"data-svelte-h":!0}),u(qs)!=="svelte-1xv268t"&&(qs.textContent=te),Vn=p(s),j(Fs.$$.fragment,s),Bn=p(s),j(Qs.$$.fragment,s),Wn=p(s),Ls=c(s,"P",{"data-svelte-h":!0}),u(Ls)!=="svelte-1ab2ir5"&&(Ls.innerHTML=re),Hn=p(s),j(V.$$.fragment,s),Rn=p(s),Es=c(s,"P",{"data-svelte-h":!0}),u(Es)!=="svelte-pbj4vr"&&(Es.innerHTML=me),Xn=p(s),j(B.$$.fragment,s),Yn=p(s),j(As.$$.fragment,s),Nn=p(s),Ps=c(s,"P",{"data-svelte-h":!0}),u(Ps)!=="svelte-5fuxy5"&&(Ps.innerHTML=ce),zn=p(s),j(Ss.$$.fragment,s),qn=p(s),W=c(s,"DIV",{class:!0,"data-svelte-h":!0}),u(W)!=="svelte-1jzdron"&&(W.innerHTML=ue),Fn=p(s),Ds=c(s,"P",{"data-svelte-h":!0}),u(Ds)!=="svelte-1w2wzo4"&&(Ds.innerHTML=he),Qn=p(s),j(Ks.$$.fragment,s),Ln=p(s),Os=c(s,"P",{"data-svelte-h":!0}),u(Os)!=="svelte-9wpp1n"&&(Os.innerHTML=je),En=p(s),sa=c(s,"OL",{"data-svelte-h":!0}),u(sa)!=="svelte-13xojgf"&&(sa.innerHTML=be),An=p(s),j(aa.$$.fragment,s),Pn=p(s),H=c(s,"OL",{start:!0,"data-svelte-h":!0}),u(H)!=="svelte-1ay5alp"&&(H.innerHTML=ie),Sn=p(s),j(na.$$.fragment,s),Dn=p(s),j(R.$$.fragment,s),Kn=p(s),X=c(s,"OL",{start:!0,"data-svelte-h":!0}),u(X)!=="svelte-j4bxlm"&&(X.innerHTML=oe),On=p(s),j(la.$$.fragment,s),sl=p(s),Y=c(s,"OL",{start:!0,"data-svelte-h":!0}),u(Y)!=="svelte-wa3oj"&&(Y.innerHTML=fe),al=p(s),j(ea.$$.fragment,s),nl=p(s),pa=c(s,"P",{"data-svelte-h":!0}),u(pa)!=="svelte-1w2gpmw"&&(pa.textContent=de),ll=p(s),j(ta.$$.fragment,s),el=p(s),N=c(s,"DIV",{class:!0,"data-svelte-h":!0}),u(N)!=="svelte-mp8qzc"&&(N.innerHTML=Me),pl=p(s),j(z.$$.fragment,s),tl=p(s),j(ra.$$.fragment,s),rl=p(s),ma=c(s,"P",{"data-svelte-h":!0}),u(ma)!=="svelte-1mc2nxl"&&(ma.innerHTML=ge),ml=p(s),j(ca.$$.fragment,s),cl=p(s),j(ua.$$.fragment,s),ul=p(s),ha=c(s,"P",{"data-svelte-h":!0}),u(ha)!=="svelte-h8h0gt"&&(ha.innerHTML=Je),hl=p(s),ja=c(s,"P",{"data-svelte-h":!0}),u(ja)!=="svelte-1xwk211"&&(ja.innerHTML=Te),jl=p(s),j(ba.$$.fragment,s),bl=p(s),ia=c(s,"P",{"data-svelte-h":!0}),u(ia)!=="svelte-96gwra"&&(ia.innerHTML=$e),il=p(s),j(oa.$$.fragment,s),ol=p(s),fa=c(s,"P",{"data-svelte-h":!0}),u(fa)!=="svelte-jx6bjz"&&(fa.innerHTML=ye),fl=p(s),j(da.$$.fragment,s),dl=p(s),Ma=c(s,"P",{"data-svelte-h":!0}),u(Ma)!=="svelte-e7m14a"&&(Ma.innerHTML=we),Ml=p(s),j(ga.$$.fragment,s),gl=p(s),Ja=c(s,"P",{"data-svelte-h":!0}),u(Ja)!=="svelte-13x31e2"&&(Ja.innerHTML=_e),Jl=p(s),j(Ta.$$.fragment,s),Tl=p(s),$a=c(s,"OL",{"data-svelte-h":!0}),u($a)!=="svelte-1sf8982"&&($a.innerHTML=Ue),$l=p(s),j(ya.$$.fragment,s),yl=p(s),q=c(s,"OL",{start:!0,"data-svelte-h":!0}),u(q)!=="svelte-a24cgt"&&(q.innerHTML=Ie),wl=p(s),j(wa.$$.fragment,s),_l=p(s),_a=c(s,"P",{"data-svelte-h":!0}),u(_a)!=="svelte-uy0kqp"&&(_a.innerHTML=ve),Ul=p(s),j(Ua.$$.fragment,s),Il=p(s),va=c(s,"P",{}),He(va).forEach(n),this.h()},h(){_(t,"name","hf:doc:metadata"),_(t,"content",rp),_(G,"start","2"),_(W,"class","flex justify-center"),_(H,"start","2"),_(X,"start","3"),_(Y,"start","4"),_(N,"class","flex justify-center"),_(q,"start","2")},m(s,a){Fe(document.head,t),l(s,d,a),l(s,r,a),l(s,M,a),b($,s,a),l(s,y,a),b(w,s,a),l(s,F,a),l(s,T,a),l(s,xa,a),l(s,Q,a),l(s,Ca,a),b(x,s,a),l(s,ka,a),l(s,L,a),l(s,Za,a),b(E,s,a),l(s,Ga,a),b(A,s,a),l(s,Va,a),b(P,s,a),l(s,Ba,a),l(s,S,a),l(s,Wa,a),b(C,s,a),l(s,Ha,a),l(s,D,a),l(s,Ra,a),b(K,s,a),l(s,Xa,a),l(s,O,a),l(s,Ya,a),b(ss,s,a),l(s,Na,a),l(s,as,a),l(s,za,a),l(s,ns,a),l(s,qa,a),l(s,ls,a),l(s,Fa,a),b(es,s,a),l(s,Qa,a),l(s,ps,a),l(s,La,a),l(s,ts,a),l(s,Ea,a),b(rs,s,a),l(s,Aa,a),b(ms,s,a),l(s,Pa,a),l(s,cs,a),l(s,Sa,a),l(s,us,a),l(s,Da,a),b(hs,s,a),l(s,Ka,a),l(s,js,a),l(s,Oa,a),b(bs,s,a),l(s,sn,a),l(s,is,a),l(s,an,a),l(s,os,a),l(s,nn,a),b(fs,s,a),l(s,ln,a),b(k,s,a),l(s,en,a),b(ds,s,a),l(s,pn,a),l(s,Ms,a),l(s,tn,a),l(s,gs,a),l(s,rn,a),b(Z,s,a),l(s,mn,a),b(Js,s,a),l(s,cn,a),l(s,Ts,a),l(s,un,a),l(s,$s,a),l(s,hn,a),b(ys,s,a),l(s,jn,a),l(s,ws,a),l(s,bn,a),b(_s,s,a),l(s,on,a),l(s,Us,a),l(s,fn,a),l(s,Is,a),l(s,dn,a),l(s,vs,a),l(s,Mn,a),l(s,xs,a),l(s,gn,a),b(Cs,s,a),l(s,Jn,a),l(s,G,a),l(s,Tn,a),b(ks,s,a),l(s,$n,a),l(s,Zs,a),l(s,yn,a),l(s,Gs,a),l(s,wn,a),b(Vs,s,a),l(s,_n,a),l(s,Bs,a),l(s,Un,a),b(Ws,s,a),l(s,In,a),l(s,Hs,a),l(s,vn,a),b(Rs,s,a),l(s,xn,a),l(s,Xs,a),l(s,Cn,a),b(Ys,s,a),l(s,kn,a),l(s,Ns,a),l(s,Zn,a),b(zs,s,a),l(s,Gn,a),l(s,qs,a),l(s,Vn,a),b(Fs,s,a),l(s,Bn,a),b(Qs,s,a),l(s,Wn,a),l(s,Ls,a),l(s,Hn,a),b(V,s,a),l(s,Rn,a),l(s,Es,a),l(s,Xn,a),b(B,s,a),l(s,Yn,a),b(As,s,a),l(s,Nn,a),l(s,Ps,a),l(s,zn,a),b(Ss,s,a),l(s,qn,a),l(s,W,a),l(s,Fn,a),l(s,Ds,a),l(s,Qn,a),b(Ks,s,a),l(s,Ln,a),l(s,Os,a),l(s,En,a),l(s,sa,a),l(s,An,a),b(aa,s,a),l(s,Pn,a),l(s,H,a),l(s,Sn,a),b(na,s,a),l(s,Dn,a),b(R,s,a),l(s,Kn,a),l(s,X,a),l(s,On,a),b(la,s,a),l(s,sl,a),l(s,Y,a),l(s,al,a),b(ea,s,a),l(s,nl,a),l(s,pa,a),l(s,ll,a),b(ta,s,a),l(s,el,a),l(s,N,a),l(s,pl,a),b(z,s,a),l(s,tl,a),b(ra,s,a),l(s,rl,a),l(s,ma,a),l(s,ml,a),b(ca,s,a),l(s,cl,a),b(ua,s,a),l(s,ul,a),l(s,ha,a),l(s,hl,a),l(s,ja,a),l(s,jl,a),b(ba,s,a),l(s,bl,a),l(s,ia,a),l(s,il,a),b(oa,s,a),l(s,ol,a),l(s,fa,a),l(s,fl,a),b(da,s,a),l(s,dl,a),l(s,Ma,a),l(s,Ml,a),b(ga,s,a),l(s,gl,a),l(s,Ja,a),l(s,Jl,a),b(Ta,s,a),l(s,Tl,a),l(s,$a,a),l(s,$l,a),b(ya,s,a),l(s,yl,a),l(s,q,a),l(s,wl,a),b(wa,s,a),l(s,_l,a),l(s,_a,a),l(s,Ul,a),b(Ua,s,a),l(s,Il,a),l(s,va,a),vl=!0},p(s,[a]){const xe={};a&2&&(xe.$$scope={dirty:a,ctx:s}),x.$set(xe);const Ce={};a&2&&(Ce.$$scope={dirty:a,ctx:s}),C.$set(Ce);const ke={};a&2&&(ke.$$scope={dirty:a,ctx:s}),k.$set(ke);const Ze={};a&2&&(Ze.$$scope={dirty:a,ctx:s}),Z.$set(Ze);const Ge={};a&2&&(Ge.$$scope={dirty:a,ctx:s}),V.$set(Ge);const Ve={};a&2&&(Ve.$$scope={dirty:a,ctx:s}),B.$set(Ve);const Be={};a&2&&(Be.$$scope={dirty:a,ctx:s}),R.$set(Be);const We={};a&2&&(We.$$scope={dirty:a,ctx:s}),z.$set(We)},i(s){vl||(i($.$$.fragment,s),i(w.$$.fragment,s),i(x.$$.fragment,s),i(E.$$.fragment,s),i(A.$$.fragment,s),i(P.$$.fragment,s),i(C.$$.fragment,s),i(K.$$.fragment,s),i(ss.$$.fragment,s),i(es.$$.fragment,s),i(rs.$$.fragment,s),i(ms.$$.fragment,s),i(hs.$$.fragment,s),i(bs.$$.fragment,s),i(fs.$$.fragment,s),i(k.$$.fragment,s),i(ds.$$.fragment,s),i(Z.$$.fragment,s),i(Js.$$.fragment,s),i(ys.$$.fragment,s),i(_s.$$.fragment,s),i(Cs.$$.fragment,s),i(ks.$$.fragment,s),i(Vs.$$.fragment,s),i(Ws.$$.fragment,s),i(Rs.$$.fragment,s),i(Ys.$$.fragment,s),i(zs.$$.fragment,s),i(Fs.$$.fragment,s),i(Qs.$$.fragment,s),i(V.$$.fragment,s),i(B.$$.fragment,s),i(As.$$.fragment,s),i(Ss.$$.fragment,s),i(Ks.$$.fragment,s),i(aa.$$.fragment,s),i(na.$$.fragment,s),i(R.$$.fragment,s),i(la.$$.fragment,s),i(ea.$$.fragment,s),i(ta.$$.fragment,s),i(z.$$.fragment,s),i(ra.$$.fragment,s),i(ca.$$.fragment,s),i(ua.$$.fragment,s),i(ba.$$.fragment,s),i(oa.$$.fragment,s),i(da.$$.fragment,s),i(ga.$$.fragment,s),i(Ta.$$.fragment,s),i(ya.$$.fragment,s),i(wa.$$.fragment,s),i(Ua.$$.fragment,s),vl=!0)},o(s){o($.$$.fragment,s),o(w.$$.fragment,s),o(x.$$.fragment,s),o(E.$$.fragment,s),o(A.$$.fragment,s),o(P.$$.fragment,s),o(C.$$.fragment,s),o(K.$$.fragment,s),o(ss.$$.fragment,s),o(es.$$.fragment,s),o(rs.$$.fragment,s),o(ms.$$.fragment,s),o(hs.$$.fragment,s),o(bs.$$.fragment,s),o(fs.$$.fragment,s),o(k.$$.fragment,s),o(ds.$$.fragment,s),o(Z.$$.fragment,s),o(Js.$$.fragment,s),o(ys.$$.fragment,s),o(_s.$$.fragment,s),o(Cs.$$.fragment,s),o(ks.$$.fragment,s),o(Vs.$$.fragment,s),o(Ws.$$.fragment,s),o(Rs.$$.fragment,s),o(Ys.$$.fragment,s),o(zs.$$.fragment,s),o(Fs.$$.fragment,s),o(Qs.$$.fragment,s),o(V.$$.fragment,s),o(B.$$.fragment,s),o(As.$$.fragment,s),o(Ss.$$.fragment,s),o(Ks.$$.fragment,s),o(aa.$$.fragment,s),o(na.$$.fragment,s),o(R.$$.fragment,s),o(la.$$.fragment,s),o(ea.$$.fragment,s),o(ta.$$.fragment,s),o(z.$$.fragment,s),o(ra.$$.fragment,s),o(ca.$$.fragment,s),o(ua.$$.fragment,s),o(ba.$$.fragment,s),o(oa.$$.fragment,s),o(da.$$.fragment,s),o(ga.$$.fragment,s),o(Ta.$$.fragment,s),o(ya.$$.fragment,s),o(wa.$$.fragment,s),o(Ua.$$.fragment,s),vl=!1},d(s){s&&(n(d),n(r),n(M),n(y),n(F),n(T),n(xa),n(Q),n(Ca),n(ka),n(L),n(Za),n(Ga),n(Va),n(Ba),n(S),n(Wa),n(Ha),n(D),n(Ra),n(Xa),n(O),n(Ya),n(Na),n(as),n(za),n(ns),n(qa),n(ls),n(Fa),n(Qa),n(ps),n(La),n(ts),n(Ea),n(Aa),n(Pa),n(cs),n(Sa),n(us),n(Da),n(Ka),n(js),n(Oa),n(sn),n(is),n(an),n(os),n(nn),n(ln),n(en),n(pn),n(Ms),n(tn),n(gs),n(rn),n(mn),n(cn),n(Ts),n(un),n($s),n(hn),n(jn),n(ws),n(bn),n(on),n(Us),n(fn),n(Is),n(dn),n(vs),n(Mn),n(xs),n(gn),n(Jn),n(G),n(Tn),n($n),n(Zs),n(yn),n(Gs),n(wn),n(_n),n(Bs),n(Un),n(In),n(Hs),n(vn),n(xn),n(Xs),n(Cn),n(kn),n(Ns),n(Zn),n(Gn),n(qs),n(Vn),n(Bn),n(Wn),n(Ls),n(Hn),n(Rn),n(Es),n(Xn),n(Yn),n(Nn),n(Ps),n(zn),n(qn),n(W),n(Fn),n(Ds),n(Qn),n(Ln),n(Os),n(En),n(sa),n(An),n(Pn),n(H),n(Sn),n(Dn),n(Kn),n(X),n(On),n(sl),n(Y),n(al),n(nl),n(pa),n(ll),n(el),n(N),n(pl),n(tl),n(rl),n(ma),n(ml),n(cl),n(ul),n(ha),n(hl),n(ja),n(jl),n(bl),n(ia),n(il),n(ol),n(fa),n(fl),n(dl),n(Ma),n(Ml),n(gl),n(Ja),n(Jl),n(Tl),n($a),n($l),n(yl),n(q),n(wl),n(_l),n(_a),n(Ul),n(Il),n(va)),n(t),f($,s),f(w,s),f(x,s),f(E,s),f(A,s),f(P,s),f(C,s),f(K,s),f(ss,s),f(es,s),f(rs,s),f(ms,s),f(hs,s),f(bs,s),f(fs,s),f(k,s),f(ds,s),f(Z,s),f(Js,s),f(ys,s),f(_s,s),f(Cs,s),f(ks,s),f(Vs,s),f(Ws,s),f(Rs,s),f(Ys,s),f(zs,s),f(Fs,s),f(Qs,s),f(V,s),f(B,s),f(As,s),f(Ss,s),f(Ks,s),f(aa,s),f(na,s),f(R,s),f(la,s),f(ea,s),f(ta,s),f(z,s),f(ra,s),f(ca,s),f(ua,s),f(ba,s),f(oa,s),f(da,s),f(ga,s),f(Ta,s),f(ya,s),f(wa,s),f(Ua,s)}}}const rp='{"title":"전처리","local":"preprocess","sections":[{"title":"자연어처리","local":"natural-language-processing","sections":[{"title":"패딩","local":"pad","sections":[],"depth":3},{"title":"잘라내기","local":"truncation","sections":[],"depth":3},{"title":"텐서 만들기","local":"build-tensors","sections":[],"depth":3}],"depth":2},{"title":"오디오","local":"audio","sections":[],"depth":2},{"title":"컴퓨터 비전","local":"computer-vision","sections":[{"title":"패딩","local":"pad","sections":[],"depth":3}],"depth":2},{"title":"멀티모달","local":"multimodal","sections":[],"depth":2}],"depth":1}';function mp(J){return Ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dp extends Ne{constructor(t){super(),ze(this,t,mp,tp,Xe,{})}}export{dp as component};
