import{s as Fo,o as Go,n as dr}from"../chunks/scheduler.9bc65507.js";import{S as Ao,i as Ro,g as s,s as n,u,A as Wo,h as a,f as t,c as l,j as f,v as h,y as d,k as p,o as r,a as i,w as g,d as v,t as _,x}from"../chunks/index.78c82d43.js";import{T as Pa}from"../chunks/Tip.87d55b76.js";import{D as M}from"../chunks/Docstring.f3d04bd2.js";import{C as yr}from"../chunks/CodeBlock.48618ec2.js";import{I as _e}from"../chunks/IconCopyLink.bedaa44d.js";import{E as ka}from"../chunks/ExampleCodeBlock.872b014d.js";function Do(U){let c,w=`This class method is simply calling the feature extractor
<a href="/docs/transformers/v4.33.3/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a>, image processor
<a href="/docs/transformers/v4.33.3/en/main_classes/image_processor#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=s("p"),c.innerHTML=w},l(b){c=a(b,"P",{"data-svelte-h":!0}),d(c)!=="svelte-mykxjj"&&(c.innerHTML=w)},m(b,$){i(b,c,$)},p:dr,d(b){b&&t(c)}}}function Qo(U){let c,w="Examples:",b,$,y;return $=new yr({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Qcm9jZXNzb3IlMEElMEFwcm9jZXNzb3IlMjAlM0QlMjBBdXRvUHJvY2Vzc29yLmZyb21fcHJldHJhaW5lZCglMjJiZXJ0LWJhc2UtY2FzZWQlMjIpJTBBJTBBJTIzJTIwUHVzaCUyMHRoZSUyMHByb2Nlc3NvciUyMHRvJTIweW91ciUyMG5hbWVzcGFjZSUyMHdpdGglMjB0aGUlMjBuYW1lJTIwJTIybXktZmluZXR1bmVkLWJlcnQlMjIuJTBBcHJvY2Vzc29yLnB1c2hfdG9faHViKCUyMm15LWZpbmV0dW5lZC1iZXJ0JTIyKSUwQSUwQSUyMyUyMFB1c2glMjB0aGUlMjBwcm9jZXNzb3IlMjB0byUyMGFuJTIwb3JnYW5pemF0aW9uJTIwd2l0aCUyMHRoZSUyMG5hbWUlMjAlMjJteS1maW5ldHVuZWQtYmVydCUyMi4lMEFwcm9jZXNzb3IucHVzaF90b19odWIoJTIyaHVnZ2luZ2ZhY2UlMkZteS1maW5ldHVuZWQtYmVydCUyMik=",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoProcessor

processor = AutoProcessor.from_pretrained(<span class="hljs-string">&quot;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>)`}}),{c(){c=s("p"),c.textContent=w,b=n(),u($.$$.fragment)},l(m){c=a(m,"P",{"data-svelte-h":!0}),d(c)!=="svelte-kvfsh7"&&(c.textContent=w),b=l(m),h($.$$.fragment,m)},m(m,T){i(m,c,T),i(m,b,T),g($,m,T),y=!0},p:dr,i(m){y||(v($.$$.fragment,m),y=!0)},o(m){_($.$$.fragment,m),y=!1},d(m){m&&(t(c),t(b)),x($,m)}}}function Yo(U){let c,w="This API is experimental and may have some slight breaking changes in the next releases.";return{c(){c=s("p"),c.textContent=w},l(b){c=a(b,"P",{"data-svelte-h":!0}),d(c)!=="svelte-15rpg4"&&(c.textContent=w)},m(b,$){i(b,c,$)},p:dr,d(b){b&&t(c)}}}function Oo(U){let c,w=`This class method is simply calling <a href="/docs/transformers/v4.33.3/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.save_pretrained">save_pretrained()</a> and
<a href="/docs/transformers/v4.33.3/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=s("p"),c.innerHTML=w},l(b){c=a(b,"P",{"data-svelte-h":!0}),d(c)!=="svelte-kktsru"&&(c.innerHTML=w)},m(b,$){i(b,c,$)},p:dr,d(b){b&&t(c)}}}function Ko(U){let c,w="Examples:",b,$,y;return $=new yr({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>)`}}),{c(){c=s("p"),c.textContent=w,b=n(),u($.$$.fragment)},l(m){c=a(m,"P",{"data-svelte-h":!0}),d(c)!=="svelte-kvfsh7"&&(c.textContent=w),b=l(m),h($.$$.fragment,m)},m(m,T){i(m,c,T),i(m,b,T),g($,m,T),y=!0},p:dr,i(m){y||(v($.$$.fragment,m),y=!0)},o(m){_($.$$.fragment,m),y=!1},d(m){m&&(t(c),t(b)),x($,m)}}}function en(U){let c,w="Example:",b,$,y;return $=new yr({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,
)`}}),{c(){c=s("p"),c.textContent=w,b=n(),u($.$$.fragment)},l(m){c=a(m,"P",{"data-svelte-h":!0}),d(c)!=="svelte-11lpom8"&&(c.textContent=w),b=l(m),h($.$$.fragment,m)},m(m,T){i(m,c,T),i(m,b,T),g($,m,T),y=!0},p:dr,i(m){y||(v($.$$.fragment,m),y=!0)},o(m){_($.$$.fragment,m),y=!1},d(m){m&&(t(c),t(b)),x($,m)}}}function tn(U){let c,w,b,$,y,m,T,xe,Us,Ct,Ia="Processors",wr,be,Ua="Processors can mean two different things in the Transformers library:",Mr,$e,Xa=`<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>`,Cr,H,D,cr,ye,Xs,Tt,Za="Multi-modal processors",Tr,we,Ja=`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,Me,La="Those processors inherit from the following base class that implements the saving and loading functionality:",kr,P,Ce,Zs,Pt,Ea="This is a mixin used to provide saving/loading functionality for all processor classes.",Js,E,Te,Ls,kt,ja="Instantiate a processor associated with a pretrained model.",Es,Q,js,j,Pe,qs,It,qa="Upload the processor files to the 🤗 Model Hub.",Vs,Y,zs,q,ke,Ns,Ut,Va=`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>.`,Hs,O,Ss,V,Ie,Bs,Xt,za=`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/v4.33.3/en/main_classes/processors#transformers.ProcessorMixin.from_pretrained">from_pretrained()</a> method.`,Fs,K,Ir,S,ee,pr,Ue,Gs,Zt,Na="Deprecated processors",Ur,Xe,Ha=`All processors follow the same architecture which is that of the
<a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.DataProcessor">DataProcessor</a>. The processor returns a list of
<a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a>. These
<a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a> can be converted to
<a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputFeatures">InputFeatures</a> in order to be fed to the model.`,Xr,C,Ze,As,Jt,Sa="Base class for data converters for sequence classification data sets.",Rs,te,Je,Ws,Lt,Ba='Gets a collection of <a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a> for the dev set.',Ds,re,Le,Qs,Et,Fa="Gets an example from a dict with tensorflow tensors.",Ys,se,Ee,Os,jt,Ga="Gets the list of labels for this data set.",Ks,ae,je,ea,qt,Aa='Gets a collection of <a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a> for the test set.',ta,oe,qe,ra,Vt,Ra='Gets a collection of <a href="/docs/transformers/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a> for the train set.',sa,ne,Ve,aa,zt,Wa=`Some tensorflow_datasets datasets are not formatted the same way the GLUE datasets are. This method converts
examples to the correct format.`,Zr,Z,ze,oa,Nt,Da="A single training/test example for simple sequence classification.",na,le,Ne,la,Ht,Qa="Serializes this instance to a JSON string.",Jr,J,He,ia,St,Ya="A single set of features of data. Property names are the same names as the corresponding inputs to a model.",da,ie,Se,ca,Bt,Oa="Serializes this instance to a JSON string.",Lr,B,de,mr,Be,pa,Ft,Ka="GLUE",Er,Fe,eo=`<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>`,jr,Ge,to=`This library hosts a total of 10 processors for the following tasks: MRPC, MNLI, MNLI (mismatched), CoLA, SST2, STSB,
QQP, QNLI, RTE and WNLI.`,qr,Ae,ro="Those processors are:",Vr,Re,so="<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>",zr,We,ao=`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/v4.33.3/en/main_classes/processors#transformers.InputExample">InputExample</a>.`,Nr,F,De,ma,Gt,oo="Loads a data file into a list of <code>InputFeatures</code>",Hr,G,ce,fr,Qe,fa,At,no="XNLI",Sr,Ye,lo=`<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,Oe,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>',Fr,Ke,co="This library hosts the processor to load the XNLI data:",Gr,et,po="<li><code>~data.processors.utils.XnliProcessor</code></li>",Ar,tt,mo="Please note that since the gold labels are available on the test set, evaluation is performed on the test set.",Rr,rt,fo='An example using these processors is given in the <a href="https://github.com/huggingface/transformers/tree/main/examples/legacy/text-classification/run_xnli.py" rel="nofollow">run_xnli.py</a> script.',Wr,A,pe,ur,st,ua,Rt,uo="SQuAD",Dr,at,ho=`<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>.`,Qr,ot,go="This library hosts a processor for each of the two versions:",Yr,R,me,hr,nt,ha,Wt,vo="Processors",Or,lt,_o="Those processors are:",Kr,it,xo="<li><code>~data.processors.utils.SquadV1Processor</code></li> <li><code>~data.processors.utils.SquadV2Processor</code></li>",es,dt,bo="They both inherit from the abstract class <code>~data.processors.utils.SquadProcessor</code>",ts,I,ct,ga,Dt,$o=`Processor for the SQuAD data set. overridden by SquadV1Processor and SquadV2Processor, used by the version 1.1 and
version 2.0 of SQuAD, respectively.`,va,fe,pt,_a,Qt,yo="Returns the evaluation example from the data directory.",xa,z,mt,ba,Yt,wo="Creates a list of <code>SquadExample</code> using a TFDS dataset.",$a,ue,ya,he,ft,wa,Ot,Mo="Returns the training examples from the data directory.",rs,ut,Co=`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,L,ht,Ma,Kt,To=`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.`,Ca,ge,as,gt,Po=`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,W,ve,gr,vt,Ta,er,ko="Example usage",ns,_t,Io="Here is an example using the processors as well as the conversion method using data files:",ls,xt,is,bt,Uo="Using <em>tensorflow_datasets</em> is as easy as using a data file:",ds,$t,cs,yt,Xo='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,vr,ms;return xe=new _e({}),ye=new _e({}),Ce=new M({props:{name:"class transformers.ProcessorMixin",anchor:"transformers.ProcessorMixin",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/processing_utils.py#L42"}}),Te=new M({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. Valid model ids can be located at the root-level, like <code>bert-base-uncased</code>, or
namespaced under a user or organization name, like <code>dbmdz/bert-base-german-cased</code>.</li>
<li>a path to a <em>directory</em> containing a feature extractor file saved using the
<a href="/docs/transformers/v4.33.3/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>.
**kwargs &#x2014;
Additional keyword arguments passed along to both
<a href="/docs/transformers/v4.33.3/en/main_classes/feature_extractor#transformers.FeatureExtractionMixin.from_pretrained">from_pretrained()</a> and
<code>~tokenization_utils_base.PreTrainedTokenizer.from_pretrained</code>.</li>
</ul>`,name:"pretrained_model_name_or_path"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/processing_utils.py#L167"}}),Q=new Pa({props:{$$slots:{default:[Do]},$$scope:{ctx:U}}}),Pe=new M({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] = '10GB'"},{name:"create_pr",val:": bool = False"},{name:"safe_serialization",val:": bool = False"},{name:"revision",val:": 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;10GB&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>).`,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>False</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"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/utils/hub.py#L786"}}),Y=new ka({props:{anchor:"transformers.ProcessorMixin.push_to_hub.example",$$slots:{default:[Qo]},$$scope:{ctx:U}}}),ke=new M({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/v4.33.3/src/transformers/processing_utils.py#L229"}}),O=new Pa({props:{warning:!0,$$slots:{default:[Yo]},$$scope:{ctx:U}}}),Ie=new M({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/v4.33.3/en/main_classes/tokenizer#transformers.PreTrainedTokenizerFast.push_to_hub">push_to_hub()</a> method.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/processing_utils.py#L93"}}),K=new Pa({props:{$$slots:{default:[Oo]},$$scope:{ctx:U}}}),Ue=new _e({}),Ze=new M({props:{name:"class transformers.DataProcessor",anchor:"transformers.DataProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L80"}}),Je=new M({props:{name:"get_dev_examples",anchor:"transformers.DataProcessor.get_dev_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L97"}}),Le=new M({props:{name:"get_example_from_tensor_dict",anchor:"transformers.DataProcessor.get_example_from_tensor_dict",parameters:[{name:"tensor_dict",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L83"}}),Ee=new M({props:{name:"get_labels",anchor:"transformers.DataProcessor.get_labels",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L105"}}),je=new M({props:{name:"get_test_examples",anchor:"transformers.DataProcessor.get_test_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L101"}}),qe=new M({props:{name:"get_train_examples",anchor:"transformers.DataProcessor.get_train_examples",parameters:[{name:"data_dir",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L93"}}),Ve=new M({props:{name:"tfds_map",anchor:"transformers.DataProcessor.tfds_map",parameters:[{name:"example",val:""}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L109"}}),ze=new M({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"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L30"}}),Ne=new M({props:{name:"to_json_string",anchor:"transformers.InputExample.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L49"}}),He=new M({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"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L55"}}),Se=new M({props:{name:"to_json_string",anchor:"transformers.InputFeatures.to_json_string",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/utils.py#L75"}}),Be=new _e({}),De=new M({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"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/glue.py#L41",returnDescription:`
<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>
`}}),Qe=new _e({}),st=new _e({}),nt=new _e({}),ct=new M({props:{name:"class transformers.data.processors.squad.SquadProcessor",anchor:"transformers.data.processors.squad.SquadProcessor",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/squad.py#L541"}}),pt=new M({props:{name:"get_dev_examples",anchor:"transformers.data.processors.squad.SquadProcessor.get_dev_examples",parameters:[{name:"data_dir",val:""},{name:"filename",val:" = None"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/squad.py#L629"}}),mt=new M({props:{name:"get_examples_from_dataset",anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset",parameters:[{name:"dataset",val:""},{name:"evaluate",val:" = False"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/squad.py#L574",returnDescription:`
<p>List of SquadExample</p>
`}}),ue=new ka({props:{anchor:"transformers.data.processors.squad.SquadProcessor.get_examples_from_dataset.example",$$slots:{default:[Ko]},$$scope:{ctx:U}}}),ft=new M({props:{name:"get_train_examples",anchor:"transformers.data.processors.squad.SquadProcessor.get_train_examples",parameters:[{name:"data_dir",val:""},{name:"filename",val:" = None"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/squad.py#L607"}}),ht=new M({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"}],source:"https://github.com/huggingface/transformers/blob/v4.33.3/src/transformers/data/processors/squad.py#L316",returnDescription:`
<p>list of <code>SquadFeatures</code></p>
`}}),ge=new ka({props:{anchor:"transformers.squad_convert_examples_to_features.example",$$slots:{default:[en]},$$scope:{ctx:U}}}),vt=new _e({}),xt=new yr({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,
)`}}),$t=new yr({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,
)`}}),{c(){c=s("meta"),w=n(),b=s("p"),$=n(),y=s("h1"),m=s("a"),T=s("span"),u(xe.$$.fragment),Us=n(),Ct=s("span"),Ct.textContent=Ia,wr=n(),be=s("p"),be.textContent=Ua,Mr=n(),$e=s("ul"),$e.innerHTML=Xa,Cr=n(),H=s("h2"),D=s("a"),cr=s("span"),u(ye.$$.fragment),Xs=n(),Tt=s("span"),Tt.textContent=Za,Tr=n(),we=s("p"),we.textContent=Ja,Pr=n(),Me=s("p"),Me.textContent=La,kr=n(),P=s("div"),u(Ce.$$.fragment),Zs=n(),Pt=s("p"),Pt.textContent=Ea,Js=n(),E=s("div"),u(Te.$$.fragment),Ls=n(),kt=s("p"),kt.textContent=ja,Es=n(),u(Q.$$.fragment),js=n(),j=s("div"),u(Pe.$$.fragment),qs=n(),It=s("p"),It.textContent=qa,Vs=n(),u(Y.$$.fragment),zs=n(),q=s("div"),u(ke.$$.fragment),Ns=n(),Ut=s("p"),Ut.innerHTML=Va,Hs=n(),u(O.$$.fragment),Ss=n(),V=s("div"),u(Ie.$$.fragment),Bs=n(),Xt=s("p"),Xt.innerHTML=za,Fs=n(),u(K.$$.fragment),Ir=n(),S=s("h2"),ee=s("a"),pr=s("span"),u(Ue.$$.fragment),Gs=n(),Zt=s("span"),Zt.textContent=Na,Ur=n(),Xe=s("p"),Xe.innerHTML=Ha,Xr=n(),C=s("div"),u(Ze.$$.fragment),As=n(),Jt=s("p"),Jt.textContent=Sa,Rs=n(),te=s("div"),u(Je.$$.fragment),Ws=n(),Lt=s("p"),Lt.innerHTML=Ba,Ds=n(),re=s("div"),u(Le.$$.fragment),Qs=n(),Et=s("p"),Et.textContent=Fa,Ys=n(),se=s("div"),u(Ee.$$.fragment),Os=n(),jt=s("p"),jt.textContent=Ga,Ks=n(),ae=s("div"),u(je.$$.fragment),ea=n(),qt=s("p"),qt.innerHTML=Aa,ta=n(),oe=s("div"),u(qe.$$.fragment),ra=n(),Vt=s("p"),Vt.innerHTML=Ra,sa=n(),ne=s("div"),u(Ve.$$.fragment),aa=n(),zt=s("p"),zt.textContent=Wa,Zr=n(),Z=s("div"),u(ze.$$.fragment),oa=n(),Nt=s("p"),Nt.textContent=Da,na=n(),le=s("div"),u(Ne.$$.fragment),la=n(),Ht=s("p"),Ht.textContent=Qa,Jr=n(),J=s("div"),u(He.$$.fragment),ia=n(),St=s("p"),St.textContent=Ya,da=n(),ie=s("div"),u(Se.$$.fragment),ca=n(),Bt=s("p"),Bt.textContent=Oa,Lr=n(),B=s("h2"),de=s("a"),mr=s("span"),u(Be.$$.fragment),pa=n(),Ft=s("span"),Ft.textContent=Ka,Er=n(),Fe=s("p"),Fe.innerHTML=eo,jr=n(),Ge=s("p"),Ge.textContent=to,qr=n(),Ae=s("p"),Ae.textContent=ro,Vr=n(),Re=s("ul"),Re.innerHTML=so,zr=n(),We=s("p"),We.innerHTML=ao,Nr=n(),F=s("div"),u(De.$$.fragment),ma=n(),Gt=s("p"),Gt.innerHTML=oo,Hr=n(),G=s("h2"),ce=s("a"),fr=s("span"),u(Qe.$$.fragment),fa=n(),At=s("span"),At.textContent=no,Sr=n(),Ye=s("p"),Ye.innerHTML=lo,Br=n(),Oe=s("p"),Oe.innerHTML=io,Fr=n(),Ke=s("p"),Ke.textContent=co,Gr=n(),et=s("ul"),et.innerHTML=po,Ar=n(),tt=s("p"),tt.textContent=mo,Rr=n(),rt=s("p"),rt.innerHTML=fo,Wr=n(),A=s("h2"),pe=s("a"),ur=s("span"),u(st.$$.fragment),ua=n(),Rt=s("span"),Rt.textContent=uo,Dr=n(),at=s("p"),at.innerHTML=ho,Qr=n(),ot=s("p"),ot.textContent=go,Yr=n(),R=s("h3"),me=s("a"),hr=s("span"),u(nt.$$.fragment),ha=n(),Wt=s("span"),Wt.textContent=vo,Or=n(),lt=s("p"),lt.textContent=_o,Kr=n(),it=s("ul"),it.innerHTML=xo,es=n(),dt=s("p"),dt.innerHTML=bo,ts=n(),I=s("div"),u(ct.$$.fragment),ga=n(),Dt=s("p"),Dt.textContent=$o,va=n(),fe=s("div"),u(pt.$$.fragment),_a=n(),Qt=s("p"),Qt.textContent=yo,xa=n(),z=s("div"),u(mt.$$.fragment),ba=n(),Yt=s("p"),Yt.innerHTML=wo,$a=n(),u(ue.$$.fragment),ya=n(),he=s("div"),u(ft.$$.fragment),wa=n(),Ot=s("p"),Ot.textContent=Mo,rs=n(),ut=s("p"),ut.innerHTML=Co,ss=n(),L=s("div"),u(ht.$$.fragment),Ma=n(),Kt=s("p"),Kt.textContent=To,Ca=n(),u(ge.$$.fragment),as=n(),gt=s("p"),gt.innerHTML=Po,os=n(),W=s("h3"),ve=s("a"),gr=s("span"),u(vt.$$.fragment),Ta=n(),er=s("span"),er.textContent=ko,ns=n(),_t=s("p"),_t.textContent=Io,ls=n(),u(xt.$$.fragment),is=n(),bt=s("p"),bt.innerHTML=Uo,ds=n(),u($t.$$.fragment),cs=n(),yt=s("p"),yt.innerHTML=Xo,ps=n(),vr=s("p"),this.h()},l(e){const o=Wo("svelte-1phssyn",document.head);c=a(o,"META",{name:!0,content:!0}),o.forEach(t),w=l(e),b=a(e,"P",{}),f(b).forEach(t),$=l(e),y=a(e,"H1",{class:!0});var wt=f(y);m=a(wt,"A",{id:!0,class:!0,href:!0});var _r=f(m);T=a(_r,"SPAN",{});var xr=f(T);h(xe.$$.fragment,xr),xr.forEach(t),_r.forEach(t),Us=l(wt),Ct=a(wt,"SPAN",{"data-svelte-h":!0}),d(Ct)!=="svelte-15wg2hu"&&(Ct.textContent=Ia),wt.forEach(t),wr=l(e),be=a(e,"P",{"data-svelte-h":!0}),d(be)!=="svelte-8nvl5z"&&(be.textContent=Ua),Mr=l(e),$e=a(e,"UL",{"data-svelte-h":!0}),d($e)!=="svelte-1r5mt3j"&&($e.innerHTML=Xa),Cr=l(e),H=a(e,"H2",{class:!0});var Mt=f(H);D=a(Mt,"A",{id:!0,class:!0,href:!0});var br=f(D);cr=a(br,"SPAN",{});var $r=f(cr);h(ye.$$.fragment,$r),$r.forEach(t),br.forEach(t),Xs=l(Mt),Tt=a(Mt,"SPAN",{"data-svelte-h":!0}),d(Tt)!=="svelte-z77qnb"&&(Tt.textContent=Za),Mt.forEach(t),Tr=l(e),we=a(e,"P",{"data-svelte-h":!0}),d(we)!=="svelte-16hpp4n"&&(we.textContent=Ja),Pr=l(e),Me=a(e,"P",{"data-svelte-h":!0}),d(Me)!=="svelte-x3ucqc"&&(Me.textContent=La),kr=l(e),P=a(e,"DIV",{class:!0});var X=f(P);h(Ce.$$.fragment,X),Zs=l(X),Pt=a(X,"P",{"data-svelte-h":!0}),d(Pt)!=="svelte-1s4wckx"&&(Pt.textContent=Ea),Js=l(X),E=a(X,"DIV",{class:!0});var tr=f(E);h(Te.$$.fragment,tr),Ls=l(tr),kt=a(tr,"P",{"data-svelte-h":!0}),d(kt)!=="svelte-1cj8dcb"&&(kt.textContent=ja),Es=l(tr),h(Q.$$.fragment,tr),tr.forEach(t),js=l(X),j=a(X,"DIV",{class:!0});var rr=f(j);h(Pe.$$.fragment,rr),qs=l(rr),It=a(rr,"P",{"data-svelte-h":!0}),d(It)!=="svelte-1cwsjho"&&(It.textContent=qa),Vs=l(rr),h(Y.$$.fragment,rr),rr.forEach(t),zs=l(X),q=a(X,"DIV",{class:!0});var sr=f(q);h(ke.$$.fragment,sr),Ns=l(sr),Ut=a(sr,"P",{"data-svelte-h":!0}),d(Ut)!=="svelte-hhsvto"&&(Ut.innerHTML=Va),Hs=l(sr),h(O.$$.fragment,sr),sr.forEach(t),Ss=l(X),V=a(X,"DIV",{class:!0});var ar=f(V);h(Ie.$$.fragment,ar),Bs=l(ar),Xt=a(ar,"P",{"data-svelte-h":!0}),d(Xt)!=="svelte-x0jn8n"&&(Xt.innerHTML=za),Fs=l(ar),h(K.$$.fragment,ar),ar.forEach(t),X.forEach(t),Ir=l(e),S=a(e,"H2",{class:!0});var fs=f(S);ee=a(fs,"A",{id:!0,class:!0,href:!0});var Zo=f(ee);pr=a(Zo,"SPAN",{});var Jo=f(pr);h(Ue.$$.fragment,Jo),Jo.forEach(t),Zo.forEach(t),Gs=l(fs),Zt=a(fs,"SPAN",{"data-svelte-h":!0}),d(Zt)!=="svelte-2l8r8d"&&(Zt.textContent=Na),fs.forEach(t),Ur=l(e),Xe=a(e,"P",{"data-svelte-h":!0}),d(Xe)!=="svelte-niwcn9"&&(Xe.innerHTML=Ha),Xr=l(e),C=a(e,"DIV",{class:!0});var k=f(C);h(Ze.$$.fragment,k),As=l(k),Jt=a(k,"P",{"data-svelte-h":!0}),d(Jt)!=="svelte-1bsw04k"&&(Jt.textContent=Sa),Rs=l(k),te=a(k,"DIV",{class:!0});var us=f(te);h(Je.$$.fragment,us),Ws=l(us),Lt=a(us,"P",{"data-svelte-h":!0}),d(Lt)!=="svelte-19iig7k"&&(Lt.innerHTML=Ba),us.forEach(t),Ds=l(k),re=a(k,"DIV",{class:!0});var hs=f(re);h(Le.$$.fragment,hs),Qs=l(hs),Et=a(hs,"P",{"data-svelte-h":!0}),d(Et)!=="svelte-pplryq"&&(Et.textContent=Fa),hs.forEach(t),Ys=l(k),se=a(k,"DIV",{class:!0});var gs=f(se);h(Ee.$$.fragment,gs),Os=l(gs),jt=a(gs,"P",{"data-svelte-h":!0}),d(jt)!=="svelte-3oqyjr"&&(jt.textContent=Ga),gs.forEach(t),Ks=l(k),ae=a(k,"DIV",{class:!0});var vs=f(ae);h(je.$$.fragment,vs),ea=l(vs),qt=a(vs,"P",{"data-svelte-h":!0}),d(qt)!=="svelte-15bjmb5"&&(qt.innerHTML=Aa),vs.forEach(t),ta=l(k),oe=a(k,"DIV",{class:!0});var _s=f(oe);h(qe.$$.fragment,_s),ra=l(_s),Vt=a(_s,"P",{"data-svelte-h":!0}),d(Vt)!=="svelte-13zpfuf"&&(Vt.innerHTML=Ra),_s.forEach(t),sa=l(k),ne=a(k,"DIV",{class:!0});var xs=f(ne);h(Ve.$$.fragment,xs),aa=l(xs),zt=a(xs,"P",{"data-svelte-h":!0}),d(zt)!=="svelte-1jevh15"&&(zt.textContent=Wa),xs.forEach(t),k.forEach(t),Zr=l(e),Z=a(e,"DIV",{class:!0});var or=f(Z);h(ze.$$.fragment,or),oa=l(or),Nt=a(or,"P",{"data-svelte-h":!0}),d(Nt)!=="svelte-vkt0pi"&&(Nt.textContent=Da),na=l(or),le=a(or,"DIV",{class:!0});var bs=f(le);h(Ne.$$.fragment,bs),la=l(bs),Ht=a(bs,"P",{"data-svelte-h":!0}),d(Ht)!=="svelte-5ayq1f"&&(Ht.textContent=Qa),bs.forEach(t),or.forEach(t),Jr=l(e),J=a(e,"DIV",{class:!0});var nr=f(J);h(He.$$.fragment,nr),ia=l(nr),St=a(nr,"P",{"data-svelte-h":!0}),d(St)!=="svelte-168wf64"&&(St.textContent=Ya),da=l(nr),ie=a(nr,"DIV",{class:!0});var $s=f(ie);h(Se.$$.fragment,$s),ca=l($s),Bt=a($s,"P",{"data-svelte-h":!0}),d(Bt)!=="svelte-5ayq1f"&&(Bt.textContent=Oa),$s.forEach(t),nr.forEach(t),Lr=l(e),B=a(e,"H2",{class:!0});var ys=f(B);de=a(ys,"A",{id:!0,class:!0,href:!0});var Lo=f(de);mr=a(Lo,"SPAN",{});var Eo=f(mr);h(Be.$$.fragment,Eo),Eo.forEach(t),Lo.forEach(t),pa=l(ys),Ft=a(ys,"SPAN",{"data-svelte-h":!0}),d(Ft)!=="svelte-1lp4952"&&(Ft.textContent=Ka),ys.forEach(t),Er=l(e),Fe=a(e,"P",{"data-svelte-h":!0}),d(Fe)!=="svelte-pgkk87"&&(Fe.innerHTML=eo),jr=l(e),Ge=a(e,"P",{"data-svelte-h":!0}),d(Ge)!=="svelte-1iz8kjk"&&(Ge.textContent=to),qr=l(e),Ae=a(e,"P",{"data-svelte-h":!0}),d(Ae)!=="svelte-ejlsq2"&&(Ae.textContent=ro),Vr=l(e),Re=a(e,"UL",{"data-svelte-h":!0}),d(Re)!=="svelte-my8qym"&&(Re.innerHTML=so),zr=l(e),We=a(e,"P",{"data-svelte-h":!0}),d(We)!=="svelte-1xcr4ma"&&(We.innerHTML=ao),Nr=l(e),F=a(e,"DIV",{class:!0});var ws=f(F);h(De.$$.fragment,ws),ma=l(ws),Gt=a(ws,"P",{"data-svelte-h":!0}),d(Gt)!=="svelte-5lvrve"&&(Gt.innerHTML=oo),ws.forEach(t),Hr=l(e),G=a(e,"H2",{class:!0});var Ms=f(G);ce=a(Ms,"A",{id:!0,class:!0,href:!0});var jo=f(ce);fr=a(jo,"SPAN",{});var qo=f(fr);h(Qe.$$.fragment,qo),qo.forEach(t),jo.forEach(t),fa=l(Ms),At=a(Ms,"SPAN",{"data-svelte-h":!0}),d(At)!=="svelte-l6o55u"&&(At.textContent=no),Ms.forEach(t),Sr=l(e),Ye=a(e,"P",{"data-svelte-h":!0}),d(Ye)!=="svelte-9mlx1z"&&(Ye.innerHTML=lo),Br=l(e),Oe=a(e,"P",{"data-svelte-h":!0}),d(Oe)!=="svelte-1qabksm"&&(Oe.innerHTML=io),Fr=l(e),Ke=a(e,"P",{"data-svelte-h":!0}),d(Ke)!=="svelte-uho2qa"&&(Ke.textContent=co),Gr=l(e),et=a(e,"UL",{"data-svelte-h":!0}),d(et)!=="svelte-1e2xq99"&&(et.innerHTML=po),Ar=l(e),tt=a(e,"P",{"data-svelte-h":!0}),d(tt)!=="svelte-sz5yy2"&&(tt.textContent=mo),Rr=l(e),rt=a(e,"P",{"data-svelte-h":!0}),d(rt)!=="svelte-1u88c3m"&&(rt.innerHTML=fo),Wr=l(e),A=a(e,"H2",{class:!0});var Cs=f(A);pe=a(Cs,"A",{id:!0,class:!0,href:!0});var Vo=f(pe);ur=a(Vo,"SPAN",{});var zo=f(ur);h(st.$$.fragment,zo),zo.forEach(t),Vo.forEach(t),ua=l(Cs),Rt=a(Cs,"SPAN",{"data-svelte-h":!0}),d(Rt)!=="svelte-12a74xt"&&(Rt.textContent=uo),Cs.forEach(t),Dr=l(e),at=a(e,"P",{"data-svelte-h":!0}),d(at)!=="svelte-1i4abtq"&&(at.innerHTML=ho),Qr=l(e),ot=a(e,"P",{"data-svelte-h":!0}),d(ot)!=="svelte-zxdzom"&&(ot.textContent=go),Yr=l(e),R=a(e,"H3",{class:!0});var Ts=f(R);me=a(Ts,"A",{id:!0,class:!0,href:!0});var No=f(me);hr=a(No,"SPAN",{});var Ho=f(hr);h(nt.$$.fragment,Ho),Ho.forEach(t),No.forEach(t),ha=l(Ts),Wt=a(Ts,"SPAN",{"data-svelte-h":!0}),d(Wt)!=="svelte-15wg2hu"&&(Wt.textContent=vo),Ts.forEach(t),Or=l(e),lt=a(e,"P",{"data-svelte-h":!0}),d(lt)!=="svelte-ejlsq2"&&(lt.textContent=_o),Kr=l(e),it=a(e,"UL",{"data-svelte-h":!0}),d(it)!=="svelte-1qiv3qf"&&(it.innerHTML=xo),es=l(e),dt=a(e,"P",{"data-svelte-h":!0}),d(dt)!=="svelte-1r22nj6"&&(dt.innerHTML=bo),ts=l(e),I=a(e,"DIV",{class:!0});var N=f(I);h(ct.$$.fragment,N),ga=l(N),Dt=a(N,"P",{"data-svelte-h":!0}),d(Dt)!=="svelte-173gxyd"&&(Dt.textContent=$o),va=l(N),fe=a(N,"DIV",{class:!0});var Ps=f(fe);h(pt.$$.fragment,Ps),_a=l(Ps),Qt=a(Ps,"P",{"data-svelte-h":!0}),d(Qt)!=="svelte-wmaktk"&&(Qt.textContent=yo),Ps.forEach(t),xa=l(N),z=a(N,"DIV",{class:!0});var lr=f(z);h(mt.$$.fragment,lr),ba=l(lr),Yt=a(lr,"P",{"data-svelte-h":!0}),d(Yt)!=="svelte-11nqnea"&&(Yt.innerHTML=wo),$a=l(lr),h(ue.$$.fragment,lr),lr.forEach(t),ya=l(N),he=a(N,"DIV",{class:!0});var ks=f(he);h(ft.$$.fragment,ks),wa=l(ks),Ot=a(ks,"P",{"data-svelte-h":!0}),d(Ot)!=="svelte-d5zv1x"&&(Ot.textContent=Mo),ks.forEach(t),N.forEach(t),rs=l(e),ut=a(e,"P",{"data-svelte-h":!0}),d(ut)!=="svelte-12wzh89"&&(ut.innerHTML=Co),ss=l(e),L=a(e,"DIV",{class:!0});var ir=f(L);h(ht.$$.fragment,ir),Ma=l(ir),Kt=a(ir,"P",{"data-svelte-h":!0}),d(Kt)!=="svelte-169nh0g"&&(Kt.textContent=To),Ca=l(ir),h(ge.$$.fragment,ir),ir.forEach(t),as=l(e),gt=a(e,"P",{"data-svelte-h":!0}),d(gt)!=="svelte-2mj9lk"&&(gt.innerHTML=Po),os=l(e),W=a(e,"H3",{class:!0});var Is=f(W);ve=a(Is,"A",{id:!0,class:!0,href:!0});var So=f(ve);gr=a(So,"SPAN",{});var Bo=f(gr);h(vt.$$.fragment,Bo),Bo.forEach(t),So.forEach(t),Ta=l(Is),er=a(Is,"SPAN",{"data-svelte-h":!0}),d(er)!=="svelte-13m28iy"&&(er.textContent=ko),Is.forEach(t),ns=l(e),_t=a(e,"P",{"data-svelte-h":!0}),d(_t)!=="svelte-1q119ra"&&(_t.textContent=Io),ls=l(e),h(xt.$$.fragment,e),is=l(e),bt=a(e,"P",{"data-svelte-h":!0}),d(bt)!=="svelte-9ecb4t"&&(bt.innerHTML=Uo),ds=l(e),h($t.$$.fragment,e),cs=l(e),yt=a(e,"P",{"data-svelte-h":!0}),d(yt)!=="svelte-8lr0dh"&&(yt.innerHTML=Xo),ps=l(e),vr=a(e,"P",{}),f(vr).forEach(t),this.h()},h(){p(c,"name","hf:doc:metadata"),p(c,"content",JSON.stringify(rn)),p(m,"id","processors"),p(m,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(m,"href","#processors"),p(y,"class","relative group"),p(D,"id","transformers.ProcessorMixin"),p(D,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(D,"href","#transformers.ProcessorMixin"),p(H,"class","relative group"),p(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ee,"id","transformers.DataProcessor"),p(ee,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ee,"href","#transformers.DataProcessor"),p(S,"class","relative group"),p(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(de,"id","transformers.glue_convert_examples_to_features"),p(de,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(de,"href","#transformers.glue_convert_examples_to_features"),p(B,"class","relative group"),p(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ce,"id","xnli"),p(ce,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ce,"href","#xnli"),p(G,"class","relative group"),p(pe,"id","squad"),p(pe,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(pe,"href","#squad"),p(A,"class","relative group"),p(me,"id","transformers.data.processors.squad.SquadProcessor"),p(me,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(me,"href","#transformers.data.processors.squad.SquadProcessor"),p(R,"class","relative group"),p(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(ve,"id","example-usage"),p(ve,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ve,"href","#example-usage"),p(W,"class","relative group")},m(e,o){r(document.head,c),i(e,w,o),i(e,b,o),i(e,$,o),i(e,y,o),r(y,m),r(m,T),g(xe,T,null),r(y,Us),r(y,Ct),i(e,wr,o),i(e,be,o),i(e,Mr,o),i(e,$e,o),i(e,Cr,o),i(e,H,o),r(H,D),r(D,cr),g(ye,cr,null),r(H,Xs),r(H,Tt),i(e,Tr,o),i(e,we,o),i(e,Pr,o),i(e,Me,o),i(e,kr,o),i(e,P,o),g(Ce,P,null),r(P,Zs),r(P,Pt),r(P,Js),r(P,E),g(Te,E,null),r(E,Ls),r(E,kt),r(E,Es),g(Q,E,null),r(P,js),r(P,j),g(Pe,j,null),r(j,qs),r(j,It),r(j,Vs),g(Y,j,null),r(P,zs),r(P,q),g(ke,q,null),r(q,Ns),r(q,Ut),r(q,Hs),g(O,q,null),r(P,Ss),r(P,V),g(Ie,V,null),r(V,Bs),r(V,Xt),r(V,Fs),g(K,V,null),i(e,Ir,o),i(e,S,o),r(S,ee),r(ee,pr),g(Ue,pr,null),r(S,Gs),r(S,Zt),i(e,Ur,o),i(e,Xe,o),i(e,Xr,o),i(e,C,o),g(Ze,C,null),r(C,As),r(C,Jt),r(C,Rs),r(C,te),g(Je,te,null),r(te,Ws),r(te,Lt),r(C,Ds),r(C,re),g(Le,re,null),r(re,Qs),r(re,Et),r(C,Ys),r(C,se),g(Ee,se,null),r(se,Os),r(se,jt),r(C,Ks),r(C,ae),g(je,ae,null),r(ae,ea),r(ae,qt),r(C,ta),r(C,oe),g(qe,oe,null),r(oe,ra),r(oe,Vt),r(C,sa),r(C,ne),g(Ve,ne,null),r(ne,aa),r(ne,zt),i(e,Zr,o),i(e,Z,o),g(ze,Z,null),r(Z,oa),r(Z,Nt),r(Z,na),r(Z,le),g(Ne,le,null),r(le,la),r(le,Ht),i(e,Jr,o),i(e,J,o),g(He,J,null),r(J,ia),r(J,St),r(J,da),r(J,ie),g(Se,ie,null),r(ie,ca),r(ie,Bt),i(e,Lr,o),i(e,B,o),r(B,de),r(de,mr),g(Be,mr,null),r(B,pa),r(B,Ft),i(e,Er,o),i(e,Fe,o),i(e,jr,o),i(e,Ge,o),i(e,qr,o),i(e,Ae,o),i(e,Vr,o),i(e,Re,o),i(e,zr,o),i(e,We,o),i(e,Nr,o),i(e,F,o),g(De,F,null),r(F,ma),r(F,Gt),i(e,Hr,o),i(e,G,o),r(G,ce),r(ce,fr),g(Qe,fr,null),r(G,fa),r(G,At),i(e,Sr,o),i(e,Ye,o),i(e,Br,o),i(e,Oe,o),i(e,Fr,o),i(e,Ke,o),i(e,Gr,o),i(e,et,o),i(e,Ar,o),i(e,tt,o),i(e,Rr,o),i(e,rt,o),i(e,Wr,o),i(e,A,o),r(A,pe),r(pe,ur),g(st,ur,null),r(A,ua),r(A,Rt),i(e,Dr,o),i(e,at,o),i(e,Qr,o),i(e,ot,o),i(e,Yr,o),i(e,R,o),r(R,me),r(me,hr),g(nt,hr,null),r(R,ha),r(R,Wt),i(e,Or,o),i(e,lt,o),i(e,Kr,o),i(e,it,o),i(e,es,o),i(e,dt,o),i(e,ts,o),i(e,I,o),g(ct,I,null),r(I,ga),r(I,Dt),r(I,va),r(I,fe),g(pt,fe,null),r(fe,_a),r(fe,Qt),r(I,xa),r(I,z),g(mt,z,null),r(z,ba),r(z,Yt),r(z,$a),g(ue,z,null),r(I,ya),r(I,he),g(ft,he,null),r(he,wa),r(he,Ot),i(e,rs,o),i(e,ut,o),i(e,ss,o),i(e,L,o),g(ht,L,null),r(L,Ma),r(L,Kt),r(L,Ca),g(ge,L,null),i(e,as,o),i(e,gt,o),i(e,os,o),i(e,W,o),r(W,ve),r(ve,gr),g(vt,gr,null),r(W,Ta),r(W,er),i(e,ns,o),i(e,_t,o),i(e,ls,o),g(xt,e,o),i(e,is,o),i(e,bt,o),i(e,ds,o),g($t,e,o),i(e,cs,o),i(e,yt,o),i(e,ps,o),i(e,vr,o),ms=!0},p(e,[o]){const wt={};o&2&&(wt.$$scope={dirty:o,ctx:e}),Q.$set(wt);const _r={};o&2&&(_r.$$scope={dirty:o,ctx:e}),Y.$set(_r);const xr={};o&2&&(xr.$$scope={dirty:o,ctx:e}),O.$set(xr);const Mt={};o&2&&(Mt.$$scope={dirty:o,ctx:e}),K.$set(Mt);const br={};o&2&&(br.$$scope={dirty:o,ctx:e}),ue.$set(br);const $r={};o&2&&($r.$$scope={dirty:o,ctx:e}),ge.$set($r)},i(e){ms||(v(xe.$$.fragment,e),v(ye.$$.fragment,e),v(Ce.$$.fragment,e),v(Te.$$.fragment,e),v(Q.$$.fragment,e),v(Pe.$$.fragment,e),v(Y.$$.fragment,e),v(ke.$$.fragment,e),v(O.$$.fragment,e),v(Ie.$$.fragment,e),v(K.$$.fragment,e),v(Ue.$$.fragment,e),v(Ze.$$.fragment,e),v(Je.$$.fragment,e),v(Le.$$.fragment,e),v(Ee.$$.fragment,e),v(je.$$.fragment,e),v(qe.$$.fragment,e),v(Ve.$$.fragment,e),v(ze.$$.fragment,e),v(Ne.$$.fragment,e),v(He.$$.fragment,e),v(Se.$$.fragment,e),v(Be.$$.fragment,e),v(De.$$.fragment,e),v(Qe.$$.fragment,e),v(st.$$.fragment,e),v(nt.$$.fragment,e),v(ct.$$.fragment,e),v(pt.$$.fragment,e),v(mt.$$.fragment,e),v(ue.$$.fragment,e),v(ft.$$.fragment,e),v(ht.$$.fragment,e),v(ge.$$.fragment,e),v(vt.$$.fragment,e),v(xt.$$.fragment,e),v($t.$$.fragment,e),ms=!0)},o(e){_(xe.$$.fragment,e),_(ye.$$.fragment,e),_(Ce.$$.fragment,e),_(Te.$$.fragment,e),_(Q.$$.fragment,e),_(Pe.$$.fragment,e),_(Y.$$.fragment,e),_(ke.$$.fragment,e),_(O.$$.fragment,e),_(Ie.$$.fragment,e),_(K.$$.fragment,e),_(Ue.$$.fragment,e),_(Ze.$$.fragment,e),_(Je.$$.fragment,e),_(Le.$$.fragment,e),_(Ee.$$.fragment,e),_(je.$$.fragment,e),_(qe.$$.fragment,e),_(Ve.$$.fragment,e),_(ze.$$.fragment,e),_(Ne.$$.fragment,e),_(He.$$.fragment,e),_(Se.$$.fragment,e),_(Be.$$.fragment,e),_(De.$$.fragment,e),_(Qe.$$.fragment,e),_(st.$$.fragment,e),_(nt.$$.fragment,e),_(ct.$$.fragment,e),_(pt.$$.fragment,e),_(mt.$$.fragment,e),_(ue.$$.fragment,e),_(ft.$$.fragment,e),_(ht.$$.fragment,e),_(ge.$$.fragment,e),_(vt.$$.fragment,e),_(xt.$$.fragment,e),_($t.$$.fragment,e),ms=!1},d(e){e&&(t(w),t(b),t($),t(y),t(wr),t(be),t(Mr),t($e),t(Cr),t(H),t(Tr),t(we),t(Pr),t(Me),t(kr),t(P),t(Ir),t(S),t(Ur),t(Xe),t(Xr),t(C),t(Zr),t(Z),t(Jr),t(J),t(Lr),t(B),t(Er),t(Fe),t(jr),t(Ge),t(qr),t(Ae),t(Vr),t(Re),t(zr),t(We),t(Nr),t(F),t(Hr),t(G),t(Sr),t(Ye),t(Br),t(Oe),t(Fr),t(Ke),t(Gr),t(et),t(Ar),t(tt),t(Rr),t(rt),t(Wr),t(A),t(Dr),t(at),t(Qr),t(ot),t(Yr),t(R),t(Or),t(lt),t(Kr),t(it),t(es),t(dt),t(ts),t(I),t(rs),t(ut),t(ss),t(L),t(as),t(gt),t(os),t(W),t(ns),t(_t),t(ls),t(is),t(bt),t(ds),t(cs),t(yt),t(ps),t(vr)),t(c),x(xe),x(ye),x(Ce),x(Te),x(Q),x(Pe),x(Y),x(ke),x(O),x(Ie),x(K),x(Ue),x(Ze),x(Je),x(Le),x(Ee),x(je),x(qe),x(Ve),x(ze),x(Ne),x(He),x(Se),x(Be),x(De),x(Qe),x(st),x(nt),x(ct),x(pt),x(mt),x(ue),x(ft),x(ht),x(ge),x(vt),x(xt,e),x($t,e)}}}const rn={local:"processors",sections:[{local:"transformers.ProcessorMixin",title:"Multi-modal processors"},{local:"transformers.DataProcessor",title:"Deprecated processors"},{local:"transformers.glue_convert_examples_to_features",title:"GLUE"},{local:"xnli",title:"XNLI"},{local:"squad",sections:[{local:"transformers.data.processors.squad.SquadProcessor",title:"Processors"},{local:"example-usage",title:"Example usage"}],title:"SQuAD"}],title:"Processors"};function sn(U){return Go(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mn extends Ao{constructor(c){super(),Ro(this,c,sn,tn,Fo,{})}}export{mn as component};
