import{s as It,n as Mt,o as Tt}from"../chunks/scheduler.c90a44b2.js";import{S as zt,i as xt,e as c,s as a,c as r,h as wt,a as u,d as t,b as o,f,g as l,j as pe,k as _,l as g,m as i,n as s,t as m,o as p,p as d}from"../chunks/index.66c3f415.js";import{C as Dt,H as b}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.989ebcbf.js";import{D as h}from"../chunks/Docstring.d3d4ddac.js";function qt(st){let C,be,he,Ne,w,Ce,D,ye,q,Ie,v,F,Ke,de,mt="Handle the Neural Compressor quantization process.",Xe,y,L,Ye,ce,pt="Create the calibration <code>datasets.Dataset</code> to use for the post-training static quantization calibration step.",Ze,I,P,et,ue,dt="Quantize a model given the optimization specifications defined in <code>quantization_config</code>.",Me,k,Te,$,Q,tt,ge,ct="INCTrainer enables Intel Neural Compression quantization aware training, pruning and distillation.",nt,M,S,at,fe,ut="How the distillation loss is computed given the student and teacher outputs.",ot,T,E,it,_e,gt="How the loss is computed by Trainer. By default, all models return the loss in the first element.",rt,z,O,lt,$e,ft=`Will save the model, so you can reload it using <code>from_pretrained()</code>.
Will only save from the main process.`,ze,U,xe,V,H,we,A,De,B,R,qe,W,Fe,j,G,Le,J,Pe,K,X,ke,Y,Qe,Z,ee,Se,te,Ee,ne,ae,Oe,oe,Ue,ie,re,Ve,le,He,se,me,Ae,ve,Be;return w=new Dt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),D=new b({props:{title:"Reference",local:"reference",headingTag:"h1"}}),q=new b({props:{title:"INCQuantizer",local:"optimum.intel.INCQuantizer",headingTag:"h2"}}),F=new h({props:{name:"class optimum.intel.INCQuantizer",anchor:"optimum.intel.INCQuantizer",parameters:[{name:"model",val:": typing.Union[transformers.modeling_utils.PreTrainedModel, torch.nn.modules.module.Module]"},{name:"eval_fn",val:": typing.Optional[typing.Callable[[transformers.modeling_utils.PreTrainedModel], int]] = None"},{name:"calibration_fn",val:": typing.Optional[typing.Callable[[transformers.modeling_utils.PreTrainedModel], int]] = None"},{name:"task",val:": typing.Optional[str] = None"},{name:"seed",val:": int = 42"}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/quantization.py#L78"}}),L=new h({props:{name:"get_calibration_dataset",anchor:"optimum.intel.INCQuantizer.get_calibration_dataset",parameters:[{name:"dataset_name",val:": str"},{name:"num_samples",val:": int = 100"},{name:"dataset_config_name",val:": typing.Optional[str] = None"},{name:"dataset_split",val:": str = 'train'"},{name:"preprocess_function",val:": typing.Optional[typing.Callable] = None"},{name:"preprocess_batch",val:": bool = True"},{name:"use_auth_token",val:": typing.Union[bool, str, NoneType] = None"},{name:"token",val:": typing.Union[bool, str, NoneType] = None"}],parametersDescription:[{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.dataset_name",description:`<strong>dataset_name</strong> (<code>str</code>) &#x2014;
The dataset repository name on the Hugging Face Hub or path to a local directory containing data files
in generic formats and optionally a dataset script, if it requires some code to read the data files.`,name:"dataset_name"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.num_samples",description:`<strong>num_samples</strong> (<code>int</code>, defaults to 100) &#x2014;
The maximum number of samples composing the calibration dataset.`,name:"num_samples"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.dataset_config_name",description:`<strong>dataset_config_name</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The name of the dataset configuration.`,name:"dataset_config_name"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.dataset_split",description:`<strong>dataset_split</strong> (<code>str</code>, defaults to <code>&quot;train&quot;</code>) &#x2014;
Which split of the dataset to use to perform the calibration step.`,name:"dataset_split"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.preprocess_function",description:`<strong>preprocess_function</strong> (<code>Callable</code>, <em>optional</em>) &#x2014;
Processing function to apply to each example after loading dataset.`,name:"preprocess_function"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.preprocess_batch",description:`<strong>preprocess_batch</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether the <code>preprocess_function</code> should be batched.`,name:"preprocess_batch"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.use_auth_token",description:`<strong>use_auth_token</strong> (Optional[Union[bool, str]], defaults to <code>None</code>) &#x2014;
Deprecated. Please use <code>token</code> instead.`,name:"use_auth_token"},{anchor:"optimum.intel.INCQuantizer.get_calibration_dataset.token",description:`<strong>token</strong> (Optional[Union[bool, str]], defaults to <code>None</code>) &#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>).`,name:"token"}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/quantization.py#L247",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The calibration <code>datasets.Dataset</code> to use for the post-training static quantization calibration step.</p>
`}}),P=new h({props:{name:"quantize",anchor:"optimum.intel.INCQuantizer.quantize",parameters:[{name:"quantization_config",val:": ForwardRef('PostTrainingQuantConfig')"},{name:"save_directory",val:": typing.Union[str, pathlib.Path]"},{name:"calibration_dataset",val:": Dataset = None"},{name:"batch_size",val:": int = 8"},{name:"data_collator",val:": typing.Optional[transformers.data.data_collator.DataCollator] = None"},{name:"remove_unused_columns",val:": bool = True"},{name:"file_name",val:": str = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"optimum.intel.INCQuantizer.quantize.quantization_config",description:`<strong>quantization_config</strong> (<code>Union[PostTrainingQuantConfig]</code>) &#x2014;
The configuration containing the parameters related to quantization.`,name:"quantization_config"},{anchor:"optimum.intel.INCQuantizer.quantize.save_directory",description:`<strong>save_directory</strong> (<code>Union[str, Path]</code>) &#x2014;
The directory where the quantized model should be saved.`,name:"save_directory"},{anchor:"optimum.intel.INCQuantizer.quantize.calibration_dataset",description:`<strong>calibration_dataset</strong> (<code>datasets.Dataset</code>, defaults to <code>None</code>) &#x2014;
The dataset to use for the calibration step, needed for post-training static quantization.`,name:"calibration_dataset"},{anchor:"optimum.intel.INCQuantizer.quantize.batch_size",description:`<strong>batch_size</strong> (<code>int</code>, defaults to 8) &#x2014;
The number of calibration samples to load per batch.`,name:"batch_size"},{anchor:"optimum.intel.INCQuantizer.quantize.data_collator",description:`<strong>data_collator</strong> (<code>DataCollator</code>, defaults to <code>None</code>) &#x2014;
The function to use to form a batch from a list of elements of the calibration dataset.`,name:"data_collator"},{anchor:"optimum.intel.INCQuantizer.quantize.remove_unused_columns",description:`<strong>remove_unused_columns</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether or not to remove the columns unused by the model forward method.`,name:"remove_unused_columns"}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/quantization.py#L120"}}),k=new b({props:{title:"INCTrainer",local:"optimum.intel.INCTrainer",headingTag:"h2"}}),Q=new h({props:{name:"class optimum.intel.INCTrainer",anchor:"optimum.intel.INCTrainer",parameters:[{name:"model",val:": typing.Union[transformers.modeling_utils.PreTrainedModel, torch.nn.modules.module.Module] = None"},{name:"args",val:": TrainingArguments = None"},{name:"data_collator",val:": typing.Optional[transformers.data.data_collator.DataCollator] = None"},{name:"train_dataset",val:": typing.Optional[torch.utils.data.dataset.Dataset] = None"},{name:"eval_dataset",val:": typing.Optional[torch.utils.data.dataset.Dataset] = None"},{name:"processing_class",val:": typing.Union[transformers.tokenization_utils_base.PreTrainedTokenizerBase, transformers.feature_extraction_utils.FeatureExtractionMixin, NoneType] = None"},{name:"model_init",val:": typing.Callable[[], transformers.modeling_utils.PreTrainedModel] = None"},{name:"compute_loss_func",val:": typing.Optional[typing.Callable] = None"},{name:"compute_metrics",val:": typing.Optional[typing.Callable[[transformers.trainer_utils.EvalPrediction], typing.Dict]] = None"},{name:"callbacks",val:": typing.Optional[typing.List[transformers.trainer_callback.TrainerCallback]] = None"},{name:"optimizers",val:": typing.Tuple[torch.optim.optimizer.Optimizer, torch.optim.lr_scheduler.LambdaLR] = (None, None)"},{name:"preprocess_logits_for_metrics",val:": typing.Callable[[torch.Tensor, torch.Tensor], torch.Tensor] = None"},{name:"quantization_config",val:": typing.Optional[neural_compressor.config._BaseQuantizationConfig] = None"},{name:"pruning_config",val:": typing.Optional[neural_compressor.config._BaseQuantizationConfig] = None"},{name:"distillation_config",val:": typing.Optional[neural_compressor.config._BaseQuantizationConfig] = None"},{name:"task",val:": typing.Optional[str] = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/trainer.py#L109"}}),S=new h({props:{name:"compute_distillation_loss",anchor:"optimum.intel.INCTrainer.compute_distillation_loss",parameters:[{name:"student_outputs",val:""},{name:"teacher_outputs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/trainer.py#L843"}}),E=new h({props:{name:"compute_loss",anchor:"optimum.intel.INCTrainer.compute_loss",parameters:[{name:"model",val:""},{name:"inputs",val:""},{name:"return_outputs",val:" = False"},{name:"num_items_in_batch",val:" = None"}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/trainer.py#L767"}}),O=new h({props:{name:"save_model",anchor:"optimum.intel.INCTrainer.save_model",parameters:[{name:"output_dir",val:": typing.Optional[str] = None"},{name:"_internal_call",val:": bool = False"}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/trainer.py#L676"}}),U=new b({props:{title:"INCModel",local:"optimum.intel.INCModel",headingTag:"h2"}}),H=new h({props:{name:"class optimum.intel.INCModel",anchor:"optimum.intel.INCModel",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L71"}}),A=new b({props:{title:"INCModelForSequenceClassification",local:"optimum.intel.INCModelForSequenceClassification",headingTag:"h2"}}),R=new h({props:{name:"class optimum.intel.INCModelForSequenceClassification",anchor:"optimum.intel.INCModelForSequenceClassification",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L396"}}),W=new b({props:{title:"INCModelForQuestionAnswering",local:"optimum.intel.INCModelForQuestionAnswering",headingTag:"h2"}}),G=new h({props:{name:"class optimum.intel.INCModelForQuestionAnswering",anchor:"optimum.intel.INCModelForQuestionAnswering",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L391"}}),J=new b({props:{title:"INCModelForTokenClassification",local:"optimum.intel.INCModelForTokenClassification",headingTag:"h2"}}),X=new h({props:{name:"class optimum.intel.INCModelForTokenClassification",anchor:"optimum.intel.INCModelForTokenClassification",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L401"}}),Y=new b({props:{title:"INCModelForMultipleChoice",local:"optimum.intel.INCModelForMultipleChoice",headingTag:"h2"}}),ee=new h({props:{name:"class optimum.intel.INCModelForMultipleChoice",anchor:"optimum.intel.INCModelForMultipleChoice",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L406"}}),te=new b({props:{title:"INCModelForMaskedLM",local:"optimum.intel.INCModelForMaskedLM",headingTag:"h2"}}),ae=new h({props:{name:"class optimum.intel.INCModelForMaskedLM",anchor:"optimum.intel.INCModelForMaskedLM",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L416"}}),oe=new b({props:{title:"INCModelForCausalLM",local:"optimum.intel.INCModelForCausalLM",headingTag:"h2"}}),re=new h({props:{name:"class optimum.intel.INCModelForCausalLM",anchor:"optimum.intel.INCModelForCausalLM",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L426"}}),le=new b({props:{title:"INCModelForSeq2SeqLM",local:"optimum.intel.INCModelForSeq2SeqLM",headingTag:"h2"}}),me=new h({props:{name:"class optimum.intel.INCModelForSeq2SeqLM",anchor:"optimum.intel.INCModelForSeq2SeqLM",parameters:[{name:"model",val:""},{name:"config",val:": PretrainedConfig = None"},{name:"model_save_dir",val:": typing.Union[str, pathlib.Path, tempfile.TemporaryDirectory, NoneType] = None"},{name:"q_config",val:": typing.Dict = None"},{name:"inc_config",val:": typing.Dict = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/optimum-intel/blob/main/optimum/intel/neural_compressor/modeling_base.py#L411"}}),{c(){C=c("meta"),be=a(),he=c("p"),Ne=a(),r(w.$$.fragment),Ce=a(),r(D.$$.fragment),ye=a(),r(q.$$.fragment),Ie=a(),v=c("div"),r(F.$$.fragment),Ke=a(),de=c("p"),de.textContent=mt,Xe=a(),y=c("div"),r(L.$$.fragment),Ye=a(),ce=c("p"),ce.innerHTML=pt,Ze=a(),I=c("div"),r(P.$$.fragment),et=a(),ue=c("p"),ue.innerHTML=dt,Me=a(),r(k.$$.fragment),Te=a(),$=c("div"),r(Q.$$.fragment),tt=a(),ge=c("p"),ge.textContent=ct,nt=a(),M=c("div"),r(S.$$.fragment),at=a(),fe=c("p"),fe.textContent=ut,ot=a(),T=c("div"),r(E.$$.fragment),it=a(),_e=c("p"),_e.textContent=gt,rt=a(),z=c("div"),r(O.$$.fragment),lt=a(),$e=c("p"),$e.innerHTML=ft,ze=a(),r(U.$$.fragment),xe=a(),V=c("div"),r(H.$$.fragment),we=a(),r(A.$$.fragment),De=a(),B=c("div"),r(R.$$.fragment),qe=a(),r(W.$$.fragment),Fe=a(),j=c("div"),r(G.$$.fragment),Le=a(),r(J.$$.fragment),Pe=a(),K=c("div"),r(X.$$.fragment),ke=a(),r(Y.$$.fragment),Qe=a(),Z=c("div"),r(ee.$$.fragment),Se=a(),r(te.$$.fragment),Ee=a(),ne=c("div"),r(ae.$$.fragment),Oe=a(),r(oe.$$.fragment),Ue=a(),ie=c("div"),r(re.$$.fragment),Ve=a(),r(le.$$.fragment),He=a(),se=c("div"),r(me.$$.fragment),Ae=a(),ve=c("p"),this.h()},l(e){const n=wt("svelte-u9bgzb",document.head);C=u(n,"META",{name:!0,content:!0}),n.forEach(t),be=o(e),he=u(e,"P",{}),f(he).forEach(t),Ne=o(e),l(w.$$.fragment,e),Ce=o(e),l(D.$$.fragment,e),ye=o(e),l(q.$$.fragment,e),Ie=o(e),v=u(e,"DIV",{class:!0});var x=f(v);l(F.$$.fragment,x),Ke=o(x),de=u(x,"P",{"data-svelte-h":!0}),pe(de)!=="svelte-1cxu5ph"&&(de.textContent=mt),Xe=o(x),y=u(x,"DIV",{class:!0});var Re=f(y);l(L.$$.fragment,Re),Ye=o(Re),ce=u(Re,"P",{"data-svelte-h":!0}),pe(ce)!=="svelte-gk4yjz"&&(ce.innerHTML=pt),Re.forEach(t),Ze=o(x),I=u(x,"DIV",{class:!0});var We=f(I);l(P.$$.fragment,We),et=o(We),ue=u(We,"P",{"data-svelte-h":!0}),pe(ue)!=="svelte-9zxxih"&&(ue.innerHTML=dt),We.forEach(t),x.forEach(t),Me=o(e),l(k.$$.fragment,e),Te=o(e),$=u(e,"DIV",{class:!0});var N=f($);l(Q.$$.fragment,N),tt=o(N),ge=u(N,"P",{"data-svelte-h":!0}),pe(ge)!=="svelte-l625lh"&&(ge.textContent=ct),nt=o(N),M=u(N,"DIV",{class:!0});var je=f(M);l(S.$$.fragment,je),at=o(je),fe=u(je,"P",{"data-svelte-h":!0}),pe(fe)!=="svelte-ynow3r"&&(fe.textContent=ut),je.forEach(t),ot=o(N),T=u(N,"DIV",{class:!0});var Ge=f(T);l(E.$$.fragment,Ge),it=o(Ge),_e=u(Ge,"P",{"data-svelte-h":!0}),pe(_e)!=="svelte-1feheyo"&&(_e.textContent=gt),Ge.forEach(t),rt=o(N),z=u(N,"DIV",{class:!0});var Je=f(z);l(O.$$.fragment,Je),lt=o(Je),$e=u(Je,"P",{"data-svelte-h":!0}),pe($e)!=="svelte-45fu3d"&&($e.innerHTML=ft),Je.forEach(t),N.forEach(t),ze=o(e),l(U.$$.fragment,e),xe=o(e),V=u(e,"DIV",{class:!0});var _t=f(V);l(H.$$.fragment,_t),_t.forEach(t),we=o(e),l(A.$$.fragment,e),De=o(e),B=u(e,"DIV",{class:!0});var $t=f(B);l(R.$$.fragment,$t),$t.forEach(t),qe=o(e),l(W.$$.fragment,e),Fe=o(e),j=u(e,"DIV",{class:!0});var ht=f(j);l(G.$$.fragment,ht),ht.forEach(t),Le=o(e),l(J.$$.fragment,e),Pe=o(e),K=u(e,"DIV",{class:!0});var vt=f(K);l(X.$$.fragment,vt),vt.forEach(t),ke=o(e),l(Y.$$.fragment,e),Qe=o(e),Z=u(e,"DIV",{class:!0});var bt=f(Z);l(ee.$$.fragment,bt),bt.forEach(t),Se=o(e),l(te.$$.fragment,e),Ee=o(e),ne=u(e,"DIV",{class:!0});var Nt=f(ne);l(ae.$$.fragment,Nt),Nt.forEach(t),Oe=o(e),l(oe.$$.fragment,e),Ue=o(e),ie=u(e,"DIV",{class:!0});var Ct=f(ie);l(re.$$.fragment,Ct),Ct.forEach(t),Ve=o(e),l(le.$$.fragment,e),He=o(e),se=u(e,"DIV",{class:!0});var yt=f(se);l(me.$$.fragment,yt),yt.forEach(t),Ae=o(e),ve=u(e,"P",{}),f(ve).forEach(t),this.h()},h(){_(C,"name","hf:doc:metadata"),_(C,"content",Ft),_(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(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,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,n){g(document.head,C),i(e,be,n),i(e,he,n),i(e,Ne,n),s(w,e,n),i(e,Ce,n),s(D,e,n),i(e,ye,n),s(q,e,n),i(e,Ie,n),i(e,v,n),s(F,v,null),g(v,Ke),g(v,de),g(v,Xe),g(v,y),s(L,y,null),g(y,Ye),g(y,ce),g(v,Ze),g(v,I),s(P,I,null),g(I,et),g(I,ue),i(e,Me,n),s(k,e,n),i(e,Te,n),i(e,$,n),s(Q,$,null),g($,tt),g($,ge),g($,nt),g($,M),s(S,M,null),g(M,at),g(M,fe),g($,ot),g($,T),s(E,T,null),g(T,it),g(T,_e),g($,rt),g($,z),s(O,z,null),g(z,lt),g(z,$e),i(e,ze,n),s(U,e,n),i(e,xe,n),i(e,V,n),s(H,V,null),i(e,we,n),s(A,e,n),i(e,De,n),i(e,B,n),s(R,B,null),i(e,qe,n),s(W,e,n),i(e,Fe,n),i(e,j,n),s(G,j,null),i(e,Le,n),s(J,e,n),i(e,Pe,n),i(e,K,n),s(X,K,null),i(e,ke,n),s(Y,e,n),i(e,Qe,n),i(e,Z,n),s(ee,Z,null),i(e,Se,n),s(te,e,n),i(e,Ee,n),i(e,ne,n),s(ae,ne,null),i(e,Oe,n),s(oe,e,n),i(e,Ue,n),i(e,ie,n),s(re,ie,null),i(e,Ve,n),s(le,e,n),i(e,He,n),i(e,se,n),s(me,se,null),i(e,Ae,n),i(e,ve,n),Be=!0},p:Mt,i(e){Be||(m(w.$$.fragment,e),m(D.$$.fragment,e),m(q.$$.fragment,e),m(F.$$.fragment,e),m(L.$$.fragment,e),m(P.$$.fragment,e),m(k.$$.fragment,e),m(Q.$$.fragment,e),m(S.$$.fragment,e),m(E.$$.fragment,e),m(O.$$.fragment,e),m(U.$$.fragment,e),m(H.$$.fragment,e),m(A.$$.fragment,e),m(R.$$.fragment,e),m(W.$$.fragment,e),m(G.$$.fragment,e),m(J.$$.fragment,e),m(X.$$.fragment,e),m(Y.$$.fragment,e),m(ee.$$.fragment,e),m(te.$$.fragment,e),m(ae.$$.fragment,e),m(oe.$$.fragment,e),m(re.$$.fragment,e),m(le.$$.fragment,e),m(me.$$.fragment,e),Be=!0)},o(e){p(w.$$.fragment,e),p(D.$$.fragment,e),p(q.$$.fragment,e),p(F.$$.fragment,e),p(L.$$.fragment,e),p(P.$$.fragment,e),p(k.$$.fragment,e),p(Q.$$.fragment,e),p(S.$$.fragment,e),p(E.$$.fragment,e),p(O.$$.fragment,e),p(U.$$.fragment,e),p(H.$$.fragment,e),p(A.$$.fragment,e),p(R.$$.fragment,e),p(W.$$.fragment,e),p(G.$$.fragment,e),p(J.$$.fragment,e),p(X.$$.fragment,e),p(Y.$$.fragment,e),p(ee.$$.fragment,e),p(te.$$.fragment,e),p(ae.$$.fragment,e),p(oe.$$.fragment,e),p(re.$$.fragment,e),p(le.$$.fragment,e),p(me.$$.fragment,e),Be=!1},d(e){e&&(t(be),t(he),t(Ne),t(Ce),t(ye),t(Ie),t(v),t(Me),t(Te),t($),t(ze),t(xe),t(V),t(we),t(De),t(B),t(qe),t(Fe),t(j),t(Le),t(Pe),t(K),t(ke),t(Qe),t(Z),t(Se),t(Ee),t(ne),t(Oe),t(Ue),t(ie),t(Ve),t(He),t(se),t(Ae),t(ve)),t(C),d(w,e),d(D,e),d(q,e),d(F),d(L),d(P),d(k,e),d(Q),d(S),d(E),d(O),d(U,e),d(H),d(A,e),d(R),d(W,e),d(G),d(J,e),d(X),d(Y,e),d(ee),d(te,e),d(ae),d(oe,e),d(re),d(le,e),d(me)}}}const Ft='{"title":"Reference","local":"reference","sections":[{"title":"INCQuantizer","local":"optimum.intel.INCQuantizer","sections":[],"depth":2},{"title":"INCTrainer","local":"optimum.intel.INCTrainer","sections":[],"depth":2},{"title":"INCModel","local":"optimum.intel.INCModel","sections":[],"depth":2},{"title":"INCModelForSequenceClassification","local":"optimum.intel.INCModelForSequenceClassification","sections":[],"depth":2},{"title":"INCModelForQuestionAnswering","local":"optimum.intel.INCModelForQuestionAnswering","sections":[],"depth":2},{"title":"INCModelForTokenClassification","local":"optimum.intel.INCModelForTokenClassification","sections":[],"depth":2},{"title":"INCModelForMultipleChoice","local":"optimum.intel.INCModelForMultipleChoice","sections":[],"depth":2},{"title":"INCModelForMaskedLM","local":"optimum.intel.INCModelForMaskedLM","sections":[],"depth":2},{"title":"INCModelForCausalLM","local":"optimum.intel.INCModelForCausalLM","sections":[],"depth":2},{"title":"INCModelForSeq2SeqLM","local":"optimum.intel.INCModelForSeq2SeqLM","sections":[],"depth":2}],"depth":1}';function Lt(st){return Tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Et extends zt{constructor(C){super(),xt(this,C,Lt,qt,It,{})}}export{Et as component};
