import{s as al,c as ll,u as il,g as cl,d as ml,o as dl,n as tn}from"../chunks/scheduler.9bc65507.js";import{S as nl,i as sl,r as f,u as g,v as h,d,t as p,w as u,g as n,m as el,s as r,h as s,j as v,n as tl,f as o,c as a,k as $,a as c,y as t,o as pl,A as fl,x as i}from"../chunks/index.707bf1b6.js";import{T as ol}from"../chunks/Tip.c2ecdbf4.js";import{D as k}from"../chunks/Docstring.570ddb64.js";import{C as en}from"../chunks/CodeBlock.54a9f38d.js";import{E as rl}from"../chunks/ExampleCodeBlock.bc2be6bc.js";import{H as Xr,E as gl}from"../chunks/EditOnGithub.922df6ba.js";function hl(j){let m,x,b,w,y;const T=j[1].default,M=ll(T,j,j[2],null);return{c(){m=n("p"),x=el("Deprecated in "),b=el(j[0]),w=r(),M&&M.c(),this.h()},l(L){m=s(L,"P",{class:!0});var E=v(m);x=tl(E,"Deprecated in "),b=tl(E,j[0]),E.forEach(o),w=a(L),M&&M.l(L),this.h()},h(){$(m,"class","font-medium")},m(L,E){c(L,m,E),t(m,x),t(m,b),c(L,w,E),M&&M.m(L,E),y=!0},p(L,E){(!y||E&1)&&pl(b,L[0]),M&&M.p&&(!y||E&4)&&il(M,T,L,L[2],y?ml(T,L[2],E,null):cl(L[2]),null)},i(L){y||(d(M,L),y=!0)},o(L){p(M,L),y=!1},d(L){L&&(o(m),o(w)),M&&M.d(L)}}}function ul(j){let m,x;return m=new ol({props:{warning:!0,$$slots:{default:[hl]},$$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 y={};w&5&&(y.$$scope={dirty:w,ctx:b}),m.$set(y)},i(b){x||(d(m.$$.fragment,b),x=!0)},o(b){p(m.$$.fragment,b),x=!1},d(b){u(m,b)}}}function bl(j,m,x){let{$$slots:b={},$$scope:w}=m,{version:y}=m;return j.$$set=T=>{"version"in T&&x(0,y=T.version),"$$scope"in T&&x(2,w=T.$$scope)},[y,b,w]}class _l extends nl{constructor(m){super(),sl(this,m,bl,ul,al,{version:0})}}function vl(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=n("p"),m.innerHTML=x},l(b){m=s(b,"P",{"data-svelte-h":!0}),i(m)!=="svelte-fxlq1n"&&(m.innerHTML=x)},m(b,w){c(b,m,w)},p:tn,d(b){b&&o(m)}}}function Tl(j){let m,x="Example:",b,w,y;return w=new en({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=n("p"),m.textContent=x,b=r(),f(w.$$.fragment)},l(T){m=s(T,"P",{"data-svelte-h":!0}),i(m)!=="svelte-11lpom8"&&(m.textContent=x),b=a(T),g(w.$$.fragment,T)},m(T,M){c(T,m,M),c(T,b,M),h(w,T,M),y=!0},p:tn,i(T){y||(d(w.$$.fragment,T),y=!0)},o(T){p(w.$$.fragment,T),y=!1},d(T){T&&(o(m),o(b)),u(w,T)}}}function $l(j){let m,x="Example:",b,w,y;return w=new en({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=n("p"),m.textContent=x,b=r(),f(w.$$.fragment)},l(T){m=s(T,"P",{"data-svelte-h":!0}),i(m)!=="svelte-11lpom8"&&(m.textContent=x),b=a(T),g(w.$$.fragment,T)},m(T,M){c(T,m,M),c(T,b,M),h(w,T,M),y=!0},p:tn,i(T){y||(d(w.$$.fragment,T),y=!0)},o(T){p(w.$$.fragment,T),y=!1},d(T){T&&(o(m),o(b)),u(w,T)}}}function Cl(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=n("p"),m.innerHTML=x},l(b){m=s(b,"P",{"data-svelte-h":!0}),i(m)!=="svelte-rhwh6p"&&(m.innerHTML=x)},m(b,w){c(b,m,w)},p:tn,d(b){b&&o(m)}}}function kl(j){let m,x,b,w,y,T,M,L=`コールバックは、PyTorch のトレーニング ループの動作をカスタマイズできるオブジェクトです。
トレーニング ループを検査できる <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> (この機能は TensorFlow にはまだ実装されていません)
状態を確認し (進捗レポート、TensorBoard または他の ML プラットフォームへのログ記録など)、決定を下します (初期段階など)。
停止中）。`,E,Ie,Ns=`コールバックは、返される <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a> オブジェクトを除けば、「読み取り専用」のコード部分です。
トレーニング ループ内では何も変更できません。トレーニング ループの変更が必要なカスタマイズの場合は、次のことを行う必要があります。
<a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> をサブクラス化し、必要なメソッドをオーバーライドします (例については、<a href="trainer">trainer</a> を参照してください)。`,Zr,He,Ss='デフォルトでは、<code>TrainingArguments.report_to</code> は <code>&quot;all&quot;</code> に設定されているため、<a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> は次のコールバックを使用します。',Qr,Je,Ps=`<li><a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.DefaultFlowCallback">DefaultFlowCallback</a> は、ログ記録、保存、評価のデフォルトの動作を処理します。</li> <li><a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.PrinterCallback">PrinterCallback</a> または <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.ProgressCallback">ProgressCallback</a> で進行状況を表示し、
ログ (最初のログは、<a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> を通じて tqdm を非アクティブ化する場合に使用され、そうでない場合に使用されます)
2番目です)。</li> <li><a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.integrations.TensorBoardCallback">TensorBoardCallback</a> (PyTorch &gt;= 1.4 を介して) tensorboard にアクセスできる場合
またはテンソルボードX）。</li> <li><a href="/docs/transformers/pr_29969/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_29969/ja/main_classes/callback#transformers.integrations.CometCallback">CometCallback</a> <a href="https://www.comet.com/site/" rel="nofollow">comet_ml</a> がインストールされている場合。</li> <li><a href="https://www.mlflow.org/" rel="nofollow">mlflow</a> がインストールされている場合は <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.integrations.MLflowCallback">MLflowCallback</a>。</li> <li><a href="/docs/transformers/pr_29969/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_29969/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_29969/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_29969/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_29969/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_29969/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_29969/ja/main_classes/callback#transformers.integrations.DVCLiveCallback">DVCLiveCallback</a> <a href="https://www.dvc.org/doc/dvclive" rel="nofollow">dvclive</a> がインストールされている場合。</li>`,Kr,Ue,Fs="パッケージがインストールされているが、付随する統合を使用したくない場合は、<code>TrainingArguments.report_to</code> を、使用したい統合のみのリストに変更できます (例: <code>[&quot;azure_ml&quot;, &quot;wandb&quot;]</code>) 。",ea,De,Ws=`コールバックを実装するメインクラスは <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> です。それは、
<a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a> は <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> をインスタンス化するために使用され、それにアクセスできます。
<a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerState">TrainerState</a> を介してトレーナーの内部状態を取得し、トレーニング ループ上でいくつかのアクションを実行できます。
<a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a>。`,ta,Ae,ra,Ne,zs='ライブラリで利用可能な <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> のリストは次のとおりです。',aa,F,Se,rn,Dt,Bs='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.comet.com/site/" rel="nofollow">Comet ML</a>.',an,H,Pe,nn,At,Rs="Setup the optional Comet integration.",sn,Nt,Vs="Environment:",on,St,Gs=`<li><strong>COMET_MODE</strong> (<code>str</code>, <em>optional</em>, default to <code>get_or_create</code>):
Control whether to create and log to a new Comet experiment or append to an existing experiment.
It accepts the following values:<ul><li><code>get_or_create</code>: Decides automatically depending if
<code>COMET_EXPERIMENT_KEY</code> is set and whether an Experiment
with that key already exists or not.</li> <li><code>create</code>: Always create a new Comet Experiment.</li> <li><code>get</code>: Always try to append to an Existing Comet Experiment.
Requires <code>COMET_EXPERIMENT_KEY</code> to be set.</li> <li><code>ONLINE</code>: <strong>deprecated</strong>, used to create an online
Experiment. Use <code>COMET_START_ONLINE=1</code> instead.</li> <li><code>OFFLINE</code>: <strong>deprecated</strong>, used to created an offline
Experiment. Use <code>COMET_START_ONLINE=0</code> instead.</li> <li><code>DISABLED</code>: <strong>deprecated</strong>, used to disable Comet logging.
Use the <code>--report_to</code> flag to control the integrations used
for logging result instead.</li></ul></li> <li><strong>COMET_PROJECT_NAME</strong> (<code>str</code>, <em>optional</em>):
Comet project name for experiments.</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>`,ln,Pt,qs=`For a number of configurable items in the environment, see
<a href="https://www.comet.com/docs/v2/guides/experiment-management/configure-sdk/#explore-comet-configuration-options" rel="nofollow">here</a>.`,na,X,Fe,cn,Ft,Ys='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that handles the default flow of the training loop for logs, evaluation and checkpoints.',sa,Z,We,mn,Wt,Os='A bare <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that just prints the logs.',oa,Q,ze,dn,zt,Xs='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that displays the progress of training or evaluation.',la,W,Be,pn,Bt,Zs='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that handles early stopping.',fn,Rt,Qs=`This callback depends on <a href="/docs/transformers/pr_29969/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_29969/ja/main_classes/callback#transformers.TrainerState">TrainerState</a>. Note that if the <a href="/docs/transformers/pr_29969/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.`,ia,K,Re,gn,Vt,Ks='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://www.tensorflow.org/tensorboard" rel="nofollow">TensorBoard</a>.',ca,z,Ve,hn,Gt,eo='A <a href="/docs/transformers/pr_29969/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>.',un,J,Ge,bn,qt,to="Setup the optional Weights &amp; Biases (<em>wandb</em>) integration.",_n,Yt,ro=`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:`,vn,Ot,ao="Environment:",Tn,B,qe,Xt,no=`<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.`,$n,ne,Cn,Zt,so=`<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>`,kn,Qt,oo=`<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>`,wn,Kt,lo=`<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>`,ma,R,Ye,yn,er,io=`A <a href="/docs/transformers/pr_29969/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>.`,Mn,N,Oe,xn,tr,co="Setup the optional MLflow integration.",Ln,rr,mo="Environment:",jn,ar,po=`<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_29969/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>`,da,ee,Xe,En,nr,fo='A <a href="/docs/transformers/pr_29969/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>.',pa,te,Ze,In,sr,go='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that tracks the CO2 emission of training.',fa,V,Qe,Hn,or,ho='TrainerCallback that sends the logs to <a href="https://app.neptune.ai" rel="nofollow">Neptune</a>.',Jn,lr,uo=`For instructions and examples, see the <a href="https://docs.neptune.ai/integrations/transformers" rel="nofollow">Transformers integration
guide</a> in the Neptune documentation.`,ga,U,Ke,Un,ir,bo='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that sends the logs to <a href="https://clear.ml/" rel="nofollow">ClearML</a>.',Dn,cr,_o="Environment:",An,mr,vo=`<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>`,ha,G,et,Nn,dr,To='A <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> that logs to <a href="https://dagshub.com/" rel="nofollow">DagsHub</a>. Extends <code>MLflowCallback</code>',Sn,S,tt,Pn,pr,$o="Setup the DagsHub’s Logging integration.",Fn,fr,Co="Environment:",Wn,gr,ko=`<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>`,ua,q,rt,zn,hr,wo=`A <a href="/docs/transformers/pr_29969/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.`,Bn,se,ba,D,at,Rn,ur,yo='A <a href="/docs/transformers/pr_29969/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>.',Vn,br,Mo=`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>.`,Gn,P,nt,qn,_r,xo=`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>.`,Yn,vr,Lo="Environment:",On,Tr,jo=`<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_29969/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_29969/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>’s <code>output_dir</code> is logged at each checkpoint.</li>`,_a,st,va,_,ot,Xn,$r,Eo=`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:`,Zn,Cr,Io=`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,kr,Ho=`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_29969/ja/main_classes/callback#transformers.PrinterCallback">PrinterCallback</a>.`,Kn,oe,es,le,lt,ts,wr,Jo="Event called at the beginning of an epoch.",rs,ie,it,as,yr,Uo="Event called at the end of an epoch.",ns,ce,ct,ss,Mr,Do="Event called after an evaluation phase.",os,me,mt,ls,xr,Ao='Event called at the end of the initialization of the <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.',is,de,dt,cs,Lr,No="Event called after logging the last logs.",ms,pe,pt,ds,jr,So="Event called after the optimizer step but before gradients are zeroed out. Useful for monitoring gradients.",ps,fe,ft,fs,Er,Po="Event called before the optimizer step but after gradient clipping. Useful for monitoring gradients.",gs,ge,gt,hs,Ir,Fo="Event called after a successful prediction.",us,he,ht,bs,Hr,Wo="Event called after a prediction step.",_s,ue,ut,vs,Jr,zo="Event called after a checkpoint save.",Ts,be,bt,$s,Ur,Bo=`Event called at the beginning of a training step. If using gradient accumulation, one training step might take
several inputs.`,Cs,_e,_t,ks,Dr,Ro=`Event called at the end of a training step. If using gradient accumulation, one training step might take
several inputs.`,ws,ve,vt,ys,Ar,Vo="Event called at the end of an substep during gradient accumulation.",Ms,Te,Tt,xs,Nr,Go="Event called at the beginning of training.",Ls,$e,$t,js,Sr,qo="Event called at the end of training.",Ta,Ct,Yo='以下は、カスタム コールバックを PyTorch <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> に登録する方法の例です。',$a,kt,Ca,wt,Oo="コールバックを登録する別の方法は、次のように <code>trainer.add_callback()</code> を呼び出すことです。",ka,yt,wa,Mt,ya,I,xt,Es,Pr,Xo=`A class containing the <a href="/docs/transformers/pr_29969/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_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a>.`,Is,Ce,Hs,ke,Lt,Js,Fr,Zo="Create an instance from the content of <code>json_path</code>.",Us,we,jt,Ds,Wr,Qo="Save the content of this instance in JSON format inside <code>json_path</code>.",Ma,Et,xa,re,It,As,zr,Ko=`A class that handles the <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a> control flow. This class is used by the <a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerCallback">TrainerCallback</a> to activate some
switches in the training loop.`,La,Ht,ja,Or,Ea;return y=new Xr({props:{title:"コールバック数",local:"コールバック数",headingTag:"h1"}}),Ae=new Xr({props:{title:"利用可能なコールバック",local:"transformers.integrations.CometCallback",headingTag:"h2"}}),Se=new k({props:{name:"class transformers.integrations.CometCallback",anchor:"transformers.integrations.CometCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1005"}}),Pe=new k({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_29969/src/transformers/integrations/integration_utils.py#L1019"}}),Fe=new k({props:{name:"class transformers.DefaultFlowCallback",anchor:"transformers.DefaultFlowCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/trainer_callback.py#L534"}}),We=new k({props:{name:"class transformers.PrinterCallback",anchor:"transformers.PrinterCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/trainer_callback.py#L645"}}),ze=new k({props:{name:"class transformers.ProgressCallback",anchor:"transformers.ProgressCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/trainer_callback.py#L587"}}),Be=new k({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_29969/src/transformers/trainer_callback.py#L656"}}),Re=new k({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_29969/src/transformers/integrations/integration_utils.py#L628"}}),Ve=new k({props:{name:"class transformers.integrations.WandbCallback",anchor:"transformers.integrations.WandbCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L759"}}),Ge=new k({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_29969/src/transformers/integrations/integration_utils.py#L775"}}),ne=new _l({props:{version:"5.0",$$slots:{default:[vl]},$$scope:{ctx:j}}}),Ye=new k({props:{name:"class transformers.integrations.MLflowCallback",anchor:"transformers.integrations.MLflowCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1172"}}),Oe=new k({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_29969/src/transformers/integrations/integration_utils.py#L1191"}}),Xe=new k({props:{name:"class transformers.integrations.AzureMLCallback",anchor:"transformers.integrations.AzureMLCallback",parameters:[{name:"azureml_run",val:" = None"}],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1149"}}),Ze=new k({props:{name:"class transformers.integrations.CodeCarbonCallback",anchor:"transformers.integrations.CodeCarbonCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1673"}}),Qe=new k({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>, <em>optional</em>, 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_29969/src/transformers/integrations/integration_utils.py#L1400"}}),Ke=new k({props:{name:"class transformers.integrations.ClearMLCallback",anchor:"transformers.integrations.ClearMLCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1707"}}),et=new k({props:{name:"class transformers.integrations.DagsHubCallback",anchor:"transformers.integrations.DagsHubCallback",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1340"}}),tt=new k({props:{name:"setup",anchor:"transformers.integrations.DagsHubCallback.setup",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_29969/src/transformers/integrations/integration_utils.py#L1354"}}),rt=new k({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_29969/src/transformers/integrations/integration_utils.py#L1960"}}),se=new rl({props:{anchor:"transformers.integrations.FlyteCallback.example",$$slots:{default:[Tl]},$$scope:{ctx:j}}}),at=new k({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_29969/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_29969/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_29969/src/transformers/integrations/integration_utils.py#L2023"}}),nt=new k({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_29969/src/transformers/integrations/integration_utils.py#L2064"}}),st=new Xr({props:{title:"TrainerCallback",local:"transformers.TrainerCallback",headingTag:"h2"}}),ot=new k({props:{name:"class transformers.TrainerCallback",anchor:"transformers.TrainerCallback",parameters:[],parametersDescription:[{anchor:"transformers.TrainerCallback.args",description:`<strong>args</strong> (<a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.TrainingArguments">TrainingArguments</a>) &#x2014;
The training arguments used to instantiate the <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.`,name:"args"},{anchor:"transformers.TrainerCallback.state",description:`<strong>state</strong> (<a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerState">TrainerState</a>) &#x2014;
The current state of the <a href="/docs/transformers/pr_29969/ja/main_classes/trainer#transformers.Trainer">Trainer</a>.`,name:"state"},{anchor:"transformers.TrainerCallback.control",description:`<strong>control</strong> (<a href="/docs/transformers/pr_29969/ja/main_classes/callback#transformers.TrainerControl">TrainerControl</a>) &#x2014;
The object that is returned to the <a href="/docs/transformers/pr_29969/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_29969/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_29969/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_29969/src/transformers/trainer_callback.py#L259"}}),oe=new rl({props:{anchor:"transformers.TrainerCallback.example",$$slots:{default:[$l]},$$scope:{ctx:j}}}),lt=new k({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_29969/src/transformers/trainer_callback.py#L328"}}),it=new k({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_29969/src/transformers/trainer_callback.py#L334"}}),ct=new k({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_29969/src/transformers/trainer_callback.py#L372"}}),mt=new k({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_29969/src/transformers/trainer_callback.py#L310"}}),dt=new k({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_29969/src/transformers/trainer_callback.py#L390"}}),pt=new k({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_29969/src/transformers/trainer_callback.py#L353"}}),ft=new k({props:{name:"on_pre_optimizer_step",anchor:"transformers.TrainerCallback.on_pre_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_29969/src/transformers/trainer_callback.py#L347"}}),gt=new k({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_29969/src/transformers/trainer_callback.py#L378"}}),ht=new k({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_29969/src/transformers/trainer_callback.py#L396"}}),ut=new k({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_29969/src/transformers/trainer_callback.py#L384"}}),bt=new k({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_29969/src/transformers/trainer_callback.py#L340"}}),_t=new k({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_29969/src/transformers/trainer_callback.py#L365"}}),vt=new k({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_29969/src/transformers/trainer_callback.py#L359"}}),Tt=new k({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_29969/src/transformers/trainer_callback.py#L316"}}),$t=new k({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_29969/src/transformers/trainer_callback.py#L322"}}),kt=new en({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}}),yt=new en({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 Xr({props:{title:"TrainerState",local:"transformers.TrainerState",headingTag:"h2"}}),xt=new k({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_29969/src/transformers/trainer_callback.py#L35"}}),Ce=new ol({props:{$$slots:{default:[Cl]},$$scope:{ctx:j}}}),Lt=new k({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_29969/src/transformers/trainer_callback.py#L145"}}),jt=new k({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_29969/src/transformers/trainer_callback.py#L139"}}),Et=new Xr({props:{title:"TrainerControl",local:"transformers.TrainerControl",headingTag:"h2"}}),It=new k({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_29969/src/transformers/trainer_callback.py#L197"}}),Ht=new gl({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/main_classes/callback.md"}}),{c(){m=n("meta"),x=r(),b=n("p"),w=r(),f(y.$$.fragment),T=r(),M=n("p"),M.innerHTML=L,E=r(),Ie=n("p"),Ie.innerHTML=Ns,Zr=r(),He=n("p"),He.innerHTML=Ss,Qr=r(),Je=n("ul"),Je.innerHTML=Ps,Kr=r(),Ue=n("p"),Ue.innerHTML=Fs,ea=r(),De=n("p"),De.innerHTML=Ws,ta=r(),f(Ae.$$.fragment),ra=r(),Ne=n("p"),Ne.innerHTML=zs,aa=r(),F=n("div"),f(Se.$$.fragment),rn=r(),Dt=n("p"),Dt.innerHTML=Bs,an=r(),H=n("div"),f(Pe.$$.fragment),nn=r(),At=n("p"),At.textContent=Rs,sn=r(),Nt=n("p"),Nt.textContent=Vs,on=r(),St=n("ul"),St.innerHTML=Gs,ln=r(),Pt=n("p"),Pt.innerHTML=qs,na=r(),X=n("div"),f(Fe.$$.fragment),cn=r(),Ft=n("p"),Ft.innerHTML=Ys,sa=r(),Z=n("div"),f(We.$$.fragment),mn=r(),Wt=n("p"),Wt.innerHTML=Os,oa=r(),Q=n("div"),f(ze.$$.fragment),dn=r(),zt=n("p"),zt.innerHTML=Xs,la=r(),W=n("div"),f(Be.$$.fragment),pn=r(),Bt=n("p"),Bt.innerHTML=Zs,fn=r(),Rt=n("p"),Rt.innerHTML=Qs,ia=r(),K=n("div"),f(Re.$$.fragment),gn=r(),Vt=n("p"),Vt.innerHTML=Ks,ca=r(),z=n("div"),f(Ve.$$.fragment),hn=r(),Gt=n("p"),Gt.innerHTML=eo,un=r(),J=n("div"),f(Ge.$$.fragment),bn=r(),qt=n("p"),qt.innerHTML=to,_n=r(),Yt=n("p"),Yt.innerHTML=ro,vn=r(),Ot=n("p"),Ot.textContent=ao,Tn=r(),B=n("ul"),qe=n("li"),Xt=n("p"),Xt.innerHTML=no,$n=r(),f(ne.$$.fragment),Cn=r(),Zt=n("li"),Zt.innerHTML=so,kn=r(),Qt=n("li"),Qt.innerHTML=oo,wn=r(),Kt=n("li"),Kt.innerHTML=lo,ma=r(),R=n("div"),f(Ye.$$.fragment),yn=r(),er=n("p"),er.innerHTML=io,Mn=r(),N=n("div"),f(Oe.$$.fragment),xn=r(),tr=n("p"),tr.textContent=co,Ln=r(),rr=n("p"),rr.textContent=mo,jn=r(),ar=n("ul"),ar.innerHTML=po,da=r(),ee=n("div"),f(Xe.$$.fragment),En=r(),nr=n("p"),nr.innerHTML=fo,pa=r(),te=n("div"),f(Ze.$$.fragment),In=r(),sr=n("p"),sr.innerHTML=go,fa=r(),V=n("div"),f(Qe.$$.fragment),Hn=r(),or=n("p"),or.innerHTML=ho,Jn=r(),lr=n("p"),lr.innerHTML=uo,ga=r(),U=n("div"),f(Ke.$$.fragment),Un=r(),ir=n("p"),ir.innerHTML=bo,Dn=r(),cr=n("p"),cr.textContent=_o,An=r(),mr=n("ul"),mr.innerHTML=vo,ha=r(),G=n("div"),f(et.$$.fragment),Nn=r(),dr=n("p"),dr.innerHTML=To,Sn=r(),S=n("div"),f(tt.$$.fragment),Pn=r(),pr=n("p"),pr.textContent=$o,Fn=r(),fr=n("p"),fr.textContent=Co,Wn=r(),gr=n("ul"),gr.innerHTML=ko,ua=r(),q=n("div"),f(rt.$$.fragment),zn=r(),hr=n("p"),hr.innerHTML=wo,Bn=r(),f(se.$$.fragment),ba=r(),D=n("div"),f(at.$$.fragment),Rn=r(),ur=n("p"),ur.innerHTML=yo,Vn=r(),br=n("p"),br.innerHTML=Mo,Gn=r(),P=n("div"),f(nt.$$.fragment),qn=r(),_r=n("p"),_r.innerHTML=xo,Yn=r(),vr=n("p"),vr.textContent=Lo,On=r(),Tr=n("ul"),Tr.innerHTML=jo,_a=r(),f(st.$$.fragment),va=r(),_=n("div"),f(ot.$$.fragment),Xn=r(),$r=n("p"),$r.textContent=Eo,Zn=r(),Cr=n("p"),Cr.innerHTML=Io,Qn=r(),kr=n("p"),kr.innerHTML=Ho,Kn=r(),f(oe.$$.fragment),es=r(),le=n("div"),f(lt.$$.fragment),ts=r(),wr=n("p"),wr.textContent=Jo,rs=r(),ie=n("div"),f(it.$$.fragment),as=r(),yr=n("p"),yr.textContent=Uo,ns=r(),ce=n("div"),f(ct.$$.fragment),ss=r(),Mr=n("p"),Mr.textContent=Do,os=r(),me=n("div"),f(mt.$$.fragment),ls=r(),xr=n("p"),xr.innerHTML=Ao,is=r(),de=n("div"),f(dt.$$.fragment),cs=r(),Lr=n("p"),Lr.textContent=No,ms=r(),pe=n("div"),f(pt.$$.fragment),ds=r(),jr=n("p"),jr.textContent=So,ps=r(),fe=n("div"),f(ft.$$.fragment),fs=r(),Er=n("p"),Er.textContent=Po,gs=r(),ge=n("div"),f(gt.$$.fragment),hs=r(),Ir=n("p"),Ir.textContent=Fo,us=r(),he=n("div"),f(ht.$$.fragment),bs=r(),Hr=n("p"),Hr.textContent=Wo,_s=r(),ue=n("div"),f(ut.$$.fragment),vs=r(),Jr=n("p"),Jr.textContent=zo,Ts=r(),be=n("div"),f(bt.$$.fragment),$s=r(),Ur=n("p"),Ur.textContent=Bo,Cs=r(),_e=n("div"),f(_t.$$.fragment),ks=r(),Dr=n("p"),Dr.textContent=Ro,ws=r(),ve=n("div"),f(vt.$$.fragment),ys=r(),Ar=n("p"),Ar.textContent=Vo,Ms=r(),Te=n("div"),f(Tt.$$.fragment),xs=r(),Nr=n("p"),Nr.textContent=Go,Ls=r(),$e=n("div"),f($t.$$.fragment),js=r(),Sr=n("p"),Sr.textContent=qo,Ta=r(),Ct=n("p"),Ct.innerHTML=Yo,$a=r(),f(kt.$$.fragment),Ca=r(),wt=n("p"),wt.innerHTML=Oo,ka=r(),f(yt.$$.fragment),wa=r(),f(Mt.$$.fragment),ya=r(),I=n("div"),f(xt.$$.fragment),Es=r(),Pr=n("p"),Pr.innerHTML=Xo,Is=r(),f(Ce.$$.fragment),Hs=r(),ke=n("div"),f(Lt.$$.fragment),Js=r(),Fr=n("p"),Fr.innerHTML=Zo,Us=r(),we=n("div"),f(jt.$$.fragment),Ds=r(),Wr=n("p"),Wr.innerHTML=Qo,Ma=r(),f(Et.$$.fragment),xa=r(),re=n("div"),f(It.$$.fragment),As=r(),zr=n("p"),zr.innerHTML=Ko,La=r(),f(Ht.$$.fragment),ja=r(),Or=n("p"),this.h()},l(e){const l=fl("svelte-u9bgzb",document.head);m=s(l,"META",{name:!0,content:!0}),l.forEach(o),x=a(e),b=s(e,"P",{}),v(b).forEach(o),w=a(e),g(y.$$.fragment,e),T=a(e),M=s(e,"P",{"data-svelte-h":!0}),i(M)!=="svelte-11phgw1"&&(M.innerHTML=L),E=a(e),Ie=s(e,"P",{"data-svelte-h":!0}),i(Ie)!=="svelte-n271rl"&&(Ie.innerHTML=Ns),Zr=a(e),He=s(e,"P",{"data-svelte-h":!0}),i(He)!=="svelte-e8s7be"&&(He.innerHTML=Ss),Qr=a(e),Je=s(e,"UL",{"data-svelte-h":!0}),i(Je)!=="svelte-6ioxsf"&&(Je.innerHTML=Ps),Kr=a(e),Ue=s(e,"P",{"data-svelte-h":!0}),i(Ue)!=="svelte-1b834xs"&&(Ue.innerHTML=Fs),ea=a(e),De=s(e,"P",{"data-svelte-h":!0}),i(De)!=="svelte-1c8mezw"&&(De.innerHTML=Ws),ta=a(e),g(Ae.$$.fragment,e),ra=a(e),Ne=s(e,"P",{"data-svelte-h":!0}),i(Ne)!=="svelte-emvpl6"&&(Ne.innerHTML=zs),aa=a(e),F=s(e,"DIV",{class:!0});var ae=v(F);g(Se.$$.fragment,ae),rn=a(ae),Dt=s(ae,"P",{"data-svelte-h":!0}),i(Dt)!=="svelte-g8buhr"&&(Dt.innerHTML=Bs),an=a(ae),H=s(ae,"DIV",{class:!0});var A=v(H);g(Pe.$$.fragment,A),nn=a(A),At=s(A,"P",{"data-svelte-h":!0}),i(At)!=="svelte-frc23a"&&(At.textContent=Rs),sn=a(A),Nt=s(A,"P",{"data-svelte-h":!0}),i(Nt)!=="svelte-1fkshtn"&&(Nt.textContent=Vs),on=a(A),St=s(A,"UL",{"data-svelte-h":!0}),i(St)!=="svelte-rt862w"&&(St.innerHTML=Gs),ln=a(A),Pt=s(A,"P",{"data-svelte-h":!0}),i(Pt)!=="svelte-1baxs6u"&&(Pt.innerHTML=qs),A.forEach(o),ae.forEach(o),na=a(e),X=s(e,"DIV",{class:!0});var Jt=v(X);g(Fe.$$.fragment,Jt),cn=a(Jt),Ft=s(Jt,"P",{"data-svelte-h":!0}),i(Ft)!=="svelte-13uebwy"&&(Ft.innerHTML=Ys),Jt.forEach(o),sa=a(e),Z=s(e,"DIV",{class:!0});var Ut=v(Z);g(We.$$.fragment,Ut),mn=a(Ut),Wt=s(Ut,"P",{"data-svelte-h":!0}),i(Wt)!=="svelte-1pcg84v"&&(Wt.innerHTML=Os),Ut.forEach(o),oa=a(e),Q=s(e,"DIV",{class:!0});var Ia=v(Q);g(ze.$$.fragment,Ia),dn=a(Ia),zt=s(Ia,"P",{"data-svelte-h":!0}),i(zt)!=="svelte-k9kg40"&&(zt.innerHTML=Xs),Ia.forEach(o),la=a(e),W=s(e,"DIV",{class:!0});var Br=v(W);g(Be.$$.fragment,Br),pn=a(Br),Bt=s(Br,"P",{"data-svelte-h":!0}),i(Bt)!=="svelte-1qmwzyv"&&(Bt.innerHTML=Zs),fn=a(Br),Rt=s(Br,"P",{"data-svelte-h":!0}),i(Rt)!=="svelte-ipbehr"&&(Rt.innerHTML=Qs),Br.forEach(o),ia=a(e),K=s(e,"DIV",{class:!0});var Ha=v(K);g(Re.$$.fragment,Ha),gn=a(Ha),Vt=s(Ha,"P",{"data-svelte-h":!0}),i(Vt)!=="svelte-1dvknp0"&&(Vt.innerHTML=Ks),Ha.forEach(o),ca=a(e),z=s(e,"DIV",{class:!0});var Rr=v(z);g(Ve.$$.fragment,Rr),hn=a(Rr),Gt=s(Rr,"P",{"data-svelte-h":!0}),i(Gt)!=="svelte-1e1cp77"&&(Gt.innerHTML=eo),un=a(Rr),J=s(Rr,"DIV",{class:!0});var Y=v(J);g(Ge.$$.fragment,Y),bn=a(Y),qt=s(Y,"P",{"data-svelte-h":!0}),i(qt)!=="svelte-op70zs"&&(qt.innerHTML=to),_n=a(Y),Yt=s(Y,"P",{"data-svelte-h":!0}),i(Yt)!=="svelte-m2rt7w"&&(Yt.innerHTML=ro),vn=a(Y),Ot=s(Y,"P",{"data-svelte-h":!0}),i(Ot)!=="svelte-1fkshtn"&&(Ot.textContent=ao),Tn=a(Y),B=s(Y,"UL",{});var ye=v(B);qe=s(ye,"LI",{});var Ja=v(qe);Xt=s(Ja,"P",{"data-svelte-h":!0}),i(Xt)!=="svelte-py3r3s"&&(Xt.innerHTML=no),$n=a(Ja),g(ne.$$.fragment,Ja),Ja.forEach(o),Cn=a(ye),Zt=s(ye,"LI",{"data-svelte-h":!0}),i(Zt)!=="svelte-dx3m30"&&(Zt.innerHTML=so),kn=a(ye),Qt=s(ye,"LI",{"data-svelte-h":!0}),i(Qt)!=="svelte-n1uh6c"&&(Qt.innerHTML=oo),wn=a(ye),Kt=s(ye,"LI",{"data-svelte-h":!0}),i(Kt)!=="svelte-ybo66z"&&(Kt.innerHTML=lo),ye.forEach(o),Y.forEach(o),Rr.forEach(o),ma=a(e),R=s(e,"DIV",{class:!0});var Vr=v(R);g(Ye.$$.fragment,Vr),yn=a(Vr),er=s(Vr,"P",{"data-svelte-h":!0}),i(er)!=="svelte-egevr7"&&(er.innerHTML=io),Mn=a(Vr),N=s(Vr,"DIV",{class:!0});var Me=v(N);g(Oe.$$.fragment,Me),xn=a(Me),tr=s(Me,"P",{"data-svelte-h":!0}),i(tr)!=="svelte-nmg16f"&&(tr.textContent=co),Ln=a(Me),rr=s(Me,"P",{"data-svelte-h":!0}),i(rr)!=="svelte-1fkshtn"&&(rr.textContent=mo),jn=a(Me),ar=s(Me,"UL",{"data-svelte-h":!0}),i(ar)!=="svelte-146qvr"&&(ar.innerHTML=po),Me.forEach(o),Vr.forEach(o),da=a(e),ee=s(e,"DIV",{class:!0});var Ua=v(ee);g(Xe.$$.fragment,Ua),En=a(Ua),nr=s(Ua,"P",{"data-svelte-h":!0}),i(nr)!=="svelte-72yh4c"&&(nr.innerHTML=fo),Ua.forEach(o),pa=a(e),te=s(e,"DIV",{class:!0});var Da=v(te);g(Ze.$$.fragment,Da),In=a(Da),sr=s(Da,"P",{"data-svelte-h":!0}),i(sr)!=="svelte-v0pe2g"&&(sr.innerHTML=go),Da.forEach(o),fa=a(e),V=s(e,"DIV",{class:!0});var Gr=v(V);g(Qe.$$.fragment,Gr),Hn=a(Gr),or=s(Gr,"P",{"data-svelte-h":!0}),i(or)!=="svelte-4ag9j6"&&(or.innerHTML=ho),Jn=a(Gr),lr=s(Gr,"P",{"data-svelte-h":!0}),i(lr)!=="svelte-1mhjcx0"&&(lr.innerHTML=uo),Gr.forEach(o),ga=a(e),U=s(e,"DIV",{class:!0});var xe=v(U);g(Ke.$$.fragment,xe),Un=a(xe),ir=s(xe,"P",{"data-svelte-h":!0}),i(ir)!=="svelte-vlefii"&&(ir.innerHTML=bo),Dn=a(xe),cr=s(xe,"P",{"data-svelte-h":!0}),i(cr)!=="svelte-1fkshtn"&&(cr.textContent=_o),An=a(xe),mr=s(xe,"UL",{"data-svelte-h":!0}),i(mr)!=="svelte-15svthu"&&(mr.innerHTML=vo),xe.forEach(o),ha=a(e),G=s(e,"DIV",{class:!0});var qr=v(G);g(et.$$.fragment,qr),Nn=a(qr),dr=s(qr,"P",{"data-svelte-h":!0}),i(dr)!=="svelte-1eb2t13"&&(dr.innerHTML=To),Sn=a(qr),S=s(qr,"DIV",{class:!0});var Le=v(S);g(tt.$$.fragment,Le),Pn=a(Le),pr=s(Le,"P",{"data-svelte-h":!0}),i(pr)!=="svelte-1wbmj3"&&(pr.textContent=$o),Fn=a(Le),fr=s(Le,"P",{"data-svelte-h":!0}),i(fr)!=="svelte-1fkshtn"&&(fr.textContent=Co),Wn=a(Le),gr=s(Le,"UL",{"data-svelte-h":!0}),i(gr)!=="svelte-dna85o"&&(gr.innerHTML=ko),Le.forEach(o),qr.forEach(o),ua=a(e),q=s(e,"DIV",{class:!0});var Yr=v(q);g(rt.$$.fragment,Yr),zn=a(Yr),hr=s(Yr,"P",{"data-svelte-h":!0}),i(hr)!=="svelte-1f1h9sw"&&(hr.innerHTML=wo),Bn=a(Yr),g(se.$$.fragment,Yr),Yr.forEach(o),ba=a(e),D=s(e,"DIV",{class:!0});var je=v(D);g(at.$$.fragment,je),Rn=a(je),ur=s(je,"P",{"data-svelte-h":!0}),i(ur)!=="svelte-1ldwtat"&&(ur.innerHTML=yo),Vn=a(je),br=s(je,"P",{"data-svelte-h":!0}),i(br)!=="svelte-eu3kj7"&&(br.innerHTML=Mo),Gn=a(je),P=s(je,"DIV",{class:!0});var Ee=v(P);g(nt.$$.fragment,Ee),qn=a(Ee),_r=s(Ee,"P",{"data-svelte-h":!0}),i(_r)!=="svelte-jjkenj"&&(_r.innerHTML=xo),Yn=a(Ee),vr=s(Ee,"P",{"data-svelte-h":!0}),i(vr)!=="svelte-1fkshtn"&&(vr.textContent=Lo),On=a(Ee),Tr=s(Ee,"UL",{"data-svelte-h":!0}),i(Tr)!=="svelte-r2hbz6"&&(Tr.innerHTML=jo),Ee.forEach(o),je.forEach(o),_a=a(e),g(st.$$.fragment,e),va=a(e),_=s(e,"DIV",{class:!0});var C=v(_);g(ot.$$.fragment,C),Xn=a(C),$r=s(C,"P",{"data-svelte-h":!0}),i($r)!=="svelte-14xg00o"&&($r.textContent=Eo),Zn=a(C),Cr=s(C,"P",{"data-svelte-h":!0}),i(Cr)!=="svelte-1xprdvt"&&(Cr.innerHTML=Io),Qn=a(C),kr=s(C,"P",{"data-svelte-h":!0}),i(kr)!=="svelte-4vcqno"&&(kr.innerHTML=Ho),Kn=a(C),g(oe.$$.fragment,C),es=a(C),le=s(C,"DIV",{class:!0});var Aa=v(le);g(lt.$$.fragment,Aa),ts=a(Aa),wr=s(Aa,"P",{"data-svelte-h":!0}),i(wr)!=="svelte-106889p"&&(wr.textContent=Jo),Aa.forEach(o),rs=a(C),ie=s(C,"DIV",{class:!0});var Na=v(ie);g(it.$$.fragment,Na),as=a(Na),yr=s(Na,"P",{"data-svelte-h":!0}),i(yr)!=="svelte-oshcpj"&&(yr.textContent=Uo),Na.forEach(o),ns=a(C),ce=s(C,"DIV",{class:!0});var Sa=v(ce);g(ct.$$.fragment,Sa),ss=a(Sa),Mr=s(Sa,"P",{"data-svelte-h":!0}),i(Mr)!=="svelte-1o0xh73"&&(Mr.textContent=Do),Sa.forEach(o),os=a(C),me=s(C,"DIV",{class:!0});var Pa=v(me);g(mt.$$.fragment,Pa),ls=a(Pa),xr=s(Pa,"P",{"data-svelte-h":!0}),i(xr)!=="svelte-355wvd"&&(xr.innerHTML=Ao),Pa.forEach(o),is=a(C),de=s(C,"DIV",{class:!0});var Fa=v(de);g(dt.$$.fragment,Fa),cs=a(Fa),Lr=s(Fa,"P",{"data-svelte-h":!0}),i(Lr)!=="svelte-10eiwg0"&&(Lr.textContent=No),Fa.forEach(o),ms=a(C),pe=s(C,"DIV",{class:!0});var Wa=v(pe);g(pt.$$.fragment,Wa),ds=a(Wa),jr=s(Wa,"P",{"data-svelte-h":!0}),i(jr)!=="svelte-1mpbj2z"&&(jr.textContent=So),Wa.forEach(o),ps=a(C),fe=s(C,"DIV",{class:!0});var za=v(fe);g(ft.$$.fragment,za),fs=a(za),Er=s(za,"P",{"data-svelte-h":!0}),i(Er)!=="svelte-qj3qgf"&&(Er.textContent=Po),za.forEach(o),gs=a(C),ge=s(C,"DIV",{class:!0});var Ba=v(ge);g(gt.$$.fragment,Ba),hs=a(Ba),Ir=s(Ba,"P",{"data-svelte-h":!0}),i(Ir)!=="svelte-1df7x4n"&&(Ir.textContent=Fo),Ba.forEach(o),us=a(C),he=s(C,"DIV",{class:!0});var Ra=v(he);g(ht.$$.fragment,Ra),bs=a(Ra),Hr=s(Ra,"P",{"data-svelte-h":!0}),i(Hr)!=="svelte-18swygp"&&(Hr.textContent=Wo),Ra.forEach(o),_s=a(C),ue=s(C,"DIV",{class:!0});var Va=v(ue);g(ut.$$.fragment,Va),vs=a(Va),Jr=s(Va,"P",{"data-svelte-h":!0}),i(Jr)!=="svelte-19xp05v"&&(Jr.textContent=zo),Va.forEach(o),Ts=a(C),be=s(C,"DIV",{class:!0});var Ga=v(be);g(bt.$$.fragment,Ga),$s=a(Ga),Ur=s(Ga,"P",{"data-svelte-h":!0}),i(Ur)!=="svelte-7af61p"&&(Ur.textContent=Bo),Ga.forEach(o),Cs=a(C),_e=s(C,"DIV",{class:!0});var qa=v(_e);g(_t.$$.fragment,qa),ks=a(qa),Dr=s(qa,"P",{"data-svelte-h":!0}),i(Dr)!=="svelte-8cdxjr"&&(Dr.textContent=Ro),qa.forEach(o),ws=a(C),ve=s(C,"DIV",{class:!0});var Ya=v(ve);g(vt.$$.fragment,Ya),ys=a(Ya),Ar=s(Ya,"P",{"data-svelte-h":!0}),i(Ar)!=="svelte-sluvs0"&&(Ar.textContent=Vo),Ya.forEach(o),Ms=a(C),Te=s(C,"DIV",{class:!0});var Oa=v(Te);g(Tt.$$.fragment,Oa),xs=a(Oa),Nr=s(Oa,"P",{"data-svelte-h":!0}),i(Nr)!=="svelte-6bvy6d"&&(Nr.textContent=Go),Oa.forEach(o),Ls=a(C),$e=s(C,"DIV",{class:!0});var Xa=v($e);g($t.$$.fragment,Xa),js=a(Xa),Sr=s(Xa,"P",{"data-svelte-h":!0}),i(Sr)!=="svelte-zzwxsv"&&(Sr.textContent=qo),Xa.forEach(o),C.forEach(o),Ta=a(e),Ct=s(e,"P",{"data-svelte-h":!0}),i(Ct)!=="svelte-ld0qo2"&&(Ct.innerHTML=Yo),$a=a(e),g(kt.$$.fragment,e),Ca=a(e),wt=s(e,"P",{"data-svelte-h":!0}),i(wt)!=="svelte-183oh1l"&&(wt.innerHTML=Oo),ka=a(e),g(yt.$$.fragment,e),wa=a(e),g(Mt.$$.fragment,e),ya=a(e),I=s(e,"DIV",{class:!0});var O=v(I);g(xt.$$.fragment,O),Es=a(O),Pr=s(O,"P",{"data-svelte-h":!0}),i(Pr)!=="svelte-1b42exe"&&(Pr.innerHTML=Xo),Is=a(O),g(Ce.$$.fragment,O),Hs=a(O),ke=s(O,"DIV",{class:!0});var Za=v(ke);g(Lt.$$.fragment,Za),Js=a(Za),Fr=s(Za,"P",{"data-svelte-h":!0}),i(Fr)!=="svelte-hbs6ga"&&(Fr.innerHTML=Zo),Za.forEach(o),Us=a(O),we=s(O,"DIV",{class:!0});var Qa=v(we);g(jt.$$.fragment,Qa),Ds=a(Qa),Wr=s(Qa,"P",{"data-svelte-h":!0}),i(Wr)!=="svelte-dkslae"&&(Wr.innerHTML=Qo),Qa.forEach(o),O.forEach(o),Ma=a(e),g(Et.$$.fragment,e),xa=a(e),re=s(e,"DIV",{class:!0});var Ka=v(re);g(It.$$.fragment,Ka),As=a(Ka),zr=s(Ka,"P",{"data-svelte-h":!0}),i(zr)!=="svelte-hmmsie"&&(zr.innerHTML=Ko),Ka.forEach(o),La=a(e),g(Ht.$$.fragment,e),ja=a(e),Or=s(e,"P",{}),v(Or).forEach(o),this.h()},h(){$(m,"name","hf:doc:metadata"),$(m,"content",wl),$(H,"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"),$(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"),$(U,"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"),$(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"),$(P,"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"),$(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"),$($e,"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"),$(ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(we,"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"),$(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(y,e,l),c(e,T,l),c(e,M,l),c(e,E,l),c(e,Ie,l),c(e,Zr,l),c(e,He,l),c(e,Qr,l),c(e,Je,l),c(e,Kr,l),c(e,Ue,l),c(e,ea,l),c(e,De,l),c(e,ta,l),h(Ae,e,l),c(e,ra,l),c(e,Ne,l),c(e,aa,l),c(e,F,l),h(Se,F,null),t(F,rn),t(F,Dt),t(F,an),t(F,H),h(Pe,H,null),t(H,nn),t(H,At),t(H,sn),t(H,Nt),t(H,on),t(H,St),t(H,ln),t(H,Pt),c(e,na,l),c(e,X,l),h(Fe,X,null),t(X,cn),t(X,Ft),c(e,sa,l),c(e,Z,l),h(We,Z,null),t(Z,mn),t(Z,Wt),c(e,oa,l),c(e,Q,l),h(ze,Q,null),t(Q,dn),t(Q,zt),c(e,la,l),c(e,W,l),h(Be,W,null),t(W,pn),t(W,Bt),t(W,fn),t(W,Rt),c(e,ia,l),c(e,K,l),h(Re,K,null),t(K,gn),t(K,Vt),c(e,ca,l),c(e,z,l),h(Ve,z,null),t(z,hn),t(z,Gt),t(z,un),t(z,J),h(Ge,J,null),t(J,bn),t(J,qt),t(J,_n),t(J,Yt),t(J,vn),t(J,Ot),t(J,Tn),t(J,B),t(B,qe),t(qe,Xt),t(qe,$n),h(ne,qe,null),t(B,Cn),t(B,Zt),t(B,kn),t(B,Qt),t(B,wn),t(B,Kt),c(e,ma,l),c(e,R,l),h(Ye,R,null),t(R,yn),t(R,er),t(R,Mn),t(R,N),h(Oe,N,null),t(N,xn),t(N,tr),t(N,Ln),t(N,rr),t(N,jn),t(N,ar),c(e,da,l),c(e,ee,l),h(Xe,ee,null),t(ee,En),t(ee,nr),c(e,pa,l),c(e,te,l),h(Ze,te,null),t(te,In),t(te,sr),c(e,fa,l),c(e,V,l),h(Qe,V,null),t(V,Hn),t(V,or),t(V,Jn),t(V,lr),c(e,ga,l),c(e,U,l),h(Ke,U,null),t(U,Un),t(U,ir),t(U,Dn),t(U,cr),t(U,An),t(U,mr),c(e,ha,l),c(e,G,l),h(et,G,null),t(G,Nn),t(G,dr),t(G,Sn),t(G,S),h(tt,S,null),t(S,Pn),t(S,pr),t(S,Fn),t(S,fr),t(S,Wn),t(S,gr),c(e,ua,l),c(e,q,l),h(rt,q,null),t(q,zn),t(q,hr),t(q,Bn),h(se,q,null),c(e,ba,l),c(e,D,l),h(at,D,null),t(D,Rn),t(D,ur),t(D,Vn),t(D,br),t(D,Gn),t(D,P),h(nt,P,null),t(P,qn),t(P,_r),t(P,Yn),t(P,vr),t(P,On),t(P,Tr),c(e,_a,l),h(st,e,l),c(e,va,l),c(e,_,l),h(ot,_,null),t(_,Xn),t(_,$r),t(_,Zn),t(_,Cr),t(_,Qn),t(_,kr),t(_,Kn),h(oe,_,null),t(_,es),t(_,le),h(lt,le,null),t(le,ts),t(le,wr),t(_,rs),t(_,ie),h(it,ie,null),t(ie,as),t(ie,yr),t(_,ns),t(_,ce),h(ct,ce,null),t(ce,ss),t(ce,Mr),t(_,os),t(_,me),h(mt,me,null),t(me,ls),t(me,xr),t(_,is),t(_,de),h(dt,de,null),t(de,cs),t(de,Lr),t(_,ms),t(_,pe),h(pt,pe,null),t(pe,ds),t(pe,jr),t(_,ps),t(_,fe),h(ft,fe,null),t(fe,fs),t(fe,Er),t(_,gs),t(_,ge),h(gt,ge,null),t(ge,hs),t(ge,Ir),t(_,us),t(_,he),h(ht,he,null),t(he,bs),t(he,Hr),t(_,_s),t(_,ue),h(ut,ue,null),t(ue,vs),t(ue,Jr),t(_,Ts),t(_,be),h(bt,be,null),t(be,$s),t(be,Ur),t(_,Cs),t(_,_e),h(_t,_e,null),t(_e,ks),t(_e,Dr),t(_,ws),t(_,ve),h(vt,ve,null),t(ve,ys),t(ve,Ar),t(_,Ms),t(_,Te),h(Tt,Te,null),t(Te,xs),t(Te,Nr),t(_,Ls),t(_,$e),h($t,$e,null),t($e,js),t($e,Sr),c(e,Ta,l),c(e,Ct,l),c(e,$a,l),h(kt,e,l),c(e,Ca,l),c(e,wt,l),c(e,ka,l),h(yt,e,l),c(e,wa,l),h(Mt,e,l),c(e,ya,l),c(e,I,l),h(xt,I,null),t(I,Es),t(I,Pr),t(I,Is),h(Ce,I,null),t(I,Hs),t(I,ke),h(Lt,ke,null),t(ke,Js),t(ke,Fr),t(I,Us),t(I,we),h(jt,we,null),t(we,Ds),t(we,Wr),c(e,Ma,l),h(Et,e,l),c(e,xa,l),c(e,re,l),h(It,re,null),t(re,As),t(re,zr),c(e,La,l),h(Ht,e,l),c(e,ja,l),c(e,Or,l),Ea=!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 Jt={};l&2&&(Jt.$$scope={dirty:l,ctx:e}),oe.$set(Jt);const Ut={};l&2&&(Ut.$$scope={dirty:l,ctx:e}),Ce.$set(Ut)},i(e){Ea||(d(y.$$.fragment,e),d(Ae.$$.fragment,e),d(Se.$$.fragment,e),d(Pe.$$.fragment,e),d(Fe.$$.fragment,e),d(We.$$.fragment,e),d(ze.$$.fragment,e),d(Be.$$.fragment,e),d(Re.$$.fragment,e),d(Ve.$$.fragment,e),d(Ge.$$.fragment,e),d(ne.$$.fragment,e),d(Ye.$$.fragment,e),d(Oe.$$.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(rt.$$.fragment,e),d(se.$$.fragment,e),d(at.$$.fragment,e),d(nt.$$.fragment,e),d(st.$$.fragment,e),d(ot.$$.fragment,e),d(oe.$$.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(Tt.$$.fragment,e),d($t.$$.fragment,e),d(kt.$$.fragment,e),d(yt.$$.fragment,e),d(Mt.$$.fragment,e),d(xt.$$.fragment,e),d(Ce.$$.fragment,e),d(Lt.$$.fragment,e),d(jt.$$.fragment,e),d(Et.$$.fragment,e),d(It.$$.fragment,e),d(Ht.$$.fragment,e),Ea=!0)},o(e){p(y.$$.fragment,e),p(Ae.$$.fragment,e),p(Se.$$.fragment,e),p(Pe.$$.fragment,e),p(Fe.$$.fragment,e),p(We.$$.fragment,e),p(ze.$$.fragment,e),p(Be.$$.fragment,e),p(Re.$$.fragment,e),p(Ve.$$.fragment,e),p(Ge.$$.fragment,e),p(ne.$$.fragment,e),p(Ye.$$.fragment,e),p(Oe.$$.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(rt.$$.fragment,e),p(se.$$.fragment,e),p(at.$$.fragment,e),p(nt.$$.fragment,e),p(st.$$.fragment,e),p(ot.$$.fragment,e),p(oe.$$.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(Tt.$$.fragment,e),p($t.$$.fragment,e),p(kt.$$.fragment,e),p(yt.$$.fragment,e),p(Mt.$$.fragment,e),p(xt.$$.fragment,e),p(Ce.$$.fragment,e),p(Lt.$$.fragment,e),p(jt.$$.fragment,e),p(Et.$$.fragment,e),p(It.$$.fragment,e),p(Ht.$$.fragment,e),Ea=!1},d(e){e&&(o(x),o(b),o(w),o(T),o(M),o(E),o(Ie),o(Zr),o(He),o(Qr),o(Je),o(Kr),o(Ue),o(ea),o(De),o(ta),o(ra),o(Ne),o(aa),o(F),o(na),o(X),o(sa),o(Z),o(oa),o(Q),o(la),o(W),o(ia),o(K),o(ca),o(z),o(ma),o(R),o(da),o(ee),o(pa),o(te),o(fa),o(V),o(ga),o(U),o(ha),o(G),o(ua),o(q),o(ba),o(D),o(_a),o(va),o(_),o(Ta),o(Ct),o($a),o(Ca),o(wt),o(ka),o(wa),o(ya),o(I),o(Ma),o(xa),o(re),o(La),o(ja),o(Or)),o(m),u(y,e),u(Ae,e),u(Se),u(Pe),u(Fe),u(We),u(ze),u(Be),u(Re),u(Ve),u(Ge),u(ne),u(Ye),u(Oe),u(Xe),u(Ze),u(Qe),u(Ke),u(et),u(tt),u(rt),u(se),u(at),u(nt),u(st,e),u(ot),u(oe),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(Tt),u($t),u(kt,e),u(yt,e),u(Mt,e),u(xt),u(Ce),u(Lt),u(jt),u(Et,e),u(It),u(Ht,e)}}}const wl='{"title":"コールバック数","local":"コールバック数","sections":[{"title":"利用可能なコールバック","local":"transformers.integrations.CometCallback","sections":[],"depth":2},{"title":"TrainerCallback","local":"transformers.TrainerCallback","sections":[],"depth":2},{"title":"TrainerState","local":"transformers.TrainerState","sections":[],"depth":2},{"title":"TrainerControl","local":"transformers.TrainerControl","sections":[],"depth":2}],"depth":1}';function yl(j){return dl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Jl extends nl{constructor(m){super(),sl(this,m,yl,kl,al,{})}}export{Jl as component};
