import{s as tn,o as rn,n as Q}from"../chunks/scheduler.01eeda35.js";import{S as sn,i as an,g as n,s,r as f,m as on,A as nn,h as i,f as t,c as a,j as y,u,x as m,n as ln,k as M,y as r,a as l,v as h,d as g,t as _,w as x}from"../chunks/index.6dd51b66.js";import{T as Fa}from"../chunks/Tip.de9bae2b.js";import{D as k}from"../chunks/Docstring.cb556860.js";import{C as ye}from"../chunks/CodeBlock.19ec9b8c.js";import{E as wr}from"../chunks/ExampleCodeBlock.69db56ad.js";import{H as $e,E as dn}from"../chunks/index.58fe8f9d.js";function cn(U){let c,w=`This class method is simply calling the feature extractor
<a href="/docs/transformers/main/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a>, image processor
<a href="/docs/transformers/main/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=i(v,"P",{"data-svelte-h":!0}),m(c)!=="svelte-i4rz41"&&(c.innerHTML=w)},m(v,p){l(v,c,p)},p:Q,d(v){v&&t(c)}}}function mn(U){let c,w="And we define the call method as:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-ft0bna"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function pn(U){let c,w="Then, if we call the processor as:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-k5ldhr"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function fn(U){let c,w="Then, this method will return:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-wadzyw"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function un(U){let c,w="Examples:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-kvfsh7"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function hn(U){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=i(v,"P",{"data-svelte-h":!0}),m(c)!=="svelte-15rpg4"&&(c.textContent=w)},m(v,p){l(v,c,p)},p:Q,d(v){v&&t(c)}}}function gn(U){let c,w=`This class method is simply calling <a href="/docs/transformers/main/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.save_pretrained">save_pretrained()</a> and
<a href="/docs/transformers/main/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=i(v,"P",{"data-svelte-h":!0}),m(c)!=="svelte-1qvfzw2"&&(c.innerHTML=w)},m(v,p){l(v,c,p)},p:Q,d(v){v&&t(c)}}}function _n(U){let c,w="Examples:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-kvfsh7"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function xn(U){let c,w="Example:",v,p,b;return p=new ye({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(p.$$.fragment)},l(d){c=i(d,"P",{"data-svelte-h":!0}),m(c)!=="svelte-11lpom8"&&(c.textContent=w),v=a(d),u(p.$$.fragment,d)},m(d,T){l(d,c,T),l(d,v,T),h(p,d,T),b=!0},p:Q,i(d){b||(g(p.$$.fragment,d),b=!0)},o(d){_(p.$$.fragment,d),b=!1},d(d){d&&(t(c),t(v)),x(p,d)}}}function vn(U){let c,w,v,p,b,d,T,Ga="Processors can mean two different things in the Transformers library:",Cr,Me,Wa=`<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>`,kr,we,Pr,Te,Ra=`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).`,Ir,Ce,Qa="Those processors inherit from the following base class that implements the saving and loading functionality:",Jr,$,ke,Js,zt,Aa="This is a mixin used to provide saving/loading functionality for all processor classes.",Us,j,Pe,qs,Et,Ya=`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.`,Ls,Vt,Oa=`The input is expected to be in the following format, where each message content is a list consisting of text and
optionally image or video inputs. One can also provide an image, video, URL or local path which will be used to form
<code>pixel_values</code> when <code>return_dict=True</code>. If not provided, one will get only the formatted text, optionally tokenized text.`,js,Dt,Ka=`conversation = [
{
“role”: “user”,
“content”: [
{“type”: “image”, “image”: “https://www.ilankelman.org/stopsigns/australia.jpg”},
{“type”: “text”, “text”: “Please describe this image in detail.”},
],
},
]`,Xs,A,Ie,Zs,Ht,eo="Instantiates a type of <code>~processing_utils.ProcessingMixin</code> from a Python dictionary of parameters.",zs,V,Je,Es,St,to="Instantiate a processor associated with a pretrained model.",Vs,Y,Ds,O,Ue,Hs,Bt,ro=`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>.`,Ss,K,qe,Bs,Nt,so="Post-process the output of a vlm to decode the text.",Ns,P,Le,Fs,Ft,ao=`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.`,Gs,Gt,oo=`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:`,Ws,Wt,no="<li><code>CLIPSegProcessor</code></li> <li><code>LayoutLMv2Processor</code></li> <li><code>OwlViTProcessor</code></li>",Rs,Rt,io=`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.`,Qs,Qt,lo=`Example:
Suppose that the processor class has <code>optional_call_args = [&quot;arg_name_1&quot;, &quot;arg_name_2&quot;]</code>.`,As,ee,Ys,te,Os,re,Ks,ea,D,je,ta,At,co="Upload the processor files to the 🤗 Model Hub.",ra,se,sa,H,Xe,aa,Yt,mo=`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>.`,oa,ae,na,S,Ze,ia,Ot,po=`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/main/en/main_classes/processors#transformers.ProcessorMixin.from_pretrained">from_pretrained()</a> method.`,la,oe,da,ne,ze,ca,Kt,fo="Serializes this instance to a Python dictionary.",ma,ie,Ee,pa,er,uo="Save this instance to a JSON file.",fa,le,Ve,ua,tr,ho="Serializes this instance to a JSON string.",Ur,De,qr,He,go=`All processors follow the same architecture which is that of the
<a href="/docs/transformers/main/en/main_classes/processors#transformers.DataProcessor">DataProcessor</a>. The processor returns a list of
<a href="/docs/transformers/main/en/main_classes/processors#transformers.InputExample">InputExample</a>. These
<a href="/docs/transformers/main/en/main_classes/processors#transformers.InputExample">InputExample</a> can be converted to
<a href="/docs/transformers/main/en/main_classes/processors#transformers.InputFeatures">InputFeatures</a> in order to be fed to the model.`,Lr,J,Se,ha,rr,_o="Base class for data converters for sequence classification data sets.",ga,de,Be,_a,sr,xo='Gets a collection of <a href="/docs/transformers/main/en/main_classes/processors#transformers.InputExample">InputExample</a> for the dev set.',xa,ce,Ne,va,ar,vo="Gets an example from a dict with tensorflow tensors.",ba,me,Fe,$a,or,bo="Gets the list of labels for this data set.",ya,pe,Ge,Ma,nr,$o='Gets a collection of <a href="/docs/transformers/main/en/main_classes/processors#transformers.InputExample">InputExample</a> for the test set.',wa,fe,We,Ta,ir,yo='Gets a collection of <a href="/docs/transformers/main/en/main_classes/processors#transformers.InputExample">InputExample</a> for the train set.',Ca,ue,Re,ka,lr,Mo=`Some tensorflow_datasets datasets are not formatted the same way the GLUE datasets are. This method converts
examples to the correct format.`,jr,X,Qe,Pa,dr,wo="A single training/test example for simple sequence classification.",Ia,he,Ae,Ja,cr,To="Serializes this instance to a JSON string.",Xr,Z,Ye,Ua,mr,Co="A single set of features of data. Property names are the same names as the corresponding inputs to a model.",qa,ge,Oe,La,pr,ko="Serializes this instance to a JSON string.",Zr,Ke,zr,et,Po=`<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>`,Er,tt,Io=`This library hosts a total of 10 processors for the following tasks: MRPC, MNLI, MNLI (mismatched), CoLA, SST2, STSB,
QQP, QNLI, RTE and WNLI.`,Vr,rt,Jo="Those processors are:",Dr,st,Uo="<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>",Hr,at,qo=`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/main/en/main_classes/processors#transformers.InputExample">InputExample</a>.`,Sr,F,ot,ja,fr,Lo="Loads a data file into a list of <code>InputFeatures</code>",Br,nt,Nr,it,jo=`<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).`,Fr,lt,Xo='It was released together with the paper <a href="https://arxiv.org/abs/1809.05053" rel="nofollow">XNLI: Evaluating Cross-lingual Sentence Representations</a>',Gr,dt,Zo="This library hosts the processor to load the XNLI data:",Wr,ct,zo="<li><code>~data.processors.utils.XnliProcessor</code></li>",Rr,mt,Eo="Please note that since the gold labels are available on the test set, evaluation is performed on the test set.",Qr,pt,Vo='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.',Ar,ft,Yr,ut,Do=`<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>.`,Or,ht,Ho="This library hosts a processor for each of the two versions:",Kr,gt,es,_t,So="Those processors are:",ts,xt,Bo="<li><code>~data.processors.utils.SquadV1Processor</code></li> <li><code>~data.processors.utils.SquadV2Processor</code></li>",rs,vt,No="They both inherit from the abstract class <code>~data.processors.utils.SquadProcessor</code>",ss,L,bt,Xa,ur,Fo=`Processor for the SQuAD data set. overridden by SquadV1Processor and SquadV2Processor, used by the version 1.1 and
version 2.0 of SQuAD, respectively.`,Za,_e,$t,za,hr,Go="Returns the evaluation example from the data directory.",Ea,B,yt,Va,gr,Wo="Creates a list of <code>SquadExample</code> using a TFDS dataset.",Da,xe,Ha,ve,Mt,Sa,_r,Ro="Returns the training examples from the data directory.",as,wt,Qo=`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.`,os,z,Tt,Ba,xr,Ao=`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.`,Na,be,ns,Ct,Yo=`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.`,is,kt,ls,Pt,Oo="Here is an example using the processors as well as the conversion method using data files:",ds,It,cs,Jt,Ko="Using <em>tensorflow_datasets</em> is as easy as using a data file:",ms,Ut,ps,qt,en='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.',fs,Lt,us,Tr,hs;return b=new $e({props:{title:"Processors",local:"processors",headingTag:"h1"}}),we=new $e({props:{title:"Multi-modal processors",local:"transformers.ProcessorMixin",headingTag:"h2"}}),ke=new k({props:{name:"class transformers.ProcessorMixin",anchor:"transformers.ProcessorMixin",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L441"}}),Pe=new k({props:{name:"apply_chat_template",anchor:"transformers.ProcessorMixin.apply_chat_template",parameters:[{name:"conversation",val:": typing.Union[list[dict[str, str]], list[list[dict[str, str]]]]"},{name:"chat_template",val:": typing.Optional[str] = None"},{name:"**kwargs",val:": typing_extensions.Unpack[transformers.processing_utils.AllKwargsForChatTemplate]"}],parametersDescription:[{anchor:"transformers.ProcessorMixin.apply_chat_template.conversation",description:`<strong>conversation</strong> (<code>Union[List[Dict, [str, str]], List[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"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L1280"}}),Ie=new k({props:{name:"from_args_and_dict",anchor:"transformers.ProcessorMixin.from_args_and_dict",parameters:[{name:"args",val:""},{name:"processor_dict",val:": dict"},{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/main/src/transformers/processing_utils.py#L847",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>
`}}),Je=new k({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/main/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/main/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/main/src/transformers/processing_utils.py#L1020"}}),Y=new Fa({props:{$$slots:{default:[cn]},$$scope:{ctx:U}}}),Ue=new k({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/main/src/transformers/processing_utils.py#L669",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 k({props:{name:"post_process_image_text_to_text",anchor:"transformers.ProcessorMixin.post_process_image_text_to_text",parameters:[{name:"generated_outputs",val:""},{name:"skip_special_tokens",val:" = True"},{name:"**kwargs",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"},{anchor:"transformers.ProcessorMixin.post_process_image_text_to_text.skip_special_tokens",description:`<strong>skip_special_tokens</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to remove special tokens in the output. Argument passed to the tokenizer&#x2019;s <code>batch_decode</code> method.`,name:"skip_special_tokens"},{anchor:"transformers.ProcessorMixin.post_process_image_text_to_text.*kwargs",description:`*<strong>*kwargs</strong> &#x2014;
Additional arguments to be passed to the tokenizer&#x2019;s <code>batch_decode method</code>.`,name:"*kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L1460",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>
`}}),Le=new k({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/main/src/transformers/processing_utils.py#L1188"}}),ee=new wr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example",$$slots:{default:[mn]},$$scope:{ctx:U}}}),te=new wr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example-2",$$slots:{default:[pn]},$$scope:{ctx:U}}}),re=new wr({props:{anchor:"transformers.ProcessorMixin.prepare_and_validate_optional_call_args.example-3",$$slots:{default:[fn]},$$scope:{ctx:U}}}),je=new k({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:": typing.Optional[str] = None"},{name:"commit_description",val:": typing.Optional[str] = None"},{name:"tags",val:": typing.Optional[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 to make the repo private. If <code>None</code> (default), the repo will be public unless the organization&#x2019;s default is private. This value is ignored if the repo already exists.`,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/main/src/transformers/utils/hub.py#L854"}}),se=new wr({props:{anchor:"transformers.ProcessorMixin.push_to_hub.example",$$slots:{default:[un]},$$scope:{ctx:U}}}),Xe=new k({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/main/src/transformers/processing_utils.py#L1084"}}),ae=new Fa({props:{warning:!0,$$slots:{default:[hn]},$$scope:{ctx:U}}}),Ze=new k({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/main/en/main_classes/model#transformers.utils.PushToHubMixin.push_to_hub">push_to_hub()</a> method.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L561"}}),oe=new Fa({props:{$$slots:{default:[gn]},$$scope:{ctx:U}}}),ze=new k({props:{name:"to_dict",anchor:"transformers.ProcessorMixin.to_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L494",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 k({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/main/src/transformers/processing_utils.py#L545"}}),Ve=new k({props:{name:"to_json_string",anchor:"transformers.ProcessorMixin.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L534",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>
`}}),De=new $e({props:{title:"Deprecated processors",local:"transformers.DataProcessor",headingTag:"h2"}}),Se=new k({props:{name:"class transformers.DataProcessor",anchor:"transformers.DataProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L80"}}),Be=new k({props:{name:"get_dev_examples",anchor:"transformers.DataProcessor.get_dev_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L97"}}),Ne=new k({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/main/src/transformers/data/processors/utils.py#L83"}}),Fe=new k({props:{name:"get_labels",anchor:"transformers.DataProcessor.get_labels",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L105"}}),Ge=new k({props:{name:"get_test_examples",anchor:"transformers.DataProcessor.get_test_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L101"}}),We=new k({props:{name:"get_train_examples",anchor:"transformers.DataProcessor.get_train_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L93"}}),Re=new k({props:{name:"tfds_map",anchor:"transformers.DataProcessor.tfds_map",parameters:[{name:"example",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L109"}}),Qe=new k({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/main/src/transformers/data/processors/utils.py#L29"}}),Ae=new k({props:{name:"to_json_string",anchor:"transformers.InputExample.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L49"}}),Ye=new k({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/main/src/transformers/data/processors/utils.py#L54"}}),Oe=new k({props:{name:"to_json_string",anchor:"transformers.InputFeatures.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/utils.py#L75"}}),Ke=new $e({props:{title:"GLUE",local:"transformers.glue_convert_examples_to_features",headingTag:"h2"}}),ot=new k({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/main/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>
`}}),nt=new $e({props:{title:"XNLI",local:"xnli",headingTag:"h2"}}),ft=new $e({props:{title:"SQuAD",local:"squad",headingTag:"h2"}}),gt=new $e({props:{title:"Processors",local:"transformers.data.processors.squad.SquadProcessor",headingTag:"h3"}}),bt=new k({props:{name:"class transformers.data.processors.squad.SquadProcessor",anchor:"transformers.data.processors.squad.SquadProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/data/processors/squad.py#L542"}}),$t=new k({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/main/src/transformers/data/processors/squad.py#L630"}}),yt=new k({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/main/src/transformers/data/processors/squad.py#L575",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>List of SquadExample</p>
`}}),xe=new wr({props:{anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset.example",$$slots:{default:[_n]},$$scope:{ctx:U}}}),Mt=new k({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/main/src/transformers/data/processors/squad.py#L608"}}),Tt=new k({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/main/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/main/src/transformers/data/processors/squad.py#L317",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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