import{s as Qo,o as Ao,n as W}from"../chunks/scheduler.25b97de1.js";import{S as Yo,i as Oo,g as n,s,r as f,m as Ko,A as en,h as l,f as t,c as a,j as y,u,x as p,n as tn,k as M,y as r,a as i,v as h,d as g,t as _,w as x}from"../chunks/index.d9030fc9.js";import{T as Ha}from"../chunks/Tip.baa67368.js";import{D as P}from"../chunks/Docstring.ffac8efa.js";import{C as $e}from"../chunks/CodeBlock.e6cd0d95.js";import{E as yr}from"../chunks/ExampleCodeBlock.22dfe688.js";import{H as be,E as rn}from"../chunks/EditOnGithub.91d95064.js";function sn(q){let c,w=`This class method is simply calling the feature extractor
<a href="/docs/transformers/pr_30530/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a>, image processor
<a href="/docs/transformers/pr_30530/en/internal/image_processing_utils#transformers.ImageProcessingMixin">ImageProcessingMixin</a> and the tokenizer
<code>~tokenization_utils_base.PreTrainedTokenizer.from_pretrained</code> methods. Please refer to the docstrings of the
methods above for more information.`;return{c(){c=n("p"),c.innerHTML=w},l(v){c=l(v,"P",{"data-svelte-h":!0}),p(c)!=="svelte-f5ymql"&&(c.innerHTML=w)},m(v,m){i(v,c,m)},p:W,d(v){v&&t(c)}}}function an(q){let c,w="And we define the call method as:",v,m,b;return m=new $e({props:{code:"ZGVmJTIwX19jYWxsX18oJTBBJTIwJTIwJTIwJTIwc2VsZiUyQyUwQSUyMCUyMCUyMCUyMHRleHQlM0ElMjBzdHIlMkMlMEElMjAlMjAlMjAlMjBpbWFnZXMlM0ElMjBPcHRpb25hbCU1QkltYWdlSW5wdXQlNUQlMjAlM0QlMjBOb25lJTJDJTBBJTIwJTIwJTIwJTIwKmFyZyUyQyUwQSUyMCUyMCUyMCUyMGF1ZGlvJTNETm9uZSUyQyUwQSUyMCUyMCUyMCUyMHZpZGVvcyUzRE5vbmUlMkMlMEEp",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">__call__</span>(<span class="hljs-params">
    self,
    text: <span class="hljs-built_in">str</span>,
    images: <span class="hljs-type">Optional</span>[ImageInput] = <span class="hljs-literal">None</span>,
    *arg,
    audio=<span class="hljs-literal">None</span>,
    videos=<span class="hljs-literal">None</span>,
</span>)`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-ft0bna"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function on(q){let c,w="Then, if we call the processor as:",v,m,b;return m=new $e({props:{code:"aW1hZ2VzJTIwJTNEJTIwJTVCLi4uJTVEJTBBcHJvY2Vzc29yKCUyMldoYXQlMjBpcyUyMGNvbW1vbiUyMGluJTIwdGhlc2UlMjBpbWFnZXMlM0YlMjIlMkMlMjBpbWFnZXMlMkMlMjBhcmdfdmFsdWVfMSUyQyUyMGFyZ192YWx1ZV8yKQ==",highlighted:`images = [...]
processor(<span class="hljs-string">&quot;What is common in these images?&quot;</span>, images, arg_value_1, arg_value_2)`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-k5ldhr"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function nn(q){let c,w="Then, this method will return:",v,m,b;return m=new $e({props:{code:"JTdCJTBBJTIwJTIwJTIwJTIwJTIyYXJnX25hbWVfMSUyMiUzQSUyMGFyZ192YWx1ZV8xJTJDJTBBJTIwJTIwJTIwJTIwJTIyYXJnX25hbWVfMiUyMiUzQSUyMGFyZ192YWx1ZV8yJTJDJTBBJTdE",highlighted:`{
    <span class="hljs-string">&quot;arg_name_1&quot;</span>: arg_value_1,
    <span class="hljs-string">&quot;arg_name_2&quot;</span>: arg_value_2,
}`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-wadzyw"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function ln(q){let c,w="Examples:",v,m,b;return m=new $e({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Qcm9jZXNzb3IlMEElMEFwcm9jZXNzb3IlMjAlM0QlMjBBdXRvUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJnb29nbGUtYmVydCUyRmJlcnQtYmFzZS1jYXNlZCUyMiklMEElMEElMjMlMjBQdXNoJTIwdGhlJTIwcHJvY2Vzc29yJTIwdG8lMjB5b3VyJTIwbmFtZXNwYWNlJTIwd2l0aCUyMHRoZSUyMG5hbWUlMjAlMjJteS1maW5ldHVuZWQtYmVydCUyMi4lMEFwcm9jZXNzb3IucHVzaF90b19odWIoJTIybXktZmluZXR1bmVkLWJlcnQlMjIpJTBBJTBBJTIzJTIwUHVzaCUyMHRoZSUyMHByb2Nlc3NvciUyMHRvJTIwYW4lMjBvcmdhbml6YXRpb24lMjB3aXRoJTIwdGhlJTIwbmFtZSUyMCUyMm15LWZpbmV0dW5lZC1iZXJ0JTIyLiUwQXByb2Nlc3Nvci5wdXNoX3RvX2h1YiglMjJodWdnaW5nZmFjZSUyRm15LWZpbmV0dW5lZC1iZXJ0JTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoProcessor

processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;google-bert/bert-base-cased&quot;</span>)

<span class="hljs-comment"># Push the processor to your namespace with the name &quot;my-finetuned-bert&quot;.</span>
processor.push_to_hub(<span class="hljs-string">&quot;my-finetuned-bert&quot;</span>)

<span class="hljs-comment"># Push the processor to an organization with the name &quot;my-finetuned-bert&quot;.</span>
processor.push_to_hub(<span class="hljs-string">&quot;huggingface/my-finetuned-bert&quot;</span>)`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-kvfsh7"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function dn(q){let c,w="This API is experimental and may have some slight breaking changes in the next releases.";return{c(){c=n("p"),c.textContent=w},l(v){c=l(v,"P",{"data-svelte-h":!0}),p(c)!=="svelte-15rpg4"&&(c.textContent=w)},m(v,m){i(v,c,m)},p:W,d(v){v&&t(c)}}}function cn(q){let c,w=`This class method is simply calling <a href="/docs/transformers/pr_30530/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.save_pretrained">save_pretrained()</a> and
<a href="/docs/transformers/pr_30530/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.save_pretrained">save_pretrained()</a>. Please refer to the docstrings of the
methods above for more information.`;return{c(){c=n("p"),c.innerHTML=w},l(v){c=l(v,"P",{"data-svelte-h":!0}),p(c)!=="svelte-7uu6ns"&&(c.innerHTML=w)},m(v,m){i(v,c,m)},p:W,d(v){v&&t(c)}}}function pn(q){let c,w="Examples:",v,m,b;return m=new $e({props:{code:"aW1wb3J0JTIwdGVuc29yZmxvd19kYXRhc2V0cyUyMGFzJTIwdGZkcyUwQSUwQWRhdGFzZXQlMjAlM0QlMjB0ZmRzLmxvYWQoJTIyc3F1YWQlMjIpJTBBJTBBdHJhaW5pbmdfZXhhbXBsZXMlMjAlM0QlMjBnZXRfZXhhbXBsZXNfZnJvbV9kYXRhc2V0KGRhdGFzZXQlMkMlMjBldmFsdWF0ZSUzREZhbHNlKSUwQWV2YWx1YXRpb25fZXhhbXBsZXMlMjAlM0QlMjBnZXRfZXhhbXBsZXNfZnJvbV9kYXRhc2V0KGRhdGFzZXQlMkMlMjBldmFsdWF0ZSUzRFRydWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> tensorflow_datasets <span class="hljs-keyword">as</span> tfds

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = tfds.load(<span class="hljs-string">&quot;squad&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>training_examples = get_examples_from_dataset(dataset, evaluate=<span class="hljs-literal">False</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>evaluation_examples = get_examples_from_dataset(dataset, evaluate=<span class="hljs-literal">True</span>)`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-kvfsh7"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function mn(q){let c,w="Example:",v,m,b;return m=new $e({props:{code:"cHJvY2Vzc29yJTIwJTNEJTIwU3F1YWRWMlByb2Nlc3NvcigpJTBBZXhhbXBsZXMlMjAlM0QlMjBwcm9jZXNzb3IuZ2V0X2Rldl9leGFtcGxlcyhkYXRhX2RpciklMEElMEFmZWF0dXJlcyUyMCUzRCUyMHNxdWFkX2NvbnZlcnRfZXhhbXBsZXNfdG9fZmVhdHVyZXMoJTBBJTIwJTIwJTIwJTIwZXhhbXBsZXMlM0RleGFtcGxlcyUyQyUwQSUyMCUyMCUyMCUyMHRva2VuaXplciUzRHRva2VuaXplciUyQyUwQSUyMCUyMCUyMCUyMG1heF9zZXFfbGVuZ3RoJTNEYXJncy5tYXhfc2VxX2xlbmd0aCUyQyUwQSUyMCUyMCUyMCUyMGRvY19zdHJpZGUlM0RhcmdzLmRvY19zdHJpZGUlMkMlMEElMjAlMjAlMjAlMjBtYXhfcXVlcnlfbGVuZ3RoJTNEYXJncy5tYXhfcXVlcnlfbGVuZ3RoJTJDJTBBJTIwJTIwJTIwJTIwaXNfdHJhaW5pbmclM0Rub3QlMjBldmFsdWF0ZSUyQyUwQSk=",highlighted:`processor = SquadV2Processor()
examples = processor.get_dev_examples(data_dir)

features = squad_convert_examples_to_features(
    examples=examples,
    tokenizer=tokenizer,
    max_seq_length=args.max_seq_length,
    doc_stride=args.doc_stride,
    max_query_length=args.max_query_length,
    is_training=<span class="hljs-keyword">not</span> evaluate,
)`,wrap:!1}}),{c(){c=n("p"),c.textContent=w,v=s(),f(m.$$.fragment)},l(d){c=l(d,"P",{"data-svelte-h":!0}),p(c)!=="svelte-11lpom8"&&(c.textContent=w),v=a(d),u(m.$$.fragment,d)},m(d,T){i(d,c,T),i(d,v,T),h(m,d,T),b=!0},p:W,i(d){b||(g(m.$$.fragment,d),b=!0)},o(d){_(m.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(m,d)}}}function fn(q){let c,w,v,m,b,d,T,Sa="Processors can mean two different things in the Transformers library:",wr,ye,Ba=`<li>the objects that pre-process inputs for multi-modal models such as <a href="../model_doc/wav2vec2">Wav2Vec2</a> (speech and text)
or <a href="../model_doc/clip">CLIP</a> (text and vision)</li> <li>deprecated objects that were used in older versions of the library to preprocess data for GLUE or SQUAD.</li>`,Tr,Me,Cr,we,Na=`Any multi-modal model will require an object to encode or decode the data that groups several modalities (among text,
vision and audio). This is handled by objects called processors, which group together two or more processing objects
such as tokenizers (for the text modality), image processors (for vision) and feature extractors (for audio).`,Pr,Te,Fa="Those processors inherit from the following base class that implements the saving and loading functionality:",kr,$,Ce,ks,Et,Ga="This is a mixin used to provide saving/loading functionality for all processor classes.",Is,R,Pe,Js,zt,Wa=`Similar to the <code>apply_chat_template</code> method on tokenizers, this method applies a Jinja template to input
conversations to turn them into a single tokenizable string.`,qs,Q,ke,Us,Vt,Ra="Instantiates a type of <code>~processing_utils.ProcessingMixin</code> from a Python dictionary of parameters.",js,E,Ie,Ls,Dt,Qa="Instantiate a processor associated with a pretrained model.",Xs,A,Zs,Y,Je,Es,Ht,Aa=`From a <code>pretrained_model_name_or_path</code>, resolve to a dictionary of parameters, to be used for instantiating a
processor of type <code>~processing_utils.ProcessingMixin</code> using <code>from_args_and_dict</code>.`,zs,O,qe,Vs,St,Ya="Post-process the output of a vlm to decode the text.",Ds,k,Ue,Hs,Bt,Oa=`Matches optional positional arguments to their corresponding names in <code>optional_call_args</code>
in the processor class in the order they are passed to the processor call.`,Ss,Nt,Ka=`Note that this should only be used in the <code>__call__</code> method of the processors with special
arguments. Special arguments are arguments that aren’t <code>text</code>, <code>images</code>, <code>audio</code>, nor <code>videos</code>
but also aren’t passed to the tokenizer, image processor, etc. Examples of such processors are:`,Bs,Ft,eo="<li><code>CLIPSegProcessor</code></li> <li><code>LayoutLMv2Processor</code></li> <li><code>OwlViTProcessor</code></li>",Ns,Gt,to=`Also note that passing by position to the processor call is now deprecated and will be disallowed
in future versions. We only have this for backward compatibility.`,Fs,Wt,ro=`Example:
Suppose that the processor class has <code>optional_call_args = [&quot;arg_name_1&quot;, &quot;arg_name_2&quot;]</code>.`,Gs,K,Ws,ee,Rs,te,Qs,As,z,je,Ys,Rt,so="Upload the processor files to the 🤗 Model Hub.",Os,re,Ks,V,Le,ea,Qt,ao=`Register this class with a given auto class. This should only be used for custom feature extractors as the ones
in the library are already mapped with <code>AutoProcessor</code>.`,ta,se,ra,D,Xe,sa,At,oo=`Saves the attributes of this processor (feature extractor, tokenizer…) in the specified directory so that it
can be reloaded using the <a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.ProcessorMixin.from_pretrained">from_pretrained()</a> method.`,aa,ae,oa,oe,Ze,na,Yt,no="Serializes this instance to a Python dictionary.",la,ne,Ee,ia,Ot,lo="Save this instance to a JSON file.",da,le,ze,ca,Kt,io="Serializes this instance to a JSON string.",Ir,Ve,Jr,De,co=`All processors follow the same architecture which is that of the
<a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.DataProcessor">DataProcessor</a>. The processor returns a list of
<a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a>. These
<a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a> can be converted to
<a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputFeatures">InputFeatures</a> in order to be fed to the model.`,qr,J,He,pa,er,po="Base class for data converters for sequence classification data sets.",ma,ie,Se,fa,tr,mo='Gets a collection of <a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a> for the dev set.',ua,de,Be,ha,rr,fo="Gets an example from a dict with tensorflow tensors.",ga,ce,Ne,_a,sr,uo="Gets the list of labels for this data set.",xa,pe,Fe,va,ar,ho='Gets a collection of <a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a> for the test set.',ba,me,Ge,$a,or,go='Gets a collection of <a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a> for the train set.',ya,fe,We,Ma,nr,_o=`Some tensorflow_datasets datasets are not formatted the same way the GLUE datasets are. This method converts
examples to the correct format.`,Ur,L,Re,wa,lr,xo="A single training/test example for simple sequence classification.",Ta,ue,Qe,Ca,ir,vo="Serializes this instance to a JSON string.",jr,X,Ae,Pa,dr,bo="A single set of features of data. Property names are the same names as the corresponding inputs to a model.",ka,he,Ye,Ia,cr,$o="Serializes this instance to a JSON string.",Lr,Oe,Xr,Ke,yo=`<a href="https://gluebenchmark.com/" rel="nofollow">General Language Understanding Evaluation (GLUE)</a> is a benchmark that evaluates the
performance of models across a diverse set of existing NLU tasks. It was released together with the paper <a href="https://openreview.net/pdf?id=rJ4km2R5t7" rel="nofollow">GLUE: A
multi-task benchmark and analysis platform for natural language understanding</a>`,Zr,et,Mo=`This library hosts a total of 10 processors for the following tasks: MRPC, MNLI, MNLI (mismatched), CoLA, SST2, STSB,
QQP, QNLI, RTE and WNLI.`,Er,tt,wo="Those processors are:",zr,rt,To="<li><code>~data.processors.utils.MrpcProcessor</code></li> <li><code>~data.processors.utils.MnliProcessor</code></li> <li><code>~data.processors.utils.MnliMismatchedProcessor</code></li> <li><code>~data.processors.utils.Sst2Processor</code></li> <li><code>~data.processors.utils.StsbProcessor</code></li> <li><code>~data.processors.utils.QqpProcessor</code></li> <li><code>~data.processors.utils.QnliProcessor</code></li> <li><code>~data.processors.utils.RteProcessor</code></li> <li><code>~data.processors.utils.WnliProcessor</code></li>",Vr,st,Co=`Additionally, the following method can be used to load values from a data file and convert them to a list of
<a href="/docs/transformers/pr_30530/en/main_classes/processors#transformers.InputExample">InputExample</a>.`,Dr,B,at,Ja,pr,Po="Loads a data file into a list of <code>InputFeatures</code>",Hr,ot,Sr,nt,ko=`<a href="https://www.nyu.edu/projects/bowman/xnli/" rel="nofollow">The Cross-Lingual NLI Corpus (XNLI)</a> is a benchmark that evaluates the
quality of cross-lingual text representations. XNLI is crowd-sourced dataset based on <a href="http://www.nyu.edu/projects/bowman/multinli/" rel="nofollow"><em>MultiNLI</em></a>: pairs of text are labeled with textual entailment annotations for 15
different languages (including both high-resource language such as English and low-resource languages such as Swahili).`,Br,lt,Io='It was released together with the paper <a href="https://arxiv.org/abs/1809.05053" rel="nofollow">XNLI: Evaluating Cross-lingual Sentence Representations</a>',Nr,it,Jo="This library hosts the processor to load the XNLI data:",Fr,dt,qo="<li><code>~data.processors.utils.XnliProcessor</code></li>",Gr,ct,Uo="Please note that since the gold labels are available on the test set, evaluation is performed on the test set.",Wr,pt,jo='An example using these processors is given in the <a href="https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification/run_xnli.py" rel="nofollow">run_xnli.py</a> script.',Rr,mt,Qr,ft,Lo=`<a href="https://rajpurkar.github.io/SQuAD-explorer//" rel="nofollow">The Stanford Question Answering Dataset (SQuAD)</a> is a benchmark that
evaluates the performance of models on question answering. Two versions are available, v1.1 and v2.0. The first version
(v1.1) was released together with the paper <a href="https://arxiv.org/abs/1606.05250" rel="nofollow">SQuAD: 100,000+ Questions for Machine Comprehension of Text</a>. The second version (v2.0) was released alongside the paper <a href="https://arxiv.org/abs/1806.03822" rel="nofollow">Know What You Don’t
Know: Unanswerable Questions for SQuAD</a>.`,Ar,ut,Xo="This library hosts a processor for each of the two versions:",Yr,ht,Or,gt,Zo="Those processors are:",Kr,_t,Eo="<li><code>~data.processors.utils.SquadV1Processor</code></li> <li><code>~data.processors.utils.SquadV2Processor</code></li>",es,xt,zo="They both inherit from the abstract class <code>~data.processors.utils.SquadProcessor</code>",ts,j,vt,qa,mr,Vo=`Processor for the SQuAD data set. overridden by SquadV1Processor and SquadV2Processor, used by the version 1.1 and
version 2.0 of SQuAD, respectively.`,Ua,ge,bt,ja,fr,Do="Returns the evaluation example from the data directory.",La,H,$t,Xa,ur,Ho="Creates a list of <code>SquadExample</code> using a TFDS dataset.",Za,_e,Ea,xe,yt,za,hr,So="Returns the training examples from the data directory.",rs,Mt,Bo=`Additionally, the following method can be used to convert SQuAD examples into
<code>~data.processors.utils.SquadFeatures</code> that can be used as model inputs.`,ss,Z,wt,Va,gr,No=`Converts a list of examples into a list of features that can be directly given as input to a model. It is
model-dependant and takes advantage of many of the tokenizer’s features to create the model’s inputs.`,Da,ve,as,Tt,Fo=`These processors as well as the aforementioned method can be used with files containing the data as well as with the
<em>tensorflow_datasets</em> package. Examples are given below.`,os,Ct,ns,Pt,Go="Here is an example using the processors as well as the conversion method using data files:",ls,kt,is,It,Wo="Using <em>tensorflow_datasets</em> is as easy as using a data file:",ds,Jt,cs,qt,Ro='Another example using these processors is given in the <a href="https://github.com/huggingface/transformers/tree/main/examples/legacy/question-answering/run_squad.py" rel="nofollow">run_squad.py</a> script.',ps,Ut,ms,Mr,fs;return b=new be({props:{title:"Processors",local:"processors",headingTag:"h1"}}),Me=new be({props:{title:"Multi-modal processors",local:"transformers.ProcessorMixin",headingTag:"h2"}}),Ce=new P({props:{name:"class transformers.ProcessorMixin",anchor:"transformers.ProcessorMixin",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L340"}}),Pe=new P({props:{name:"apply_chat_template",anchor:"transformers.ProcessorMixin.apply_chat_template",parameters:[{name:"conversation",val:": typing.List[typing.Dict[str, str]]"},{name:"chat_template",val:": typing.Optional[str] = None"},{name:"tokenize",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.apply_chat_template.conversation",description:`<strong>conversation</strong> (<code>List[Dict, str, str]</code>) &#x2014;
The conversation to format.`,name:"conversation"},{anchor:"transformers.ProcessorMixin.apply_chat_template.chat_template",description:`<strong>chat_template</strong> (<code>Optional[str]</code>, <em>optional</em>) &#x2014;
The Jinja template to use for formatting the conversation. If not provided, the tokenizer&#x2019;s
chat template is used.`,name:"chat_template"},{anchor:"transformers.ProcessorMixin.apply_chat_template.tokenize",description:`<strong>tokenize</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to tokenize the output or not.`,name:"tokenize"},{anchor:"transformers.ProcessorMixin.apply_chat_template.*kwargs",description:`*<strong>*kwargs</strong> &#x2014;
Additional keyword arguments`,name:"*kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L1074"}}),ke=new P({props:{name:"from_args_and_dict",anchor:"transformers.ProcessorMixin.from_args_and_dict",parameters:[{name:"args",val:""},{name:"processor_dict",val:": typing.Dict[str, typing.Any]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.from_args_and_dict.processor_dict",description:`<strong>processor_dict</strong> (<code>Dict[str, Any]</code>) &#x2014;
Dictionary that will be used to instantiate the processor object. Such a dictionary can be
retrieved from a pretrained checkpoint by leveraging the
<code>~processing_utils.ProcessingMixin.to_dict</code> method.`,name:"processor_dict"},{anchor:"transformers.ProcessorMixin.from_args_and_dict.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>) &#x2014;
Additional parameters from which to initialize the processor object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L715",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The processor object instantiated from those
parameters.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~processing_utils.ProcessingMixin</code></p>
`}}),Ie=new P({props:{name:"from_pretrained",anchor:"transformers.ProcessorMixin.from_pretrained",parameters:[{name:"pretrained_model_name_or_path",val:": typing.Union[str, os.PathLike]"},{name:"cache_dir",val:": typing.Union[str, os.PathLike, NoneType] = None"},{name:"force_download",val:": bool = False"},{name:"local_files_only",val:": bool = False"},{name:"token",val:": typing.Union[str, bool, NoneType] = None"},{name:"revision",val:": str = 'main'"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.from_pretrained.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
This can be either:</p>
<ul>
<li>a string, the <em>model id</em> of a pretrained feature_extractor hosted inside a model repo on
huggingface.co.</li>
<li>a path to a <em>directory</em> containing a feature extractor file saved using the
<a href="/docs/transformers/pr_30530/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.save_pretrained">save_pretrained()</a> method, e.g., <code>./my_model_directory/</code>.</li>
<li>a path or url to a saved feature extractor JSON <em>file</em>, e.g.,
<code>./my_model_directory/preprocessor_config.json</code>.</li>
</ul>`,name:"pretrained_model_name_or_path"},{anchor:"transformers.ProcessorMixin.from_pretrained.*kwargs",description:`*<strong>*kwargs</strong> &#x2014;
Additional keyword arguments passed along to both
<a href="/docs/transformers/pr_30530/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a> and
<code>~tokenization_utils_base.PreTrainedTokenizer.from_pretrained</code>.`,name:"*kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L890"}}),A=new Ha({props:{$$slots:{default:[sn]},$$scope:{ctx:q}}}),Je=new P({props:{name:"get_processor_dict",anchor:"transformers.ProcessorMixin.get_processor_dict",parameters:[{name:"pretrained_model_name_or_path",val:": typing.Union[str, os.PathLike]"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.get_processor_dict.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
The identifier of the pre-trained checkpoint from which we want the dictionary of parameters.`,name:"pretrained_model_name_or_path"},{anchor:"transformers.ProcessorMixin.get_processor_dict.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;&quot;</code>) &#x2014;
In case the relevant files are located inside a subfolder of the model repo on huggingface.co, you can
specify the folder name here.`,name:"subfolder"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L562",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The dictionary(ies) that will be used to instantiate the processor object.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Tuple[Dict, Dict]</code></p>
`}}),qe=new P({props:{name:"post_process_image_text_to_text",anchor:"transformers.ProcessorMixin.post_process_image_text_to_text",parameters:[{name:"generated_outputs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.post_process_image_text_to_text.generated_outputs",description:`<strong>generated_outputs</strong> (<code>torch.Tensor</code> or <code>np.ndarray</code>) &#x2014;
The output of the model <code>generate</code> function. The output is expected to be a tensor of shape <code>(batch_size, sequence_length)</code>
or <code>(sequence_length,)</code>.`,name:"generated_outputs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L1110",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>List[str]</code></p>
`}}),Ue=new P({props:{name:"prepare_and_validate_optional_call_args",anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args",parameters:[{name:"*args",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L1016"}}),K=new yr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example",$$slots:{default:[an]},$$scope:{ctx:q}}}),ee=new yr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example-2",$$slots:{default:[on]},$$scope:{ctx:q}}}),te=new yr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example-3",$$slots:{default:[nn]},$$scope:{ctx:q}}}),je=new P({props:{name:"push_to_hub",anchor:"transformers.ProcessorMixin.push_to_hub",parameters:[{name:"repo_id",val:": str"},{name:"use_temp_dir",val:": typing.Optional[bool] = None"},{name:"commit_message",val:": typing.Optional[str] = None"},{name:"private",val:": typing.Optional[bool] = None"},{name:"token",val:": typing.Union[bool, str, NoneType] = None"},{name:"max_shard_size",val:": typing.Union[int, str, NoneType] = '5GB'"},{name:"create_pr",val:": bool = False"},{name:"safe_serialization",val:": bool = True"},{name:"revision",val:": str = None"},{name:"commit_description",val:": str = None"},{name:"tags",val:": typing.Optional[typing.List[str]] = None"},{name:"**deprecated_kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.push_to_hub.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The name of the repository you want to push your processor to. It should contain your organization name
when pushing to a given organization.`,name:"repo_id"},{anchor:"transformers.ProcessorMixin.push_to_hub.use_temp_dir",description:`<strong>use_temp_dir</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not to use a temporary directory to store the files saved before they are pushed to the Hub.
Will default to <code>True</code> if there is no directory named like <code>repo_id</code>, <code>False</code> otherwise.`,name:"use_temp_dir"},{anchor:"transformers.ProcessorMixin.push_to_hub.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Message to commit while pushing. Will default to <code>&quot;Upload processor&quot;</code>.`,name:"commit_message"},{anchor:"transformers.ProcessorMixin.push_to_hub.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether or not the repository created should be private.`,name:"private"},{anchor:"transformers.ProcessorMixin.push_to_hub.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, will use the token generated
when running <code>huggingface-cli login</code> (stored in <code>~/.huggingface</code>). Will default to <code>True</code> if <code>repo_url</code>
is not specified.`,name:"token"},{anchor:"transformers.ProcessorMixin.push_to_hub.max_shard_size",description:`<strong>max_shard_size</strong> (<code>int</code> or <code>str</code>, <em>optional</em>, defaults to <code>&quot;5GB&quot;</code>) &#x2014;
Only applicable for models. The maximum size for a checkpoint before being sharded. Checkpoints shard
will then be each of size lower than this size. If expressed as a string, needs to be digits followed
by a unit (like <code>&quot;5MB&quot;</code>). We default it to <code>&quot;5GB&quot;</code> so that users can easily load models on free-tier
Google Colab instances without any CPU OOM issues.`,name:"max_shard_size"},{anchor:"transformers.ProcessorMixin.push_to_hub.create_pr",description:`<strong>create_pr</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to create a PR with the uploaded files or directly commit.`,name:"create_pr"},{anchor:"transformers.ProcessorMixin.push_to_hub.safe_serialization",description:`<strong>safe_serialization</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to convert the model weights in safetensors format for safer serialization.`,name:"safe_serialization"},{anchor:"transformers.ProcessorMixin.push_to_hub.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Branch to push the uploaded files to.`,name:"revision"},{anchor:"transformers.ProcessorMixin.push_to_hub.commit_description",description:`<strong>commit_description</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The description of the commit that will be created`,name:"commit_description"},{anchor:"transformers.ProcessorMixin.push_to_hub.tags",description:`<strong>tags</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
List of tags to push on the Hub.`,name:"tags"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/hub.py#L828"}}),re=new yr({props:{anchor:"transformers.ProcessorMixin.push_to_hub.example",$$slots:{default:[ln]},$$scope:{ctx:q}}}),Le=new P({props:{name:"register_for_auto_class",anchor:"transformers.ProcessorMixin.register_for_auto_class",parameters:[{name:"auto_class",val:" = 'AutoProcessor'"}],parametersDescription:[{anchor:"transformers.ProcessorMixin.register_for_auto_class.auto_class",description:`<strong>auto_class</strong> (<code>str</code> or <code>type</code>, <em>optional</em>, defaults to <code>&quot;AutoProcessor&quot;</code>) &#x2014;
The auto class to register this new feature extractor with.`,name:"auto_class"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L954"}}),se=new Ha({props:{warning:!0,$$slots:{default:[dn]},$$scope:{ctx:q}}}),Xe=new P({props:{name:"save_pretrained",anchor:"transformers.ProcessorMixin.save_pretrained",parameters:[{name:"save_directory",val:""},{name:"push_to_hub",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.ProcessorMixin.save_pretrained.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory where the feature extractor JSON file and the tokenizer files will be saved (directory will
be created if it does not exist).`,name:"save_directory"},{anchor:"transformers.ProcessorMixin.save_pretrained.push_to_hub",description:`<strong>push_to_hub</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to push your model to the Hugging Face model hub after saving it. You can specify the
repository you want to push to with <code>repo_id</code> (will default to the name of <code>save_directory</code> in your
namespace).`,name:"push_to_hub"},{anchor:"transformers.ProcessorMixin.save_pretrained.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional key word arguments passed along to the <a href="/docs/transformers/pr_30530/en/main_classes/model#transformers.utils.PushToHubMixin.push_to_hub">push_to_hub()</a> method.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L460"}}),ae=new Ha({props:{$$slots:{default:[cn]},$$scope:{ctx:q}}}),Ze=new P({props:{name:"to_dict",anchor:"transformers.ProcessorMixin.to_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L393",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Dictionary of all the attributes that make up this processor instance.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Dict[str, Any]</code></p>
`}}),Ee=new P({props:{name:"to_json_file",anchor:"transformers.ProcessorMixin.to_json_file",parameters:[{name:"json_file_path",val:": typing.Union[str, os.PathLike]"}],parametersDescription:[{anchor:"transformers.ProcessorMixin.to_json_file.json_file_path",description:`<strong>json_file_path</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Path to the JSON file in which this processor instance&#x2019;s parameters will be saved.`,name:"json_file_path"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L444"}}),ze=new P({props:{name:"to_json_string",anchor:"transformers.ProcessorMixin.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/processing_utils.py#L433",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>String containing all the attributes that make up this feature_extractor instance in JSON format.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`}}),Ve=new be({props:{title:"Deprecated processors",local:"transformers.DataProcessor",headingTag:"h2"}}),He=new P({props:{name:"class transformers.DataProcessor",anchor:"transformers.DataProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L80"}}),Se=new P({props:{name:"get_dev_examples",anchor:"transformers.DataProcessor.get_dev_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L97"}}),Be=new P({props:{name:"get_example_from_tensor_dict",anchor:"transformers.DataProcessor.get_example_from_tensor_dict",parameters:[{name:"tensor_dict",val:""}],parametersDescription:[{anchor:"transformers.DataProcessor.get_example_from_tensor_dict.tensor_dict",description:`<strong>tensor_dict</strong> &#x2014; Keys and values should match the corresponding Glue
tensorflow_dataset examples.`,name:"tensor_dict"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L83"}}),Ne=new P({props:{name:"get_labels",anchor:"transformers.DataProcessor.get_labels",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L105"}}),Fe=new P({props:{name:"get_test_examples",anchor:"transformers.DataProcessor.get_test_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L101"}}),Ge=new P({props:{name:"get_train_examples",anchor:"transformers.DataProcessor.get_train_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L93"}}),We=new P({props:{name:"tfds_map",anchor:"transformers.DataProcessor.tfds_map",parameters:[{name:"example",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L109"}}),Re=new P({props:{name:"class transformers.InputExample",anchor:"transformers.InputExample",parameters:[{name:"guid",val:": str"},{name:"text_a",val:": str"},{name:"text_b",val:": typing.Optional[str] = None"},{name:"label",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"transformers.InputExample.guid",description:"<strong>guid</strong> &#x2014; Unique id for the example.",name:"guid"},{anchor:"transformers.InputExample.text_a",description:`<strong>text_a</strong> &#x2014; string. The untokenized text of the first sequence. For single
sequence tasks, only this sequence must be specified.`,name:"text_a"},{anchor:"transformers.InputExample.text_b",description:`<strong>text_b</strong> &#x2014; (Optional) string. The untokenized text of the second sequence.
Only must be specified for sequence pair tasks.`,name:"text_b"},{anchor:"transformers.InputExample.label",description:`<strong>label</strong> &#x2014; (Optional) string. The label of the example. This should be
specified for train and dev examples, but not for test examples.`,name:"label"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L29"}}),Qe=new P({props:{name:"to_json_string",anchor:"transformers.InputExample.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L49"}}),Ae=new P({props:{name:"class transformers.InputFeatures",anchor:"transformers.InputFeatures",parameters:[{name:"input_ids",val:": typing.List[int]"},{name:"attention_mask",val:": typing.Optional[typing.List[int]] = None"},{name:"token_type_ids",val:": typing.Optional[typing.List[int]] = None"},{name:"label",val:": typing.Union[int, float, NoneType] = None"}],parametersDescription:[{anchor:"transformers.InputFeatures.input_ids",description:"<strong>input_ids</strong> &#x2014; Indices of input sequence tokens in the vocabulary.",name:"input_ids"},{anchor:"transformers.InputFeatures.attention_mask",description:`<strong>attention_mask</strong> &#x2014; Mask to avoid performing attention on padding token indices.
Mask values selected in <code>[0, 1]</code>: Usually <code>1</code> for tokens that are NOT MASKED, <code>0</code> for MASKED (padded)
tokens.`,name:"attention_mask"},{anchor:"transformers.InputFeatures.token_type_ids",description:`<strong>token_type_ids</strong> &#x2014; (Optional) Segment token indices to indicate first and second
portions of the inputs. Only some models use them.`,name:"token_type_ids"},{anchor:"transformers.InputFeatures.label",description:`<strong>label</strong> &#x2014; (Optional) Label corresponding to the input. Int for classification problems,
float for regression problems.`,name:"label"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L54"}}),Ye=new P({props:{name:"to_json_string",anchor:"transformers.InputFeatures.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/utils.py#L75"}}),Oe=new be({props:{title:"GLUE",local:"transformers.glue_convert_examples_to_features",headingTag:"h2"}}),at=new P({props:{name:"transformers.glue_convert_examples_to_features",anchor:"transformers.glue_convert_examples_to_features",parameters:[{name:"examples",val:": typing.Union[typing.List[transformers.data.processors.utils.InputExample], ForwardRef('tf.data.Dataset')]"},{name:"tokenizer",val:": PreTrainedTokenizer"},{name:"max_length",val:": typing.Optional[int] = None"},{name:"task",val:" = None"},{name:"label_list",val:" = None"},{name:"output_mode",val:" = None"}],parametersDescription:[{anchor:"transformers.glue_convert_examples_to_features.examples",description:"<strong>examples</strong> &#x2014; List of <code>InputExamples</code> or <code>tf.data.Dataset</code> containing the examples.",name:"examples"},{anchor:"transformers.glue_convert_examples_to_features.tokenizer",description:"<strong>tokenizer</strong> &#x2014; Instance of a tokenizer that will tokenize the examples",name:"tokenizer"},{anchor:"transformers.glue_convert_examples_to_features.max_length",description:"<strong>max_length</strong> &#x2014; Maximum example length. Defaults to the tokenizer&#x2019;s max_len",name:"max_length"},{anchor:"transformers.glue_convert_examples_to_features.task",description:"<strong>task</strong> &#x2014; GLUE task",name:"task"},{anchor:"transformers.glue_convert_examples_to_features.label_list",description:"<strong>label_list</strong> &#x2014; List of labels. Can be obtained from the processor using the <code>processor.get_labels()</code> method",name:"label_list"},{anchor:"transformers.glue_convert_examples_to_features.output_mode",description:"<strong>output_mode</strong> &#x2014; String indicating the output mode. Either <code>regression</code> or <code>classification</code>",name:"output_mode"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/glue.py#L41",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If the <code>examples</code> input is a <code>tf.data.Dataset</code>, will return a <code>tf.data.Dataset</code> containing the task-specific
features. If the input is a list of <code>InputExamples</code>, will return a list of task-specific <code>InputFeatures</code> which
can be fed to the model.</p>
`}}),ot=new be({props:{title:"XNLI",local:"xnli",headingTag:"h2"}}),mt=new be({props:{title:"SQuAD",local:"squad",headingTag:"h2"}}),ht=new be({props:{title:"Processors",local:"transformers.data.processors.squad.SquadProcessor",headingTag:"h3"}}),vt=new P({props:{name:"class transformers.data.processors.squad.SquadProcessor",anchor:"transformers.data.processors.squad.SquadProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/squad.py#L541"}}),bt=new P({props:{name:"get_dev_examples",anchor:"transformers.data.processors.squad.SquadProcessor.get_dev_examples",parameters:[{name:"data_dir",val:""},{name:"filename",val:" = None"}],parametersDescription:[{anchor:"transformers.data.processors.squad.SquadProcessor.get_dev_examples.data_dir",description:"<strong>data_dir</strong> &#x2014; Directory containing the data files used for training and evaluating.",name:"data_dir"},{anchor:"transformers.data.processors.squad.SquadProcessor.get_dev_examples.filename",description:`<strong>filename</strong> &#x2014; None by default, specify this if the evaluation file has a different name than the original one
which is <code>dev-v1.1.json</code> and <code>dev-v2.0.json</code> for squad versions 1.1 and 2.0 respectively.`,name:"filename"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/squad.py#L629"}}),$t=new P({props:{name:"get_examples_from_dataset",anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset",parameters:[{name:"dataset",val:""},{name:"evaluate",val:" = False"}],parametersDescription:[{anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset.dataset",description:"<strong>dataset</strong> &#x2014; The tfds dataset loaded from <em>tensorflow_datasets.load(&#x201C;squad&#x201D;)</em>",name:"dataset"},{anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset.evaluate",description:"<strong>evaluate</strong> &#x2014; Boolean specifying if in evaluation mode or in training mode",name:"evaluate"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/squad.py#L574",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List of SquadExample</p>
`}}),_e=new yr({props:{anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset.example",$$slots:{default:[pn]},$$scope:{ctx:q}}}),yt=new P({props:{name:"get_train_examples",anchor:"transformers.data.processors.squad.SquadProcessor.get_train_examples",parameters:[{name:"data_dir",val:""},{name:"filename",val:" = None"}],parametersDescription:[{anchor:"transformers.data.processors.squad.SquadProcessor.get_train_examples.data_dir",description:"<strong>data_dir</strong> &#x2014; Directory containing the data files used for training and evaluating.",name:"data_dir"},{anchor:"transformers.data.processors.squad.SquadProcessor.get_train_examples.filename",description:`<strong>filename</strong> &#x2014; None by default, specify this if the training file has a different name than the original one
which is <code>train-v1.1.json</code> and <code>train-v2.0.json</code> for squad versions 1.1 and 2.0 respectively.`,name:"filename"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/squad.py#L607"}}),wt=new P({props:{name:"transformers.squad_convert_examples_to_features",anchor:"transformers.squad_convert_examples_to_features",parameters:[{name:"examples",val:""},{name:"tokenizer",val:""},{name:"max_seq_length",val:""},{name:"doc_stride",val:""},{name:"max_query_length",val:""},{name:"is_training",val:""},{name:"padding_strategy",val:" = 'max_length'"},{name:"return_dataset",val:" = False"},{name:"threads",val:" = 1"},{name:"tqdm_enabled",val:" = True"}],parametersDescription:[{anchor:"transformers.squad_convert_examples_to_features.examples",description:"<strong>examples</strong> &#x2014; list of <code>SquadExample</code>",name:"examples"},{anchor:"transformers.squad_convert_examples_to_features.tokenizer",description:'<strong>tokenizer</strong> &#x2014; an instance of a child of <a href="/docs/transformers/pr_30530/en/main_classes/tokenizer#transformers.PreTrainedTokenizer">PreTrainedTokenizer</a>',name:"tokenizer"},{anchor:"transformers.squad_convert_examples_to_features.max_seq_length",description:"<strong>max_seq_length</strong> &#x2014; The maximum sequence length of the inputs.",name:"max_seq_length"},{anchor:"transformers.squad_convert_examples_to_features.doc_stride",description:"<strong>doc_stride</strong> &#x2014; The stride used when the context is too large and is split across several features.",name:"doc_stride"},{anchor:"transformers.squad_convert_examples_to_features.max_query_length",description:"<strong>max_query_length</strong> &#x2014; The maximum length of the query.",name:"max_query_length"},{anchor:"transformers.squad_convert_examples_to_features.is_training",description:"<strong>is_training</strong> &#x2014; whether to create features for model evaluation or model training.",name:"is_training"},{anchor:"transformers.squad_convert_examples_to_features.padding_strategy",description:"<strong>padding_strategy</strong> &#x2014; Default to &#x201C;max_length&#x201D;. Which padding strategy to use",name:"padding_strategy"},{anchor:"transformers.squad_convert_examples_to_features.return_dataset",description:`<strong>return_dataset</strong> &#x2014; Default False. Either &#x2018;pt&#x2019; or &#x2018;tf&#x2019;.
if &#x2018;pt&#x2019;: returns a torch.data.TensorDataset, if &#x2018;tf&#x2019;: returns a tf.data.Dataset`,name:"return_dataset"},{anchor:"transformers.squad_convert_examples_to_features.threads",description:"<strong>threads</strong> &#x2014; multiple processing threads.",name:"threads"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/data/processors/squad.py#L316",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>list of <code>SquadFeatures</code></p>
`}}),ve=new yr({props:{anchor:"transformers.squad_convert_examples_to_features.example",$$slots:{default:[mn]},$$scope:{ctx:q}}}),Ct=new be({props:{title:"Example usage",local:"example-usage",headingTag:"h3"}}),kt=new $e({props:{code:"JTIzJTIwTG9hZGluZyUyMGElMjBWMiUyMHByb2Nlc3NvciUwQXByb2Nlc3NvciUyMCUzRCUyMFNxdWFkVjJQcm9jZXNzb3IoKSUwQWV4YW1wbGVzJTIwJTNEJTIwcHJvY2Vzc29yLmdldF9kZXZfZXhhbXBsZXMoc3F1YWRfdjJfZGF0YV9kaXIpJTBBJTBBJTIzJTIwTG9hZGluZyUyMGElMjBWMSUyMHByb2Nlc3NvciUwQXByb2Nlc3NvciUyMCUzRCUyMFNxdWFkVjFQcm9jZXNzb3IoKSUwQWV4YW1wbGVzJTIwJTNEJTIwcHJvY2Vzc29yLmdldF9kZXZfZXhhbXBsZXMoc3F1YWRfdjFfZGF0YV9kaXIpJTBBJTBBZmVhdHVyZXMlMjAlM0QlMjBzcXVhZF9jb252ZXJ0X2V4YW1wbGVzX3RvX2ZlYXR1cmVzKCUwQSUyMCUyMCUyMCUyMGV4YW1wbGVzJTNEZXhhbXBsZXMlMkMlMEElMjAlMjAlMjAlMjB0b2tlbml6ZXIlM0R0b2tlbml6ZXIlMkMlMEElMjAlMjAlMjAlMjBtYXhfc2VxX2xlbmd0aCUzRG1heF9zZXFfbGVuZ3RoJTJDJTBBJTIwJTIwJTIwJTIwZG9jX3N0cmlkZSUzRGFyZ3MuZG9jX3N0cmlkZSUyQyUwQSUyMCUyMCUyMCUyMG1heF9xdWVyeV9sZW5ndGglM0RtYXhfcXVlcnlfbGVuZ3RoJTJDJTBBJTIwJTIwJTIwJTIwaXNfdHJhaW5pbmclM0Rub3QlMjBldmFsdWF0ZSUyQyUwQSk=",highlighted:`<span class="hljs-comment"># Loading a V2 processor</span>
processor = SquadV2Processor()
examples = processor.get_dev_examples(squad_v2_data_dir)

<span class="hljs-comment"># Loading a V1 processor</span>
processor = SquadV1Processor()
examples = processor.get_dev_examples(squad_v1_data_dir)

features = squad_convert_examples_to_features(
    examples=examples,
    tokenizer=tokenizer,
    max_seq_length=max_seq_length,
    doc_stride=args.doc_stride,
    max_query_length=max_query_length,
    is_training=<span class="hljs-keyword">not</span> evaluate,
)`,wrap:!1}}),Jt=new $e({props:{code:"JTIzJTIwdGVuc29yZmxvd19kYXRhc2V0cyUyMG9ubHklMjBoYW5kbGUlMjBTcXVhZCUyMFYxLiUwQXRmZHNfZXhhbXBsZXMlMjAlM0QlMjB0ZmRzLmxvYWQoJTIyc3F1YWQlMjIpJTBBZXhhbXBsZXMlMjAlM0QlMjBTcXVhZFYxUHJvY2Vzc29yKCkuZ2V0X2V4YW1wbGVzX2Zyb21fZGF0YXNldCh0ZmRzX2V4YW1wbGVzJTJDJTIwZXZhbHVhdGUlM0RldmFsdWF0ZSklMEElMEFmZWF0dXJlcyUyMCUzRCUyMHNxdWFkX2NvbnZlcnRfZXhhbXBsZXNfdG9fZmVhdHVyZXMoJTBBJTIwJTIwJTIwJTIwZXhhbXBsZXMlM0RleGFtcGxlcyUyQyUwQSUyMCUyMCUyMCUyMHRva2VuaXplciUzRHRva2VuaXplciUyQyUwQSUyMCUyMCUyMCUyMG1heF9zZXFfbGVuZ3RoJTNEbWF4X3NlcV9sZW5ndGglMkMlMEElMjAlMjAlMjAlMjBkb2Nfc3RyaWRlJTNEYXJncy5kb2Nfc3RyaWRlJTJDJTBBJTIwJTIwJTIwJTIwbWF4X3F1ZXJ5X2xlbmd0aCUzRG1heF9xdWVyeV9sZW5ndGglMkMlMEElMjAlMjAlMjAlMjBpc190cmFpbmluZyUzRG5vdCUyMGV2YWx1YXRlJTJDJTBBKQ==",highlighted:`<span class="hljs-comment"># tensorflow_datasets only handle Squad V1.</span>
tfds_examples = tfds.load(<span class="hljs-string">&quot;squad&quot;</span>)
examples = SquadV1Processor().get_examples_from_dataset(tfds_examples, evaluate=evaluate)

features = squad_convert_examples_to_features(
    examples=examples,
    tokenizer=tokenizer,
    max_seq_length=max_seq_length,
    doc_stride=args.doc_stride,
    max_query_length=max_query_length,
    is_training=<span class="hljs-keyword">not</span> evaluate,
)`,wrap:!1}}),Ut=new rn({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/main_classes/processors.md"}}),{c(){c=n("meta"),w=s(),v=n("p"),m=s(),f(b.$$.fragment),d=s(),T=n("p"),T.textContent=Sa,wr=s(),ye=n("ul"),ye.innerHTML=Ba,Tr=s(),f(Me.$$.fragment),Cr=s(),we=n("p"),we.textContent=Na,Pr=s(),Te=n("p"),Te.textContent=Fa,kr=s(),$=n("div"),f(Ce.$$.fragment),ks=s(),Et=n("p"),Et.textContent=Ga,Is=s(),R=n("div"),f(Pe.$$.fragment),Js=s(),zt=n("p"),zt.innerHTML=Wa,qs=s(),Q=n("div"),f(ke.$$.fragment),Us=s(),Vt=n("p"),Vt.innerHTML=Ra,js=s(),E=n("div"),f(Ie.$$.fragment),Ls=s(),Dt=n("p"),Dt.textContent=Qa,Xs=s(),f(A.$$.fragment),Zs=s(),Y=n("div"),f(Je.$$.fragment),Es=s(),Ht=n("p"),Ht.innerHTML=Aa,zs=s(),O=n("div"),f(qe.$$.fragment),Vs=s(),St=n("p"),St.textContent=Ya,Ds=s(),k=n("div"),f(Ue.$$.fragment),Hs=s(),Bt=n("p"),Bt.innerHTML=Oa,Ss=s(),Nt=n("p"),Nt.innerHTML=Ka,Bs=s(),Ft=n("ul"),Ft.innerHTML=eo,Ns=s(),Gt=n("p"),Gt.textContent=to,Fs=s(),Wt=n("p"),Wt.innerHTML=ro,Gs=s(),f(K.$$.fragment),Ws=s(),f(ee.$$.fragment),Rs=s(),f(te.$$.fragment),Qs=Ko("\nwhich we could then pass as kwargs to `self._merge_kwargs`"),As=s(),z=n("div"),f(je.$$.fragment),Ys=s(),Rt=n("p"),Rt.textContent=so,Os=s(),f(re.$$.fragment),Ks=s(),V=n("div"),f(Le.$$.fragment),ea=s(),Qt=n("p"),Qt.innerHTML=ao,ta=s(),f(se.$$.fragment),ra=s(),D=n("div"),f(Xe.$$.fragment),sa=s(),At=n("p"),At.innerHTML=oo,aa=s(),f(ae.$$.fragment),oa=s(),oe=n("div"),f(Ze.$$.fragment),na=s(),Yt=n("p"),Yt.textContent=no,la=s(),ne=n("div"),f(Ee.$$.fragment),ia=s(),Ot=n("p"),Ot.textContent=lo,da=s(),le=n("div"),f(ze.$$.fragment),ca=s(),Kt=n("p"),Kt.textContent=io,Ir=s(),f(Ve.$$.fragment),Jr=s(),De=n("p"),De.innerHTML=co,qr=s(),J=n("div"),f(He.$$.fragment),pa=s(),er=n("p"),er.textContent=po,ma=s(),ie=n("div"),f(Se.$$.fragment),fa=s(),tr=n("p"),tr.innerHTML=mo,ua=s(),de=n("div"),f(Be.$$.fragment),ha=s(),rr=n("p"),rr.textContent=fo,ga=s(),ce=n("div"),f(Ne.$$.fragment),_a=s(),sr=n("p"),sr.textContent=uo,xa=s(),pe=n("div"),f(Fe.$$.fragment),va=s(),ar=n("p"),ar.innerHTML=ho,ba=s(),me=n("div"),f(Ge.$$.fragment),$a=s(),or=n("p"),or.innerHTML=go,ya=s(),fe=n("div"),f(We.$$.fragment),Ma=s(),nr=n("p"),nr.textContent=_o,Ur=s(),L=n("div"),f(Re.$$.fragment),wa=s(),lr=n("p"),lr.textContent=xo,Ta=s(),ue=n("div"),f(Qe.$$.fragment),Ca=s(),ir=n("p"),ir.textContent=vo,jr=s(),X=n("div"),f(Ae.$$.fragment),Pa=s(),dr=n("p"),dr.textContent=bo,ka=s(),he=n("div"),f(Ye.$$.fragment),Ia=s(),cr=n("p"),cr.textContent=$o,Lr=s(),f(Oe.$$.fragment),Xr=s(),Ke=n("p"),Ke.innerHTML=yo,Zr=s(),et=n("p"),et.textContent=Mo,Er=s(),tt=n("p"),tt.textContent=wo,zr=s(),rt=n("ul"),rt.innerHTML=To,Vr=s(),st=n("p"),st.innerHTML=Co,Dr=s(),B=n("div"),f(at.$$.fragment),Ja=s(),pr=n("p"),pr.innerHTML=Po,Hr=s(),f(ot.$$.fragment),Sr=s(),nt=n("p"),nt.innerHTML=ko,Br=s(),lt=n("p"),lt.innerHTML=Io,Nr=s(),it=n("p"),it.textContent=Jo,Fr=s(),dt=n("ul"),dt.innerHTML=qo,Gr=s(),ct=n("p"),ct.textContent=Uo,Wr=s(),pt=n("p"),pt.innerHTML=jo,Rr=s(),f(mt.$$.fragment),Qr=s(),ft=n("p"),ft.innerHTML=Lo,Ar=s(),ut=n("p"),ut.textContent=Xo,Yr=s(),f(ht.$$.fragment),Or=s(),gt=n("p"),gt.textContent=Zo,Kr=s(),_t=n("ul"),_t.innerHTML=Eo,es=s(),xt=n("p"),xt.innerHTML=zo,ts=s(),j=n("div"),f(vt.$$.fragment),qa=s(),mr=n("p"),mr.textContent=Vo,Ua=s(),ge=n("div"),f(bt.$$.fragment),ja=s(),fr=n("p"),fr.textContent=Do,La=s(),H=n("div"),f($t.$$.fragment),Xa=s(),ur=n("p"),ur.innerHTML=Ho,Za=s(),f(_e.$$.fragment),Ea=s(),xe=n("div"),f(yt.$$.fragment),za=s(),hr=n("p"),hr.textContent=So,rs=s(),Mt=n("p"),Mt.innerHTML=Bo,ss=s(),Z=n("div"),f(wt.$$.fragment),Va=s(),gr=n("p"),gr.textContent=No,Da=s(),f(ve.$$.fragment),as=s(),Tt=n("p"),Tt.innerHTML=Fo,os=s(),f(Ct.$$.fragment),ns=s(),Pt=n("p"),Pt.textContent=Go,ls=s(),f(kt.$$.fragment),is=s(),It=n("p"),It.innerHTML=Wo,ds=s(),f(Jt.$$.fragment),cs=s(),qt=n("p"),qt.innerHTML=Ro,ps=s(),f(Ut.$$.fragment),ms=s(),Mr=n("p"),this.h()},l(e){const o=en("svelte-u9bgzb",document.head);c=l(o,"META",{name:!0,content:!0}),o.forEach(t),w=a(e),v=l(e,"P",{}),y(v).forEach(t),m=a(e),u(b.$$.fragment,e),d=a(e),T=l(e,"P",{"data-svelte-h":!0}),p(T)!=="svelte-8nvl5z"&&(T.textContent=Sa),wr=a(e),ye=l(e,"UL",{"data-svelte-h":!0}),p(ye)!=="svelte-1r5mt3j"&&(ye.innerHTML=Ba),Tr=a(e),u(Me.$$.fragment,e),Cr=a(e),we=l(e,"P",{"data-svelte-h":!0}),p(we)!=="svelte-16hpp4n"&&(we.textContent=Na),Pr=a(e),Te=l(e,"P",{"data-svelte-h":!0}),p(Te)!=="svelte-x3ucqc"&&(Te.textContent=Fa),kr=a(e),$=l(e,"DIV",{class:!0});var C=y($);u(Ce.$$.fragment,C),ks=a(C),Et=l(C,"P",{"data-svelte-h":!0}),p(Et)!=="svelte-1s4wckx"&&(Et.textContent=Ga),Is=a(C),R=l(C,"DIV",{class:!0});var jt=y(R);u(Pe.$$.fragment,jt),Js=a(jt),zt=l(jt,"P",{"data-svelte-h":!0}),p(zt)!=="svelte-10dqwuv"&&(zt.innerHTML=Wa),jt.forEach(t),qs=a(C),Q=l(C,"DIV",{class:!0});var Lt=y(Q);u(ke.$$.fragment,Lt),Us=a(Lt),Vt=l(Lt,"P",{"data-svelte-h":!0}),p(Vt)!=="svelte-1i2d3vx"&&(Vt.innerHTML=Ra),Lt.forEach(t),js=a(C),E=l(C,"DIV",{class:!0});var N=y(E);u(Ie.$$.fragment,N),Ls=a(N),Dt=l(N,"P",{"data-svelte-h":!0}),p(Dt)!=="svelte-1cj8dcb"&&(Dt.textContent=Qa),Xs=a(N),u(A.$$.fragment,N),N.forEach(t),Zs=a(C),Y=l(C,"DIV",{class:!0});var Xt=y(Y);u(Je.$$.fragment,Xt),Es=a(Xt),Ht=l(Xt,"P",{"data-svelte-h":!0}),p(Ht)!=="svelte-hsvutq"&&(Ht.innerHTML=Aa),Xt.forEach(t),zs=a(C),O=l(C,"DIV",{class:!0});var Zt=y(O);u(qe.$$.fragment,Zt),Vs=a(Zt),St=l(Zt,"P",{"data-svelte-h":!0}),p(St)!=="svelte-13etpi4"&&(St.textContent=Ya),Zt.forEach(t),Ds=a(C),k=l(C,"DIV",{class:!0});var I=y(k);u(Ue.$$.fragment,I),Hs=a(I),Bt=l(I,"P",{"data-svelte-h":!0}),p(Bt)!=="svelte-1s01p9s"&&(Bt.innerHTML=Oa),Ss=a(I),Nt=l(I,"P",{"data-svelte-h":!0}),p(Nt)!=="svelte-14s9qj8"&&(Nt.innerHTML=Ka),Bs=a(I),Ft=l(I,"UL",{"data-svelte-h":!0}),p(Ft)!=="svelte-1wgd4o3"&&(Ft.innerHTML=eo),Ns=a(I),Gt=l(I,"P",{"data-svelte-h":!0}),p(Gt)!=="svelte-p5jl0d"&&(Gt.textContent=to),Fs=a(I),Wt=l(I,"P",{"data-svelte-h":!0}),p(Wt)!=="svelte-tdqt7p"&&(Wt.innerHTML=ro),Gs=a(I),u(K.$$.fragment,I),Ws=a(I),u(ee.$$.fragment,I),Rs=a(I),u(te.$$.fragment,I),Qs=tn(I,"\nwhich we could then pass as kwargs to `self._merge_kwargs`"),I.forEach(t),As=a(C),z=l(C,"DIV",{class:!0});var F=y(z);u(je.$$.fragment,F),Ys=a(F),Rt=l(F,"P",{"data-svelte-h":!0}),p(Rt)!=="svelte-1cwsjho"&&(Rt.textContent=so),Os=a(F),u(re.$$.fragment,F),F.forEach(t),Ks=a(C),V=l(C,"DIV",{class:!0});var G=y(V);u(Le.$$.fragment,G),ea=a(G),Qt=l(G,"P",{"data-svelte-h":!0}),p(Qt)!=="svelte-hhsvto"&&(Qt.innerHTML=ao),ta=a(G),u(se.$$.fragment,G),G.forEach(t),ra=a(C),D=l(C,"DIV",{class:!0});var _r=y(D);u(Xe.$$.fragment,_r),sa=a(_r),At=l(_r,"P",{"data-svelte-h":!0}),p(At)!=="svelte-cm80vy"&&(At.innerHTML=oo),aa=a(_r),u(ae.$$.fragment,_r),_r.forEach(t),oa=a(C),oe=l(C,"DIV",{class:!0});var us=y(oe);u(Ze.$$.fragment,us),na=a(us),Yt=l(us,"P",{"data-svelte-h":!0}),p(Yt)!=="svelte-1ww3wqq"&&(Yt.textContent=no),us.forEach(t),la=a(C),ne=l(C,"DIV",{class:!0});var hs=y(ne);u(Ee.$$.fragment,hs),ia=a(hs),Ot=l(hs,"P",{"data-svelte-h":!0}),p(Ot)!=="svelte-1g70y32"&&(Ot.textContent=lo),hs.forEach(t),da=a(C),le=l(C,"DIV",{class:!0});var gs=y(le);u(ze.$$.fragment,gs),ca=a(gs),Kt=l(gs,"P",{"data-svelte-h":!0}),p(Kt)!=="svelte-5ayq1f"&&(Kt.textContent=io),gs.forEach(t),C.forEach(t),Ir=a(e),u(Ve.$$.fragment,e),Jr=a(e),De=l(e,"P",{"data-svelte-h":!0}),p(De)!=="svelte-t39zx3"&&(De.innerHTML=co),qr=a(e),J=l(e,"DIV",{class:!0});var U=y(J);u(He.$$.fragment,U),pa=a(U),er=l(U,"P",{"data-svelte-h":!0}),p(er)!=="svelte-1bsw04k"&&(er.textContent=po),ma=a(U),ie=l(U,"DIV",{class:!0});var _s=y(ie);u(Se.$$.fragment,_s),fa=a(_s),tr=l(_s,"P",{"data-svelte-h":!0}),p(tr)!=="svelte-dddodt"&&(tr.innerHTML=mo),_s.forEach(t),ua=a(U),de=l(U,"DIV",{class:!0});var xs=y(de);u(Be.$$.fragment,xs),ha=a(xs),rr=l(xs,"P",{"data-svelte-h":!0}),p(rr)!=="svelte-pplryq"&&(rr.textContent=fo),xs.forEach(t),ga=a(U),ce=l(U,"DIV",{class:!0});var vs=y(ce);u(Ne.$$.fragment,vs),_a=a(vs),sr=l(vs,"P",{"data-svelte-h":!0}),p(sr)!=="svelte-3oqyjr"&&(sr.textContent=uo),vs.forEach(t),xa=a(U),pe=l(U,"DIV",{class:!0});var bs=y(pe);u(Fe.$$.fragment,bs),va=a(bs),ar=l(bs,"P",{"data-svelte-h":!0}),p(ar)!=="svelte-1suyixa"&&(ar.innerHTML=ho),bs.forEach(t),ba=a(U),me=l(U,"DIV",{class:!0});var $s=y(me);u(Ge.$$.fragment,$s),$a=a($s),or=l($s,"P",{"data-svelte-h":!0}),p(or)!=="svelte-5wr1w0"&&(or.innerHTML=go),$s.forEach(t),ya=a(U),fe=l(U,"DIV",{class:!0});var ys=y(fe);u(We.$$.fragment,ys),Ma=a(ys),nr=l(ys,"P",{"data-svelte-h":!0}),p(nr)!=="svelte-1jevh15"&&(nr.textContent=_o),ys.forEach(t),U.forEach(t),Ur=a(e),L=l(e,"DIV",{class:!0});var xr=y(L);u(Re.$$.fragment,xr),wa=a(xr),lr=l(xr,"P",{"data-svelte-h":!0}),p(lr)!=="svelte-vkt0pi"&&(lr.textContent=xo),Ta=a(xr),ue=l(xr,"DIV",{class:!0});var Ms=y(ue);u(Qe.$$.fragment,Ms),Ca=a(Ms),ir=l(Ms,"P",{"data-svelte-h":!0}),p(ir)!=="svelte-5ayq1f"&&(ir.textContent=vo),Ms.forEach(t),xr.forEach(t),jr=a(e),X=l(e,"DIV",{class:!0});var vr=y(X);u(Ae.$$.fragment,vr),Pa=a(vr),dr=l(vr,"P",{"data-svelte-h":!0}),p(dr)!=="svelte-168wf64"&&(dr.textContent=bo),ka=a(vr),he=l(vr,"DIV",{class:!0});var ws=y(he);u(Ye.$$.fragment,ws),Ia=a(ws),cr=l(ws,"P",{"data-svelte-h":!0}),p(cr)!=="svelte-5ayq1f"&&(cr.textContent=$o),ws.forEach(t),vr.forEach(t),Lr=a(e),u(Oe.$$.fragment,e),Xr=a(e),Ke=l(e,"P",{"data-svelte-h":!0}),p(Ke)!=="svelte-pgkk87"&&(Ke.innerHTML=yo),Zr=a(e),et=l(e,"P",{"data-svelte-h":!0}),p(et)!=="svelte-1iz8kjk"&&(et.textContent=Mo),Er=a(e),tt=l(e,"P",{"data-svelte-h":!0}),p(tt)!=="svelte-ejlsq2"&&(tt.textContent=wo),zr=a(e),rt=l(e,"UL",{"data-svelte-h":!0}),p(rt)!=="svelte-my8qym"&&(rt.innerHTML=To),Vr=a(e),st=l(e,"P",{"data-svelte-h":!0}),p(st)!=="svelte-z219sx"&&(st.innerHTML=Co),Dr=a(e),B=l(e,"DIV",{class:!0});var Ts=y(B);u(at.$$.fragment,Ts),Ja=a(Ts),pr=l(Ts,"P",{"data-svelte-h":!0}),p(pr)!=="svelte-5lvrve"&&(pr.innerHTML=Po),Ts.forEach(t),Hr=a(e),u(ot.$$.fragment,e),Sr=a(e),nt=l(e,"P",{"data-svelte-h":!0}),p(nt)!=="svelte-9mlx1z"&&(nt.innerHTML=ko),Br=a(e),lt=l(e,"P",{"data-svelte-h":!0}),p(lt)!=="svelte-1qabksm"&&(lt.innerHTML=Io),Nr=a(e),it=l(e,"P",{"data-svelte-h":!0}),p(it)!=="svelte-uho2qa"&&(it.textContent=Jo),Fr=a(e),dt=l(e,"UL",{"data-svelte-h":!0}),p(dt)!=="svelte-1e2xq99"&&(dt.innerHTML=qo),Gr=a(e),ct=l(e,"P",{"data-svelte-h":!0}),p(ct)!=="svelte-sz5yy2"&&(ct.textContent=Uo),Wr=a(e),pt=l(e,"P",{"data-svelte-h":!0}),p(pt)!=="svelte-1mss3di"&&(pt.innerHTML=jo),Rr=a(e),u(mt.$$.fragment,e),Qr=a(e),ft=l(e,"P",{"data-svelte-h":!0}),p(ft)!=="svelte-1i4abtq"&&(ft.innerHTML=Lo),Ar=a(e),ut=l(e,"P",{"data-svelte-h":!0}),p(ut)!=="svelte-zxdzom"&&(ut.textContent=Xo),Yr=a(e),u(ht.$$.fragment,e),Or=a(e),gt=l(e,"P",{"data-svelte-h":!0}),p(gt)!=="svelte-ejlsq2"&&(gt.textContent=Zo),Kr=a(e),_t=l(e,"UL",{"data-svelte-h":!0}),p(_t)!=="svelte-1qiv3qf"&&(_t.innerHTML=Eo),es=a(e),xt=l(e,"P",{"data-svelte-h":!0}),p(xt)!=="svelte-1r22nj6"&&(xt.innerHTML=zo),ts=a(e),j=l(e,"DIV",{class:!0});var S=y(j);u(vt.$$.fragment,S),qa=a(S),mr=l(S,"P",{"data-svelte-h":!0}),p(mr)!=="svelte-173gxyd"&&(mr.textContent=Vo),Ua=a(S),ge=l(S,"DIV",{class:!0});var Cs=y(ge);u(bt.$$.fragment,Cs),ja=a(Cs),fr=l(Cs,"P",{"data-svelte-h":!0}),p(fr)!=="svelte-wmaktk"&&(fr.textContent=Do),Cs.forEach(t),La=a(S),H=l(S,"DIV",{class:!0});var br=y(H);u($t.$$.fragment,br),Xa=a(br),ur=l(br,"P",{"data-svelte-h":!0}),p(ur)!=="svelte-11nqnea"&&(ur.innerHTML=Ho),Za=a(br),u(_e.$$.fragment,br),br.forEach(t),Ea=a(S),xe=l(S,"DIV",{class:!0});var Ps=y(xe);u(yt.$$.fragment,Ps),za=a(Ps),hr=l(Ps,"P",{"data-svelte-h":!0}),p(hr)!=="svelte-d5zv1x"&&(hr.textContent=So),Ps.forEach(t),S.forEach(t),rs=a(e),Mt=l(e,"P",{"data-svelte-h":!0}),p(Mt)!=="svelte-12wzh89"&&(Mt.innerHTML=Bo),ss=a(e),Z=l(e,"DIV",{class:!0});var $r=y(Z);u(wt.$$.fragment,$r),Va=a($r),gr=l($r,"P",{"data-svelte-h":!0}),p(gr)!=="svelte-169nh0g"&&(gr.textContent=No),Da=a($r),u(ve.$$.fragment,$r),$r.forEach(t),as=a(e),Tt=l(e,"P",{"data-svelte-h":!0}),p(Tt)!=="svelte-2mj9lk"&&(Tt.innerHTML=Fo),os=a(e),u(Ct.$$.fragment,e),ns=a(e),Pt=l(e,"P",{"data-svelte-h":!0}),p(Pt)!=="svelte-1q119ra"&&(Pt.textContent=Go),ls=a(e),u(kt.$$.fragment,e),is=a(e),It=l(e,"P",{"data-svelte-h":!0}),p(It)!=="svelte-9ecb4t"&&(It.innerHTML=Wo),ds=a(e),u(Jt.$$.fragment,e),cs=a(e),qt=l(e,"P",{"data-svelte-h":!0}),p(qt)!=="svelte-8lr0dh"&&(qt.innerHTML=Ro),ps=a(e),u(Ut.$$.fragment,e),ms=a(e),Mr=l(e,"P",{}),y(Mr).forEach(t),this.h()},h(){M(c,"name","hf:doc:metadata"),M(c,"content",un),M(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(Q,"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,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(le,"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"),M(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(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(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),M(Z,"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,o){r(document.head,c),i(e,w,o),i(e,v,o),i(e,m,o),h(b,e,o),i(e,d,o),i(e,T,o),i(e,wr,o),i(e,ye,o),i(e,Tr,o),h(Me,e,o),i(e,Cr,o),i(e,we,o),i(e,Pr,o),i(e,Te,o),i(e,kr,o),i(e,$,o),h(Ce,$,null),r($,ks),r($,Et),r($,Is),r($,R),h(Pe,R,null),r(R,Js),r(R,zt),r($,qs),r($,Q),h(ke,Q,null),r(Q,Us),r(Q,Vt),r($,js),r($,E),h(Ie,E,null),r(E,Ls),r(E,Dt),r(E,Xs),h(A,E,null),r($,Zs),r($,Y),h(Je,Y,null),r(Y,Es),r(Y,Ht),r($,zs),r($,O),h(qe,O,null),r(O,Vs),r(O,St),r($,Ds),r($,k),h(Ue,k,null),r(k,Hs),r(k,Bt),r(k,Ss),r(k,Nt),r(k,Bs),r(k,Ft),r(k,Ns),r(k,Gt),r(k,Fs),r(k,Wt),r(k,Gs),h(K,k,null),r(k,Ws),h(ee,k,null),r(k,Rs),h(te,k,null),r(k,Qs),r($,As),r($,z),h(je,z,null),r(z,Ys),r(z,Rt),r(z,Os),h(re,z,null),r($,Ks),r($,V),h(Le,V,null),r(V,ea),r(V,Qt),r(V,ta),h(se,V,null),r($,ra),r($,D),h(Xe,D,null),r(D,sa),r(D,At),r(D,aa),h(ae,D,null),r($,oa),r($,oe),h(Ze,oe,null),r(oe,na),r(oe,Yt),r($,la),r($,ne),h(Ee,ne,null),r(ne,ia),r(ne,Ot),r($,da),r($,le),h(ze,le,null),r(le,ca),r(le,Kt),i(e,Ir,o),h(Ve,e,o),i(e,Jr,o),i(e,De,o),i(e,qr,o),i(e,J,o),h(He,J,null),r(J,pa),r(J,er),r(J,ma),r(J,ie),h(Se,ie,null),r(ie,fa),r(ie,tr),r(J,ua),r(J,de),h(Be,de,null),r(de,ha),r(de,rr),r(J,ga),r(J,ce),h(Ne,ce,null),r(ce,_a),r(ce,sr),r(J,xa),r(J,pe),h(Fe,pe,null),r(pe,va),r(pe,ar),r(J,ba),r(J,me),h(Ge,me,null),r(me,$a),r(me,or),r(J,ya),r(J,fe),h(We,fe,null),r(fe,Ma),r(fe,nr),i(e,Ur,o),i(e,L,o),h(Re,L,null),r(L,wa),r(L,lr),r(L,Ta),r(L,ue),h(Qe,ue,null),r(ue,Ca),r(ue,ir),i(e,jr,o),i(e,X,o),h(Ae,X,null),r(X,Pa),r(X,dr),r(X,ka),r(X,he),h(Ye,he,null),r(he,Ia),r(he,cr),i(e,Lr,o),h(Oe,e,o),i(e,Xr,o),i(e,Ke,o),i(e,Zr,o),i(e,et,o),i(e,Er,o),i(e,tt,o),i(e,zr,o),i(e,rt,o),i(e,Vr,o),i(e,st,o),i(e,Dr,o),i(e,B,o),h(at,B,null),r(B,Ja),r(B,pr),i(e,Hr,o),h(ot,e,o),i(e,Sr,o),i(e,nt,o),i(e,Br,o),i(e,lt,o),i(e,Nr,o),i(e,it,o),i(e,Fr,o),i(e,dt,o),i(e,Gr,o),i(e,ct,o),i(e,Wr,o),i(e,pt,o),i(e,Rr,o),h(mt,e,o),i(e,Qr,o),i(e,ft,o),i(e,Ar,o),i(e,ut,o),i(e,Yr,o),h(ht,e,o),i(e,Or,o),i(e,gt,o),i(e,Kr,o),i(e,_t,o),i(e,es,o),i(e,xt,o),i(e,ts,o),i(e,j,o),h(vt,j,null),r(j,qa),r(j,mr),r(j,Ua),r(j,ge),h(bt,ge,null),r(ge,ja),r(ge,fr),r(j,La),r(j,H),h($t,H,null),r(H,Xa),r(H,ur),r(H,Za),h(_e,H,null),r(j,Ea),r(j,xe),h(yt,xe,null),r(xe,za),r(xe,hr),i(e,rs,o),i(e,Mt,o),i(e,ss,o),i(e,Z,o),h(wt,Z,null),r(Z,Va),r(Z,gr),r(Z,Da),h(ve,Z,null),i(e,as,o),i(e,Tt,o),i(e,os,o),h(Ct,e,o),i(e,ns,o),i(e,Pt,o),i(e,ls,o),h(kt,e,o),i(e,is,o),i(e,It,o),i(e,ds,o),h(Jt,e,o),i(e,cs,o),i(e,qt,o),i(e,ps,o),h(Ut,e,o),i(e,ms,o),i(e,Mr,o),fs=!0},p(e,[o]){const C={};o&2&&(C.$$scope={dirty:o,ctx:e}),A.$set(C);const jt={};o&2&&(jt.$$scope={dirty:o,ctx:e}),K.$set(jt);const Lt={};o&2&&(Lt.$$scope={dirty:o,ctx:e}),ee.$set(Lt);const N={};o&2&&(N.$$scope={dirty:o,ctx:e}),te.$set(N);const Xt={};o&2&&(Xt.$$scope={dirty:o,ctx:e}),re.$set(Xt);const Zt={};o&2&&(Zt.$$scope={dirty:o,ctx:e}),se.$set(Zt);const I={};o&2&&(I.$$scope={dirty:o,ctx:e}),ae.$set(I);const F={};o&2&&(F.$$scope={dirty:o,ctx:e}),_e.$set(F);const G={};o&2&&(G.$$scope={dirty:o,ctx:e}),ve.$set(G)},i(e){fs||(g(b.$$.fragment,e),g(Me.$$.fragment,e),g(Ce.$$.fragment,e),g(Pe.$$.fragment,e),g(ke.$$.fragment,e),g(Ie.$$.fragment,e),g(A.$$.fragment,e),g(Je.$$.fragment,e),g(qe.$$.fragment,e),g(Ue.$$.fragment,e),g(K.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),g(je.$$.fragment,e),g(re.$$.fragment,e),g(Le.$$.fragment,e),g(se.$$.fragment,e),g(Xe.$$.fragment,e),g(ae.$$.fragment,e),g(Ze.$$.fragment,e),g(Ee.$$.fragment,e),g(ze.$$.fragment,e),g(Ve.$$.fragment,e),g(He.$$.fragment,e),g(Se.$$.fragment,e),g(Be.$$.fragment,e),g(Ne.$$.fragment,e),g(Fe.$$.fragment,e),g(Ge.$$.fragment,e),g(We.$$.fragment,e),g(Re.$$.fragment,e),g(Qe.$$.fragment,e),g(Ae.$$.fragment,e),g(Ye.$$.fragment,e),g(Oe.$$.fragment,e),g(at.$$.fragment,e),g(ot.$$.fragment,e),g(mt.$$.fragment,e),g(ht.$$.fragment,e),g(vt.$$.fragment,e),g(bt.$$.fragment,e),g($t.$$.fragment,e),g(_e.$$.fragment,e),g(yt.$$.fragment,e),g(wt.$$.fragment,e),g(ve.$$.fragment,e),g(Ct.$$.fragment,e),g(kt.$$.fragment,e),g(Jt.$$.fragment,e),g(Ut.$$.fragment,e),fs=!0)},o(e){_(b.$$.fragment,e),_(Me.$$.fragment,e),_(Ce.$$.fragment,e),_(Pe.$$.fragment,e),_(ke.$$.fragment,e),_(Ie.$$.fragment,e),_(A.$$.fragment,e),_(Je.$$.fragment,e),_(qe.$$.fragment,e),_(Ue.$$.fragment,e),_(K.$$.fragment,e),_(ee.$$.fragment,e),_(te.$$.fragment,e),_(je.$$.fragment,e),_(re.$$.fragment,e),_(Le.$$.fragment,e),_(se.$$.fragment,e),_(Xe.$$.fragment,e),_(ae.$$.fragment,e),_(Ze.$$.fragment,e),_(Ee.$$.fragment,e),_(ze.$$.fragment,e),_(Ve.$$.fragment,e),_(He.$$.fragment,e),_(Se.$$.fragment,e),_(Be.$$.fragment,e),_(Ne.$$.fragment,e),_(Fe.$$.fragment,e),_(Ge.$$.fragment,e),_(We.$$.fragment,e),_(Re.$$.fragment,e),_(Qe.$$.fragment,e),_(Ae.$$.fragment,e),_(Ye.$$.fragment,e),_(Oe.$$.fragment,e),_(at.$$.fragment,e),_(ot.$$.fragment,e),_(mt.$$.fragment,e),_(ht.$$.fragment,e),_(vt.$$.fragment,e),_(bt.$$.fragment,e),_($t.$$.fragment,e),_(_e.$$.fragment,e),_(yt.$$.fragment,e),_(wt.$$.fragment,e),_(ve.$$.fragment,e),_(Ct.$$.fragment,e),_(kt.$$.fragment,e),_(Jt.$$.fragment,e),_(Ut.$$.fragment,e),fs=!1},d(e){e&&(t(w),t(v),t(m),t(d),t(T),t(wr),t(ye),t(Tr),t(Cr),t(we),t(Pr),t(Te),t(kr),t($),t(Ir),t(Jr),t(De),t(qr),t(J),t(Ur),t(L),t(jr),t(X),t(Lr),t(Xr),t(Ke),t(Zr),t(et),t(Er),t(tt),t(zr),t(rt),t(Vr),t(st),t(Dr),t(B),t(Hr),t(Sr),t(nt),t(Br),t(lt),t(Nr),t(it),t(Fr),t(dt),t(Gr),t(ct),t(Wr),t(pt),t(Rr),t(Qr),t(ft),t(Ar),t(ut),t(Yr),t(Or),t(gt),t(Kr),t(_t),t(es),t(xt),t(ts),t(j),t(rs),t(Mt),t(ss),t(Z),t(as),t(Tt),t(os),t(ns),t(Pt),t(ls),t(is),t(It),t(ds),t(cs),t(qt),t(ps),t(ms),t(Mr)),t(c),x(b,e),x(Me,e),x(Ce),x(Pe),x(ke),x(Ie),x(A),x(Je),x(qe),x(Ue),x(K),x(ee),x(te),x(je),x(re),x(Le),x(se),x(Xe),x(ae),x(Ze),x(Ee),x(ze),x(Ve,e),x(He),x(Se),x(Be),x(Ne),x(Fe),x(Ge),x(We),x(Re),x(Qe),x(Ae),x(Ye),x(Oe,e),x(at),x(ot,e),x(mt,e),x(ht,e),x(vt),x(bt),x($t),x(_e),x(yt),x(wt),x(ve),x(Ct,e),x(kt,e),x(Jt,e),x(Ut,e)}}}const un='{"title":"Processors","local":"processors","sections":[{"title":"Multi-modal processors","local":"transformers.ProcessorMixin","sections":[],"depth":2},{"title":"Deprecated processors","local":"transformers.DataProcessor","sections":[],"depth":2},{"title":"GLUE","local":"transformers.glue_convert_examples_to_features","sections":[],"depth":2},{"title":"XNLI","local":"xnli","sections":[],"depth":2},{"title":"SQuAD","local":"squad","sections":[{"title":"Processors","local":"transformers.data.processors.squad.SquadProcessor","sections":[],"depth":3},{"title":"Example usage","local":"example-usage","sections":[],"depth":3}],"depth":2}],"depth":1}';function hn(q){return Ao(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Mn extends Yo{constructor(c){super(),Oo(this,c,hn,fn,Qo,{})}}export{Mn as component};
