import{s as Ko,c as al,u as nl,g as sl,d as ol,o as ll,n as Xa}from"../chunks/scheduler.9bc65507.js";import{S as el,i as tl,r as f,u as g,v as h,d,t as p,w as u,g as s,m as Yo,s as r,h as o,j as _,n as Xo,f as n,c as a,k as $,a as c,y as t,o as il,A as cl,x as i}from"../chunks/index.707bf1b6.js";import{T as rl}from"../chunks/Tip.c2ecdbf4.js";import{D as C}from"../chunks/Docstring.86474e80.js";import{C as Ya}from"../chunks/CodeBlock.54a9f38d.js";import{E as Zo}from"../chunks/ExampleCodeBlock.034f3a73.js";import{H as Qo,E as ml}from"../chunks/EditOnGithub.922df6ba.js";function dl(j){let m,x,b,w,M;const v=j[1].default,y=al(v,j,j[2],null);return{c(){m=s("p"),x=Yo("Deprecated in "),b=Yo(j[0]),w=r(),y&&y.c(),this.h()},l(L){m=o(L,"P",{class:!0});var I=_(m);x=Xo(I,"Deprecated in "),b=Xo(I,j[0]),I.forEach(n),w=a(L),y&&y.l(L),this.h()},h(){$(m,"class","font-medium")},m(L,I){c(L,m,I),t(m,x),t(m,b),c(L,w,I),y&&y.m(L,I),M=!0},p(L,I){(!M||I&1)&&il(b,L[0]),y&&y.p&&(!M||I&4)&&nl(y,v,L,L[2],M?ol(v,L[2],I,null):sl(L[2]),null)},i(L){M||(d(y,L),M=!0)},o(L){p(y,L),M=!1},d(L){L&&(n(m),n(w)),y&&y.d(L)}}}function pl(j){let m,x;return m=new rl({props:{warning:!0,$$slots:{default:[dl]},$$scope:{ctx:j}}}),{c(){f(m.$$.fragment)},l(b){g(m.$$.fragment,b)},m(b,w){h(m,b,w),x=!0},p(b,[w]){const M={};w&5&&(M.$$scope={dirty:w,ctx:b}),m.$set(M)},i(b){x||(d(m.$$.fragment,b),x=!0)},o(b){p(m.$$.fragment,b),x=!1},d(b){u(m,b)}}}function fl(j,m,x){let{$$slots:b={},$$scope:w}=m,{version:M}=m;return j.$$set=v=>{"version"in v&&x(0,M=v.version),"$$scope"in v&&x(2,w=v.$$scope)},[M,b,w]}class gl extends el{constructor(m){super(),tl(this,m,fl,pl,Ko,{version:0})}}function hl(j){let m,x="Setting <code>WANDB_LOG_MODEL</code> as <code>bool</code> will be deprecated in version 5 of 🤗 Transformers.";return{c(){m=s("p"),m.innerHTML=x},l(b){m=o(b,"P",{"data-svelte-h":!0}),i(m)!=="svelte-fxlq1n"&&(m.innerHTML=x)},m(b,w){c(b,m,w)},p:Xa,d(b){b&&n(m)}}}function ul(j){let m,x="Example:",b,w,M;return w=new Ya({props:{code:"JTIzJTIwTm90ZSUzQSUyMFRoaXMlMjBleGFtcGxlJTIwc2tpcHMlMjBvdmVyJTIwc29tZSUyMHNldHVwJTIwc3RlcHMlMjBmb3IlMjBicmV2aXR5LiUwQWZyb20lMjBmbHl0ZWtpdCUyMGltcG9ydCUyMGN1cnJlbnRfY29udGV4dCUyQyUyMHRhc2slMEElMEElMEElNDB0YXNrJTBBZGVmJTIwdHJhaW5faGZfdHJhbnNmb3JtZXIoKSUzQSUwQSUyMCUyMCUyMCUyMGNwJTIwJTNEJTIwY3VycmVudF9jb250ZXh0KCkuY2hlY2twb2ludCUwQSUyMCUyMCUyMCUyMHRyYWluZXIlMjAlM0QlMjBUcmFpbmVyKC4uLiUyQyUyMGNhbGxiYWNrcyUzRCU1QkZseXRlQ2FsbGJhY2soKSU1RCklMEElMjAlMjAlMjAlMjBvdXRwdXQlMjAlM0QlMjB0cmFpbmVyLnRyYWluKHJlc3VtZV9mcm9tX2NoZWNrcG9pbnQlM0RjcC5yZXN0b3JlKCkp",highlighted:`<span class="hljs-comment"># Note: This example skips over some setup steps for brevity.</span>
<span class="hljs-keyword">from</span> flytekit <span class="hljs-keyword">import</span> current_context, task


<span class="hljs-meta">@task</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">train_hf_transformer</span>():
    cp = current_context().checkpoint
    trainer = Trainer(..., callbacks=[FlyteCallback()])
    output = trainer.train(resume_from_checkpoint=cp.restore())`,wrap:!1}}),{c(){m=s("p"),m.textContent=x,b=r(),f(w.$$.fragment)},l(v){m=o(v,"P",{"data-svelte-h":!0}),i(m)!=="svelte-11lpom8"&&(m.textContent=x),b=a(v),g(w.$$.fragment,v)},m(v,y){c(v,m,y),c(v,b,y),h(w,v,y),M=!0},p:Xa,i(v){M||(d(w.$$.fragment,v),M=!0)},o(v){p(w.$$.fragment,v),M=!1},d(v){v&&(n(m),n(b)),u(w,v)}}}function bl(j){let m,x="Example:",b,w,M;return w=new Ya({props:{code:"Y2xhc3MlMjBQcmludGVyQ2FsbGJhY2soVHJhaW5lckNhbGxiYWNrKSUzQSUwQSUyMCUyMCUyMCUyMGRlZiUyMG9uX2xvZyhzZWxmJTJDJTIwYXJncyUyQyUyMHN0YXRlJTJDJTIwY29udHJvbCUyQyUyMGxvZ3MlM0ROb25lJTJDJTIwKiprd2FyZ3MpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwXyUyMCUzRCUyMGxvZ3MucG9wKCUyMnRvdGFsX2Zsb3MlMjIlMkMlMjBOb25lKSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGlmJTIwc3RhdGUuaXNfbG9jYWxfcHJvY2Vzc196ZXJvJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcHJpbnQobG9ncyk=",highlighted:`<span class="hljs-keyword">class</span> <span class="hljs-title class_">PrinterCallback</span>(<span class="hljs-title class_ inherited__">TrainerCallback</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">on_log</span>(<span class="hljs-params">self, args, state, control, logs=<span class="hljs-literal">None</span>, **kwargs</span>):
        _ = logs.pop(<span class="hljs-string">&quot;total_flos&quot;</span>, <span class="hljs-literal">None</span>)
        <span class="hljs-keyword">if</span> state.is_local_process_zero:
            <span class="hljs-built_in">print</span>(logs)`,wrap:!1}}),{c(){m=s("p"),m.textContent=x,b=r(),f(w.$$.fragment)},l(v){m=o(v,"P",{"data-svelte-h":!0}),i(m)!=="svelte-11lpom8"&&(m.textContent=x),b=a(v),g(w.$$.fragment,v)},m(v,y){c(v,m,y),c(v,b,y),h(w,v,y),M=!0},p:Xa,i(v){M||(d(w.$$.fragment,v),M=!0)},o(v){p(w.$$.fragment,v),M=!1},d(v){v&&(n(m),n(b)),u(w,v)}}}function _l(j){let m,x=`In all this class, one step is to be understood as one update step. When using gradient accumulation, one update
step may require several forward and backward passes: if you use <code>gradient_accumulation_steps=n</code>, then one update
step requires going through <em>n</em> batches.`;return{c(){m=s("p"),m.innerHTML=x},l(b){m=o(b,"P",{"data-svelte-h":!0}),i(m)!=="svelte-rhwh6p"&&(m.innerHTML=x)},m(b,w){c(b,m,w)},p:Xa,d(b){b&&n(m)}}}function vl(j){let m,x,b,w,M,v,y,L=`コールバックは、PyTorch のトレーニング ループの動作をカスタマイズできるオブジェクトです。
トレーニング ループを検査できる <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> (この機能は TensorFlow にはまだ実装されていません)
状態を確認し (進捗レポート、TensorBoard または他の ML プラットフォームへのログ記録など)、決定を下します (初期段階など)。
停止中）。`,I,Ie,Is=`コールバックは、返される <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a> オブジェクトを除けば、「読み取り専用」のコード部分です。
トレーニング ループ内では何も変更できません。トレーニング ループの変更が必要なカスタマイズの場合は、次のことを行う必要があります。
<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> をサブクラス化し、必要なメソッドをオーバーライドします (例については、<a href="trainer">trainer</a> を参照してください)。`,qr,Ee,Es='デフォルトでは、<code>TrainingArguments.report_to</code> は <code>&quot;all&quot;</code> に設定されているため、<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> は次のコールバックを使用します。',Or,He,Hs=`<li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.DefaultFlowCallback">DefaultFlowCallback</a> は、ログ記録、保存、評価のデフォルトの動作を処理します。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.PrinterCallback">PrinterCallback</a> または <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.ProgressCallback">ProgressCallback</a> で進行状況を表示し、
ログ (最初のログは、<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> を通じて tqdm を非アクティブ化する場合に使用され、そうでない場合に使用されます)
2番目です)。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.TensorBoardCallback">TensorBoardCallback</a> (PyTorch &gt;= 1.4 を介して) tensorboard にアクセスできる場合
またはテンソルボードX）。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.WandbCallback">WandbCallback</a> <a href="https://www.wandb.com/" rel="nofollow">wandb</a> がインストールされている場合。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.CometCallback">CometCallback</a> <a href="https://www.comet.ml/site/" rel="nofollow">comet_ml</a> がインストールされている場合。</li> <li><a href="https://www.mlflow.org/" rel="nofollow">mlflow</a> がインストールされている場合は <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.MLflowCallback">MLflowCallback</a>。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.NeptuneCallback">NeptuneCallback</a> <a href="https://neptune.ai/" rel="nofollow">neptune</a> がインストールされている場合。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.AzureMLCallback">AzureMLCallback</a> <a href="https://pypi.org/project/azureml-sdk/" rel="nofollow">azureml-sdk</a> の場合
インストールされています。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.CodeCarbonCallback">CodeCarbonCallback</a> <a href="https://pypi.org/project/codecarbon/" rel="nofollow">codecarbon</a> の場合
インストールされています。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.ClearMLCallback">ClearMLCallback</a> <a href="https://github.com/allegroai/clearml" rel="nofollow">clearml</a> がインストールされている場合。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.DagsHubCallback">DagsHubCallback</a> <a href="https://dagshub.com/" rel="nofollow">dagshub</a> がインストールされている場合。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.FlyteCallback">FlyteCallback</a> <a href="https://flyte.org/" rel="nofollow">flyte</a> がインストールされている場合。</li> <li><a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.integrations.DVCLiveCallback">DVCLiveCallback</a> <a href="https://www.dvc.org/doc/dvclive" rel="nofollow">dvclive</a> がインストールされている場合。</li>`,Yr,Je,Js="パッケージがインストールされているが、付随する統合を使用したくない場合は、<code>TrainingArguments.report_to</code> を、使用したい統合のみのリストに変更できます (例: <code>[&quot;azure_ml&quot;, &quot;wandb&quot;]</code>) 。",Xr,De,Ds=`コールバックを実装するメインクラスは <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> です。それは、
<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> は <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> をインスタンス化するために使用され、それにアクセスできます。
<a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerState">TrainerState</a> を介してトレーナーの内部状態を取得し、トレーニング ループ上でいくつかのアクションを実行できます。
<a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a>。`,Zr,Ue,Qr,Ae,Us='ライブラリで利用可能な <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> のリストは次のとおりです。',Kr,S,Ne,Za,Jt,As='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.comet.ml/site/" rel="nofollow">Comet ML</a>.',Qa,H,Pe,Ka,Dt,Ns="Setup the optional Comet.ml integration.",en,Ut,Ps="Environment:",tn,At,Fs=`<li><strong>COMET_MODE</strong> (<code>str</code>, <em>optional</em>, defaults to <code>ONLINE</code>):
Whether to create an online, offline experiment or disable Comet logging. Can be <code>OFFLINE</code>, <code>ONLINE</code>, or
<code>DISABLED</code>.</li> <li><strong>COMET_PROJECT_NAME</strong> (<code>str</code>, <em>optional</em>):
Comet project name for experiments.</li> <li><strong>COMET_OFFLINE_DIRECTORY</strong> (<code>str</code>, <em>optional</em>):
Folder to use for saving offline experiments when <code>COMET_MODE</code> is <code>OFFLINE</code>.</li> <li><strong>COMET_LOG_ASSETS</strong> (<code>str</code>, <em>optional</em>, defaults to <code>TRUE</code>):
Whether or not to log training assets (tf event logs, checkpoints, etc), to Comet. Can be <code>TRUE</code>, or
<code>FALSE</code>.</li>`,rn,Nt,Ss=`For a number of configurable items in the environment, see
<a href="https://www.comet.ml/docs/python-sdk/advanced/#comet-configuration-variables" rel="nofollow">here</a>.`,ea,X,Fe,an,Pt,Ws='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that handles the default flow of the training loop for logs, evaluation and checkpoints.',ta,Z,Se,nn,Ft,zs='A bare <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that just prints the logs.',ra,Q,We,sn,St,Bs='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that displays the progress of training or evaluation.',aa,W,ze,on,Wt,Rs='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that handles early stopping.',ln,zt,Vs=`This callback depends on <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> argument <em>load_best_model_at_end</em> functionality to set best_metric
in <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerState">TrainerState</a>. Note that if the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> argument <em>save_steps</em> differs from <em>eval_steps</em>, the
early stopping will not occur until the next save step.`,na,K,Be,cn,Bt,Gs='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.tensorflow.org/tensorboard" rel="nofollow">TensorBoard</a>.',sa,z,Re,mn,Rt,qs='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that logs metrics, media, model checkpoints to <a href="https://www.wandb.com/" rel="nofollow">Weight and Biases</a>.',dn,J,Ve,pn,Vt,Os="Setup the optional Weights &amp; Biases (<em>wandb</em>) integration.",fn,Gt,Ys=`One can subclass and override this method to customize the setup if needed. Find more information
<a href="https://docs.wandb.ai/guides/integrations/huggingface" rel="nofollow">here</a>. You can also override the following environment
variables:`,gn,qt,Xs="Environment:",hn,B,Ge,Ot,Zs=`<strong>WANDB_LOG_MODEL</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;false&quot;</code>):
Whether to log model and checkpoints during training. Can be <code>&quot;end&quot;</code>, <code>&quot;checkpoint&quot;</code> or <code>&quot;false&quot;</code>. If set
to <code>&quot;end&quot;</code>, the model will be uploaded at the end of training. If set to <code>&quot;checkpoint&quot;</code>, the checkpoint
will be uploaded every <code>args.save_steps</code> . If set to <code>&quot;false&quot;</code>, the model will not be uploaded. Use along
with <code>load_best_model_at_end()</code> to upload best model.`,un,ne,bn,Yt,Qs=`<p><strong>WANDB_WATCH</strong> (<code>str</code>, <em>optional</em> defaults to <code>&quot;false&quot;</code>):
Can be <code>&quot;gradients&quot;</code>, <code>&quot;all&quot;</code>, <code>&quot;parameters&quot;</code>, or <code>&quot;false&quot;</code>. Set to <code>&quot;all&quot;</code> to log gradients and
parameters.</p>`,_n,Xt,Ks=`<p><strong>WANDB_PROJECT</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;huggingface&quot;</code>):
Set this to a custom string to store results in a different project.</p>`,vn,Zt,eo=`<p><strong>WANDB_DISABLED</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>):
Whether to disable wandb entirely. Set <code>WANDB_DISABLED=true</code> to disable.</p>`,oa,R,qe,Tn,Qt,to=`A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.mlflow.org/" rel="nofollow">MLflow</a>. Can be disabled by setting
environment variable <code>DISABLE_MLFLOW_INTEGRATION = TRUE</code>.`,$n,N,Oe,Cn,Kt,ro="Setup the optional MLflow integration.",kn,er,ao="Environment:",wn,tr,no=`<li><strong>HF_MLFLOW_LOG_ARTIFACTS</strong> (<code>str</code>, <em>optional</em>):
Whether to use MLflow <code>.log_artifact()</code> facility to log artifacts. This only makes sense if logging to a
remote server, e.g. s3 or GCS. If set to <code>True</code> or <em>1</em>, will copy each saved checkpoint on each save in
<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>’s <code>output_dir</code> to the local or remote artifact storage. Using it without a remote
storage will just copy the files to your artifact location.</li> <li><strong>MLFLOW_TRACKING_URI</strong> (<code>str</code>, <em>optional</em>):
Whether to store runs at a specific path or remote server. Unset by default, which skips setting the
tracking URI entirely.</li> <li><strong>MLFLOW_EXPERIMENT_NAME</strong> (<code>str</code>, <em>optional</em>, defaults to <code>None</code>):
Whether to use an MLflow experiment_name under which to launch the run. Default to <code>None</code> which will point
to the <code>Default</code> experiment in MLflow. Otherwise, it is a case sensitive name of the experiment to be
activated. If an experiment with this name does not exist, a new experiment with this name is created.</li> <li><strong>MLFLOW_TAGS</strong> (<code>str</code>, <em>optional</em>):
A string dump of a dictionary of key/value pair to be added to the MLflow run as tags. Example:
<code>os.environ[&#39;MLFLOW_TAGS&#39;]=&#39;{&quot;release.candidate&quot;: &quot;RC1&quot;, &quot;release.version&quot;: &quot;2.2.0&quot;}&#39;</code>.</li> <li><strong>MLFLOW_NESTED_RUN</strong> (<code>str</code>, <em>optional</em>):
Whether to use MLflow nested runs. If set to <code>True</code> or <em>1</em>, will create a nested run inside the current
run.</li> <li><strong>MLFLOW_RUN_ID</strong> (<code>str</code>, <em>optional</em>):
Allow to reattach to an existing run which can be usefull when resuming training from a checkpoint. When
<code>MLFLOW_RUN_ID</code> environment variable is set, <code>start_run</code> attempts to resume a run with the specified run ID
and other parameters are ignored.</li> <li><strong>MLFLOW_FLATTEN_PARAMS</strong> (<code>str</code>, <em>optional</em>, defaults to <code>False</code>):
Whether to flatten the parameters dictionary before logging.</li>`,la,ee,Ye,Mn,rr,so='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://pypi.org/project/azureml-sdk/" rel="nofollow">AzureML</a>.',ia,te,Xe,yn,ar,oo='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that tracks the CO2 emission of training.',ca,V,Ze,xn,nr,lo='TrainerCallback that sends the logs to <a href="https://app.neptune.ai" rel="nofollow">Neptune</a>.',Ln,sr,io=`For instructions and examples, see the <a href="https://docs.neptune.ai/integrations/transformers" rel="nofollow">Transformers integration
guide</a> in the Neptune documentation.`,ma,D,Qe,jn,or,co='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://clear.ml/" rel="nofollow">ClearML</a>.',In,lr,mo="Environment:",En,ir,po=`<li><strong>CLEARML_PROJECT</strong> (<code>str</code>, <em>optional</em>, defaults to <code>HuggingFace Transformers</code>):
ClearML project name.</li> <li><strong>CLEARML_TASK</strong> (<code>str</code>, <em>optional</em>, defaults to <code>Trainer</code>):
ClearML task name.</li> <li><strong>CLEARML_LOG_MODEL</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>):
Whether to log models as artifacts during training.</li>`,da,G,Ke,Hn,cr,fo='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that logs to <a href="https://dagshub.com/" rel="nofollow">DagsHub</a>. Extends <code>MLflowCallback</code>',Jn,P,et,Dn,mr,go="Setup the DagsHub’s Logging integration.",Un,dr,ho="Environment:",An,pr,uo=`<li><strong>HF_DAGSHUB_LOG_ARTIFACTS</strong> (<code>str</code>, <em>optional</em>):
Whether to save the data and model artifacts for the experiment. Default to <code>False</code>.</li>`,pa,q,tt,Nn,fr,bo=`A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://flyte.org/" rel="nofollow">Flyte</a>.
NOTE: This callback only works within a Flyte task.`,Pn,se,fa,U,rt,Fn,gr,_o='A <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.dvc.org/doc/dvclive" rel="nofollow">DVCLive</a>.',Sn,hr,vo=`Use the environment variables below in <code>setup</code> to configure the integration. To customize this callback beyond
those environment variables, see <a href="https://dvc.org/doc/dvclive/ml-frameworks/huggingface" rel="nofollow">here</a>.`,Wn,F,at,zn,ur,To=`Setup the optional DVCLive integration. To customize this callback beyond the environment variables below, see
<a href="https://dvc.org/doc/dvclive/ml-frameworks/huggingface" rel="nofollow">here</a>.`,Bn,br,$o="Environment:",Rn,_r,Co=`<li><strong>HF_DVCLIVE_LOG_MODEL</strong> (<code>str</code>, <em>optional</em>):
Whether to use <code>dvclive.Live.log_artifact()</code> to log checkpoints created by <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a>. If set to <code>True</code> or
<em>1</em>, the final checkpoint is logged at the end of training. If set to <code>all</code>, the entire
<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>’s <code>output_dir</code> is logged at each checkpoint.</li>`,ga,nt,ko="## TrainerCallback[[transformers.TrainerCallback]]",ha,T,st,Vn,vr,wo=`A class for objects that will inspect the state of the training loop at some events and take some decisions. At
each of those events the following arguments are available:`,Gn,Tr,Mo=`The <code>control</code> object is the only one that can be changed by the callback, in which case the event that changes it
should return the modified version.`,qn,$r,yo=`The argument <code>args</code>, <code>state</code> and <code>control</code> are positionals for all events, all the others are grouped in <code>kwargs</code>.
You can unpack the ones you need in the signature of the event using them. As an example, see the code of the
simple <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.PrinterCallback">PrinterCallback</a>.`,On,oe,Yn,le,ot,Xn,Cr,xo="Event called at the beginning of an epoch.",Zn,ie,lt,Qn,kr,Lo="Event called at the end of an epoch.",Kn,ce,it,es,wr,jo="Event called after an evaluation phase.",ts,me,ct,rs,Mr,Io='Event called at the end of the initialization of the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.',as,de,mt,ns,yr,Eo="Event called after logging the last logs.",ss,pe,dt,os,xr,Ho="Event called after the optimizer step but before gradients are zeroed out. Useful for monitoring gradients.",ls,fe,pt,is,Lr,Jo="Event called after a successful prediction.",cs,ge,ft,ms,jr,Do="Event called after a prediction step.",ds,he,gt,ps,Ir,Uo="Event called after a checkpoint save.",fs,ue,ht,gs,Er,Ao=`Event called at the beginning of a training step. If using gradient accumulation, one training step might take
several inputs.`,hs,be,ut,us,Hr,No=`Event called at the end of a training step. If using gradient accumulation, one training step might take
several inputs.`,bs,_e,bt,_s,Jr,Po="Event called at the end of an substep during gradient accumulation.",vs,ve,_t,Ts,Dr,Fo="Event called at the beginning of training.",$s,Te,vt,Cs,Ur,So="Event called at the end of training.",ua,Tt,Wo='以下は、カスタム コールバックを PyTorch <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> に登録する方法の例です。',ba,$t,_a,Ct,zo="コールバックを登録する別の方法は、次のように <code>trainer.add_callback()</code> を呼び出すことです。",va,kt,Ta,wt,Bo="## TrainerState[[transformers.TrainerState]]",$a,E,Mt,ks,Ar,Ro=`A class containing the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> inner state that will be saved along the model and optimizer when checkpointing
and passed to the <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a>.`,ws,$e,Ms,Ce,yt,ys,Nr,Vo="Create an instance from the content of <code>json_path</code>.",xs,ke,xt,Ls,Pr,Go="Save the content of this instance in JSON format inside <code>json_path</code>.",Ca,Lt,qo="## TrainerControl[[transformers.TrainerControl]]",ka,re,jt,js,Fr,Oo=`A class that handles the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> control flow. This class is used by the <a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> to activate some
switches in the training loop.`,wa,It,Ma,Gr,ya;return M=new Qo({props:{title:"コールバック数",local:"コールバック数",headingTag:"h1"}}),Ue=new Qo({props:{title:"利用可能なコールバック",local:"transformers.integrations.CometCallback",headingTag:"h2"}}),Ne=new C({props:{name:"class transformers.integrations.CometCallback",anchor:"transformers.integrations.CometCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L937"}}),Pe=new C({props:{name:"setup",anchor:"transformers.integrations.CometCallback.setup",parameters:[{name:"args",val:""},{name:"state",val:""},{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L948"}}),Fe=new C({props:{name:"class transformers.DefaultFlowCallback",anchor:"transformers.DefaultFlowCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L526"}}),Se=new C({props:{name:"class transformers.PrinterCallback",anchor:"transformers.PrinterCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L634"}}),We=new C({props:{name:"class transformers.ProgressCallback",anchor:"transformers.ProgressCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L579"}}),ze=new C({props:{name:"class transformers.EarlyStoppingCallback",anchor:"transformers.EarlyStoppingCallback",parameters:[{name:"early_stopping_patience",val:": int = 1"},{name:"early_stopping_threshold",val:": Optional = 0.0"}],parametersDescription:[{anchor:"transformers.EarlyStoppingCallback.early_stopping_patience",description:`<strong>early_stopping_patience</strong> (<code>int</code>) &#x2014;
Use with <code>metric_for_best_model</code> to stop training when the specified metric worsens for
<code>early_stopping_patience</code> evaluation calls.`,name:"early_stopping_patience"},{anchor:"transformers.EarlyStoppingCallback.early_stopping_threshold(float,",description:`<strong>early_stopping_threshold(<code>float</code>,</strong> <em>optional</em>) &#x2014;
Use with TrainingArguments <code>metric_for_best_model</code> and <code>early_stopping_patience</code> to denote how much the
specified metric must improve to satisfy early stopping conditions. \``,name:"early_stopping_threshold(float,"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L645"}}),Be=new C({props:{name:"class transformers.integrations.TensorBoardCallback",anchor:"transformers.integrations.TensorBoardCallback",parameters:[{name:"tb_writer",val:" = None"}],parametersDescription:[{anchor:"transformers.integrations.TensorBoardCallback.tb_writer",description:`<strong>tb_writer</strong> (<code>SummaryWriter</code>, <em>optional</em>) &#x2014;
The writer to use. Will instantiate one if not set.`,name:"tb_writer"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L591"}}),Re=new C({props:{name:"class transformers.integrations.WandbCallback",anchor:"transformers.integrations.WandbCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L693"}}),Ve=new C({props:{name:"setup",anchor:"transformers.integrations.WandbCallback.setup",parameters:[{name:"args",val:""},{name:"state",val:""},{name:"model",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L718"}}),ne=new gl({props:{version:"5.0",$$slots:{default:[hl]},$$scope:{ctx:j}}}),qe=new C({props:{name:"class transformers.integrations.MLflowCallback",anchor:"transformers.integrations.MLflowCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1037"}}),Oe=new C({props:{name:"setup",anchor:"transformers.integrations.MLflowCallback.setup",parameters:[{name:"args",val:""},{name:"state",val:""},{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1056"}}),Ye=new C({props:{name:"class transformers.integrations.AzureMLCallback",anchor:"transformers.integrations.AzureMLCallback",parameters:[{name:"azureml_run",val:" = None"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1014"}}),Xe=new C({props:{name:"class transformers.integrations.CodeCarbonCallback",anchor:"transformers.integrations.CodeCarbonCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1538"}}),Ze=new C({props:{name:"class transformers.integrations.NeptuneCallback",anchor:"transformers.integrations.NeptuneCallback",parameters:[{name:"api_token",val:": Optional = None"},{name:"project",val:": Optional = None"},{name:"name",val:": Optional = None"},{name:"base_namespace",val:": str = 'finetuning'"},{name:"run",val:" = None"},{name:"log_parameters",val:": bool = True"},{name:"log_checkpoints",val:": Optional = None"},{name:"**neptune_run_kwargs",val:""}],parametersDescription:[{anchor:"transformers.integrations.NeptuneCallback.api_token",description:`<strong>api_token</strong> (<code>str</code>, <em>optional</em>) &#x2014; Neptune API token obtained upon registration.
You can leave this argument out if you have saved your token to the <code>NEPTUNE_API_TOKEN</code> environment
variable (strongly recommended). See full setup instructions in the
<a href="https://docs.neptune.ai/setup/installation" rel="nofollow">docs</a>.`,name:"api_token"},{anchor:"transformers.integrations.NeptuneCallback.project",description:`<strong>project</strong> (<code>str</code>, <em>optional</em>) &#x2014; Name of an existing Neptune project, in the form &#x201C;workspace-name/project-name&#x201D;.
You can find and copy the name in Neptune from the project settings -&gt; Properties. If None (default), the
value of the <code>NEPTUNE_PROJECT</code> environment variable is used.`,name:"project"},{anchor:"transformers.integrations.NeptuneCallback.name",description:"<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014; Custom name for the run.",name:"name"},{anchor:"transformers.integrations.NeptuneCallback.base_namespace",description:`<strong>base_namespace</strong> (<code>str</code>, optional, defaults to &#x201C;finetuning&#x201D;) &#x2014; In the Neptune run, the root namespace
that will contain all of the metadata logged by the callback.`,name:"base_namespace"},{anchor:"transformers.integrations.NeptuneCallback.log_parameters",description:`<strong>log_parameters</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
If True, logs all Trainer arguments and model parameters provided by the Trainer.`,name:"log_parameters"},{anchor:"transformers.integrations.NeptuneCallback.log_checkpoints",description:`<strong>log_checkpoints</strong> (<code>str</code>, <em>optional</em>) &#x2014; If &#x201C;same&#x201D;, uploads checkpoints whenever they are saved by the Trainer.
If &#x201C;last&#x201D;, uploads only the most recently saved checkpoint. If &#x201C;best&#x201D;, uploads the best checkpoint (among
the ones saved by the Trainer). If <code>None</code>, does not upload checkpoints.`,name:"log_checkpoints"},{anchor:"transformers.integrations.NeptuneCallback.run",description:`<strong>run</strong> (<code>Run</code>, <em>optional</em>) &#x2014; Pass a Neptune run object if you want to continue logging to an existing run.
Read more about resuming runs in the <a href="https://docs.neptune.ai/logging/to_existing_object" rel="nofollow">docs</a>.`,name:"run"},{anchor:"transformers.integrations.NeptuneCallback.*neptune_run_kwargs",description:`*<strong>*neptune_run_kwargs</strong> (<em>optional</em>) &#x2014;
Additional keyword arguments to be passed directly to the
<a href="https://docs.neptune.ai/api/neptune#init_run" rel="nofollow"><code>neptune.init_run()</code></a> function when a new run is created.`,name:"*neptune_run_kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1265"}}),Qe=new C({props:{name:"class transformers.integrations.ClearMLCallback",anchor:"transformers.integrations.ClearMLCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1572"}}),Ke=new C({props:{name:"class transformers.integrations.DagsHubCallback",anchor:"transformers.integrations.DagsHubCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1205"}}),et=new C({props:{name:"setup",anchor:"transformers.integrations.DagsHubCallback.setup",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1219"}}),tt=new C({props:{name:"class transformers.integrations.FlyteCallback",anchor:"transformers.integrations.FlyteCallback",parameters:[{name:"save_log_history",val:": bool = True"},{name:"sync_checkpoints",val:": bool = True"}],parametersDescription:[{anchor:"transformers.integrations.FlyteCallback.save_log_history",description:`<strong>save_log_history</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
When set to True, the training logs are saved as a Flyte Deck.`,name:"save_log_history"},{anchor:"transformers.integrations.FlyteCallback.sync_checkpoints",description:`<strong>sync_checkpoints</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
When set to True, checkpoints are synced with Flyte and can be used to resume training in the case of an
interruption.`,name:"sync_checkpoints"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1825"}}),se=new Zo({props:{anchor:"transformers.integrations.FlyteCallback.example",$$slots:{default:[ul]},$$scope:{ctx:j}}}),rt=new C({props:{name:"class transformers.integrations.DVCLiveCallback",anchor:"transformers.integrations.DVCLiveCallback",parameters:[{name:"live",val:": Optional = None"},{name:"log_model",val:": Union = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.integrations.DVCLiveCallback.live",description:`<strong>live</strong> (<code>dvclive.Live</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Optional Live instance. If None, a new instance will be created using **kwargs.`,name:"live"},{anchor:"transformers.integrations.DVCLiveCallback.log_model",description:`<strong>log_model</strong> (Union[Literal[&#x201C;all&#x201D;], bool], <em>optional</em>, defaults to <code>None</code>) &#x2014;
Whether to use <code>dvclive.Live.log_artifact()</code> to log checkpoints created by <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a>. If set to <code>True</code>,
the final checkpoint is logged at the end of training. If set to <code>&quot;all&quot;</code>, the entire
<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>&#x2019;s <code>output_dir</code> is logged at each checkpoint.`,name:"log_model"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1888"}}),at=new C({props:{name:"setup",anchor:"transformers.integrations.DVCLiveCallback.setup",parameters:[{name:"args",val:""},{name:"state",val:""},{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/integrations/integration_utils.py#L1929"}}),st=new C({props:{name:"class transformers.TrainerCallback",anchor:"transformers.TrainerCallback",parameters:[],parametersDescription:[{anchor:"transformers.TrainerCallback.args",description:`<strong>args</strong> (<a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>) &#x2014;
The training arguments used to instantiate the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.`,name:"args"},{anchor:"transformers.TrainerCallback.state",description:`<strong>state</strong> (<a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerState">TrainerState</a>) &#x2014;
The current state of the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.`,name:"state"},{anchor:"transformers.TrainerCallback.control",description:`<strong>control</strong> (<a href="/docs/transformers/pr_30929/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a>) &#x2014;
The object that is returned to the <a href="/docs/transformers/pr_30929/ja/main_classes/trainer#transformers.Trainer">Trainer</a> and can be used to make some decisions.`,name:"control"},{anchor:"transformers.TrainerCallback.model",description:`<strong>model</strong> (<a href="/docs/transformers/pr_30929/ja/main_classes/model#transformers.PreTrainedModel">PreTrainedModel</a> or <code>torch.nn.Module</code>) &#x2014;
The model being trained.`,name:"model"},{anchor:"transformers.TrainerCallback.tokenizer",description:`<strong>tokenizer</strong> (<a href="/docs/transformers/pr_30929/ja/main_classes/tokenizer#transformers.PreTrainedTokenizer">PreTrainedTokenizer</a>) &#x2014;
The tokenizer used for encoding the data.`,name:"tokenizer"},{anchor:"transformers.TrainerCallback.optimizer",description:`<strong>optimizer</strong> (<code>torch.optim.Optimizer</code>) &#x2014;
The optimizer used for the training steps.`,name:"optimizer"},{anchor:"transformers.TrainerCallback.lr_scheduler",description:`<strong>lr_scheduler</strong> (<code>torch.optim.lr_scheduler.LambdaLR</code>) &#x2014;
The scheduler used for setting the learning rate.`,name:"lr_scheduler"},{anchor:"transformers.TrainerCallback.train_dataloader",description:`<strong>train_dataloader</strong> (<code>torch.utils.data.DataLoader</code>, <em>optional</em>) &#x2014;
The current dataloader used for training.`,name:"train_dataloader"},{anchor:"transformers.TrainerCallback.eval_dataloader",description:`<strong>eval_dataloader</strong> (<code>torch.utils.data.DataLoader</code>, <em>optional</em>) &#x2014;
The current dataloader used for evaluation.`,name:"eval_dataloader"},{anchor:"transformers.TrainerCallback.metrics",description:`<strong>metrics</strong> (<code>Dict[str, float]</code>) &#x2014;
The metrics computed by the last evaluation phase.</p>
<p>Those are only accessible in the event <code>on_evaluate</code>.`,name:"metrics"},{anchor:"transformers.TrainerCallback.logs",description:`<strong>logs</strong>  (<code>Dict[str, float]</code>) &#x2014;
The values to log.</p>
<p>Those are only accessible in the event <code>on_log</code>.`,name:"logs"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L260"}}),oe=new Zo({props:{anchor:"transformers.TrainerCallback.example",$$slots:{default:[bl]},$$scope:{ctx:j}}}),ot=new C({props:{name:"on_epoch_begin",anchor:"transformers.TrainerCallback.on_epoch_begin",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L329"}}),lt=new C({props:{name:"on_epoch_end",anchor:"transformers.TrainerCallback.on_epoch_end",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L335"}}),it=new C({props:{name:"on_evaluate",anchor:"transformers.TrainerCallback.on_evaluate",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L367"}}),ct=new C({props:{name:"on_init_end",anchor:"transformers.TrainerCallback.on_init_end",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L311"}}),mt=new C({props:{name:"on_log",anchor:"transformers.TrainerCallback.on_log",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L385"}}),dt=new C({props:{name:"on_optimizer_step",anchor:"transformers.TrainerCallback.on_optimizer_step",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L348"}}),pt=new C({props:{name:"on_predict",anchor:"transformers.TrainerCallback.on_predict",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"metrics",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L373"}}),ft=new C({props:{name:"on_prediction_step",anchor:"transformers.TrainerCallback.on_prediction_step",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L391"}}),gt=new C({props:{name:"on_save",anchor:"transformers.TrainerCallback.on_save",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L379"}}),ht=new C({props:{name:"on_step_begin",anchor:"transformers.TrainerCallback.on_step_begin",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L341"}}),ut=new C({props:{name:"on_step_end",anchor:"transformers.TrainerCallback.on_step_end",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L360"}}),bt=new C({props:{name:"on_substep_end",anchor:"transformers.TrainerCallback.on_substep_end",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L354"}}),_t=new C({props:{name:"on_train_begin",anchor:"transformers.TrainerCallback.on_train_begin",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L317"}}),vt=new C({props:{name:"on_train_end",anchor:"transformers.TrainerCallback.on_train_end",parameters:[{name:"args",val:": TrainingArguments"},{name:"state",val:": TrainerState"},{name:"control",val:": TrainerControl"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L323"}}),$t=new Ya({props:{code:"Y2xhc3MlMjBNeUNhbGxiYWNrKFRyYWluZXJDYWxsYmFjayklM0ElMEElMjAlMjAlMjAlMjAlMjJBJTIwY2FsbGJhY2slMjB0aGF0JTIwcHJpbnRzJTIwYSUyMG1lc3NhZ2UlMjBhdCUyMHRoZSUyMGJlZ2lubmluZyUyMG9mJTIwdHJhaW5pbmclMjIlMEElMEElMjAlMjAlMjAlMjBkZWYlMjBvbl90cmFpbl9iZWdpbihzZWxmJTJDJTIwYXJncyUyQyUyMHN0YXRlJTJDJTIwY29udHJvbCUyQyUyMCoqa3dhcmdzKSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHByaW50KCUyMlN0YXJ0aW5nJTIwdHJhaW5pbmclMjIpJTBBJTBBJTBBdHJhaW5lciUyMCUzRCUyMFRyYWluZXIoJTBBJTIwJTIwJTIwJTIwbW9kZWwlMkMlMEElMjAlMjAlMjAlMjBhcmdzJTJDJTBBJTIwJTIwJTIwJTIwdHJhaW5fZGF0YXNldCUzRHRyYWluX2RhdGFzZXQlMkMlMEElMjAlMjAlMjAlMjBldmFsX2RhdGFzZXQlM0RldmFsX2RhdGFzZXQlMkMlMEElMjAlMjAlMjAlMjBjYWxsYmFja3MlM0QlNUJNeUNhbGxiYWNrJTVEJTJDJTIwJTIwJTIzJTIwV2UlMjBjYW4lMjBlaXRoZXIlMjBwYXNzJTIwdGhlJTIwY2FsbGJhY2slMjBjbGFzcyUyMHRoaXMlMjB3YXklMjBvciUyMGFuJTIwaW5zdGFuY2UlMjBvZiUyMGl0JTIwKE15Q2FsbGJhY2soKSklMEEp",highlighted:`<span class="hljs-keyword">class</span> <span class="hljs-title class_">MyCallback</span>(<span class="hljs-title class_ inherited__">TrainerCallback</span>):
    <span class="hljs-string">&quot;A callback that prints a message at the beginning of training&quot;</span>

    <span class="hljs-keyword">def</span> <span class="hljs-title function_">on_train_begin</span>(<span class="hljs-params">self, args, state, control, **kwargs</span>):
        <span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;Starting training&quot;</span>)


trainer = Trainer(
    model,
    args,
    train_dataset=train_dataset,
    eval_dataset=eval_dataset,
    callbacks=[MyCallback],  <span class="hljs-comment"># We can either pass the callback class this way or an instance of it (MyCallback())</span>
)`,wrap:!1}}),kt=new Ya({props:{code:"dHJhaW5lciUyMCUzRCUyMFRyYWluZXIoLi4uKSUwQXRyYWluZXIuYWRkX2NhbGxiYWNrKE15Q2FsbGJhY2spJTBBJTIzJTIwQWx0ZXJuYXRpdmVseSUyQyUyMHdlJTIwY2FuJTIwcGFzcyUyMGFuJTIwaW5zdGFuY2UlMjBvZiUyMHRoZSUyMGNhbGxiYWNrJTIwY2xhc3MlMEF0cmFpbmVyLmFkZF9jYWxsYmFjayhNeUNhbGxiYWNrKCkp",highlighted:`trainer = Trainer(...)
trainer.add_callback(MyCallback)
<span class="hljs-comment"># Alternatively, we can pass an instance of the callback class</span>
trainer.add_callback(MyCallback())`,wrap:!1}}),Mt=new C({props:{name:"class transformers.TrainerState",anchor:"transformers.TrainerState",parameters:[{name:"epoch",val:": Optional = None"},{name:"global_step",val:": int = 0"},{name:"max_steps",val:": int = 0"},{name:"logging_steps",val:": int = 500"},{name:"eval_steps",val:": int = 500"},{name:"save_steps",val:": int = 500"},{name:"train_batch_size",val:": int = None"},{name:"num_train_epochs",val:": int = 0"},{name:"num_input_tokens_seen",val:": int = 0"},{name:"total_flos",val:": float = 0"},{name:"log_history",val:": List = None"},{name:"best_metric",val:": Optional = None"},{name:"best_model_checkpoint",val:": Optional = None"},{name:"is_local_process_zero",val:": bool = True"},{name:"is_world_process_zero",val:": bool = True"},{name:"is_hyper_param_search",val:": bool = False"},{name:"trial_name",val:": str = None"},{name:"trial_params",val:": Dict = None"},{name:"stateful_callbacks",val:": List = None"}],parametersDescription:[{anchor:"transformers.TrainerState.epoch",description:`<strong>epoch</strong> (<code>float</code>, <em>optional</em>) &#x2014;
Only set during training, will represent the epoch the training is at (the decimal part being the
percentage of the current epoch completed).`,name:"epoch"},{anchor:"transformers.TrainerState.global_step",description:`<strong>global_step</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014;
During training, represents the number of update steps completed.`,name:"global_step"},{anchor:"transformers.TrainerState.max_steps",description:`<strong>max_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014;
The number of update steps to do during the current training.`,name:"max_steps"},{anchor:"transformers.TrainerState.logging_steps",description:`<strong>logging_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 500) &#x2014;
Log every X updates steps`,name:"logging_steps"},{anchor:"transformers.TrainerState.eval_steps",description:`<strong>eval_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014;
Run an evaluation every X steps.`,name:"eval_steps"},{anchor:"transformers.TrainerState.save_steps",description:`<strong>save_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 500) &#x2014;
Save checkpoint every X updates steps.`,name:"save_steps"},{anchor:"transformers.TrainerState.train_batch_size",description:`<strong>train_batch_size</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The batch size for the training dataloader. Only needed when
<code>auto_find_batch_size</code> has been used.`,name:"train_batch_size"},{anchor:"transformers.TrainerState.num_input_tokens_seen",description:`<strong>num_input_tokens_seen</strong> (<code>int</code>, <em>optional</em>, defaults to 0) &#x2014;
The number of tokens seen during training (number of input tokens, not the number of prediction tokens).`,name:"num_input_tokens_seen"},{anchor:"transformers.TrainerState.total_flos",description:`<strong>total_flos</strong> (<code>float</code>, <em>optional</em>, defaults to 0) &#x2014;
The total number of floating operations done by the model since the beginning of training (stored as floats
to avoid overflow).`,name:"total_flos"},{anchor:"transformers.TrainerState.log_history",description:`<strong>log_history</strong> (<code>List[Dict[str, float]]</code>, <em>optional</em>) &#x2014;
The list of logs done since the beginning of training.`,name:"log_history"},{anchor:"transformers.TrainerState.best_metric",description:`<strong>best_metric</strong> (<code>float</code>, <em>optional</em>) &#x2014;
When tracking the best model, the value of the best metric encountered so far.`,name:"best_metric"},{anchor:"transformers.TrainerState.best_model_checkpoint",description:`<strong>best_model_checkpoint</strong> (<code>str</code>, <em>optional</em>) &#x2014;
When tracking the best model, the value of the name of the checkpoint for the best model encountered so
far.`,name:"best_model_checkpoint"},{anchor:"transformers.TrainerState.is_local_process_zero",description:`<strong>is_local_process_zero</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not this process is the local (e.g., on one machine if training in a distributed fashion on
several machines) main process.`,name:"is_local_process_zero"},{anchor:"transformers.TrainerState.is_world_process_zero",description:`<strong>is_world_process_zero</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not this process is the global main process (when training in a distributed fashion on several
machines, this is only going to be <code>True</code> for one process).`,name:"is_world_process_zero"},{anchor:"transformers.TrainerState.is_hyper_param_search",description:`<strong>is_hyper_param_search</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether we are in the process of a hyper parameter search using Trainer.hyperparameter_search. This will
impact the way data will be logged in TensorBoard.`,name:"is_hyper_param_search"},{anchor:"transformers.TrainerState.stateful_callbacks",description:`<strong>stateful_callbacks</strong> (<code>List[StatefulTrainerCallback]</code>, <em>optional</em>) &#x2014;
Callbacks attached to the <code>Trainer</code> that should have their states be saved or restored.
Relevent callbacks should implement a <code>state</code> and <code>from_state</code> function.`,name:"stateful_callbacks"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L36"}}),$e=new rl({props:{$$slots:{default:[_l]},$$scope:{ctx:j}}}),yt=new C({props:{name:"load_from_json",anchor:"transformers.TrainerState.load_from_json",parameters:[{name:"json_path",val:": str"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L146"}}),xt=new C({props:{name:"save_to_json",anchor:"transformers.TrainerState.save_to_json",parameters:[{name:"json_path",val:": str"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L140"}}),jt=new C({props:{name:"class transformers.TrainerControl",anchor:"transformers.TrainerControl",parameters:[{name:"should_training_stop",val:": bool = False"},{name:"should_epoch_stop",val:": bool = False"},{name:"should_save",val:": bool = False"},{name:"should_evaluate",val:": bool = False"},{name:"should_log",val:": bool = False"}],parametersDescription:[{anchor:"transformers.TrainerControl.should_training_stop",description:`<strong>should_training_stop</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the training should be interrupted.</p>
<p>If <code>True</code>, this variable will not be set back to <code>False</code>. The training will just stop.`,name:"should_training_stop"},{anchor:"transformers.TrainerControl.should_epoch_stop",description:`<strong>should_epoch_stop</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the current epoch should be interrupted.</p>
<p>If <code>True</code>, this variable will be set back to <code>False</code> at the beginning of the next epoch.`,name:"should_epoch_stop"},{anchor:"transformers.TrainerControl.should_save",description:`<strong>should_save</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the model should be saved at this step.</p>
<p>If <code>True</code>, this variable will be set back to <code>False</code> at the beginning of the next step.`,name:"should_save"},{anchor:"transformers.TrainerControl.should_evaluate",description:`<strong>should_evaluate</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the model should be evaluated at this step.</p>
<p>If <code>True</code>, this variable will be set back to <code>False</code> at the beginning of the next step.`,name:"should_evaluate"},{anchor:"transformers.TrainerControl.should_log",description:`<strong>should_log</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not the logs should be reported at this step.</p>
<p>If <code>True</code>, this variable will be set back to <code>False</code> at the beginning of the next step.`,name:"should_log"}],source:"https://github.com/huggingface/transformers/blob/vr_30929/src/transformers/trainer_callback.py#L198"}}),It=new ml({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/main_classes/callback.md"}}),{c(){m=s("meta"),x=r(),b=s("p"),w=r(),f(M.$$.fragment),v=r(),y=s("p"),y.innerHTML=L,I=r(),Ie=s("p"),Ie.innerHTML=Is,qr=r(),Ee=s("p"),Ee.innerHTML=Es,Or=r(),He=s("ul"),He.innerHTML=Hs,Yr=r(),Je=s("p"),Je.innerHTML=Js,Xr=r(),De=s("p"),De.innerHTML=Ds,Zr=r(),f(Ue.$$.fragment),Qr=r(),Ae=s("p"),Ae.innerHTML=Us,Kr=r(),S=s("div"),f(Ne.$$.fragment),Za=r(),Jt=s("p"),Jt.innerHTML=As,Qa=r(),H=s("div"),f(Pe.$$.fragment),Ka=r(),Dt=s("p"),Dt.textContent=Ns,en=r(),Ut=s("p"),Ut.textContent=Ps,tn=r(),At=s("ul"),At.innerHTML=Fs,rn=r(),Nt=s("p"),Nt.innerHTML=Ss,ea=r(),X=s("div"),f(Fe.$$.fragment),an=r(),Pt=s("p"),Pt.innerHTML=Ws,ta=r(),Z=s("div"),f(Se.$$.fragment),nn=r(),Ft=s("p"),Ft.innerHTML=zs,ra=r(),Q=s("div"),f(We.$$.fragment),sn=r(),St=s("p"),St.innerHTML=Bs,aa=r(),W=s("div"),f(ze.$$.fragment),on=r(),Wt=s("p"),Wt.innerHTML=Rs,ln=r(),zt=s("p"),zt.innerHTML=Vs,na=r(),K=s("div"),f(Be.$$.fragment),cn=r(),Bt=s("p"),Bt.innerHTML=Gs,sa=r(),z=s("div"),f(Re.$$.fragment),mn=r(),Rt=s("p"),Rt.innerHTML=qs,dn=r(),J=s("div"),f(Ve.$$.fragment),pn=r(),Vt=s("p"),Vt.innerHTML=Os,fn=r(),Gt=s("p"),Gt.innerHTML=Ys,gn=r(),qt=s("p"),qt.textContent=Xs,hn=r(),B=s("ul"),Ge=s("li"),Ot=s("p"),Ot.innerHTML=Zs,un=r(),f(ne.$$.fragment),bn=r(),Yt=s("li"),Yt.innerHTML=Qs,_n=r(),Xt=s("li"),Xt.innerHTML=Ks,vn=r(),Zt=s("li"),Zt.innerHTML=eo,oa=r(),R=s("div"),f(qe.$$.fragment),Tn=r(),Qt=s("p"),Qt.innerHTML=to,$n=r(),N=s("div"),f(Oe.$$.fragment),Cn=r(),Kt=s("p"),Kt.textContent=ro,kn=r(),er=s("p"),er.textContent=ao,wn=r(),tr=s("ul"),tr.innerHTML=no,la=r(),ee=s("div"),f(Ye.$$.fragment),Mn=r(),rr=s("p"),rr.innerHTML=so,ia=r(),te=s("div"),f(Xe.$$.fragment),yn=r(),ar=s("p"),ar.innerHTML=oo,ca=r(),V=s("div"),f(Ze.$$.fragment),xn=r(),nr=s("p"),nr.innerHTML=lo,Ln=r(),sr=s("p"),sr.innerHTML=io,ma=r(),D=s("div"),f(Qe.$$.fragment),jn=r(),or=s("p"),or.innerHTML=co,In=r(),lr=s("p"),lr.textContent=mo,En=r(),ir=s("ul"),ir.innerHTML=po,da=r(),G=s("div"),f(Ke.$$.fragment),Hn=r(),cr=s("p"),cr.innerHTML=fo,Jn=r(),P=s("div"),f(et.$$.fragment),Dn=r(),mr=s("p"),mr.textContent=go,Un=r(),dr=s("p"),dr.textContent=ho,An=r(),pr=s("ul"),pr.innerHTML=uo,pa=r(),q=s("div"),f(tt.$$.fragment),Nn=r(),fr=s("p"),fr.innerHTML=bo,Pn=r(),f(se.$$.fragment),fa=r(),U=s("div"),f(rt.$$.fragment),Fn=r(),gr=s("p"),gr.innerHTML=_o,Sn=r(),hr=s("p"),hr.innerHTML=vo,Wn=r(),F=s("div"),f(at.$$.fragment),zn=r(),ur=s("p"),ur.innerHTML=To,Bn=r(),br=s("p"),br.textContent=$o,Rn=r(),_r=s("ul"),_r.innerHTML=Co,ga=r(),nt=s("p"),nt.textContent=ko,ha=r(),T=s("div"),f(st.$$.fragment),Vn=r(),vr=s("p"),vr.textContent=wo,Gn=r(),Tr=s("p"),Tr.innerHTML=Mo,qn=r(),$r=s("p"),$r.innerHTML=yo,On=r(),f(oe.$$.fragment),Yn=r(),le=s("div"),f(ot.$$.fragment),Xn=r(),Cr=s("p"),Cr.textContent=xo,Zn=r(),ie=s("div"),f(lt.$$.fragment),Qn=r(),kr=s("p"),kr.textContent=Lo,Kn=r(),ce=s("div"),f(it.$$.fragment),es=r(),wr=s("p"),wr.textContent=jo,ts=r(),me=s("div"),f(ct.$$.fragment),rs=r(),Mr=s("p"),Mr.innerHTML=Io,as=r(),de=s("div"),f(mt.$$.fragment),ns=r(),yr=s("p"),yr.textContent=Eo,ss=r(),pe=s("div"),f(dt.$$.fragment),os=r(),xr=s("p"),xr.textContent=Ho,ls=r(),fe=s("div"),f(pt.$$.fragment),is=r(),Lr=s("p"),Lr.textContent=Jo,cs=r(),ge=s("div"),f(ft.$$.fragment),ms=r(),jr=s("p"),jr.textContent=Do,ds=r(),he=s("div"),f(gt.$$.fragment),ps=r(),Ir=s("p"),Ir.textContent=Uo,fs=r(),ue=s("div"),f(ht.$$.fragment),gs=r(),Er=s("p"),Er.textContent=Ao,hs=r(),be=s("div"),f(ut.$$.fragment),us=r(),Hr=s("p"),Hr.textContent=No,bs=r(),_e=s("div"),f(bt.$$.fragment),_s=r(),Jr=s("p"),Jr.textContent=Po,vs=r(),ve=s("div"),f(_t.$$.fragment),Ts=r(),Dr=s("p"),Dr.textContent=Fo,$s=r(),Te=s("div"),f(vt.$$.fragment),Cs=r(),Ur=s("p"),Ur.textContent=So,ua=r(),Tt=s("p"),Tt.innerHTML=Wo,ba=r(),f($t.$$.fragment),_a=r(),Ct=s("p"),Ct.innerHTML=zo,va=r(),f(kt.$$.fragment),Ta=r(),wt=s("p"),wt.textContent=Bo,$a=r(),E=s("div"),f(Mt.$$.fragment),ks=r(),Ar=s("p"),Ar.innerHTML=Ro,ws=r(),f($e.$$.fragment),Ms=r(),Ce=s("div"),f(yt.$$.fragment),ys=r(),Nr=s("p"),Nr.innerHTML=Vo,xs=r(),ke=s("div"),f(xt.$$.fragment),Ls=r(),Pr=s("p"),Pr.innerHTML=Go,Ca=r(),Lt=s("p"),Lt.textContent=qo,ka=r(),re=s("div"),f(jt.$$.fragment),js=r(),Fr=s("p"),Fr.innerHTML=Oo,wa=r(),f(It.$$.fragment),Ma=r(),Gr=s("p"),this.h()},l(e){const l=cl("svelte-u9bgzb",document.head);m=o(l,"META",{name:!0,content:!0}),l.forEach(n),x=a(e),b=o(e,"P",{}),_(b).forEach(n),w=a(e),g(M.$$.fragment,e),v=a(e),y=o(e,"P",{"data-svelte-h":!0}),i(y)!=="svelte-10tcwcz"&&(y.innerHTML=L),I=a(e),Ie=o(e,"P",{"data-svelte-h":!0}),i(Ie)!=="svelte-1vqv0ot"&&(Ie.innerHTML=Is),qr=a(e),Ee=o(e,"P",{"data-svelte-h":!0}),i(Ee)!=="svelte-3eiuq0"&&(Ee.innerHTML=Es),Or=a(e),He=o(e,"UL",{"data-svelte-h":!0}),i(He)!=="svelte-r3kg2r"&&(He.innerHTML=Hs),Yr=a(e),Je=o(e,"P",{"data-svelte-h":!0}),i(Je)!=="svelte-1b834xs"&&(Je.innerHTML=Js),Xr=a(e),De=o(e,"P",{"data-svelte-h":!0}),i(De)!=="svelte-1x712yq"&&(De.innerHTML=Ds),Zr=a(e),g(Ue.$$.fragment,e),Qr=a(e),Ae=o(e,"P",{"data-svelte-h":!0}),i(Ae)!=="svelte-1h2kqww"&&(Ae.innerHTML=Us),Kr=a(e),S=o(e,"DIV",{class:!0});var ae=_(S);g(Ne.$$.fragment,ae),Za=a(ae),Jt=o(ae,"P",{"data-svelte-h":!0}),i(Jt)!=="svelte-2uhoub"&&(Jt.innerHTML=As),Qa=a(ae),H=o(ae,"DIV",{class:!0});var A=_(H);g(Pe.$$.fragment,A),Ka=a(A),Dt=o(A,"P",{"data-svelte-h":!0}),i(Dt)!=="svelte-1bfkm9x"&&(Dt.textContent=Ns),en=a(A),Ut=o(A,"P",{"data-svelte-h":!0}),i(Ut)!=="svelte-1fkshtn"&&(Ut.textContent=Ps),tn=a(A),At=o(A,"UL",{"data-svelte-h":!0}),i(At)!=="svelte-12drq5x"&&(At.innerHTML=Fs),rn=a(A),Nt=o(A,"P",{"data-svelte-h":!0}),i(Nt)!=="svelte-1faq0a7"&&(Nt.innerHTML=Ss),A.forEach(n),ae.forEach(n),ea=a(e),X=o(e,"DIV",{class:!0});var Et=_(X);g(Fe.$$.fragment,Et),an=a(Et),Pt=o(Et,"P",{"data-svelte-h":!0}),i(Pt)!=="svelte-1tbasso"&&(Pt.innerHTML=Ws),Et.forEach(n),ta=a(e),Z=o(e,"DIV",{class:!0});var Ht=_(Z);g(Se.$$.fragment,Ht),nn=a(Ht),Ft=o(Ht,"P",{"data-svelte-h":!0}),i(Ft)!=="svelte-1td27c5"&&(Ft.innerHTML=zs),Ht.forEach(n),ra=a(e),Q=o(e,"DIV",{class:!0});var xa=_(Q);g(We.$$.fragment,xa),sn=a(xa),St=o(xa,"P",{"data-svelte-h":!0}),i(St)!=="svelte-1fwul2m"&&(St.innerHTML=Bs),xa.forEach(n),aa=a(e),W=o(e,"DIV",{class:!0});var Sr=_(W);g(ze.$$.fragment,Sr),on=a(Sr),Wt=o(Sr,"P",{"data-svelte-h":!0}),i(Wt)!=="svelte-ppj12n"&&(Wt.innerHTML=Rs),ln=a(Sr),zt=o(Sr,"P",{"data-svelte-h":!0}),i(zt)!=="svelte-7j7x7r"&&(zt.innerHTML=Vs),Sr.forEach(n),na=a(e),K=o(e,"DIV",{class:!0});var La=_(K);g(Be.$$.fragment,La),cn=a(La),Bt=o(La,"P",{"data-svelte-h":!0}),i(Bt)!=="svelte-1j5bo3c"&&(Bt.innerHTML=Gs),La.forEach(n),sa=a(e),z=o(e,"DIV",{class:!0});var Wr=_(z);g(Re.$$.fragment,Wr),mn=a(Wr),Rt=o(Wr,"P",{"data-svelte-h":!0}),i(Rt)!=="svelte-m7zdkz"&&(Rt.innerHTML=qs),dn=a(Wr),J=o(Wr,"DIV",{class:!0});var O=_(J);g(Ve.$$.fragment,O),pn=a(O),Vt=o(O,"P",{"data-svelte-h":!0}),i(Vt)!=="svelte-op70zs"&&(Vt.innerHTML=Os),fn=a(O),Gt=o(O,"P",{"data-svelte-h":!0}),i(Gt)!=="svelte-m2rt7w"&&(Gt.innerHTML=Ys),gn=a(O),qt=o(O,"P",{"data-svelte-h":!0}),i(qt)!=="svelte-1fkshtn"&&(qt.textContent=Xs),hn=a(O),B=o(O,"UL",{});var we=_(B);Ge=o(we,"LI",{});var ja=_(Ge);Ot=o(ja,"P",{"data-svelte-h":!0}),i(Ot)!=="svelte-py3r3s"&&(Ot.innerHTML=Zs),un=a(ja),g(ne.$$.fragment,ja),ja.forEach(n),bn=a(we),Yt=o(we,"LI",{"data-svelte-h":!0}),i(Yt)!=="svelte-dx3m30"&&(Yt.innerHTML=Qs),_n=a(we),Xt=o(we,"LI",{"data-svelte-h":!0}),i(Xt)!=="svelte-n1uh6c"&&(Xt.innerHTML=Ks),vn=a(we),Zt=o(we,"LI",{"data-svelte-h":!0}),i(Zt)!=="svelte-ybo66z"&&(Zt.innerHTML=eo),we.forEach(n),O.forEach(n),Wr.forEach(n),oa=a(e),R=o(e,"DIV",{class:!0});var zr=_(R);g(qe.$$.fragment,zr),Tn=a(zr),Qt=o(zr,"P",{"data-svelte-h":!0}),i(Qt)!=="svelte-18hzrw3"&&(Qt.innerHTML=to),$n=a(zr),N=o(zr,"DIV",{class:!0});var Me=_(N);g(Oe.$$.fragment,Me),Cn=a(Me),Kt=o(Me,"P",{"data-svelte-h":!0}),i(Kt)!=="svelte-nmg16f"&&(Kt.textContent=ro),kn=a(Me),er=o(Me,"P",{"data-svelte-h":!0}),i(er)!=="svelte-1fkshtn"&&(er.textContent=ao),wn=a(Me),tr=o(Me,"UL",{"data-svelte-h":!0}),i(tr)!=="svelte-21phev"&&(tr.innerHTML=no),Me.forEach(n),zr.forEach(n),la=a(e),ee=o(e,"DIV",{class:!0});var Ia=_(ee);g(Ye.$$.fragment,Ia),Mn=a(Ia),rr=o(Ia,"P",{"data-svelte-h":!0}),i(rr)!=="svelte-zcp4ts"&&(rr.innerHTML=so),Ia.forEach(n),ia=a(e),te=o(e,"DIV",{class:!0});var Ea=_(te);g(Xe.$$.fragment,Ea),yn=a(Ea),ar=o(Ea,"P",{"data-svelte-h":!0}),i(ar)!=="svelte-c023s4"&&(ar.innerHTML=oo),Ea.forEach(n),ca=a(e),V=o(e,"DIV",{class:!0});var Br=_(V);g(Ze.$$.fragment,Br),xn=a(Br),nr=o(Br,"P",{"data-svelte-h":!0}),i(nr)!=="svelte-4ag9j6"&&(nr.innerHTML=lo),Ln=a(Br),sr=o(Br,"P",{"data-svelte-h":!0}),i(sr)!=="svelte-1mhjcx0"&&(sr.innerHTML=io),Br.forEach(n),ma=a(e),D=o(e,"DIV",{class:!0});var ye=_(D);g(Qe.$$.fragment,ye),jn=a(ye),or=o(ye,"P",{"data-svelte-h":!0}),i(or)!=="svelte-1kbgb2m"&&(or.innerHTML=co),In=a(ye),lr=o(ye,"P",{"data-svelte-h":!0}),i(lr)!=="svelte-1fkshtn"&&(lr.textContent=mo),En=a(ye),ir=o(ye,"UL",{"data-svelte-h":!0}),i(ir)!=="svelte-15svthu"&&(ir.innerHTML=po),ye.forEach(n),da=a(e),G=o(e,"DIV",{class:!0});var Rr=_(G);g(Ke.$$.fragment,Rr),Hn=a(Rr),cr=o(Rr,"P",{"data-svelte-h":!0}),i(cr)!=="svelte-wmhrwv"&&(cr.innerHTML=fo),Jn=a(Rr),P=o(Rr,"DIV",{class:!0});var xe=_(P);g(et.$$.fragment,xe),Dn=a(xe),mr=o(xe,"P",{"data-svelte-h":!0}),i(mr)!=="svelte-1wbmj3"&&(mr.textContent=go),Un=a(xe),dr=o(xe,"P",{"data-svelte-h":!0}),i(dr)!=="svelte-1fkshtn"&&(dr.textContent=ho),An=a(xe),pr=o(xe,"UL",{"data-svelte-h":!0}),i(pr)!=="svelte-dna85o"&&(pr.innerHTML=uo),xe.forEach(n),Rr.forEach(n),pa=a(e),q=o(e,"DIV",{class:!0});var Vr=_(q);g(tt.$$.fragment,Vr),Nn=a(Vr),fr=o(Vr,"P",{"data-svelte-h":!0}),i(fr)!=="svelte-1sl64rw"&&(fr.innerHTML=bo),Pn=a(Vr),g(se.$$.fragment,Vr),Vr.forEach(n),fa=a(e),U=o(e,"DIV",{class:!0});var Le=_(U);g(rt.$$.fragment,Le),Fn=a(Le),gr=o(Le,"P",{"data-svelte-h":!0}),i(gr)!=="svelte-f19lqd"&&(gr.innerHTML=_o),Sn=a(Le),hr=o(Le,"P",{"data-svelte-h":!0}),i(hr)!=="svelte-eu3kj7"&&(hr.innerHTML=vo),Wn=a(Le),F=o(Le,"DIV",{class:!0});var je=_(F);g(at.$$.fragment,je),zn=a(je),ur=o(je,"P",{"data-svelte-h":!0}),i(ur)!=="svelte-jjkenj"&&(ur.innerHTML=To),Bn=a(je),br=o(je,"P",{"data-svelte-h":!0}),i(br)!=="svelte-1fkshtn"&&(br.textContent=$o),Rn=a(je),_r=o(je,"UL",{"data-svelte-h":!0}),i(_r)!=="svelte-15amre"&&(_r.innerHTML=Co),je.forEach(n),Le.forEach(n),ga=a(e),nt=o(e,"P",{"data-svelte-h":!0}),i(nt)!=="svelte-4e1hmk"&&(nt.textContent=ko),ha=a(e),T=o(e,"DIV",{class:!0});var k=_(T);g(st.$$.fragment,k),Vn=a(k),vr=o(k,"P",{"data-svelte-h":!0}),i(vr)!=="svelte-14xg00o"&&(vr.textContent=wo),Gn=a(k),Tr=o(k,"P",{"data-svelte-h":!0}),i(Tr)!=="svelte-1xprdvt"&&(Tr.innerHTML=Mo),qn=a(k),$r=o(k,"P",{"data-svelte-h":!0}),i($r)!=="svelte-1ti1poo"&&($r.innerHTML=yo),On=a(k),g(oe.$$.fragment,k),Yn=a(k),le=o(k,"DIV",{class:!0});var Ha=_(le);g(ot.$$.fragment,Ha),Xn=a(Ha),Cr=o(Ha,"P",{"data-svelte-h":!0}),i(Cr)!=="svelte-106889p"&&(Cr.textContent=xo),Ha.forEach(n),Zn=a(k),ie=o(k,"DIV",{class:!0});var Ja=_(ie);g(lt.$$.fragment,Ja),Qn=a(Ja),kr=o(Ja,"P",{"data-svelte-h":!0}),i(kr)!=="svelte-oshcpj"&&(kr.textContent=Lo),Ja.forEach(n),Kn=a(k),ce=o(k,"DIV",{class:!0});var Da=_(ce);g(it.$$.fragment,Da),es=a(Da),wr=o(Da,"P",{"data-svelte-h":!0}),i(wr)!=="svelte-1o0xh73"&&(wr.textContent=jo),Da.forEach(n),ts=a(k),me=o(k,"DIV",{class:!0});var Ua=_(me);g(ct.$$.fragment,Ua),rs=a(Ua),Mr=o(Ua,"P",{"data-svelte-h":!0}),i(Mr)!=="svelte-q1m7lp"&&(Mr.innerHTML=Io),Ua.forEach(n),as=a(k),de=o(k,"DIV",{class:!0});var Aa=_(de);g(mt.$$.fragment,Aa),ns=a(Aa),yr=o(Aa,"P",{"data-svelte-h":!0}),i(yr)!=="svelte-10eiwg0"&&(yr.textContent=Eo),Aa.forEach(n),ss=a(k),pe=o(k,"DIV",{class:!0});var Na=_(pe);g(dt.$$.fragment,Na),os=a(Na),xr=o(Na,"P",{"data-svelte-h":!0}),i(xr)!=="svelte-1mpbj2z"&&(xr.textContent=Ho),Na.forEach(n),ls=a(k),fe=o(k,"DIV",{class:!0});var Pa=_(fe);g(pt.$$.fragment,Pa),is=a(Pa),Lr=o(Pa,"P",{"data-svelte-h":!0}),i(Lr)!=="svelte-1df7x4n"&&(Lr.textContent=Jo),Pa.forEach(n),cs=a(k),ge=o(k,"DIV",{class:!0});var Fa=_(ge);g(ft.$$.fragment,Fa),ms=a(Fa),jr=o(Fa,"P",{"data-svelte-h":!0}),i(jr)!=="svelte-18swygp"&&(jr.textContent=Do),Fa.forEach(n),ds=a(k),he=o(k,"DIV",{class:!0});var Sa=_(he);g(gt.$$.fragment,Sa),ps=a(Sa),Ir=o(Sa,"P",{"data-svelte-h":!0}),i(Ir)!=="svelte-19xp05v"&&(Ir.textContent=Uo),Sa.forEach(n),fs=a(k),ue=o(k,"DIV",{class:!0});var Wa=_(ue);g(ht.$$.fragment,Wa),gs=a(Wa),Er=o(Wa,"P",{"data-svelte-h":!0}),i(Er)!=="svelte-7af61p"&&(Er.textContent=Ao),Wa.forEach(n),hs=a(k),be=o(k,"DIV",{class:!0});var za=_(be);g(ut.$$.fragment,za),us=a(za),Hr=o(za,"P",{"data-svelte-h":!0}),i(Hr)!=="svelte-8cdxjr"&&(Hr.textContent=No),za.forEach(n),bs=a(k),_e=o(k,"DIV",{class:!0});var Ba=_(_e);g(bt.$$.fragment,Ba),_s=a(Ba),Jr=o(Ba,"P",{"data-svelte-h":!0}),i(Jr)!=="svelte-sluvs0"&&(Jr.textContent=Po),Ba.forEach(n),vs=a(k),ve=o(k,"DIV",{class:!0});var Ra=_(ve);g(_t.$$.fragment,Ra),Ts=a(Ra),Dr=o(Ra,"P",{"data-svelte-h":!0}),i(Dr)!=="svelte-6bvy6d"&&(Dr.textContent=Fo),Ra.forEach(n),$s=a(k),Te=o(k,"DIV",{class:!0});var Va=_(Te);g(vt.$$.fragment,Va),Cs=a(Va),Ur=o(Va,"P",{"data-svelte-h":!0}),i(Ur)!=="svelte-zzwxsv"&&(Ur.textContent=So),Va.forEach(n),k.forEach(n),ua=a(e),Tt=o(e,"P",{"data-svelte-h":!0}),i(Tt)!=="svelte-irtc1u"&&(Tt.innerHTML=Wo),ba=a(e),g($t.$$.fragment,e),_a=a(e),Ct=o(e,"P",{"data-svelte-h":!0}),i(Ct)!=="svelte-183oh1l"&&(Ct.innerHTML=zo),va=a(e),g(kt.$$.fragment,e),Ta=a(e),wt=o(e,"P",{"data-svelte-h":!0}),i(wt)!=="svelte-140fjes"&&(wt.textContent=Bo),$a=a(e),E=o(e,"DIV",{class:!0});var Y=_(E);g(Mt.$$.fragment,Y),ks=a(Y),Ar=o(Y,"P",{"data-svelte-h":!0}),i(Ar)!=="svelte-1kb3b1i"&&(Ar.innerHTML=Ro),ws=a(Y),g($e.$$.fragment,Y),Ms=a(Y),Ce=o(Y,"DIV",{class:!0});var Ga=_(Ce);g(yt.$$.fragment,Ga),ys=a(Ga),Nr=o(Ga,"P",{"data-svelte-h":!0}),i(Nr)!=="svelte-hbs6ga"&&(Nr.innerHTML=Vo),Ga.forEach(n),xs=a(Y),ke=o(Y,"DIV",{class:!0});var qa=_(ke);g(xt.$$.fragment,qa),Ls=a(qa),Pr=o(qa,"P",{"data-svelte-h":!0}),i(Pr)!=="svelte-dkslae"&&(Pr.innerHTML=Go),qa.forEach(n),Y.forEach(n),Ca=a(e),Lt=o(e,"P",{"data-svelte-h":!0}),i(Lt)!=="svelte-1cmiei4"&&(Lt.textContent=qo),ka=a(e),re=o(e,"DIV",{class:!0});var Oa=_(re);g(jt.$$.fragment,Oa),js=a(Oa),Fr=o(Oa,"P",{"data-svelte-h":!0}),i(Fr)!=="svelte-1padwpq"&&(Fr.innerHTML=Oo),Oa.forEach(n),wa=a(e),g(It.$$.fragment,e),Ma=a(e),Gr=o(e,"P",{}),_(Gr).forEach(n),this.h()},h(){$(m,"name","hf:doc:metadata"),$(m,"content",Tl),$(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(X,"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"),$(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(W,"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"),$(J,"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"),$(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(te,"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"),$(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(le,"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"),$(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Te,"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"),$(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(re,"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,l){t(document.head,m),c(e,x,l),c(e,b,l),c(e,w,l),h(M,e,l),c(e,v,l),c(e,y,l),c(e,I,l),c(e,Ie,l),c(e,qr,l),c(e,Ee,l),c(e,Or,l),c(e,He,l),c(e,Yr,l),c(e,Je,l),c(e,Xr,l),c(e,De,l),c(e,Zr,l),h(Ue,e,l),c(e,Qr,l),c(e,Ae,l),c(e,Kr,l),c(e,S,l),h(Ne,S,null),t(S,Za),t(S,Jt),t(S,Qa),t(S,H),h(Pe,H,null),t(H,Ka),t(H,Dt),t(H,en),t(H,Ut),t(H,tn),t(H,At),t(H,rn),t(H,Nt),c(e,ea,l),c(e,X,l),h(Fe,X,null),t(X,an),t(X,Pt),c(e,ta,l),c(e,Z,l),h(Se,Z,null),t(Z,nn),t(Z,Ft),c(e,ra,l),c(e,Q,l),h(We,Q,null),t(Q,sn),t(Q,St),c(e,aa,l),c(e,W,l),h(ze,W,null),t(W,on),t(W,Wt),t(W,ln),t(W,zt),c(e,na,l),c(e,K,l),h(Be,K,null),t(K,cn),t(K,Bt),c(e,sa,l),c(e,z,l),h(Re,z,null),t(z,mn),t(z,Rt),t(z,dn),t(z,J),h(Ve,J,null),t(J,pn),t(J,Vt),t(J,fn),t(J,Gt),t(J,gn),t(J,qt),t(J,hn),t(J,B),t(B,Ge),t(Ge,Ot),t(Ge,un),h(ne,Ge,null),t(B,bn),t(B,Yt),t(B,_n),t(B,Xt),t(B,vn),t(B,Zt),c(e,oa,l),c(e,R,l),h(qe,R,null),t(R,Tn),t(R,Qt),t(R,$n),t(R,N),h(Oe,N,null),t(N,Cn),t(N,Kt),t(N,kn),t(N,er),t(N,wn),t(N,tr),c(e,la,l),c(e,ee,l),h(Ye,ee,null),t(ee,Mn),t(ee,rr),c(e,ia,l),c(e,te,l),h(Xe,te,null),t(te,yn),t(te,ar),c(e,ca,l),c(e,V,l),h(Ze,V,null),t(V,xn),t(V,nr),t(V,Ln),t(V,sr),c(e,ma,l),c(e,D,l),h(Qe,D,null),t(D,jn),t(D,or),t(D,In),t(D,lr),t(D,En),t(D,ir),c(e,da,l),c(e,G,l),h(Ke,G,null),t(G,Hn),t(G,cr),t(G,Jn),t(G,P),h(et,P,null),t(P,Dn),t(P,mr),t(P,Un),t(P,dr),t(P,An),t(P,pr),c(e,pa,l),c(e,q,l),h(tt,q,null),t(q,Nn),t(q,fr),t(q,Pn),h(se,q,null),c(e,fa,l),c(e,U,l),h(rt,U,null),t(U,Fn),t(U,gr),t(U,Sn),t(U,hr),t(U,Wn),t(U,F),h(at,F,null),t(F,zn),t(F,ur),t(F,Bn),t(F,br),t(F,Rn),t(F,_r),c(e,ga,l),c(e,nt,l),c(e,ha,l),c(e,T,l),h(st,T,null),t(T,Vn),t(T,vr),t(T,Gn),t(T,Tr),t(T,qn),t(T,$r),t(T,On),h(oe,T,null),t(T,Yn),t(T,le),h(ot,le,null),t(le,Xn),t(le,Cr),t(T,Zn),t(T,ie),h(lt,ie,null),t(ie,Qn),t(ie,kr),t(T,Kn),t(T,ce),h(it,ce,null),t(ce,es),t(ce,wr),t(T,ts),t(T,me),h(ct,me,null),t(me,rs),t(me,Mr),t(T,as),t(T,de),h(mt,de,null),t(de,ns),t(de,yr),t(T,ss),t(T,pe),h(dt,pe,null),t(pe,os),t(pe,xr),t(T,ls),t(T,fe),h(pt,fe,null),t(fe,is),t(fe,Lr),t(T,cs),t(T,ge),h(ft,ge,null),t(ge,ms),t(ge,jr),t(T,ds),t(T,he),h(gt,he,null),t(he,ps),t(he,Ir),t(T,fs),t(T,ue),h(ht,ue,null),t(ue,gs),t(ue,Er),t(T,hs),t(T,be),h(ut,be,null),t(be,us),t(be,Hr),t(T,bs),t(T,_e),h(bt,_e,null),t(_e,_s),t(_e,Jr),t(T,vs),t(T,ve),h(_t,ve,null),t(ve,Ts),t(ve,Dr),t(T,$s),t(T,Te),h(vt,Te,null),t(Te,Cs),t(Te,Ur),c(e,ua,l),c(e,Tt,l),c(e,ba,l),h($t,e,l),c(e,_a,l),c(e,Ct,l),c(e,va,l),h(kt,e,l),c(e,Ta,l),c(e,wt,l),c(e,$a,l),c(e,E,l),h(Mt,E,null),t(E,ks),t(E,Ar),t(E,ws),h($e,E,null),t(E,Ms),t(E,Ce),h(yt,Ce,null),t(Ce,ys),t(Ce,Nr),t(E,xs),t(E,ke),h(xt,ke,null),t(ke,Ls),t(ke,Pr),c(e,Ca,l),c(e,Lt,l),c(e,ka,l),c(e,re,l),h(jt,re,null),t(re,js),t(re,Fr),c(e,wa,l),h(It,e,l),c(e,Ma,l),c(e,Gr,l),ya=!0},p(e,[l]){const ae={};l&2&&(ae.$$scope={dirty:l,ctx:e}),ne.$set(ae);const A={};l&2&&(A.$$scope={dirty:l,ctx:e}),se.$set(A);const Et={};l&2&&(Et.$$scope={dirty:l,ctx:e}),oe.$set(Et);const Ht={};l&2&&(Ht.$$scope={dirty:l,ctx:e}),$e.$set(Ht)},i(e){ya||(d(M.$$.fragment,e),d(Ue.$$.fragment,e),d(Ne.$$.fragment,e),d(Pe.$$.fragment,e),d(Fe.$$.fragment,e),d(Se.$$.fragment,e),d(We.$$.fragment,e),d(ze.$$.fragment,e),d(Be.$$.fragment,e),d(Re.$$.fragment,e),d(Ve.$$.fragment,e),d(ne.$$.fragment,e),d(qe.$$.fragment,e),d(Oe.$$.fragment,e),d(Ye.$$.fragment,e),d(Xe.$$.fragment,e),d(Ze.$$.fragment,e),d(Qe.$$.fragment,e),d(Ke.$$.fragment,e),d(et.$$.fragment,e),d(tt.$$.fragment,e),d(se.$$.fragment,e),d(rt.$$.fragment,e),d(at.$$.fragment,e),d(st.$$.fragment,e),d(oe.$$.fragment,e),d(ot.$$.fragment,e),d(lt.$$.fragment,e),d(it.$$.fragment,e),d(ct.$$.fragment,e),d(mt.$$.fragment,e),d(dt.$$.fragment,e),d(pt.$$.fragment,e),d(ft.$$.fragment,e),d(gt.$$.fragment,e),d(ht.$$.fragment,e),d(ut.$$.fragment,e),d(bt.$$.fragment,e),d(_t.$$.fragment,e),d(vt.$$.fragment,e),d($t.$$.fragment,e),d(kt.$$.fragment,e),d(Mt.$$.fragment,e),d($e.$$.fragment,e),d(yt.$$.fragment,e),d(xt.$$.fragment,e),d(jt.$$.fragment,e),d(It.$$.fragment,e),ya=!0)},o(e){p(M.$$.fragment,e),p(Ue.$$.fragment,e),p(Ne.$$.fragment,e),p(Pe.$$.fragment,e),p(Fe.$$.fragment,e),p(Se.$$.fragment,e),p(We.$$.fragment,e),p(ze.$$.fragment,e),p(Be.$$.fragment,e),p(Re.$$.fragment,e),p(Ve.$$.fragment,e),p(ne.$$.fragment,e),p(qe.$$.fragment,e),p(Oe.$$.fragment,e),p(Ye.$$.fragment,e),p(Xe.$$.fragment,e),p(Ze.$$.fragment,e),p(Qe.$$.fragment,e),p(Ke.$$.fragment,e),p(et.$$.fragment,e),p(tt.$$.fragment,e),p(se.$$.fragment,e),p(rt.$$.fragment,e),p(at.$$.fragment,e),p(st.$$.fragment,e),p(oe.$$.fragment,e),p(ot.$$.fragment,e),p(lt.$$.fragment,e),p(it.$$.fragment,e),p(ct.$$.fragment,e),p(mt.$$.fragment,e),p(dt.$$.fragment,e),p(pt.$$.fragment,e),p(ft.$$.fragment,e),p(gt.$$.fragment,e),p(ht.$$.fragment,e),p(ut.$$.fragment,e),p(bt.$$.fragment,e),p(_t.$$.fragment,e),p(vt.$$.fragment,e),p($t.$$.fragment,e),p(kt.$$.fragment,e),p(Mt.$$.fragment,e),p($e.$$.fragment,e),p(yt.$$.fragment,e),p(xt.$$.fragment,e),p(jt.$$.fragment,e),p(It.$$.fragment,e),ya=!1},d(e){e&&(n(x),n(b),n(w),n(v),n(y),n(I),n(Ie),n(qr),n(Ee),n(Or),n(He),n(Yr),n(Je),n(Xr),n(De),n(Zr),n(Qr),n(Ae),n(Kr),n(S),n(ea),n(X),n(ta),n(Z),n(ra),n(Q),n(aa),n(W),n(na),n(K),n(sa),n(z),n(oa),n(R),n(la),n(ee),n(ia),n(te),n(ca),n(V),n(ma),n(D),n(da),n(G),n(pa),n(q),n(fa),n(U),n(ga),n(nt),n(ha),n(T),n(ua),n(Tt),n(ba),n(_a),n(Ct),n(va),n(Ta),n(wt),n($a),n(E),n(Ca),n(Lt),n(ka),n(re),n(wa),n(Ma),n(Gr)),n(m),u(M,e),u(Ue,e),u(Ne),u(Pe),u(Fe),u(Se),u(We),u(ze),u(Be),u(Re),u(Ve),u(ne),u(qe),u(Oe),u(Ye),u(Xe),u(Ze),u(Qe),u(Ke),u(et),u(tt),u(se),u(rt),u(at),u(st),u(oe),u(ot),u(lt),u(it),u(ct),u(mt),u(dt),u(pt),u(ft),u(gt),u(ht),u(ut),u(bt),u(_t),u(vt),u($t,e),u(kt,e),u(Mt),u($e),u(yt),u(xt),u(jt),u(It,e)}}}const Tl='{"title":"コールバック数","local":"コールバック数","sections":[{"title":"利用可能なコールバック","local":"transformers.integrations.CometCallback","sections":[],"depth":2}],"depth":1}';function $l(j){return ll(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class jl extends el{constructor(m){super(),tl(this,m,$l,vl,Ko,{})}}export{jl as component};
