import{s as rr,o as sr,n as Mt}from"../chunks/scheduler.9bc65507.js";import{S as ar,i as ir,g as a,s as r,r as p,A as dr,h as i,f as t,c as s,j as b,u as f,x as c,k as $,y as o,a as d,v as u,d as g,t as h,w as _}from"../chunks/index.707bf1b6.js";import{T as Ht}from"../chunks/Tip.c2ecdbf4.js";import{D as v}from"../chunks/Docstring.86474e80.js";import{C as lr}from"../chunks/CodeBlock.54a9f38d.js";import{E as cr}from"../chunks/ExampleCodeBlock.034f3a73.js";import{H as $o,E as mr}from"../chunks/EditOnGithub.922df6ba.js";function pr(w){let l,x=`One of <code>start_states</code> or <code>start_positions</code> should be not <code>None</code>. If both are set, <code>start_positions</code> overrides
<code>start_states</code>.`;return{c(){l=a("p"),l.innerHTML=x},l(m){l=i(m,"P",{"data-svelte-h":!0}),c(l)!=="svelte-1oii8ff"&&(l.innerHTML=x)},m(m,y){d(m,l,y)},p:Mt,d(m){m&&t(l)}}}function fr(w){let l,x=`One of <code>start_states</code> or <code>start_positions</code> should be not <code>None</code>. If both are set, <code>start_positions</code> overrides
<code>start_states</code>.`;return{c(){l=a("p"),l.innerHTML=x},l(m){l=i(m,"P",{"data-svelte-h":!0}),c(l)!=="svelte-1oii8ff"&&(l.innerHTML=x)},m(m,y){d(m,l,y)},p:Mt,d(m){m&&t(l)}}}function ur(w){let l,x="Examples:",m,y,L;return y=new lr({props:{code:"JTIzJTIwcmVuYW1lJTIwdGhlJTIwdXN1YWwlMjBmb3J3YXJkKCklMjBmbiUyMHRvJTIwZm9yd2FyZF9jaHVuaygpJTBBZGVmJTIwZm9yd2FyZF9jaHVuayhzZWxmJTJDJTIwaGlkZGVuX3N0YXRlcyklM0ElMEElMjAlMjAlMjAlMjBoaWRkZW5fc3RhdGVzJTIwJTNEJTIwc2VsZi5kZWNvZGVyKGhpZGRlbl9zdGF0ZXMpJTBBJTIwJTIwJTIwJTIwcmV0dXJuJTIwaGlkZGVuX3N0YXRlcyUwQSUwQSUwQSUyMyUyMGltcGxlbWVudCUyMGElMjBjaHVua2VkJTIwZm9yd2FyZCUyMGZ1bmN0aW9uJTBBZGVmJTIwZm9yd2FyZChzZWxmJTJDJTIwaGlkZGVuX3N0YXRlcyklM0ElMEElMjAlMjAlMjAlMjByZXR1cm4lMjBhcHBseV9jaHVua2luZ190b19mb3J3YXJkKHNlbGYuZm9yd2FyZF9jaHVuayUyQyUyMHNlbGYuY2h1bmtfc2l6ZV9sbV9oZWFkJTJDJTIwc2VsZi5zZXFfbGVuX2RpbSUyQyUyMGhpZGRlbl9zdGF0ZXMp",highlighted:`<span class="hljs-comment"># rename the usual forward() fn to forward_chunk()</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">forward_chunk</span>(<span class="hljs-params">self, hidden_states</span>):
    hidden_states = self.decoder(hidden_states)
    <span class="hljs-keyword">return</span> hidden_states


<span class="hljs-comment"># implement a chunked forward function</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">forward</span>(<span class="hljs-params">self, hidden_states</span>):
    <span class="hljs-keyword">return</span> apply_chunking_to_forward(self.forward_chunk, self.chunk_size_lm_head, self.seq_len_dim, hidden_states)`,wrap:!1}}),{c(){l=a("p"),l.textContent=x,m=r(),p(y.$$.fragment)},l(T){l=i(T,"P",{"data-svelte-h":!0}),c(l)!=="svelte-kvfsh7"&&(l.textContent=x),m=s(T),f(y.$$.fragment,T)},m(T,D){d(T,l,D),d(T,m,D),u(y,T,D),L=!0},p:Mt,i(T){L||(g(y.$$.fragment,T),L=!0)},o(T){h(y.$$.fragment,T),L=!1},d(T){T&&(t(l),t(m)),_(y,T)}}}function gr(w){let l,x="Any label of -100 will be ignored (along with the corresponding logits) in the loss computation.";return{c(){l=a("p"),l.textContent=x},l(m){l=i(m,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(m,y){d(m,l,y)},p:Mt,d(m){m&&t(l)}}}function hr(w){let l,x="Any label of -100 will be ignored (along with the corresponding logits) in the loss computation.";return{c(){l=a("p"),l.textContent=x},l(m){l=i(m,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(m,y){d(m,l,y)},p:Mt,d(m){m&&t(l)}}}function _r(w){let l,x="Any label of -100 will be ignored (along with the corresponding logits) in the loss computation.";return{c(){l=a("p"),l.textContent=x},l(m){l=i(m,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(m,y){d(m,l,y)},p:Mt,d(m){m&&t(l)}}}function br(w){let l,x,m,y,L,T,D,vo="このページには、ライブラリで使用されるすべてのカスタム レイヤーと、モデリングに提供されるユーティリティ関数がリストされます。",Vt,me,xo="これらのほとんどは、ライブラリ内のモデルのコードを研究する場合にのみ役に立ちます。",Ot,pe,Nt,P,fe,Pn,Be,yo="1D-convolutional layer as defined by Radford et al. for OpenAI GPT (and also used in GPT-2).",zn,Ue,To="Basically works like a linear layer but the weights are transposed.",Gt,z,ue,Sn,Xe,wo="Compute SQuAD start logits from sequence hidden states.",qn,Re,ge,Jt,S,he,Fn,We,Co="Compute SQuAD end logits from sequence hidden states.",jn,ee,_e,An,te,Zt,q,be,Mn,Ke,ko="Compute SQuAD 2.0 answer class from classification and start tokens hidden states.",In,ne,$e,En,oe,Qt,N,ve,Hn,Ye,Lo='Base class for outputs of question answering models using a <a href="/docs/transformers/main/ja/internal/modeling_utils#transformers.modeling_utils.SQuADHead">SQuADHead</a>.',Bt,F,xe,Vn,et,Do="A SQuAD head inspired by XLNet.",On,tt,ye,Ut,j,Te,Nn,nt,Po="Compute a single vector summary of a sequence hidden states.",Gn,re,we,Jn,ot,zo="Compute a single vector summary of a sequence hidden states.",Xt,Ce,Rt,C,ke,Zn,rt,So=`This function chunks the <code>input_tensors</code> into smaller input tensor parts of size <code>chunk_size</code> over the dimension
<code>chunk_dim</code>. It then applies a layer <code>forward_fn</code> to each chunk independently to save memory.`,Qn,st,qo=`If the <code>forward_fn</code> is independent across the <code>chunk_dim</code> this function will yield the same result as directly
applying <code>forward_fn</code> to <code>input_tensors</code>.`,Bn,se,Wt,G,Le,Un,at,Fo="Finds the heads and their indices taking <code>already_pruned_heads</code> into account.",Kt,A,De,Xn,it,jo="Prune a Conv1D or linear layer to keep only entries in index.",Rn,dt,Ao="Used to remove heads.",Yt,M,Pe,Wn,lt,Mo=`Prune a Conv1D layer to keep only entries in index. A Conv1D work as a Linear layer (see e.g. BERT) but the weights
are transposed.`,Kn,ct,Io="Used to remove heads.",en,I,ze,Yn,mt,Eo="Prune a linear layer to keep only entries in index.",eo,pt,Ho="Used to remove heads.",tn,Se,Vo="## TensorFlow custom layers[[transformers.modeling_tf_utils.TFConv1D]]",nn,E,qe,to,ft,Oo="1D-convolutional layer as defined by Radford et al. for OpenAI GPT (and also used in GPT-2).",no,ut,No="Basically works like a linear layer but the weights are transposed.",on,J,Fe,oo,gt,Go="Compute a single vector summary of a sequence hidden states.",rn,je,Jo="## TensorFlow loss functions[[transformers.modeling_tf_utils.TFCausalLanguageModelingLoss]]",sn,H,Ae,ro,ht,Zo="Loss function suitable for causal language modeling (CLM), that is, the task of guessing the next token.",so,ae,an,V,Me,ao,_t,Qo="Loss function suitable for masked language modeling (MLM), that is, the task of guessing the masked tokens.",io,ie,dn,Z,Ie,lo,bt,Bo="Loss function suitable for multiple choice tasks.",ln,Q,Ee,co,$t,Uo="Loss function suitable for question answering.",cn,B,He,mo,vt,Xo="Loss function suitable for sequence classification.",mn,O,Ve,po,xt,Ro="Loss function suitable for token classification.",fo,de,pn,Oe,Wo="## TensorFlow Helper Functions[[transformers.modeling_tf_utils.get_initializer]]",fn,U,Ne,uo,yt,Ko="Creates a <code>keras.initializers.TruncatedNormal</code> with the given range.",un,k,Ge,go,Tt,Yo="Decorate a Keras Layer class to support Keras serialization.",ho,wt,er="This is done by:",_o,Ct,tr=`<li>Adding a <code>transformers_config</code> dict to the Keras config dictionary in <code>get_config</code> (called by Keras at
serialization time.</li> <li>Wrapping <code>__init__</code> to accept that <code>transformers_config</code> dict (passed by Keras at deserialization time) and
convert it to a config object for the actual layer initializer.</li> <li>Registering the class as a custom object in Keras (if the Tensorflow version supports this), so that it does not
need to be supplied in <code>custom_objects</code> in the call to <code>keras.models.load_model</code>.</li>`,gn,X,Je,bo,kt,nr="Deal with dynamic shape in tensorflow cleanly.",hn,Ze,_n,It,bn;return L=new $o({props:{title:"カスタムレイヤーとユーティリティ",local:"カスタムレイヤーとユーティリティ",headingTag:"h1"}}),pe=new $o({props:{title:"Pytorch custom modules",local:"transformers.Conv1D",headingTag:"h2"}}),fe=new v({props:{name:"class transformers.Conv1D",anchor:"transformers.Conv1D",parameters:[{name:"nf",val:""},{name:"nx",val:""}],parametersDescription:[{anchor:"transformers.Conv1D.nf",description:"<strong>nf</strong> (<code>int</code>) &#x2014; The number of output features.",name:"nf"},{anchor:"transformers.Conv1D.nx",description:"<strong>nx</strong> (<code>int</code>) &#x2014; The number of input features.",name:"nx"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L84"}}),ue=new v({props:{name:"class transformers.modeling_utils.PoolerStartLogits",anchor:"transformers.modeling_utils.PoolerStartLogits",parameters:[{name:"config",val:": PretrainedConfig"}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerStartLogits.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model, will be used to grab the <code>hidden_size</code> of the model.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4510"}}),ge=new v({props:{name:"forward",anchor:"transformers.modeling_utils.PoolerStartLogits.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"p_mask",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerStartLogits.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>) &#x2014;
The final hidden states of the model.`,name:"hidden_states"},{anchor:"transformers.modeling_utils.PoolerStartLogits.forward.p_mask",description:`<strong>p_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len)</code>, <em>optional</em>) &#x2014;
Mask for tokens at invalid position, such as query and special symbols (PAD, SEP, CLS). 1.0 means token
should be masked.`,name:"p_mask"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4523",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The start logits for SQuAD.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code></p>
`}}),he=new v({props:{name:"class transformers.modeling_utils.PoolerEndLogits",anchor:"transformers.modeling_utils.PoolerEndLogits",parameters:[{name:"config",val:": PretrainedConfig"}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerEndLogits.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model, will be used to grab the <code>hidden_size</code> of the model and the <code>layer_norm_eps</code>
to use.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4548"}}),_e=new v({props:{name:"forward",anchor:"transformers.modeling_utils.PoolerEndLogits.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"start_states",val:": Optional = None"},{name:"start_positions",val:": Optional = None"},{name:"p_mask",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerEndLogits.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>) &#x2014;
The final hidden states of the model.`,name:"hidden_states"},{anchor:"transformers.modeling_utils.PoolerEndLogits.forward.start_states",description:`<strong>start_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>, <em>optional</em>) &#x2014;
The hidden states of the first tokens for the labeled span.`,name:"start_states"},{anchor:"transformers.modeling_utils.PoolerEndLogits.forward.start_positions",description:`<strong>start_positions</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
The position of the first token for the labeled span.`,name:"start_positions"},{anchor:"transformers.modeling_utils.PoolerEndLogits.forward.p_mask",description:`<strong>p_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len)</code>, <em>optional</em>) &#x2014;
Mask for tokens at invalid position, such as query and special symbols (PAD, SEP, CLS). 1.0 means token
should be masked.`,name:"p_mask"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4565",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The end logits for SQuAD.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code></p>
`}}),te=new Ht({props:{$$slots:{default:[pr]},$$scope:{ctx:w}}}),be=new v({props:{name:"class transformers.modeling_utils.PoolerAnswerClass",anchor:"transformers.modeling_utils.PoolerAnswerClass",parameters:[{name:"config",val:""}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerAnswerClass.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model, will be used to grab the <code>hidden_size</code> of the model.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4617"}}),$e=new v({props:{name:"forward",anchor:"transformers.modeling_utils.PoolerAnswerClass.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"start_states",val:": Optional = None"},{name:"start_positions",val:": Optional = None"},{name:"cls_index",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.modeling_utils.PoolerAnswerClass.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>) &#x2014;
The final hidden states of the model.`,name:"hidden_states"},{anchor:"transformers.modeling_utils.PoolerAnswerClass.forward.start_states",description:`<strong>start_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>, <em>optional</em>) &#x2014;
The hidden states of the first tokens for the labeled span.`,name:"start_states"},{anchor:"transformers.modeling_utils.PoolerAnswerClass.forward.start_positions",description:`<strong>start_positions</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
The position of the first token for the labeled span.`,name:"start_positions"},{anchor:"transformers.modeling_utils.PoolerAnswerClass.forward.cls_index",description:`<strong>cls_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
Position of the CLS token for each sentence in the batch. If <code>None</code>, takes the last token.`,name:"cls_index"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4632",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The SQuAD 2.0 answer class.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code></p>
`}}),oe=new Ht({props:{$$slots:{default:[fr]},$$scope:{ctx:w}}}),ve=new v({props:{name:"class transformers.modeling_utils.SquadHeadOutput",anchor:"transformers.modeling_utils.SquadHeadOutput",parameters:[{name:"loss",val:": Optional = None"},{name:"start_top_log_probs",val:": Optional = None"},{name:"start_top_index",val:": Optional = None"},{name:"end_top_log_probs",val:": Optional = None"},{name:"end_top_index",val:": Optional = None"},{name:"cls_logits",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.modeling_utils.SquadHeadOutput.loss",description:`<strong>loss</strong> (<code>torch.FloatTensor</code> of shape <code>(1,)</code>, <em>optional</em>, returned if both <code>start_positions</code> and <code>end_positions</code> are provided) &#x2014;
Classification loss as the sum of start token, end token (and is_impossible if provided) classification
losses.`,name:"loss"},{anchor:"transformers.modeling_utils.SquadHeadOutput.start_top_log_probs",description:`<strong>start_top_log_probs</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, config.start_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) &#x2014;
Log probabilities for the top config.start_n_top start token possibilities (beam-search).`,name:"start_top_log_probs"},{anchor:"transformers.modeling_utils.SquadHeadOutput.start_top_index",description:`<strong>start_top_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, config.start_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) &#x2014;
Indices for the top config.start_n_top start token possibilities (beam-search).`,name:"start_top_index"},{anchor:"transformers.modeling_utils.SquadHeadOutput.end_top_log_probs",description:`<strong>end_top_log_probs</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, config.start_n_top * config.end_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) &#x2014;
Log probabilities for the top <code>config.start_n_top * config.end_n_top</code> end token possibilities
(beam-search).`,name:"end_top_log_probs"},{anchor:"transformers.modeling_utils.SquadHeadOutput.end_top_index",description:`<strong>end_top_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, config.start_n_top * config.end_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) &#x2014;
Indices for the top <code>config.start_n_top * config.end_n_top</code> end token possibilities (beam-search).`,name:"end_top_index"},{anchor:"transformers.modeling_utils.SquadHeadOutput.cls_logits",description:`<strong>cls_logits</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) &#x2014;
Log probabilities for the <code>is_impossible</code> label of the answers.`,name:"cls_logits"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4682"}}),xe=new v({props:{name:"class transformers.modeling_utils.SQuADHead",anchor:"transformers.modeling_utils.SQuADHead",parameters:[{name:"config",val:""}],parametersDescription:[{anchor:"transformers.modeling_utils.SQuADHead.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model, will be used to grab the <code>hidden_size</code> of the model and the <code>layer_norm_eps</code>
to use.`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4713"}}),ye=new v({props:{name:"forward",anchor:"transformers.modeling_utils.SQuADHead.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"start_positions",val:": Optional = None"},{name:"end_positions",val:": Optional = None"},{name:"cls_index",val:": Optional = None"},{name:"is_impossible",val:": Optional = None"},{name:"p_mask",val:": Optional = None"},{name:"return_dict",val:": bool = False"}],parametersDescription:[{anchor:"transformers.modeling_utils.SQuADHead.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len, hidden_size)</code>) &#x2014;
Final hidden states of the model on the sequence tokens.`,name:"hidden_states"},{anchor:"transformers.modeling_utils.SQuADHead.forward.start_positions",description:`<strong>start_positions</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
Positions of the first token for the labeled span.`,name:"start_positions"},{anchor:"transformers.modeling_utils.SQuADHead.forward.end_positions",description:`<strong>end_positions</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
Positions of the last token for the labeled span.`,name:"end_positions"},{anchor:"transformers.modeling_utils.SQuADHead.forward.cls_index",description:`<strong>cls_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
Position of the CLS token for each sentence in the batch. If <code>None</code>, takes the last token.`,name:"cls_index"},{anchor:"transformers.modeling_utils.SQuADHead.forward.is_impossible",description:`<strong>is_impossible</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>) &#x2014;
Whether the question has a possible answer in the paragraph or not.`,name:"is_impossible"},{anchor:"transformers.modeling_utils.SQuADHead.forward.p_mask",description:`<strong>p_mask</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, seq_len)</code>, <em>optional</em>) &#x2014;
Mask for tokens at invalid position, such as query and special symbols (PAD, SEP, CLS). 1.0 means token
should be masked.`,name:"p_mask"},{anchor:"transformers.modeling_utils.SQuADHead.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to return a <a href="/docs/transformers/main/ja/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4732",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <a
  href="/docs/transformers/main/ja/internal/modeling_utils#transformers.modeling_utils.SquadHeadOutput"
>transformers.modeling_utils.SquadHeadOutput</a> or a tuple of
<code>torch.FloatTensor</code> (if <code>return_dict=False</code> is passed or when <code>config.return_dict=False</code>) comprising various
elements depending on the configuration (<code>&lt;class 'transformers.configuration_utils.PretrainedConfig'&gt;</code>) and inputs.</p>
<ul>
<li><strong>loss</strong> (<code>torch.FloatTensor</code> of shape <code>(1,)</code>, <em>optional</em>, returned if both <code>start_positions</code> and <code>end_positions</code> are provided) — Classification loss as the sum of start token, end token (and is_impossible if provided) classification
losses.</li>
<li><strong>start_top_log_probs</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, config.start_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) — Log probabilities for the top config.start_n_top start token possibilities (beam-search).</li>
<li><strong>start_top_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, config.start_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) — Indices for the top config.start_n_top start token possibilities (beam-search).</li>
<li><strong>end_top_log_probs</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, config.start_n_top * config.end_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) — Log probabilities for the top <code>config.start_n_top * config.end_n_top</code> end token possibilities
(beam-search).</li>
<li><strong>end_top_index</strong> (<code>torch.LongTensor</code> of shape <code>(batch_size, config.start_n_top * config.end_n_top)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) — Indices for the top <code>config.start_n_top * config.end_n_top</code> end token possibilities (beam-search).</li>
<li><strong>cls_logits</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size,)</code>, <em>optional</em>, returned if <code>start_positions</code> or <code>end_positions</code> is not provided) — Log probabilities for the <code>is_impossible</code> label of the answers.</li>
</ul>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/transformers/main/ja/internal/modeling_utils#transformers.modeling_utils.SquadHeadOutput"
>transformers.modeling_utils.SquadHeadOutput</a> or <code>tuple(torch.FloatTensor)</code></p>
`}}),Te=new v({props:{name:"class transformers.modeling_utils.SequenceSummary",anchor:"transformers.modeling_utils.SequenceSummary",parameters:[{name:"config",val:": PretrainedConfig"}],parametersDescription:[{anchor:"transformers.modeling_utils.SequenceSummary.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model. Relevant arguments in the config class of the model are (refer to the actual
config class of your model for the default values it uses):</p>
<ul>
<li>
<p><strong>summary_type</strong> (<code>str</code>) &#x2014; The method to use to make this summary. Accepted values are:</p>
<ul>
<li><code>&quot;last&quot;</code> &#x2014; Take the last token hidden state (like XLNet)</li>
<li><code>&quot;first&quot;</code> &#x2014; Take the first token hidden state (like Bert)</li>
<li><code>&quot;mean&quot;</code> &#x2014; Take the mean of all tokens hidden states</li>
<li><code>&quot;cls_index&quot;</code> &#x2014; Supply a Tensor of classification token position (GPT/GPT-2)</li>
<li><code>&quot;attn&quot;</code> &#x2014; Not implemented now, use multi-head attention</li>
</ul>
</li>
<li>
<p><strong>summary_use_proj</strong> (<code>bool</code>) &#x2014; Add a projection after the vector extraction.</p>
</li>
<li>
<p><strong>summary_proj_to_labels</strong> (<code>bool</code>) &#x2014; If <code>True</code>, the projection outputs to <code>config.num_labels</code> classes
(otherwise to <code>config.hidden_size</code>).</p>
</li>
<li>
<p><strong>summary_activation</strong> (<code>Optional[str]</code>) &#x2014; Set to <code>&quot;tanh&quot;</code> to add a tanh activation to the output,
another string or <code>None</code> will add no activation.</p>
</li>
<li>
<p><strong>summary_first_dropout</strong> (<code>float</code>) &#x2014; Optional dropout probability before the projection and activation.</p>
</li>
<li>
<p><strong>summary_last_dropout</strong> (<code>float</code>)&#x2014; Optional dropout probability after the projection and activation.</p>
</li>
</ul>`,name:"config"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4830"}}),we=new v({props:{name:"forward",anchor:"transformers.modeling_utils.SequenceSummary.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"cls_index",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.modeling_utils.SequenceSummary.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>[batch_size, seq_len, hidden_size]</code>) &#x2014;
The hidden states of the last layer.`,name:"hidden_states"},{anchor:"transformers.modeling_utils.SequenceSummary.forward.cls_index",description:`<strong>cls_index</strong> (<code>torch.LongTensor</code> of shape <code>[batch_size]</code> or <code>[batch_size, ...]</code> where &#x2026; are optional leading dimensions of <code>hidden_states</code>, <em>optional</em>) &#x2014;
Used if <code>summary_type == &quot;cls_index&quot;</code> and takes the last token of the sequence as classification token.`,name:"cls_index"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L4885",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The summary of the sequence hidden states.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.FloatTensor</code></p>
`}}),Ce=new $o({props:{title:"PyTorch Helper Functions",local:"transformers.apply_chunking_to_forward",headingTag:"h2"}}),ke=new v({props:{name:"transformers.apply_chunking_to_forward",anchor:"transformers.apply_chunking_to_forward",parameters:[{name:"forward_fn",val:": Callable"},{name:"chunk_size",val:": int"},{name:"chunk_dim",val:": int"},{name:"*input_tensors",val:""}],parametersDescription:[{anchor:"transformers.apply_chunking_to_forward.forward_fn",description:`<strong>forward_fn</strong> (<code>Callable[..., torch.Tensor]</code>) &#x2014;
The forward function of the model.`,name:"forward_fn"},{anchor:"transformers.apply_chunking_to_forward.chunk_size",description:`<strong>chunk_size</strong> (<code>int</code>) &#x2014;
The chunk size of a chunked tensor: <code>num_chunks = len(input_tensors[0]) / chunk_size</code>.`,name:"chunk_size"},{anchor:"transformers.apply_chunking_to_forward.chunk_dim",description:`<strong>chunk_dim</strong> (<code>int</code>) &#x2014;
The dimension over which the <code>input_tensors</code> should be chunked.`,name:"chunk_dim"},{anchor:"transformers.apply_chunking_to_forward.input_tensors",description:`<strong>input_tensors</strong> (<code>Tuple[torch.Tensor]</code>) &#x2014;
The input tensors of <code>forward_fn</code> which will be chunked`,name:"input_tensors"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L166",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A tensor with the same shape as the <code>forward_fn</code> would have given if applied\`.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),se=new cr({props:{anchor:"transformers.apply_chunking_to_forward.example",$$slots:{default:[ur]},$$scope:{ctx:w}}}),Le=new v({props:{name:"transformers.pytorch_utils.find_pruneable_heads_and_indices",anchor:"transformers.pytorch_utils.find_pruneable_heads_and_indices",parameters:[{name:"heads",val:": List"},{name:"n_heads",val:": int"},{name:"head_size",val:": int"},{name:"already_pruned_heads",val:": Set"}],parametersDescription:[{anchor:"transformers.pytorch_utils.find_pruneable_heads_and_indices.heads",description:"<strong>heads</strong> (<code>List[int]</code>) &#x2014; List of the indices of heads to prune.",name:"heads"},{anchor:"transformers.pytorch_utils.find_pruneable_heads_and_indices.n_heads",description:"<strong>n_heads</strong> (<code>int</code>) &#x2014; The number of heads in the model.",name:"n_heads"},{anchor:"transformers.pytorch_utils.find_pruneable_heads_and_indices.head_size",description:"<strong>head_size</strong> (<code>int</code>) &#x2014; The size of each head.",name:"head_size"},{anchor:"transformers.pytorch_utils.find_pruneable_heads_and_indices.already_pruned_heads",description:"<strong>already_pruned_heads</strong> (<code>Set[int]</code>) &#x2014; A set of already pruned heads.",name:"already_pruned_heads"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L241",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A tuple with the indices of heads to prune taking <code>already_pruned_heads</code>
into account and the indices of rows/columns to keep in the layer weight.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Tuple[Set[int], torch.LongTensor]</code></p>
`}}),De=new v({props:{name:"transformers.prune_layer",anchor:"transformers.prune_layer",parameters:[{name:"layer",val:": Union"},{name:"index",val:": LongTensor"},{name:"dim",val:": Optional = None"}],parametersDescription:[{anchor:"transformers.prune_layer.layer",description:"<strong>layer</strong> (<code>Union[torch.nn.Linear, Conv1D]</code>) &#x2014; The layer to prune.",name:"layer"},{anchor:"transformers.prune_layer.index",description:"<strong>index</strong> (<code>torch.LongTensor</code>) &#x2014; The indices to keep in the layer.",name:"index"},{anchor:"transformers.prune_layer.dim",description:"<strong>dim</strong> (<code>int</code>, <em>optional</em>) &#x2014; The dimension on which to keep the indices.",name:"dim"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L142",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The pruned layer as a new layer with <code>requires_grad=True</code>.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.nn.Linear</code> or <a
  href="/docs/transformers/main/ja/internal/modeling_utils#transformers.Conv1D"
>Conv1D</a></p>
`}}),Pe=new v({props:{name:"transformers.pytorch_utils.prune_conv1d_layer",anchor:"transformers.pytorch_utils.prune_conv1d_layer",parameters:[{name:"layer",val:": Conv1D"},{name:"index",val:": LongTensor"},{name:"dim",val:": int = 1"}],parametersDescription:[{anchor:"transformers.pytorch_utils.prune_conv1d_layer.layer",description:'<strong>layer</strong> (<a href="/docs/transformers/main/ja/internal/modeling_utils#transformers.Conv1D">Conv1D</a>) &#x2014; The layer to prune.',name:"layer"},{anchor:"transformers.pytorch_utils.prune_conv1d_layer.index",description:"<strong>index</strong> (<code>torch.LongTensor</code>) &#x2014; The indices to keep in the layer.",name:"index"},{anchor:"transformers.pytorch_utils.prune_conv1d_layer.dim",description:"<strong>dim</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014; The dimension on which to keep the indices.",name:"dim"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L109",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The pruned layer as a new layer with <code>requires_grad=True</code>.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/transformers/main/ja/internal/modeling_utils#transformers.Conv1D"
>Conv1D</a></p>
`}}),ze=new v({props:{name:"transformers.pytorch_utils.prune_linear_layer",anchor:"transformers.pytorch_utils.prune_linear_layer",parameters:[{name:"layer",val:": Linear"},{name:"index",val:": LongTensor"},{name:"dim",val:": int = 0"}],parametersDescription:[{anchor:"transformers.pytorch_utils.prune_linear_layer.layer",description:"<strong>layer</strong> (<code>torch.nn.Linear</code>) &#x2014; The layer to prune.",name:"layer"},{anchor:"transformers.pytorch_utils.prune_linear_layer.index",description:"<strong>index</strong> (<code>torch.LongTensor</code>) &#x2014; The indices to keep in the layer.",name:"index"},{anchor:"transformers.pytorch_utils.prune_linear_layer.dim",description:"<strong>dim</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014; The dimension on which to keep the indices.",name:"dim"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/pytorch_utils.py#L50",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The pruned layer as a new layer with <code>requires_grad=True</code>.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.nn.Linear</code></p>
`}}),qe=new v({props:{name:"class transformers.modeling_tf_utils.TFConv1D",anchor:"transformers.modeling_tf_utils.TFConv1D",parameters:[{name:"nf",val:""},{name:"nx",val:""},{name:"initializer_range",val:" = 0.02"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.modeling_tf_utils.TFConv1D.nf",description:`<strong>nf</strong> (<code>int</code>) &#x2014;
The number of output features.`,name:"nf"},{anchor:"transformers.modeling_tf_utils.TFConv1D.nx",description:`<strong>nx</strong> (<code>int</code>) &#x2014;
The number of input features.`,name:"nx"},{anchor:"transformers.modeling_tf_utils.TFConv1D.initializer_range",description:`<strong>initializer_range</strong> (<code>float</code>, <em>optional</em>, defaults to 0.02) &#x2014;
The standard deviation to use to initialize the weights.`,name:"initializer_range"},{anchor:"transformers.modeling_tf_utils.TFConv1D.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional keyword arguments passed along to the <code>__init__</code> of <code>keras.layers.Layer</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L3273"}}),Fe=new v({props:{name:"class transformers.TFSequenceSummary",anchor:"transformers.TFSequenceSummary",parameters:[{name:"config",val:": PretrainedConfig"},{name:"initializer_range",val:": float = 0.02"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.TFSequenceSummary.config",description:`<strong>config</strong> (<a href="/docs/transformers/main/ja/main_classes/configuration#transformers.PretrainedConfig">PretrainedConfig</a>) &#x2014;
The config used by the model. Relevant arguments in the config class of the model are (refer to the actual
config class of your model for the default values it uses):</p>
<ul>
<li>
<p><strong>summary_type</strong> (<code>str</code>) &#x2014; The method to use to make this summary. Accepted values are:</p>
<ul>
<li><code>&quot;last&quot;</code> &#x2014; Take the last token hidden state (like XLNet)</li>
<li><code>&quot;first&quot;</code> &#x2014; Take the first token hidden state (like Bert)</li>
<li><code>&quot;mean&quot;</code> &#x2014; Take the mean of all tokens hidden states</li>
<li><code>&quot;cls_index&quot;</code> &#x2014; Supply a Tensor of classification token position (GPT/GPT-2)</li>
<li><code>&quot;attn&quot;</code> &#x2014; Not implemented now, use multi-head attention</li>
</ul>
</li>
<li>
<p><strong>summary_use_proj</strong> (<code>bool</code>) &#x2014; Add a projection after the vector extraction.</p>
</li>
<li>
<p><strong>summary_proj_to_labels</strong> (<code>bool</code>) &#x2014; If <code>True</code>, the projection outputs to <code>config.num_labels</code> classes
(otherwise to <code>config.hidden_size</code>).</p>
</li>
<li>
<p><strong>summary_activation</strong> (<code>Optional[str]</code>) &#x2014; Set to <code>&quot;tanh&quot;</code> to add a tanh activation to the output,
another string or <code>None</code> will add no activation.</p>
</li>
<li>
<p><strong>summary_first_dropout</strong> (<code>float</code>) &#x2014; Optional dropout probability before the projection and activation.</p>
</li>
<li>
<p><strong>summary_last_dropout</strong> (<code>float</code>)&#x2014; Optional dropout probability after the projection and activation.</p>
</li>
</ul>`,name:"config"},{anchor:"transformers.TFSequenceSummary.initializer_range",description:"<strong>initializer_range</strong> (<code>float</code>, defaults to 0.02) &#x2014; The standard deviation to use to initialize the weights.",name:"initializer_range"},{anchor:"transformers.TFSequenceSummary.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional keyword arguments passed along to the <code>__init__</code> of <code>keras.layers.Layer</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L3420"}}),Ae=new v({props:{name:"class transformers.modeling_tf_utils.TFCausalLanguageModelingLoss",anchor:"transformers.modeling_tf_utils.TFCausalLanguageModelingLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L213"}}),ae=new Ht({props:{$$slots:{default:[gr]},$$scope:{ctx:w}}}),Me=new v({props:{name:"class transformers.modeling_tf_utils.TFMaskedLanguageModelingLoss",anchor:"transformers.modeling_tf_utils.TFMaskedLanguageModelingLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L324"}}),ie=new Ht({props:{$$slots:{default:[hr]},$$scope:{ctx:w}}}),Ie=new v({props:{name:"class transformers.modeling_tf_utils.TFMultipleChoiceLoss",anchor:"transformers.modeling_tf_utils.TFMultipleChoiceLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L316"}}),Ee=new v({props:{name:"class transformers.modeling_tf_utils.TFQuestionAnsweringLoss",anchor:"transformers.modeling_tf_utils.TFQuestionAnsweringLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L242"}}),He=new v({props:{name:"class transformers.modeling_tf_utils.TFSequenceClassificationLoss",anchor:"transformers.modeling_tf_utils.TFSequenceClassificationLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L297"}}),Ve=new v({props:{name:"class transformers.modeling_tf_utils.TFTokenClassificationLoss",anchor:"transformers.modeling_tf_utils.TFTokenClassificationLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L255"}}),de=new Ht({props:{$$slots:{default:[_r]},$$scope:{ctx:w}}}),Ne=new v({props:{name:"transformers.modeling_tf_utils.get_initializer",anchor:"transformers.modeling_tf_utils.get_initializer",parameters:[{name:"initializer_range",val:": float = 0.02"}],parametersDescription:[{anchor:"transformers.modeling_tf_utils.get_initializer.initializer_range",description:"<strong>initializer_range</strong> (<em>float</em>, defaults to 0.02) &#x2014; Standard deviation of the initializer range.",name:"initializer_range"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L3545",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The truncated normal initializer.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>keras.initializers.TruncatedNormal</code></p>
`}}),Ge=new v({props:{name:"transformers.modeling_tf_utils.keras_serializable",anchor:"transformers.modeling_tf_utils.keras_serializable",parameters:[],parametersDescription:[{anchor:"transformers.modeling_tf_utils.keras_serializable.cls",description:`<strong>cls</strong> (a <code>keras.layers.Layers subclass</code>) &#x2014;
Typically a <code>TF.MainLayer</code> class in this project, in general must accept a <code>config</code> argument to its
initializer.`,name:"cls"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L148",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The same class object, with modifications for Keras deserialization.</p>
`}}),Je=new v({props:{name:"transformers.shape_list",anchor:"transformers.shape_list",parameters:[{name:"tensor",val:": Union"}],parametersDescription:[{anchor:"transformers.shape_list.tensor",description:"<strong>tensor</strong> (<code>tf.Tensor</code> or <code>np.ndarray</code>) &#x2014; The tensor we want the shape of.",name:"tensor"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/tf_utils.py#L28",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The shape of the tensor as a list.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>List[int]</code></p>
`}}),Ze=new mr({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/internal/modeling_utils.md"}}),{c(){l=a("meta"),x=r(),m=a("p"),y=r(),p(L.$$.fragment),T=r(),D=a("p"),D.textContent=vo,Vt=r(),me=a("p"),me.textContent=xo,Ot=r(),p(pe.$$.fragment),Nt=r(),P=a("div"),p(fe.$$.fragment),Pn=r(),Be=a("p"),Be.textContent=yo,zn=r(),Ue=a("p"),Ue.textContent=To,Gt=r(),z=a("div"),p(ue.$$.fragment),Sn=r(),Xe=a("p"),Xe.textContent=wo,qn=r(),Re=a("div"),p(ge.$$.fragment),Jt=r(),S=a("div"),p(he.$$.fragment),Fn=r(),We=a("p"),We.textContent=Co,jn=r(),ee=a("div"),p(_e.$$.fragment),An=r(),p(te.$$.fragment),Zt=r(),q=a("div"),p(be.$$.fragment),Mn=r(),Ke=a("p"),Ke.textContent=ko,In=r(),ne=a("div"),p($e.$$.fragment),En=r(),p(oe.$$.fragment),Qt=r(),N=a("div"),p(ve.$$.fragment),Hn=r(),Ye=a("p"),Ye.innerHTML=Lo,Bt=r(),F=a("div"),p(xe.$$.fragment),Vn=r(),et=a("p"),et.textContent=Do,On=r(),tt=a("div"),p(ye.$$.fragment),Ut=r(),j=a("div"),p(Te.$$.fragment),Nn=r(),nt=a("p"),nt.textContent=Po,Gn=r(),re=a("div"),p(we.$$.fragment),Jn=r(),ot=a("p"),ot.textContent=zo,Xt=r(),p(Ce.$$.fragment),Rt=r(),C=a("div"),p(ke.$$.fragment),Zn=r(),rt=a("p"),rt.innerHTML=So,Qn=r(),st=a("p"),st.innerHTML=qo,Bn=r(),p(se.$$.fragment),Wt=r(),G=a("div"),p(Le.$$.fragment),Un=r(),at=a("p"),at.innerHTML=Fo,Kt=r(),A=a("div"),p(De.$$.fragment),Xn=r(),it=a("p"),it.textContent=jo,Rn=r(),dt=a("p"),dt.textContent=Ao,Yt=r(),M=a("div"),p(Pe.$$.fragment),Wn=r(),lt=a("p"),lt.textContent=Mo,Kn=r(),ct=a("p"),ct.textContent=Io,en=r(),I=a("div"),p(ze.$$.fragment),Yn=r(),mt=a("p"),mt.textContent=Eo,eo=r(),pt=a("p"),pt.textContent=Ho,tn=r(),Se=a("p"),Se.textContent=Vo,nn=r(),E=a("div"),p(qe.$$.fragment),to=r(),ft=a("p"),ft.textContent=Oo,no=r(),ut=a("p"),ut.textContent=No,on=r(),J=a("div"),p(Fe.$$.fragment),oo=r(),gt=a("p"),gt.textContent=Go,rn=r(),je=a("p"),je.textContent=Jo,sn=r(),H=a("div"),p(Ae.$$.fragment),ro=r(),ht=a("p"),ht.textContent=Zo,so=r(),p(ae.$$.fragment),an=r(),V=a("div"),p(Me.$$.fragment),ao=r(),_t=a("p"),_t.textContent=Qo,io=r(),p(ie.$$.fragment),dn=r(),Z=a("div"),p(Ie.$$.fragment),lo=r(),bt=a("p"),bt.textContent=Bo,ln=r(),Q=a("div"),p(Ee.$$.fragment),co=r(),$t=a("p"),$t.textContent=Uo,cn=r(),B=a("div"),p(He.$$.fragment),mo=r(),vt=a("p"),vt.textContent=Xo,mn=r(),O=a("div"),p(Ve.$$.fragment),po=r(),xt=a("p"),xt.textContent=Ro,fo=r(),p(de.$$.fragment),pn=r(),Oe=a("p"),Oe.textContent=Wo,fn=r(),U=a("div"),p(Ne.$$.fragment),uo=r(),yt=a("p"),yt.innerHTML=Ko,un=r(),k=a("div"),p(Ge.$$.fragment),go=r(),Tt=a("p"),Tt.textContent=Yo,ho=r(),wt=a("p"),wt.textContent=er,_o=r(),Ct=a("ol"),Ct.innerHTML=tr,gn=r(),X=a("div"),p(Je.$$.fragment),bo=r(),kt=a("p"),kt.textContent=nr,hn=r(),p(Ze.$$.fragment),_n=r(),It=a("p"),this.h()},l(e){const n=dr("svelte-u9bgzb",document.head);l=i(n,"META",{name:!0,content:!0}),n.forEach(t),x=s(e),m=i(e,"P",{}),b(m).forEach(t),y=s(e),f(L.$$.fragment,e),T=s(e),D=i(e,"P",{"data-svelte-h":!0}),c(D)!=="svelte-10u7ir1"&&(D.textContent=vo),Vt=s(e),me=i(e,"P",{"data-svelte-h":!0}),c(me)!=="svelte-icau0f"&&(me.textContent=xo),Ot=s(e),f(pe.$$.fragment,e),Nt=s(e),P=i(e,"DIV",{class:!0});var R=b(P);f(fe.$$.fragment,R),Pn=s(R),Be=i(R,"P",{"data-svelte-h":!0}),c(Be)!=="svelte-1lta4gb"&&(Be.textContent=yo),zn=s(R),Ue=i(R,"P",{"data-svelte-h":!0}),c(Ue)!=="svelte-6u0wx8"&&(Ue.textContent=To),R.forEach(t),Gt=s(e),z=i(e,"DIV",{class:!0});var W=b(z);f(ue.$$.fragment,W),Sn=s(W),Xe=i(W,"P",{"data-svelte-h":!0}),c(Xe)!=="svelte-nykzs4"&&(Xe.textContent=wo),qn=s(W),Re=i(W,"DIV",{class:!0});var Et=b(Re);f(ge.$$.fragment,Et),Et.forEach(t),W.forEach(t),Jt=s(e),S=i(e,"DIV",{class:!0});var K=b(S);f(he.$$.fragment,K),Fn=s(K),We=i(K,"P",{"data-svelte-h":!0}),c(We)!=="svelte-1xgtkjp"&&(We.textContent=Co),jn=s(K),ee=i(K,"DIV",{class:!0});var Qe=b(ee);f(_e.$$.fragment,Qe),An=s(Qe),f(te.$$.fragment,Qe),Qe.forEach(t),K.forEach(t),Zt=s(e),q=i(e,"DIV",{class:!0});var Y=b(q);f(be.$$.fragment,Y),Mn=s(Y),Ke=i(Y,"P",{"data-svelte-h":!0}),c(Ke)!=="svelte-i1ac0w"&&(Ke.textContent=ko),In=s(Y),ne=i(Y,"DIV",{class:!0});var $n=b(ne);f($e.$$.fragment,$n),En=s($n),f(oe.$$.fragment,$n),$n.forEach(t),Y.forEach(t),Qt=s(e),N=i(e,"DIV",{class:!0});var vn=b(N);f(ve.$$.fragment,vn),Hn=s(vn),Ye=i(vn,"P",{"data-svelte-h":!0}),c(Ye)!=="svelte-1a3ler4"&&(Ye.innerHTML=Lo),vn.forEach(t),Bt=s(e),F=i(e,"DIV",{class:!0});var Lt=b(F);f(xe.$$.fragment,Lt),Vn=s(Lt),et=i(Lt,"P",{"data-svelte-h":!0}),c(et)!=="svelte-vm79b9"&&(et.textContent=Do),On=s(Lt),tt=i(Lt,"DIV",{class:!0});var or=b(tt);f(ye.$$.fragment,or),or.forEach(t),Lt.forEach(t),Ut=s(e),j=i(e,"DIV",{class:!0});var Dt=b(j);f(Te.$$.fragment,Dt),Nn=s(Dt),nt=i(Dt,"P",{"data-svelte-h":!0}),c(nt)!=="svelte-1cor2i2"&&(nt.textContent=Po),Gn=s(Dt),re=i(Dt,"DIV",{class:!0});var xn=b(re);f(we.$$.fragment,xn),Jn=s(xn),ot=i(xn,"P",{"data-svelte-h":!0}),c(ot)!=="svelte-1cor2i2"&&(ot.textContent=zo),xn.forEach(t),Dt.forEach(t),Xt=s(e),f(Ce.$$.fragment,e),Rt=s(e),C=i(e,"DIV",{class:!0});var le=b(C);f(ke.$$.fragment,le),Zn=s(le),rt=i(le,"P",{"data-svelte-h":!0}),c(rt)!=="svelte-16kfis2"&&(rt.innerHTML=So),Qn=s(le),st=i(le,"P",{"data-svelte-h":!0}),c(st)!=="svelte-1ufp6tv"&&(st.innerHTML=qo),Bn=s(le),f(se.$$.fragment,le),le.forEach(t),Wt=s(e),G=i(e,"DIV",{class:!0});var yn=b(G);f(Le.$$.fragment,yn),Un=s(yn),at=i(yn,"P",{"data-svelte-h":!0}),c(at)!=="svelte-o28a6l"&&(at.innerHTML=Fo),yn.forEach(t),Kt=s(e),A=i(e,"DIV",{class:!0});var Pt=b(A);f(De.$$.fragment,Pt),Xn=s(Pt),it=i(Pt,"P",{"data-svelte-h":!0}),c(it)!=="svelte-by2rhc"&&(it.textContent=jo),Rn=s(Pt),dt=i(Pt,"P",{"data-svelte-h":!0}),c(dt)!=="svelte-14zrzk1"&&(dt.textContent=Ao),Pt.forEach(t),Yt=s(e),M=i(e,"DIV",{class:!0});var zt=b(M);f(Pe.$$.fragment,zt),Wn=s(zt),lt=i(zt,"P",{"data-svelte-h":!0}),c(lt)!=="svelte-1xogpwx"&&(lt.textContent=Mo),Kn=s(zt),ct=i(zt,"P",{"data-svelte-h":!0}),c(ct)!=="svelte-14zrzk1"&&(ct.textContent=Io),zt.forEach(t),en=s(e),I=i(e,"DIV",{class:!0});var St=b(I);f(ze.$$.fragment,St),Yn=s(St),mt=i(St,"P",{"data-svelte-h":!0}),c(mt)!=="svelte-1edz4x0"&&(mt.textContent=Eo),eo=s(St),pt=i(St,"P",{"data-svelte-h":!0}),c(pt)!=="svelte-14zrzk1"&&(pt.textContent=Ho),St.forEach(t),tn=s(e),Se=i(e,"P",{"data-svelte-h":!0}),c(Se)!=="svelte-7uvcef"&&(Se.textContent=Vo),nn=s(e),E=i(e,"DIV",{class:!0});var qt=b(E);f(qe.$$.fragment,qt),to=s(qt),ft=i(qt,"P",{"data-svelte-h":!0}),c(ft)!=="svelte-1lta4gb"&&(ft.textContent=Oo),no=s(qt),ut=i(qt,"P",{"data-svelte-h":!0}),c(ut)!=="svelte-6u0wx8"&&(ut.textContent=No),qt.forEach(t),on=s(e),J=i(e,"DIV",{class:!0});var Tn=b(J);f(Fe.$$.fragment,Tn),oo=s(Tn),gt=i(Tn,"P",{"data-svelte-h":!0}),c(gt)!=="svelte-1cor2i2"&&(gt.textContent=Go),Tn.forEach(t),rn=s(e),je=i(e,"P",{"data-svelte-h":!0}),c(je)!=="svelte-dhlh1c"&&(je.textContent=Jo),sn=s(e),H=i(e,"DIV",{class:!0});var Ft=b(H);f(Ae.$$.fragment,Ft),ro=s(Ft),ht=i(Ft,"P",{"data-svelte-h":!0}),c(ht)!=="svelte-1obn9c"&&(ht.textContent=Zo),so=s(Ft),f(ae.$$.fragment,Ft),Ft.forEach(t),an=s(e),V=i(e,"DIV",{class:!0});var jt=b(V);f(Me.$$.fragment,jt),ao=s(jt),_t=i(jt,"P",{"data-svelte-h":!0}),c(_t)!=="svelte-16f7wip"&&(_t.textContent=Qo),io=s(jt),f(ie.$$.fragment,jt),jt.forEach(t),dn=s(e),Z=i(e,"DIV",{class:!0});var wn=b(Z);f(Ie.$$.fragment,wn),lo=s(wn),bt=i(wn,"P",{"data-svelte-h":!0}),c(bt)!=="svelte-yqule2"&&(bt.textContent=Bo),wn.forEach(t),ln=s(e),Q=i(e,"DIV",{class:!0});var Cn=b(Q);f(Ee.$$.fragment,Cn),co=s(Cn),$t=i(Cn,"P",{"data-svelte-h":!0}),c($t)!=="svelte-1mrk13b"&&($t.textContent=Uo),Cn.forEach(t),cn=s(e),B=i(e,"DIV",{class:!0});var kn=b(B);f(He.$$.fragment,kn),mo=s(kn),vt=i(kn,"P",{"data-svelte-h":!0}),c(vt)!=="svelte-13vmm2k"&&(vt.textContent=Xo),kn.forEach(t),mn=s(e),O=i(e,"DIV",{class:!0});var At=b(O);f(Ve.$$.fragment,At),po=s(At),xt=i(At,"P",{"data-svelte-h":!0}),c(xt)!=="svelte-biydvq"&&(xt.textContent=Ro),fo=s(At),f(de.$$.fragment,At),At.forEach(t),pn=s(e),Oe=i(e,"P",{"data-svelte-h":!0}),c(Oe)!=="svelte-wbrkxt"&&(Oe.textContent=Wo),fn=s(e),U=i(e,"DIV",{class:!0});var Ln=b(U);f(Ne.$$.fragment,Ln),uo=s(Ln),yt=i(Ln,"P",{"data-svelte-h":!0}),c(yt)!=="svelte-xpqleu"&&(yt.innerHTML=Ko),Ln.forEach(t),un=s(e),k=i(e,"DIV",{class:!0});var ce=b(k);f(Ge.$$.fragment,ce),go=s(ce),Tt=i(ce,"P",{"data-svelte-h":!0}),c(Tt)!=="svelte-5ynxmr"&&(Tt.textContent=Yo),ho=s(ce),wt=i(ce,"P",{"data-svelte-h":!0}),c(wt)!=="svelte-19x4elj"&&(wt.textContent=er),_o=s(ce),Ct=i(ce,"OL",{"data-svelte-h":!0}),c(Ct)!=="svelte-16g9ved"&&(Ct.innerHTML=tr),ce.forEach(t),gn=s(e),X=i(e,"DIV",{class:!0});var Dn=b(X);f(Je.$$.fragment,Dn),bo=s(Dn),kt=i(Dn,"P",{"data-svelte-h":!0}),c(kt)!=="svelte-pubhri"&&(kt.textContent=nr),Dn.forEach(t),hn=s(e),f(Ze.$$.fragment,e),_n=s(e),It=i(e,"P",{}),b(It).forEach(t),this.h()},h(){$(l,"name","hf:doc:metadata"),$(l,"content",$r),$(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(tt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,n){o(document.head,l),d(e,x,n),d(e,m,n),d(e,y,n),u(L,e,n),d(e,T,n),d(e,D,n),d(e,Vt,n),d(e,me,n),d(e,Ot,n),u(pe,e,n),d(e,Nt,n),d(e,P,n),u(fe,P,null),o(P,Pn),o(P,Be),o(P,zn),o(P,Ue),d(e,Gt,n),d(e,z,n),u(ue,z,null),o(z,Sn),o(z,Xe),o(z,qn),o(z,Re),u(ge,Re,null),d(e,Jt,n),d(e,S,n),u(he,S,null),o(S,Fn),o(S,We),o(S,jn),o(S,ee),u(_e,ee,null),o(ee,An),u(te,ee,null),d(e,Zt,n),d(e,q,n),u(be,q,null),o(q,Mn),o(q,Ke),o(q,In),o(q,ne),u($e,ne,null),o(ne,En),u(oe,ne,null),d(e,Qt,n),d(e,N,n),u(ve,N,null),o(N,Hn),o(N,Ye),d(e,Bt,n),d(e,F,n),u(xe,F,null),o(F,Vn),o(F,et),o(F,On),o(F,tt),u(ye,tt,null),d(e,Ut,n),d(e,j,n),u(Te,j,null),o(j,Nn),o(j,nt),o(j,Gn),o(j,re),u(we,re,null),o(re,Jn),o(re,ot),d(e,Xt,n),u(Ce,e,n),d(e,Rt,n),d(e,C,n),u(ke,C,null),o(C,Zn),o(C,rt),o(C,Qn),o(C,st),o(C,Bn),u(se,C,null),d(e,Wt,n),d(e,G,n),u(Le,G,null),o(G,Un),o(G,at),d(e,Kt,n),d(e,A,n),u(De,A,null),o(A,Xn),o(A,it),o(A,Rn),o(A,dt),d(e,Yt,n),d(e,M,n),u(Pe,M,null),o(M,Wn),o(M,lt),o(M,Kn),o(M,ct),d(e,en,n),d(e,I,n),u(ze,I,null),o(I,Yn),o(I,mt),o(I,eo),o(I,pt),d(e,tn,n),d(e,Se,n),d(e,nn,n),d(e,E,n),u(qe,E,null),o(E,to),o(E,ft),o(E,no),o(E,ut),d(e,on,n),d(e,J,n),u(Fe,J,null),o(J,oo),o(J,gt),d(e,rn,n),d(e,je,n),d(e,sn,n),d(e,H,n),u(Ae,H,null),o(H,ro),o(H,ht),o(H,so),u(ae,H,null),d(e,an,n),d(e,V,n),u(Me,V,null),o(V,ao),o(V,_t),o(V,io),u(ie,V,null),d(e,dn,n),d(e,Z,n),u(Ie,Z,null),o(Z,lo),o(Z,bt),d(e,ln,n),d(e,Q,n),u(Ee,Q,null),o(Q,co),o(Q,$t),d(e,cn,n),d(e,B,n),u(He,B,null),o(B,mo),o(B,vt),d(e,mn,n),d(e,O,n),u(Ve,O,null),o(O,po),o(O,xt),o(O,fo),u(de,O,null),d(e,pn,n),d(e,Oe,n),d(e,fn,n),d(e,U,n),u(Ne,U,null),o(U,uo),o(U,yt),d(e,un,n),d(e,k,n),u(Ge,k,null),o(k,go),o(k,Tt),o(k,ho),o(k,wt),o(k,_o),o(k,Ct),d(e,gn,n),d(e,X,n),u(Je,X,null),o(X,bo),o(X,kt),d(e,hn,n),u(Ze,e,n),d(e,_n,n),d(e,It,n),bn=!0},p(e,[n]){const R={};n&2&&(R.$$scope={dirty:n,ctx:e}),te.$set(R);const W={};n&2&&(W.$$scope={dirty:n,ctx:e}),oe.$set(W);const Et={};n&2&&(Et.$$scope={dirty:n,ctx:e}),se.$set(Et);const K={};n&2&&(K.$$scope={dirty:n,ctx:e}),ae.$set(K);const Qe={};n&2&&(Qe.$$scope={dirty:n,ctx:e}),ie.$set(Qe);const Y={};n&2&&(Y.$$scope={dirty:n,ctx:e}),de.$set(Y)},i(e){bn||(g(L.$$.fragment,e),g(pe.$$.fragment,e),g(fe.$$.fragment,e),g(ue.$$.fragment,e),g(ge.$$.fragment,e),g(he.$$.fragment,e),g(_e.$$.fragment,e),g(te.$$.fragment,e),g(be.$$.fragment,e),g($e.$$.fragment,e),g(oe.$$.fragment,e),g(ve.$$.fragment,e),g(xe.$$.fragment,e),g(ye.$$.fragment,e),g(Te.$$.fragment,e),g(we.$$.fragment,e),g(Ce.$$.fragment,e),g(ke.$$.fragment,e),g(se.$$.fragment,e),g(Le.$$.fragment,e),g(De.$$.fragment,e),g(Pe.$$.fragment,e),g(ze.$$.fragment,e),g(qe.$$.fragment,e),g(Fe.$$.fragment,e),g(Ae.$$.fragment,e),g(ae.$$.fragment,e),g(Me.$$.fragment,e),g(ie.$$.fragment,e),g(Ie.$$.fragment,e),g(Ee.$$.fragment,e),g(He.$$.fragment,e),g(Ve.$$.fragment,e),g(de.$$.fragment,e),g(Ne.$$.fragment,e),g(Ge.$$.fragment,e),g(Je.$$.fragment,e),g(Ze.$$.fragment,e),bn=!0)},o(e){h(L.$$.fragment,e),h(pe.$$.fragment,e),h(fe.$$.fragment,e),h(ue.$$.fragment,e),h(ge.$$.fragment,e),h(he.$$.fragment,e),h(_e.$$.fragment,e),h(te.$$.fragment,e),h(be.$$.fragment,e),h($e.$$.fragment,e),h(oe.$$.fragment,e),h(ve.$$.fragment,e),h(xe.$$.fragment,e),h(ye.$$.fragment,e),h(Te.$$.fragment,e),h(we.$$.fragment,e),h(Ce.$$.fragment,e),h(ke.$$.fragment,e),h(se.$$.fragment,e),h(Le.$$.fragment,e),h(De.$$.fragment,e),h(Pe.$$.fragment,e),h(ze.$$.fragment,e),h(qe.$$.fragment,e),h(Fe.$$.fragment,e),h(Ae.$$.fragment,e),h(ae.$$.fragment,e),h(Me.$$.fragment,e),h(ie.$$.fragment,e),h(Ie.$$.fragment,e),h(Ee.$$.fragment,e),h(He.$$.fragment,e),h(Ve.$$.fragment,e),h(de.$$.fragment,e),h(Ne.$$.fragment,e),h(Ge.$$.fragment,e),h(Je.$$.fragment,e),h(Ze.$$.fragment,e),bn=!1},d(e){e&&(t(x),t(m),t(y),t(T),t(D),t(Vt),t(me),t(Ot),t(Nt),t(P),t(Gt),t(z),t(Jt),t(S),t(Zt),t(q),t(Qt),t(N),t(Bt),t(F),t(Ut),t(j),t(Xt),t(Rt),t(C),t(Wt),t(G),t(Kt),t(A),t(Yt),t(M),t(en),t(I),t(tn),t(Se),t(nn),t(E),t(on),t(J),t(rn),t(je),t(sn),t(H),t(an),t(V),t(dn),t(Z),t(ln),t(Q),t(cn),t(B),t(mn),t(O),t(pn),t(Oe),t(fn),t(U),t(un),t(k),t(gn),t(X),t(hn),t(_n),t(It)),t(l),_(L,e),_(pe,e),_(fe),_(ue),_(ge),_(he),_(_e),_(te),_(be),_($e),_(oe),_(ve),_(xe),_(ye),_(Te),_(we),_(Ce,e),_(ke),_(se),_(Le),_(De),_(Pe),_(ze),_(qe),_(Fe),_(Ae),_(ae),_(Me),_(ie),_(Ie),_(Ee),_(He),_(Ve),_(de),_(Ne),_(Ge),_(Je),_(Ze,e)}}}const $r='{"title":"カスタムレイヤーとユーティリティ","local":"カスタムレイヤーとユーティリティ","sections":[{"title":"Pytorch custom modules","local":"transformers.Conv1D","sections":[],"depth":2},{"title":"PyTorch Helper Functions","local":"transformers.apply_chunking_to_forward","sections":[],"depth":2}],"depth":1}';function vr(w){return sr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Dr extends ar{constructor(l){super(),ir(this,l,vr,br,rr,{})}}export{Dr as component};
