import{s as rr,o as sr,n as It}from"../chunks/scheduler.9991993c.js";import{S as ar,i as ir,g as a,s as r,r as m,A as dr,h as i,f as t,c as s,j as b,u as f,x as c,k as v,y as o,a as d,v as u,d as g,t as _,w as h}from"../chunks/index.7fc9a5e7.js";import{T as Vt}from"../chunks/Tip.9de92fc6.js";import{D as $}from"../chunks/Docstring.0d7e3ebb.js";import{C as lr}from"../chunks/CodeBlock.e11cba92.js";import{E as cr}from"../chunks/ExampleCodeBlock.46b9776a.js";import{H as vo,E as pr}from"../chunks/EditOnGithub.84ab7f0e.js";function mr(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(p){l=i(p,"P",{"data-svelte-h":!0}),c(l)!=="svelte-1oii8ff"&&(l.innerHTML=x)},m(p,y){d(p,l,y)},p:It,d(p){p&&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(p){l=i(p,"P",{"data-svelte-h":!0}),c(l)!=="svelte-1oii8ff"&&(l.innerHTML=x)},m(p,y){d(p,l,y)},p:It,d(p){p&&t(l)}}}function ur(w){let l,x="Examples:",p,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,p=r(),m(y.$$.fragment)},l(T){l=i(T,"P",{"data-svelte-h":!0}),c(l)!=="svelte-kvfsh7"&&(l.textContent=x),p=s(T),f(y.$$.fragment,T)},m(T,z){d(T,l,z),d(T,p,z),u(y,T,z),L=!0},p:It,i(T){L||(g(y.$$.fragment,T),L=!0)},o(T){_(y.$$.fragment,T),L=!1},d(T){T&&(t(l),t(p)),h(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(p){l=i(p,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(p,y){d(p,l,y)},p:It,d(p){p&&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(p){l=i(p,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(p,y){d(p,l,y)},p:It,d(p){p&&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(p){l=i(p,"P",{"data-svelte-h":!0}),c(l)!=="svelte-14hlsz0"&&(l.textContent=x)},m(p,y){d(p,l,y)},p:It,d(p){p&&t(l)}}}function br(w){let l,x,p,y,L,T,z,$o="此页面列出了库使用的所有自定义层，以及它为模型提供的实用函数。",jt,pe,xo="其中大多数只有在您研究库中模型的代码时才有用。",Ot,me,Nt,D,fe,Dn,Be,yo="1D-convolutional layer as defined by Radford et al. for OpenAI GPT (and also used in GPT-2).",Pn,Ue,To="Basically works like a linear layer but the weights are transposed.",Gt,P,ue,qn,Xe,wo="Compute SQuAD start logits from sequence hidden states.",Sn,Re,ge,Jt,q,_e,Fn,We,Co="Compute SQuAD end logits from sequence hidden states.",An,ee,he,Mn,te,Zt,S,be,In,Ke,ko="Compute SQuAD 2.0 answer class from classification and start tokens hidden states.",En,ne,ve,Hn,oe,Qt,N,$e,Vn,Ye,Lo='Base class for outputs of question answering models using a <a href="/docs/transformers/pr_31208/zh/internal/modeling_utils#transformers.modeling_utils.SQuADHead">SQuADHead</a>.',Bt,F,xe,jn,et,zo="A SQuAD head inspired by XLNet.",On,tt,ye,Ut,A,Te,Nn,nt,Do="Compute a single vector summary of a sequence hidden states.",Gn,re,we,Jn,ot,Po="Compute a single vector summary of a sequence hidden states.",Xt,Ce,Rt,C,ke,Zn,rt,qo=`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,So=`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,M,ze,Xn,it,Ao="Prune a Conv1D or linear layer to keep only entries in index.",Rn,dt,Mo="Used to remove heads.",Yt,I,De,Wn,lt,Io=`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,Eo="Used to remove heads.",en,E,Pe,Yn,pt,Ho="Prune a linear layer to keep only entries in index.",eo,mt,Vo="Used to remove heads.",tn,qe,jo="## TensorFlow自定义层[[transformers.modeling_tf_utils.TFConv1D]]",nn,H,Se,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,Ae,Jo="## TensorFlow loss 函数[[transformers.modeling_tf_utils.TFCausalLanguageModelingLoss]]",sn,V,Me,ro,_t,Zo="Loss function suitable for causal language modeling (CLM), that is, the task of guessing the next token.",so,ae,an,j,Ie,ao,ht,Qo="Loss function suitable for masked language modeling (MLM), that is, the task of guessing the masked tokens.",io,ie,dn,Z,Ee,lo,bt,Bo="Loss function suitable for multiple choice tasks.",ln,Q,He,co,vt,Uo="Loss function suitable for question answering.",cn,B,Ve,po,$t,Xo="Loss function suitable for sequence classification.",pn,O,je,mo,xt,Ro="Loss function suitable for token classification.",fo,de,mn,Oe,Wo="## TensorFlow帮助函数[[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.",_o,wt,er="This is done by:",ho,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.",_n,Ze,hn,Et,bn;return L=new vo({props:{title:"自定义层和工具",local:"自定义层和工具",headingTag:"h1"}}),me=new vo({props:{title:"Pytorch自定义模块",local:"transformers.Conv1D",headingTag:"h2"}}),fe=new $({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/vr_31208/src/transformers/pytorch_utils.py#L84"}}),ue=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_utils.py#L4578"}}),ge=new $({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/vr_31208/src/transformers/modeling_utils.py#L4591",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>
`}}),_e=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_utils.py#L4616"}}),he=new $({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/vr_31208/src/transformers/modeling_utils.py#L4633",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 Vt({props:{$$slots:{default:[mr]},$$scope:{ctx:w}}}),be=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_utils.py#L4685"}}),ve=new $({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/vr_31208/src/transformers/modeling_utils.py#L4700",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 Vt({props:{$$slots:{default:[fr]},$$scope:{ctx:w}}}),$e=new $({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/vr_31208/src/transformers/modeling_utils.py#L4750"}}),xe=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_utils.py#L4781"}}),ye=new $({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/pr_31208/zh/main_classes/output#transformers.utils.ModelOutput">ModelOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_utils.py#L4800",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A <a
  href="/docs/transformers/pr_31208/zh/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/pr_31208/zh/internal/modeling_utils#transformers.modeling_utils.SquadHeadOutput"
>transformers.modeling_utils.SquadHeadOutput</a> or <code>tuple(torch.FloatTensor)</code></p>
`}}),Te=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_utils.py#L4898"}}),we=new $({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/vr_31208/src/transformers/modeling_utils.py#L4953",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 vo({props:{title:"PyTorch帮助函数",local:"transformers.apply_chunking_to_forward",headingTag:"h2"}}),ke=new $({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/vr_31208/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 $({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/vr_31208/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>
`}}),ze=new $({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/vr_31208/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/pr_31208/zh/internal/modeling_utils#transformers.Conv1D"
>Conv1D</a></p>
`}}),De=new $({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/pr_31208/zh/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/vr_31208/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/pr_31208/zh/internal/modeling_utils#transformers.Conv1D"
>Conv1D</a></p>
`}}),Pe=new $({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/vr_31208/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>
`}}),Se=new $({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/vr_31208/src/transformers/modeling_tf_utils.py#L3273"}}),Fe=new $({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/pr_31208/zh/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/vr_31208/src/transformers/modeling_tf_utils.py#L3420"}}),Me=new $({props:{name:"class transformers.modeling_tf_utils.TFCausalLanguageModelingLoss",anchor:"transformers.modeling_tf_utils.TFCausalLanguageModelingLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L213"}}),ae=new Vt({props:{$$slots:{default:[gr]},$$scope:{ctx:w}}}),Ie=new $({props:{name:"class transformers.modeling_tf_utils.TFMaskedLanguageModelingLoss",anchor:"transformers.modeling_tf_utils.TFMaskedLanguageModelingLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L324"}}),ie=new Vt({props:{$$slots:{default:[_r]},$$scope:{ctx:w}}}),Ee=new $({props:{name:"class transformers.modeling_tf_utils.TFMultipleChoiceLoss",anchor:"transformers.modeling_tf_utils.TFMultipleChoiceLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L316"}}),He=new $({props:{name:"class transformers.modeling_tf_utils.TFQuestionAnsweringLoss",anchor:"transformers.modeling_tf_utils.TFQuestionAnsweringLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L242"}}),Ve=new $({props:{name:"class transformers.modeling_tf_utils.TFSequenceClassificationLoss",anchor:"transformers.modeling_tf_utils.TFSequenceClassificationLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L297"}}),je=new $({props:{name:"class transformers.modeling_tf_utils.TFTokenClassificationLoss",anchor:"transformers.modeling_tf_utils.TFTokenClassificationLoss",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_31208/src/transformers/modeling_tf_utils.py#L255"}}),de=new Vt({props:{$$slots:{default:[hr]},$$scope:{ctx:w}}}),Ne=new $({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/vr_31208/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 $({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/vr_31208/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 $({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/vr_31208/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 pr({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/zh/internal/modeling_utils.md"}}),{c(){l=a("meta"),x=r(),p=a("p"),y=r(),m(L.$$.fragment),T=r(),z=a("p"),z.textContent=$o,jt=r(),pe=a("p"),pe.textContent=xo,Ot=r(),m(me.$$.fragment),Nt=r(),D=a("div"),m(fe.$$.fragment),Dn=r(),Be=a("p"),Be.textContent=yo,Pn=r(),Ue=a("p"),Ue.textContent=To,Gt=r(),P=a("div"),m(ue.$$.fragment),qn=r(),Xe=a("p"),Xe.textContent=wo,Sn=r(),Re=a("div"),m(ge.$$.fragment),Jt=r(),q=a("div"),m(_e.$$.fragment),Fn=r(),We=a("p"),We.textContent=Co,An=r(),ee=a("div"),m(he.$$.fragment),Mn=r(),m(te.$$.fragment),Zt=r(),S=a("div"),m(be.$$.fragment),In=r(),Ke=a("p"),Ke.textContent=ko,En=r(),ne=a("div"),m(ve.$$.fragment),Hn=r(),m(oe.$$.fragment),Qt=r(),N=a("div"),m($e.$$.fragment),Vn=r(),Ye=a("p"),Ye.innerHTML=Lo,Bt=r(),F=a("div"),m(xe.$$.fragment),jn=r(),et=a("p"),et.textContent=zo,On=r(),tt=a("div"),m(ye.$$.fragment),Ut=r(),A=a("div"),m(Te.$$.fragment),Nn=r(),nt=a("p"),nt.textContent=Do,Gn=r(),re=a("div"),m(we.$$.fragment),Jn=r(),ot=a("p"),ot.textContent=Po,Xt=r(),m(Ce.$$.fragment),Rt=r(),C=a("div"),m(ke.$$.fragment),Zn=r(),rt=a("p"),rt.innerHTML=qo,Qn=r(),st=a("p"),st.innerHTML=So,Bn=r(),m(se.$$.fragment),Wt=r(),G=a("div"),m(Le.$$.fragment),Un=r(),at=a("p"),at.innerHTML=Fo,Kt=r(),M=a("div"),m(ze.$$.fragment),Xn=r(),it=a("p"),it.textContent=Ao,Rn=r(),dt=a("p"),dt.textContent=Mo,Yt=r(),I=a("div"),m(De.$$.fragment),Wn=r(),lt=a("p"),lt.textContent=Io,Kn=r(),ct=a("p"),ct.textContent=Eo,en=r(),E=a("div"),m(Pe.$$.fragment),Yn=r(),pt=a("p"),pt.textContent=Ho,eo=r(),mt=a("p"),mt.textContent=Vo,tn=r(),qe=a("p"),qe.textContent=jo,nn=r(),H=a("div"),m(Se.$$.fragment),to=r(),ft=a("p"),ft.textContent=Oo,no=r(),ut=a("p"),ut.textContent=No,on=r(),J=a("div"),m(Fe.$$.fragment),oo=r(),gt=a("p"),gt.textContent=Go,rn=r(),Ae=a("p"),Ae.textContent=Jo,sn=r(),V=a("div"),m(Me.$$.fragment),ro=r(),_t=a("p"),_t.textContent=Zo,so=r(),m(ae.$$.fragment),an=r(),j=a("div"),m(Ie.$$.fragment),ao=r(),ht=a("p"),ht.textContent=Qo,io=r(),m(ie.$$.fragment),dn=r(),Z=a("div"),m(Ee.$$.fragment),lo=r(),bt=a("p"),bt.textContent=Bo,ln=r(),Q=a("div"),m(He.$$.fragment),co=r(),vt=a("p"),vt.textContent=Uo,cn=r(),B=a("div"),m(Ve.$$.fragment),po=r(),$t=a("p"),$t.textContent=Xo,pn=r(),O=a("div"),m(je.$$.fragment),mo=r(),xt=a("p"),xt.textContent=Ro,fo=r(),m(de.$$.fragment),mn=r(),Oe=a("p"),Oe.textContent=Wo,fn=r(),U=a("div"),m(Ne.$$.fragment),uo=r(),yt=a("p"),yt.innerHTML=Ko,un=r(),k=a("div"),m(Ge.$$.fragment),go=r(),Tt=a("p"),Tt.textContent=Yo,_o=r(),wt=a("p"),wt.textContent=er,ho=r(),Ct=a("ol"),Ct.innerHTML=tr,gn=r(),X=a("div"),m(Je.$$.fragment),bo=r(),kt=a("p"),kt.textContent=nr,_n=r(),m(Ze.$$.fragment),hn=r(),Et=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),p=i(e,"P",{}),b(p).forEach(t),y=s(e),f(L.$$.fragment,e),T=s(e),z=i(e,"P",{"data-svelte-h":!0}),c(z)!=="svelte-q5pi06"&&(z.textContent=$o),jt=s(e),pe=i(e,"P",{"data-svelte-h":!0}),c(pe)!=="svelte-1k2ylrx"&&(pe.textContent=xo),Ot=s(e),f(me.$$.fragment,e),Nt=s(e),D=i(e,"DIV",{class:!0});var R=b(D);f(fe.$$.fragment,R),Dn=s(R),Be=i(R,"P",{"data-svelte-h":!0}),c(Be)!=="svelte-1lta4gb"&&(Be.textContent=yo),Pn=s(R),Ue=i(R,"P",{"data-svelte-h":!0}),c(Ue)!=="svelte-6u0wx8"&&(Ue.textContent=To),R.forEach(t),Gt=s(e),P=i(e,"DIV",{class:!0});var W=b(P);f(ue.$$.fragment,W),qn=s(W),Xe=i(W,"P",{"data-svelte-h":!0}),c(Xe)!=="svelte-nykzs4"&&(Xe.textContent=wo),Sn=s(W),Re=i(W,"DIV",{class:!0});var Ht=b(Re);f(ge.$$.fragment,Ht),Ht.forEach(t),W.forEach(t),Jt=s(e),q=i(e,"DIV",{class:!0});var K=b(q);f(_e.$$.fragment,K),Fn=s(K),We=i(K,"P",{"data-svelte-h":!0}),c(We)!=="svelte-1xgtkjp"&&(We.textContent=Co),An=s(K),ee=i(K,"DIV",{class:!0});var Qe=b(ee);f(he.$$.fragment,Qe),Mn=s(Qe),f(te.$$.fragment,Qe),Qe.forEach(t),K.forEach(t),Zt=s(e),S=i(e,"DIV",{class:!0});var Y=b(S);f(be.$$.fragment,Y),In=s(Y),Ke=i(Y,"P",{"data-svelte-h":!0}),c(Ke)!=="svelte-i1ac0w"&&(Ke.textContent=ko),En=s(Y),ne=i(Y,"DIV",{class:!0});var vn=b(ne);f(ve.$$.fragment,vn),Hn=s(vn),f(oe.$$.fragment,vn),vn.forEach(t),Y.forEach(t),Qt=s(e),N=i(e,"DIV",{class:!0});var $n=b(N);f($e.$$.fragment,$n),Vn=s($n),Ye=i($n,"P",{"data-svelte-h":!0}),c(Ye)!=="svelte-p3xawd"&&(Ye.innerHTML=Lo),$n.forEach(t),Bt=s(e),F=i(e,"DIV",{class:!0});var Lt=b(F);f(xe.$$.fragment,Lt),jn=s(Lt),et=i(Lt,"P",{"data-svelte-h":!0}),c(et)!=="svelte-vm79b9"&&(et.textContent=zo),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),A=i(e,"DIV",{class:!0});var zt=b(A);f(Te.$$.fragment,zt),Nn=s(zt),nt=i(zt,"P",{"data-svelte-h":!0}),c(nt)!=="svelte-1cor2i2"&&(nt.textContent=Do),Gn=s(zt),re=i(zt,"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=Po),xn.forEach(t),zt.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=qo),Qn=s(le),st=i(le,"P",{"data-svelte-h":!0}),c(st)!=="svelte-1ufp6tv"&&(st.innerHTML=So),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),M=i(e,"DIV",{class:!0});var Dt=b(M);f(ze.$$.fragment,Dt),Xn=s(Dt),it=i(Dt,"P",{"data-svelte-h":!0}),c(it)!=="svelte-by2rhc"&&(it.textContent=Ao),Rn=s(Dt),dt=i(Dt,"P",{"data-svelte-h":!0}),c(dt)!=="svelte-14zrzk1"&&(dt.textContent=Mo),Dt.forEach(t),Yt=s(e),I=i(e,"DIV",{class:!0});var Pt=b(I);f(De.$$.fragment,Pt),Wn=s(Pt),lt=i(Pt,"P",{"data-svelte-h":!0}),c(lt)!=="svelte-1xogpwx"&&(lt.textContent=Io),Kn=s(Pt),ct=i(Pt,"P",{"data-svelte-h":!0}),c(ct)!=="svelte-14zrzk1"&&(ct.textContent=Eo),Pt.forEach(t),en=s(e),E=i(e,"DIV",{class:!0});var qt=b(E);f(Pe.$$.fragment,qt),Yn=s(qt),pt=i(qt,"P",{"data-svelte-h":!0}),c(pt)!=="svelte-1edz4x0"&&(pt.textContent=Ho),eo=s(qt),mt=i(qt,"P",{"data-svelte-h":!0}),c(mt)!=="svelte-14zrzk1"&&(mt.textContent=Vo),qt.forEach(t),tn=s(e),qe=i(e,"P",{"data-svelte-h":!0}),c(qe)!=="svelte-ppc32j"&&(qe.textContent=jo),nn=s(e),H=i(e,"DIV",{class:!0});var St=b(H);f(Se.$$.fragment,St),to=s(St),ft=i(St,"P",{"data-svelte-h":!0}),c(ft)!=="svelte-1lta4gb"&&(ft.textContent=Oo),no=s(St),ut=i(St,"P",{"data-svelte-h":!0}),c(ut)!=="svelte-6u0wx8"&&(ut.textContent=No),St.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),Ae=i(e,"P",{"data-svelte-h":!0}),c(Ae)!=="svelte-1g5kpc4"&&(Ae.textContent=Jo),sn=s(e),V=i(e,"DIV",{class:!0});var Ft=b(V);f(Me.$$.fragment,Ft),ro=s(Ft),_t=i(Ft,"P",{"data-svelte-h":!0}),c(_t)!=="svelte-1obn9c"&&(_t.textContent=Zo),so=s(Ft),f(ae.$$.fragment,Ft),Ft.forEach(t),an=s(e),j=i(e,"DIV",{class:!0});var At=b(j);f(Ie.$$.fragment,At),ao=s(At),ht=i(At,"P",{"data-svelte-h":!0}),c(ht)!=="svelte-16f7wip"&&(ht.textContent=Qo),io=s(At),f(ie.$$.fragment,At),At.forEach(t),dn=s(e),Z=i(e,"DIV",{class:!0});var wn=b(Z);f(Ee.$$.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(He.$$.fragment,Cn),co=s(Cn),vt=i(Cn,"P",{"data-svelte-h":!0}),c(vt)!=="svelte-1mrk13b"&&(vt.textContent=Uo),Cn.forEach(t),cn=s(e),B=i(e,"DIV",{class:!0});var kn=b(B);f(Ve.$$.fragment,kn),po=s(kn),$t=i(kn,"P",{"data-svelte-h":!0}),c($t)!=="svelte-13vmm2k"&&($t.textContent=Xo),kn.forEach(t),pn=s(e),O=i(e,"DIV",{class:!0});var Mt=b(O);f(je.$$.fragment,Mt),mo=s(Mt),xt=i(Mt,"P",{"data-svelte-h":!0}),c(xt)!=="svelte-biydvq"&&(xt.textContent=Ro),fo=s(Mt),f(de.$$.fragment,Mt),Mt.forEach(t),mn=s(e),Oe=i(e,"P",{"data-svelte-h":!0}),c(Oe)!=="svelte-zmhstc"&&(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),_o=s(ce),wt=i(ce,"P",{"data-svelte-h":!0}),c(wt)!=="svelte-19x4elj"&&(wt.textContent=er),ho=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 zn=b(X);f(Je.$$.fragment,zn),bo=s(zn),kt=i(zn,"P",{"data-svelte-h":!0}),c(kt)!=="svelte-pubhri"&&(kt.textContent=nr),zn.forEach(t),_n=s(e),f(Ze.$$.fragment,e),hn=s(e),Et=i(e,"P",{}),b(Et).forEach(t),this.h()},h(){v(l,"name","hf:doc:metadata"),v(l,"content",vr),v(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(tt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(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(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(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,p,n),d(e,y,n),u(L,e,n),d(e,T,n),d(e,z,n),d(e,jt,n),d(e,pe,n),d(e,Ot,n),u(me,e,n),d(e,Nt,n),d(e,D,n),u(fe,D,null),o(D,Dn),o(D,Be),o(D,Pn),o(D,Ue),d(e,Gt,n),d(e,P,n),u(ue,P,null),o(P,qn),o(P,Xe),o(P,Sn),o(P,Re),u(ge,Re,null),d(e,Jt,n),d(e,q,n),u(_e,q,null),o(q,Fn),o(q,We),o(q,An),o(q,ee),u(he,ee,null),o(ee,Mn),u(te,ee,null),d(e,Zt,n),d(e,S,n),u(be,S,null),o(S,In),o(S,Ke),o(S,En),o(S,ne),u(ve,ne,null),o(ne,Hn),u(oe,ne,null),d(e,Qt,n),d(e,N,n),u($e,N,null),o(N,Vn),o(N,Ye),d(e,Bt,n),d(e,F,n),u(xe,F,null),o(F,jn),o(F,et),o(F,On),o(F,tt),u(ye,tt,null),d(e,Ut,n),d(e,A,n),u(Te,A,null),o(A,Nn),o(A,nt),o(A,Gn),o(A,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,M,n),u(ze,M,null),o(M,Xn),o(M,it),o(M,Rn),o(M,dt),d(e,Yt,n),d(e,I,n),u(De,I,null),o(I,Wn),o(I,lt),o(I,Kn),o(I,ct),d(e,en,n),d(e,E,n),u(Pe,E,null),o(E,Yn),o(E,pt),o(E,eo),o(E,mt),d(e,tn,n),d(e,qe,n),d(e,nn,n),d(e,H,n),u(Se,H,null),o(H,to),o(H,ft),o(H,no),o(H,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,Ae,n),d(e,sn,n),d(e,V,n),u(Me,V,null),o(V,ro),o(V,_t),o(V,so),u(ae,V,null),d(e,an,n),d(e,j,n),u(Ie,j,null),o(j,ao),o(j,ht),o(j,io),u(ie,j,null),d(e,dn,n),d(e,Z,n),u(Ee,Z,null),o(Z,lo),o(Z,bt),d(e,ln,n),d(e,Q,n),u(He,Q,null),o(Q,co),o(Q,vt),d(e,cn,n),d(e,B,n),u(Ve,B,null),o(B,po),o(B,$t),d(e,pn,n),d(e,O,n),u(je,O,null),o(O,mo),o(O,xt),o(O,fo),u(de,O,null),d(e,mn,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,_o),o(k,wt),o(k,ho),o(k,Ct),d(e,gn,n),d(e,X,n),u(Je,X,null),o(X,bo),o(X,kt),d(e,_n,n),u(Ze,e,n),d(e,hn,n),d(e,Et,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 Ht={};n&2&&(Ht.$$scope={dirty:n,ctx:e}),se.$set(Ht);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(me.$$.fragment,e),g(fe.$$.fragment,e),g(ue.$$.fragment,e),g(ge.$$.fragment,e),g(_e.$$.fragment,e),g(he.$$.fragment,e),g(te.$$.fragment,e),g(be.$$.fragment,e),g(ve.$$.fragment,e),g(oe.$$.fragment,e),g($e.$$.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(ze.$$.fragment,e),g(De.$$.fragment,e),g(Pe.$$.fragment,e),g(Se.$$.fragment,e),g(Fe.$$.fragment,e),g(Me.$$.fragment,e),g(ae.$$.fragment,e),g(Ie.$$.fragment,e),g(ie.$$.fragment,e),g(Ee.$$.fragment,e),g(He.$$.fragment,e),g(Ve.$$.fragment,e),g(je.$$.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){_(L.$$.fragment,e),_(me.$$.fragment,e),_(fe.$$.fragment,e),_(ue.$$.fragment,e),_(ge.$$.fragment,e),_(_e.$$.fragment,e),_(he.$$.fragment,e),_(te.$$.fragment,e),_(be.$$.fragment,e),_(ve.$$.fragment,e),_(oe.$$.fragment,e),_($e.$$.fragment,e),_(xe.$$.fragment,e),_(ye.$$.fragment,e),_(Te.$$.fragment,e),_(we.$$.fragment,e),_(Ce.$$.fragment,e),_(ke.$$.fragment,e),_(se.$$.fragment,e),_(Le.$$.fragment,e),_(ze.$$.fragment,e),_(De.$$.fragment,e),_(Pe.$$.fragment,e),_(Se.$$.fragment,e),_(Fe.$$.fragment,e),_(Me.$$.fragment,e),_(ae.$$.fragment,e),_(Ie.$$.fragment,e),_(ie.$$.fragment,e),_(Ee.$$.fragment,e),_(He.$$.fragment,e),_(Ve.$$.fragment,e),_(je.$$.fragment,e),_(de.$$.fragment,e),_(Ne.$$.fragment,e),_(Ge.$$.fragment,e),_(Je.$$.fragment,e),_(Ze.$$.fragment,e),bn=!1},d(e){e&&(t(x),t(p),t(y),t(T),t(z),t(jt),t(pe),t(Ot),t(Nt),t(D),t(Gt),t(P),t(Jt),t(q),t(Zt),t(S),t(Qt),t(N),t(Bt),t(F),t(Ut),t(A),t(Xt),t(Rt),t(C),t(Wt),t(G),t(Kt),t(M),t(Yt),t(I),t(en),t(E),t(tn),t(qe),t(nn),t(H),t(on),t(J),t(rn),t(Ae),t(sn),t(V),t(an),t(j),t(dn),t(Z),t(ln),t(Q),t(cn),t(B),t(pn),t(O),t(mn),t(Oe),t(fn),t(U),t(un),t(k),t(gn),t(X),t(_n),t(hn),t(Et)),t(l),h(L,e),h(me,e),h(fe),h(ue),h(ge),h(_e),h(he),h(te),h(be),h(ve),h(oe),h($e),h(xe),h(ye),h(Te),h(we),h(Ce,e),h(ke),h(se),h(Le),h(ze),h(De),h(Pe),h(Se),h(Fe),h(Me),h(ae),h(Ie),h(ie),h(Ee),h(He),h(Ve),h(je),h(de),h(Ne),h(Ge),h(Je),h(Ze,e)}}}const vr='{"title":"自定义层和工具","local":"自定义层和工具","sections":[{"title":"Pytorch自定义模块","local":"transformers.Conv1D","sections":[],"depth":2},{"title":"PyTorch帮助函数","local":"transformers.apply_chunking_to_forward","sections":[],"depth":2}],"depth":1}';function $r(w){return sr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class zr extends ar{constructor(l){super(),ir(this,l,$r,br,rr,{})}}export{zr as component};
