import{s as Ka,o as er,n as Wl}from"../chunks/scheduler.9bc65507.js";import{S as tr,i as lr,g as r,s as n,u as w,A as ar,h as i,f as t,c as o,j as U,v as y,y as h,k as f,o as c,a,w as T,d as J,t as g,x as _}from"../chunks/index.78c82d43.js";import{I as C}from"../chunks/IconCopyLink.bedaa44d.js";import{C as j}from"../chunks/CodeBlock.48618ec2.js";import{F as Oa,M as Zl}from"../chunks/Markdown.993b48ef.js";function rr(b){let s,d='The example script downloads and preprocesses a dataset from the 🤗 <a href="https://huggingface.co/docs/datasets/" rel="nofollow">Datasets</a> library. Then the script fine-tunes a dataset with the <a href="https://huggingface.co/docs/transformers/main_classes/trainer" rel="nofollow">Trainer</a> on an architecture that supports summarization. The following example shows how to fine-tune <a href="https://huggingface.co/t5-small" rel="nofollow">T5-small</a> on the <a href="https://huggingface.co/datasets/cnn_dailymail" rel="nofollow">CNN/DailyMail</a> dataset. The T5 model requires an additional <code>source_prefix</code> argument due to how it was trained. This prompt lets T5 know this is a summarization task.',p,u,M;return u=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfbmFtZSUyMGNubl9kYWlseW1haWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfY29uZmlnJTIwJTIyMy4wLjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXNvdXJjZV9wcmVmaXglMjAlMjJzdW1tYXJpemUlM0ElMjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW91dHB1dF9kaXIlMjAlMkZ0bXAlMkZ0c3Qtc3VtbWFyaXphdGlvbiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV9ldmFsX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdmVyd3JpdGVfb3V0cHV0X2RpciUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcHJlZGljdF93aXRoX2dlbmVyYXRl",highlighted:`python examples/pytorch/summarization/run_summarization.py \\
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`}}),{c(){s=r("p"),s.innerHTML=d,p=n(),w(u.$$.fragment)},l(m){s=i(m,"P",{"data-svelte-h":!0}),h(s)!=="svelte-6b87gj"&&(s.innerHTML=d),p=o(m),y(u.$$.fragment,m)},m(m,v){a(m,s,v),a(m,p,v),T(u,m,v),M=!0},p:Wl,i(m){M||(J(u.$$.fragment,m),M=!0)},o(m){g(u.$$.fragment,m),M=!1},d(m){m&&(t(s),t(p)),_(u,m)}}}function ir(b){let s,d;return s=new Zl({props:{$$slots:{default:[rr]},$$scope:{ctx:b}}}),{c(){w(s.$$.fragment)},l(p){y(s.$$.fragment,p)},m(p,u){T(s,p,u),d=!0},p(p,u){const M={};u&2&&(M.$$scope={dirty:u,ctx:p}),s.$set(M)},i(p){d||(J(s.$$.fragment,p),d=!0)},o(p){g(s.$$.fragment,p),d=!1},d(p){_(s,p)}}}function sr(b){let s,d='The example script downloads and preprocesses a dataset from the 🤗 <a href="https://huggingface.co/docs/datasets/" rel="nofollow">Datasets</a> library. Then the script fine-tunes a dataset using Keras on an architecture that supports summarization. The following example shows how to fine-tune <a href="https://huggingface.co/t5-small" rel="nofollow">T5-small</a> on the <a href="https://huggingface.co/datasets/cnn_dailymail" rel="nofollow">CNN/DailyMail</a> dataset. The T5 model requires an additional <code>source_prefix</code> argument due to how it was trained. This prompt lets T5 know this is a summarization task.',p,u,M;return u=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZ0ZW5zb3JmbG93JTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9uYW1lJTIwY25uX2RhaWx5bWFpbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9jb25maWclMjAlMjIzLjAuMCUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tb3V0cHV0X2RpciUyMCUyRnRtcCUyRnRzdC1zdW1tYXJpemF0aW9uJTIwJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlMjA4JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX2V2YWxfYmF0Y2hfc2l6ZSUyMDE2JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1udW1fdHJhaW5fZXBvY2hzJTIwMyUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWw=",highlighted:`python examples/tensorflow/summarization/run_summarization.py  \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --output_dir /tmp/tst-summarization  \\
    --per_device_train_batch_size 8 \\
    --per_device_eval_batch_size 16 \\
    --num_train_epochs 3 \\
    --do_train \\
    --do_eval`}}),{c(){s=r("p"),s.innerHTML=d,p=n(),w(u.$$.fragment)},l(m){s=i(m,"P",{"data-svelte-h":!0}),h(s)!=="svelte-1yayoxz"&&(s.innerHTML=d),p=o(m),y(u.$$.fragment,m)},m(m,v){a(m,s,v),a(m,p,v),T(u,m,v),M=!0},p:Wl,i(m){M||(J(u.$$.fragment,m),M=!0)},o(m){g(u.$$.fragment,m),M=!1},d(m){m&&(t(s),t(p)),_(u,m)}}}function nr(b){let s,d;return s=new Zl({props:{$$slots:{default:[sr]},$$scope:{ctx:b}}}),{c(){w(s.$$.fragment)},l(p){y(s.$$.fragment,p)},m(p,u){T(s,p,u),d=!0},p(p,u){const M={};u&2&&(M.$$scope={dirty:u,ctx:p}),s.$set(M)},i(p){d||(J(s.$$.fragment,p),d=!0)},o(p){g(s.$$.fragment,p),d=!1},d(p){_(s,p)}}}function or(b){let s,d='Tensor Processing Units (TPUs) are specifically designed to accelerate performance. PyTorch supports TPUs with the <a href="https://www.tensorflow.org/xla" rel="nofollow">XLA</a> deep learning compiler (see <a href="https://github.com/pytorch/xla/blob/master/README.md" rel="nofollow">here</a> for more details). To use a TPU, launch the <code>xla_spawn.py</code> script and use the <code>num_cores</code> argument to set the number of TPU cores you want to use.',p,u,M;return u=new j({props:{code:"cHl0aG9uJTIweGxhX3NwYXduLnB5JTIwLS1udW1fY29yZXMlMjA4JTIwJTVDJTBBJTIwJTIwJTIwJTIwc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfbmFtZSUyMGNubl9kYWlseW1haWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfY29uZmlnJTIwJTIyMy4wLjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXNvdXJjZV9wcmVmaXglMjAlMjJzdW1tYXJpemUlM0ElMjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW91dHB1dF9kaXIlMjAlMkZ0bXAlMkZ0c3Qtc3VtbWFyaXphdGlvbiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV9ldmFsX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdmVyd3JpdGVfb3V0cHV0X2RpciUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcHJlZGljdF93aXRoX2dlbmVyYXRl",highlighted:`python xla_spawn.py --num_cores 8 \\
    summarization/run_summarization.py \\
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`}}),{c(){s=r("p"),s.innerHTML=d,p=n(),w(u.$$.fragment)},l(m){s=i(m,"P",{"data-svelte-h":!0}),h(s)!=="svelte-j1gqk0"&&(s.innerHTML=d),p=o(m),y(u.$$.fragment,m)},m(m,v){a(m,s,v),a(m,p,v),T(u,m,v),M=!0},p:Wl,i(m){M||(J(u.$$.fragment,m),M=!0)},o(m){g(u.$$.fragment,m),M=!1},d(m){m&&(t(s),t(p)),_(u,m)}}}function pr(b){let s,d;return s=new Zl({props:{$$slots:{default:[or]},$$scope:{ctx:b}}}),{c(){w(s.$$.fragment)},l(p){y(s.$$.fragment,p)},m(p,u){T(s,p,u),d=!0},p(p,u){const M={};u&2&&(M.$$scope={dirty:u,ctx:p}),s.$set(M)},i(p){d||(J(s.$$.fragment,p),d=!0)},o(p){g(s.$$.fragment,p),d=!1},d(p){_(s,p)}}}function mr(b){let s,d='Tensor Processing Units (TPUs) are specifically designed to accelerate performance. TensorFlow scripts utilize a <a href="https://www.tensorflow.org/guide/distributed_training#tpustrategy" rel="nofollow"><code>TPUStrategy</code></a> for training on TPUs. To use a TPU, pass the name of the TPU resource to the <code>tpu</code> argument.',p,u,M;return u=new j({props:{code:"cHl0aG9uJTIwcnVuX3N1bW1hcml6YXRpb24ucHklMjAlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXRwdSUyMG5hbWVfb2ZfdHB1X3Jlc291cmNlJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9uYW1lJTIwY25uX2RhaWx5bWFpbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9jb25maWclMjAlMjIzLjAuMCUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tb3V0cHV0X2RpciUyMCUyRnRtcCUyRnRzdC1zdW1tYXJpemF0aW9uJTIwJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlMjA4JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX2V2YWxfYmF0Y2hfc2l6ZSUyMDE2JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1udW1fdHJhaW5fZXBvY2hzJTIwMyUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWw=",highlighted:`python run_summarization.py  \\
    --tpu name_of_tpu_resource \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --output_dir /tmp/tst-summarization  \\
    --per_device_train_batch_size 8 \\
    --per_device_eval_batch_size 16 \\
    --num_train_epochs 3 \\
    --do_train \\
    --do_eval`}}),{c(){s=r("p"),s.innerHTML=d,p=n(),w(u.$$.fragment)},l(m){s=i(m,"P",{"data-svelte-h":!0}),h(s)!=="svelte-1ww3mmi"&&(s.innerHTML=d),p=o(m),y(u.$$.fragment,m)},m(m,v){a(m,s,v),a(m,p,v),T(u,m,v),M=!0},p:Wl,i(m){M||(J(u.$$.fragment,m),M=!0)},o(m){g(u.$$.fragment,m),M=!1},d(m){m&&(t(s),t(p)),_(u,m)}}}function ur(b){let s,d;return s=new Zl({props:{$$slots:{default:[mr]},$$scope:{ctx:b}}}),{c(){w(s.$$.fragment)},l(p){y(s.$$.fragment,p)},m(p,u){T(s,p,u),d=!0},p(p,u){const M={};u&2&&(M.$$scope={dirty:u,ctx:p}),s.$set(M)},i(p){d||(J(s.$$.fragment,p),d=!0)},o(p){g(s.$$.fragment,p),d=!1},d(p){_(s,p)}}}function hr(b){let s,d,p,u,M,m,v,P,Nl,De,Sl="Train with a script",Tt,q,Hl='Along with the 🤗 Transformers <a href="./noteboks/README">notebooks</a>, there are also example scripts demonstrating how to train a model for a task with <a href="https://github.com/huggingface/transformers/tree/main/examples/pytorch" rel="nofollow">PyTorch</a>, <a href="https://github.com/huggingface/transformers/tree/main/examples/tensorflow" rel="nofollow">TensorFlow</a>, or <a href="https://github.com/huggingface/transformers/tree/main/examples/flax" rel="nofollow">JAX/Flax</a>.',Jt,D,Ql='You will also find scripts we’ve used in our <a href="https://github.com/huggingface/transformers/tree/main/examples/research_projects" rel="nofollow">research projects</a> and <a href="https://github.com/huggingface/transformers/tree/main/examples/legacy" rel="nofollow">legacy examples</a> which are mostly community contributed. These scripts are not actively maintained and require a specific version of 🤗 Transformers that will most likely be incompatible with the latest version of the library.',gt,O,Pl="The example scripts are not expected to work out-of-the-box on every problem, and you may need to adapt the script to the problem you’re trying to solve. To help you with this, most of the scripts fully expose how data is preprocessed, allowing you to edit it as necessary for your use case.",_t,K,ql='For any feature you’d like to implement in an example script, please discuss it on the <a href="https://discuss.huggingface.co/" rel="nofollow">forum</a> or in an <a href="https://github.com/huggingface/transformers/issues" rel="nofollow">issue</a> before submitting a Pull Request. While we welcome bug fixes, it is unlikely we will merge a Pull Request that adds more functionality at the cost of readability.',Ut,ee,Dl='This guide will show you how to run an example summarization training script in <a href="https://github.com/huggingface/transformers/tree/main/examples/pytorch/summarization" rel="nofollow">PyTorch</a> and <a href="https://github.com/huggingface/transformers/tree/main/examples/tensorflow/summarization" rel="nofollow">TensorFlow</a>. All examples are expected to work with both frameworks unless otherwise specified.',vt,$,L,ot,te,Rl,Oe,Ol="Setup",jt,le,Kl="To successfully run the latest version of the example scripts, you have to <strong>install 🤗 Transformers from source</strong> in a new virtual environment:",bt,ae,Ct,re,ea="For older versions of the example scripts, click on the toggle below:",$t,ie,ta='<summary>Examples for older versions of 🤗 Transformers</summary> <ul><li><a href="https://github.com/huggingface/transformers/tree/v4.5.1/examples">v4.5.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v4.4.2/examples">v4.4.2</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v4.3.3/examples">v4.3.3</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v4.2.2/examples">v4.2.2</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v4.1.1/examples">v4.1.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v4.0.1/examples">v4.0.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.5.1/examples">v3.5.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.4.0/examples">v3.4.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.3.1/examples">v3.3.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.2.0/examples">v3.2.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.1.0/examples">v3.1.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v3.0.2/examples">v3.0.2</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.11.0/examples">v2.11.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.10.0/examples">v2.10.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.9.1/examples">v2.9.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.8.0/examples">v2.8.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.7.0/examples">v2.7.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.6.0/examples">v2.6.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.5.1/examples">v2.5.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.4.0/examples">v2.4.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.3.0/examples">v2.3.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.2.0/examples">v2.2.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.1.0/examples">v2.1.1</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v2.0.0/examples">v2.0.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v1.2.0/examples">v1.2.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v1.1.0/examples">v1.1.0</a></li> <li><a href="https://github.com/huggingface/transformers/tree/v1.0.0/examples">v1.0.0</a></li></ul>',At,se,la="Then switch your current clone of 🤗 Transformers to a specific version, like v3.5.1 for example:",Xt,ne,It,oe,aa="After you’ve setup the correct library version, navigate to the example folder of your choice and install the example specific requirements:",xt,pe,Wt,A,V,pt,me,Ll,Ke,ra="Run a script",Zt,G,Nt,X,z,mt,ue,Vl,et,ia="Distributed training and mixed precision",Rt,he,sa='The <a href="https://huggingface.co/docs/transformers/main_classes/trainer" rel="nofollow">Trainer</a> supports distributed training and mixed precision, which means you can also use it in a script. To enable both of these features:',Lt,ce,na="<li>Add the <code>fp16</code> argument to enable mixed precision.</li> <li>Set the number of GPUs to use with the <code>nproc_per_node</code> argument.</li>",Vt,fe,Gt,Me,oa='TensorFlow scripts utilize a <a href="https://www.tensorflow.org/guide/distributed_training#mirroredstrategy" rel="nofollow"><code>MirroredStrategy</code></a> for distributed training, and you don’t need to add any additional arguments to the training script. The TensorFlow script will use multiple GPUs by default if they are available.',zt,I,k,ut,de,Gl,tt,pa="Run a script on a TPU",kt,B,Bt,x,F,ht,we,zl,lt,ma="Run a script with 🤗 Accelerate",Ft,ye,ua='🤗 <a href="https://huggingface.co/docs/accelerate" rel="nofollow">Accelerate</a> is a PyTorch-only library that offers a unified method for training a model on several types of setups (CPU-only, multiple GPUs, TPUs) while maintaining complete visibility into the PyTorch training loop. Make sure you have 🤗 Accelerate installed if you don’t already have it:',Yt,Y,at,ha="Note: As Accelerate is rapidly developing, the git version of accelerate must be installed to run the scripts",kl,Te,Et,Je,ca="Instead of the <code>run_summarization.py</code> script, you need to use the <code>run_summarization_no_trainer.py</code> script. 🤗 Accelerate supported scripts will have a <code>task_no_trainer.py</code> file in the folder. Begin by running the following command to create and save a configuration file:",St,ge,Ht,_e,fa="Test your setup to make sure it is configured correctly:",Qt,Ue,Pt,ve,Ma="Now you are ready to launch the training:",qt,je,Dt,W,E,ct,be,Bl,rt,da="Use a custom dataset",Ot,Ce,wa="The summarization script supports custom datasets as long as they are a CSV or JSON Line file. When you use your own dataset, you need to specify several additional arguments:",Kt,$e,ya="<li><code>train_file</code> and <code>validation_file</code> specify the path to your training and validation files.</li> <li><code>text_column</code> is the input text to summarize.</li> <li><code>summary_column</code> is the target text to output.</li>",el,Ae,Ta="A summarization script using a custom dataset would look like this:",tl,Xe,ll,Z,S,ft,Ie,Fl,it,Ja="Test a script",al,xe,ga="It is often a good idea to run your script on a smaller number of dataset examples to ensure everything works as expected before committing to an entire dataset which may take hours to complete. Use the following arguments to truncate the dataset to a maximum number of samples:",rl,We,_a="<li><code>max_train_samples</code></li> <li><code>max_eval_samples</code></li> <li><code>max_predict_samples</code></li>",il,Ze,sl,Ne,Ua="Not all example scripts support the <code>max_predict_samples</code> argument. If you aren’t sure whether your script supports this argument, add the <code>-h</code> argument to check:",nl,Re,ol,N,H,Mt,Le,Yl,st,va="Resume training from checkpoint",pl,Ve,ja="Another helpful option to enable is resuming training from a previous checkpoint. This will ensure you can pick up where you left off without starting over if your training gets interrupted. There are two methods to resume training from a checkpoint.",ml,Ge,ba="The first method uses the <code>output_dir previous_output_dir</code> argument to resume training from the latest checkpoint stored in <code>output_dir</code>. In this case, you should remove <code>overwrite_output_dir</code>:",ul,ze,hl,ke,Ca="The second method uses the <code>resume_from_checkpoint path_to_specific_checkpoint</code> argument to resume training from a specific checkpoint folder.",cl,Be,fl,R,Q,dt,Fe,El,nt,$a="Share your model",Ml,Ye,Aa='All scripts can upload your final model to the <a href="https://huggingface.co/models" rel="nofollow">Model Hub</a>. Make sure you are logged into Hugging Face before you begin:',dl,Ee,wl,Se,Xa="Then add the <code>push_to_hub</code> argument to the script. This argument will create a repository with your Hugging Face username and the folder name specified in <code>output_dir</code>.",yl,He,Ia="To give your repository a specific name, use the <code>push_to_hub_model_id</code> argument to add it. The repository will be automatically listed under your namespace.",Tl,Qe,xa="The following example shows how to upload a model with a specific repository name:",Jl,Pe,gl,wt,_l;return P=new C({}),te=new C({}),ae=new j({props:{code:"Z2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRnRyYW5zZm9ybWVycyUwQWNkJTIwdHJhbnNmb3JtZXJzJTBBcGlwJTIwaW5zdGFsbCUyMC4=",highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/transformers
<span class="hljs-built_in">cd</span> transformers
pip install .`}}),ne=new j({props:{code:"Z2l0JTIwY2hlY2tvdXQlMjB0YWdzJTJGdjMuNS4x",highlighted:"git checkout tags/v3.5.1"}}),pe=new j({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1yJTIwcmVxdWlyZW1lbnRzLnR4dA==",highlighted:"pip install -r requirements.txt"}}),me=new C({}),G=new Oa({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[nr],pytorch:[ir]},$$scope:{ctx:b}}}),ue=new C({}),fe=new j({props:{code:"cHl0aG9uJTIwLW0lMjB0b3JjaC5kaXN0cmlidXRlZC5sYXVuY2glMjAlNUMlMEElMjAlMjAlMjAlMjAtLW5wcm9jX3Blcl9ub2RlJTIwOCUyMHB5dG9yY2glMkZzdW1tYXJpemF0aW9uJTJGcnVuX3N1bW1hcml6YXRpb24ucHklMjAlNUMlMEElMjAlMjAlMjAlMjAtLWZwMTYlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW1vZGVsX25hbWVfb3JfcGF0aCUyMHQ1LXNtYWxsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kb190cmFpbiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fZXZhbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9uYW1lJTIwY25uX2RhaWx5bWFpbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZGF0YXNldF9jb25maWclMjAlMjIzLjAuMCUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tc291cmNlX3ByZWZpeCUyMCUyMnN1bW1hcml6ZSUzQSUyMCUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tb3V0cHV0X2RpciUyMCUyRnRtcCUyRnRzdC1zdW1tYXJpemF0aW9uJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX2V2YWxfYmF0Y2hfc2l6ZSUzRDQlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW92ZXJ3cml0ZV9vdXRwdXRfZGlyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wcmVkaWN0X3dpdGhfZ2VuZXJhdGU=",highlighted:`python -m torch.distributed.launch \\
    --nproc_per_node 8 pytorch/summarization/run_summarization.py \\
    --fp16 \\
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`}}),de=new C({}),B=new Oa({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[ur],pytorch:[pr]},$$scope:{ctx:b}}}),we=new C({}),Te=new j({props:{code:"cGlwJTIwaW5zdGFsbCUyMGdpdCUyQmh0dHBzJTNBJTJGJTJGZ2l0aHViLmNvbSUyRmh1Z2dpbmdmYWNlJTJGYWNjZWxlcmF0ZQ==",highlighted:"pip install git+https://github.com/huggingface/accelerate"}}),ge=new j({props:{code:"YWNjZWxlcmF0ZSUyMGNvbmZpZw==",highlighted:"accelerate config"}}),Ue=new j({props:{code:"YWNjZWxlcmF0ZSUyMHRlc3Q=",highlighted:'accelerate <span class="hljs-built_in">test</span>'}}),je=new j({props:{code:"YWNjZWxlcmF0ZSUyMGxhdW5jaCUyMHJ1bl9zdW1tYXJpemF0aW9uX25vX3RyYWluZXIucHklMjAlNUMlMEElMjAlMjAlMjAlMjAtLW1vZGVsX25hbWVfb3JfcGF0aCUyMHQ1LXNtYWxsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kYXRhc2V0X25hbWUlMjBjbm5fZGFpbHltYWlsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kYXRhc2V0X2NvbmZpZyUyMCUyMjMuMC4wJTIyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1zb3VyY2VfcHJlZml4JTIwJTIyc3VtbWFyaXplJTNBJTIwJTIyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdXRwdXRfZGlyJTIwfiUyRnRtcCUyRnRzdC1zdW1tYXJpemF0aW9u",highlighted:`accelerate launch run_summarization_no_trainer.py \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir ~/tmp/tst-summarization`}}),be=new C({}),Xe=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXRyYWluX2ZpbGUlMjBwYXRoX3RvX2Nzdl9vcl9qc29ubGluZXNfZmlsZSUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tdmFsaWRhdGlvbl9maWxlJTIwcGF0aF90b19jc3Zfb3JfanNvbmxpbmVzX2ZpbGUlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXRleHRfY29sdW1uJTIwdGV4dF9jb2x1bW5fbmFtZSUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tc3VtbWFyeV9jb2x1bW4lMjBzdW1tYXJ5X2NvbHVtbl9uYW1lJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1zb3VyY2VfcHJlZml4JTIwJTIyc3VtbWFyaXplJTNBJTIwJTIyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdXRwdXRfZGlyJTIwJTJGdG1wJTJGdHN0LXN1bW1hcml6YXRpb24lMjAlNUMlMEElMjAlMjAlMjAlMjAtLW92ZXJ3cml0ZV9vdXRwdXRfZGlyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wZXJfZGV2aWNlX2V2YWxfYmF0Y2hfc2l6ZSUzRDQlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXByZWRpY3Rfd2l0aF9nZW5lcmF0ZQ==",highlighted:`python examples/pytorch/summarization/run_summarization.py \\
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --train_file path_to_csv_or_jsonlines_file \\
    --validation_file path_to_csv_or_jsonlines_file \\
    --text_column text_column_name \\
    --summary_column summary_column_name \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --overwrite_output_dir \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --predict_with_generate`}}),Ie=new C({}),Ze=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tbWF4X3RyYWluX3NhbXBsZXMlMjA1MCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tbWF4X2V2YWxfc2FtcGxlcyUyMDUwJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1tYXhfcHJlZGljdF9zYW1wbGVzJTIwNTAlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX3RyYWluJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kb19ldmFsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kYXRhc2V0X25hbWUlMjBjbm5fZGFpbHltYWlsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1kYXRhc2V0X2NvbmZpZyUyMCUyMjMuMC4wJTIyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1zb3VyY2VfcHJlZml4JTIwJTIyc3VtbWFyaXplJTNBJTIwJTIyJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdXRwdXRfZGlyJTIwJTJGdG1wJTJGdHN0LXN1bW1hcml6YXRpb24lMjAlNUMlMEElMjAlMjAlMjAlMjAtLXBlcl9kZXZpY2VfdHJhaW5fYmF0Y2hfc2l6ZSUzRDQlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXBlcl9kZXZpY2VfZXZhbF9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tb3ZlcndyaXRlX291dHB1dF9kaXIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXByZWRpY3Rfd2l0aF9nZW5lcmF0ZQ==",highlighted:`python examples/pytorch/summarization/run_summarization.py \\
    --model_name_or_path t5-small \\
    --max_train_samples 50 \\
    --max_eval_samples 50 \\
    --max_predict_samples 50 \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`}}),Re=new j({props:{code:"ZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTIwLWg=",highlighted:"examples/pytorch/summarization/run_summarization.py -h"}}),Le=new C({}),ze=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfbmFtZSUyMGNubl9kYWlseW1haWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfY29uZmlnJTIwJTIyMy4wLjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXNvdXJjZV9wcmVmaXglMjAlMjJzdW1tYXJpemUlM0ElMjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW91dHB1dF9kaXIlMjAlMkZ0bXAlMkZ0c3Qtc3VtbWFyaXphdGlvbiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV9ldmFsX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdXRwdXRfZGlyJTIwcHJldmlvdXNfb3V0cHV0X2RpciUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcHJlZGljdF93aXRoX2dlbmVyYXRl",highlighted:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --output_dir previous_output_dir \\
    --predict_with_generate`}}),Be=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfbmFtZSUyMGNubl9kYWlseW1haWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfY29uZmlnJTIwJTIyMy4wLjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXNvdXJjZV9wcmVmaXglMjAlMjJzdW1tYXJpemUlM0ElMjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLW91dHB1dF9kaXIlMjAlMkZ0bXAlMkZ0c3Qtc3VtbWFyaXphdGlvbiUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcGVyX2RldmljZV9ldmFsX2JhdGNoX3NpemUlM0Q0JTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdmVyd3JpdGVfb3V0cHV0X2RpciUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcmVzdW1lX2Zyb21fY2hlY2twb2ludCUyMHBhdGhfdG9fc3BlY2lmaWNfY2hlY2twb2ludCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tcHJlZGljdF93aXRoX2dlbmVyYXRl",highlighted:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --resume_from_checkpoint path_to_specific_checkpoint \\
    --predict_with_generate`}}),Fe=new C({}),Ee=new j({props:{code:"aHVnZ2luZ2ZhY2UtY2xpJTIwbG9naW4=",highlighted:"huggingface-cli login"}}),Pe=new j({props:{code:"cHl0aG9uJTIwZXhhbXBsZXMlMkZweXRvcmNoJTJGc3VtbWFyaXphdGlvbiUyRnJ1bl9zdW1tYXJpemF0aW9uLnB5JTBBJTIwJTIwJTIwJTIwLS1tb2RlbF9uYW1lX29yX3BhdGglMjB0NS1zbWFsbCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tZG9fdHJhaW4lMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRvX2V2YWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfbmFtZSUyMGNubl9kYWlseW1haWwlMjAlNUMlMEElMjAlMjAlMjAlMjAtLWRhdGFzZXRfY29uZmlnJTIwJTIyMy4wLjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXNvdXJjZV9wcmVmaXglMjAlMjJzdW1tYXJpemUlM0ElMjAlMjIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXB1c2hfdG9faHViJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1wdXNoX3RvX2h1Yl9tb2RlbF9pZCUyMGZpbmV0dW5lZC10NS1jbm5fZGFpbHltYWlsJTIwJTVDJTBBJTIwJTIwJTIwJTIwLS1vdXRwdXRfZGlyJTIwJTJGdG1wJTJGdHN0LXN1bW1hcml6YXRpb24lMjAlNUMlMEElMjAlMjAlMjAlMjAtLXBlcl9kZXZpY2VfdHJhaW5fYmF0Y2hfc2l6ZSUzRDQlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXBlcl9kZXZpY2VfZXZhbF9iYXRjaF9zaXplJTNENCUyMCU1QyUwQSUyMCUyMCUyMCUyMC0tb3ZlcndyaXRlX291dHB1dF9kaXIlMjAlNUMlMEElMjAlMjAlMjAlMjAtLXByZWRpY3Rfd2l0aF9nZW5lcmF0ZQ==",highlighted:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config <span class="hljs-string">&quot;3.0.0&quot;</span> \\
    --source_prefix <span class="hljs-string">&quot;summarize: &quot;</span> \\
    --push_to_hub \\
    --push_to_hub_model_id finetuned-t5-cnn_dailymail \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`}}),{c(){s=r("meta"),d=n(),p=r("p"),u=n(),M=r("h1"),m=r("a"),v=r("span"),w(P.$$.fragment),Nl=n(),De=r("span"),De.textContent=Sl,Tt=n(),q=r("p"),q.innerHTML=Hl,Jt=n(),D=r("p"),D.innerHTML=Ql,gt=n(),O=r("p"),O.textContent=Pl,_t=n(),K=r("p"),K.innerHTML=ql,Ut=n(),ee=r("p"),ee.innerHTML=Dl,vt=n(),$=r("h2"),L=r("a"),ot=r("span"),w(te.$$.fragment),Rl=n(),Oe=r("span"),Oe.textContent=Ol,jt=n(),le=r("p"),le.innerHTML=Kl,bt=n(),w(ae.$$.fragment),Ct=n(),re=r("p"),re.textContent=ea,$t=n(),ie=r("details"),ie.innerHTML=ta,At=n(),se=r("p"),se.textContent=la,Xt=n(),w(ne.$$.fragment),It=n(),oe=r("p"),oe.textContent=aa,xt=n(),w(pe.$$.fragment),Wt=n(),A=r("h2"),V=r("a"),pt=r("span"),w(me.$$.fragment),Ll=n(),Ke=r("span"),Ke.textContent=ra,Zt=n(),w(G.$$.fragment),Nt=n(),X=r("h2"),z=r("a"),mt=r("span"),w(ue.$$.fragment),Vl=n(),et=r("span"),et.textContent=ia,Rt=n(),he=r("p"),he.innerHTML=sa,Lt=n(),ce=r("ul"),ce.innerHTML=na,Vt=n(),w(fe.$$.fragment),Gt=n(),Me=r("p"),Me.innerHTML=oa,zt=n(),I=r("h2"),k=r("a"),ut=r("span"),w(de.$$.fragment),Gl=n(),tt=r("span"),tt.textContent=pa,kt=n(),w(B.$$.fragment),Bt=n(),x=r("h2"),F=r("a"),ht=r("span"),w(we.$$.fragment),zl=n(),lt=r("span"),lt.textContent=ma,Ft=n(),ye=r("p"),ye.innerHTML=ua,Yt=n(),Y=r("blockquote"),at=r("p"),at.textContent=ha,kl=n(),w(Te.$$.fragment),Et=n(),Je=r("p"),Je.innerHTML=ca,St=n(),w(ge.$$.fragment),Ht=n(),_e=r("p"),_e.textContent=fa,Qt=n(),w(Ue.$$.fragment),Pt=n(),ve=r("p"),ve.textContent=Ma,qt=n(),w(je.$$.fragment),Dt=n(),W=r("h2"),E=r("a"),ct=r("span"),w(be.$$.fragment),Bl=n(),rt=r("span"),rt.textContent=da,Ot=n(),Ce=r("p"),Ce.textContent=wa,Kt=n(),$e=r("ul"),$e.innerHTML=ya,el=n(),Ae=r("p"),Ae.textContent=Ta,tl=n(),w(Xe.$$.fragment),ll=n(),Z=r("h2"),S=r("a"),ft=r("span"),w(Ie.$$.fragment),Fl=n(),it=r("span"),it.textContent=Ja,al=n(),xe=r("p"),xe.textContent=ga,rl=n(),We=r("ul"),We.innerHTML=_a,il=n(),w(Ze.$$.fragment),sl=n(),Ne=r("p"),Ne.innerHTML=Ua,nl=n(),w(Re.$$.fragment),ol=n(),N=r("h2"),H=r("a"),Mt=r("span"),w(Le.$$.fragment),Yl=n(),st=r("span"),st.textContent=va,pl=n(),Ve=r("p"),Ve.textContent=ja,ml=n(),Ge=r("p"),Ge.innerHTML=ba,ul=n(),w(ze.$$.fragment),hl=n(),ke=r("p"),ke.innerHTML=Ca,cl=n(),w(Be.$$.fragment),fl=n(),R=r("h2"),Q=r("a"),dt=r("span"),w(Fe.$$.fragment),El=n(),nt=r("span"),nt.textContent=$a,Ml=n(),Ye=r("p"),Ye.innerHTML=Aa,dl=n(),w(Ee.$$.fragment),wl=n(),Se=r("p"),Se.innerHTML=Xa,yl=n(),He=r("p"),He.innerHTML=Ia,Tl=n(),Qe=r("p"),Qe.textContent=xa,Jl=n(),w(Pe.$$.fragment),gl=n(),wt=r("p"),this.h()},l(e){const l=ar("svelte-1phssyn",document.head);s=i(l,"META",{name:!0,content:!0}),l.forEach(t),d=o(e),p=i(e,"P",{}),U(p).forEach(t),u=o(e),M=i(e,"H1",{class:!0});var qe=U(M);m=i(qe,"A",{id:!0,class:!0,href:!0});var yt=U(m);v=i(yt,"SPAN",{});var Wa=U(v);y(P.$$.fragment,Wa),Wa.forEach(t),yt.forEach(t),Nl=o(qe),De=i(qe,"SPAN",{"data-svelte-h":!0}),h(De)!=="svelte-ozvdun"&&(De.textContent=Sl),qe.forEach(t),Tt=o(e),q=i(e,"P",{"data-svelte-h":!0}),h(q)!=="svelte-bqhkw2"&&(q.innerHTML=Hl),Jt=o(e),D=i(e,"P",{"data-svelte-h":!0}),h(D)!=="svelte-1gwco66"&&(D.innerHTML=Ql),gt=o(e),O=i(e,"P",{"data-svelte-h":!0}),h(O)!=="svelte-ehpuaj"&&(O.textContent=Pl),_t=o(e),K=i(e,"P",{"data-svelte-h":!0}),h(K)!=="svelte-z30sjv"&&(K.innerHTML=ql),Ut=o(e),ee=i(e,"P",{"data-svelte-h":!0}),h(ee)!=="svelte-1muwvtv"&&(ee.innerHTML=Dl),vt=o(e),$=i(e,"H2",{class:!0});var Ul=U($);L=i(Ul,"A",{id:!0,class:!0,href:!0});var Za=U(L);ot=i(Za,"SPAN",{});var Na=U(ot);y(te.$$.fragment,Na),Na.forEach(t),Za.forEach(t),Rl=o(Ul),Oe=i(Ul,"SPAN",{"data-svelte-h":!0}),h(Oe)!=="svelte-1bbncge"&&(Oe.textContent=Ol),Ul.forEach(t),jt=o(e),le=i(e,"P",{"data-svelte-h":!0}),h(le)!=="svelte-1mgxfwl"&&(le.innerHTML=Kl),bt=o(e),y(ae.$$.fragment,e),Ct=o(e),re=i(e,"P",{"data-svelte-h":!0}),h(re)!=="svelte-1xawyut"&&(re.textContent=ea),$t=o(e),ie=i(e,"DETAILS",{"data-svelte-h":!0}),h(ie)!=="svelte-145d76l"&&(ie.innerHTML=ta),At=o(e),se=i(e,"P",{"data-svelte-h":!0}),h(se)!=="svelte-64mt19"&&(se.textContent=la),Xt=o(e),y(ne.$$.fragment,e),It=o(e),oe=i(e,"P",{"data-svelte-h":!0}),h(oe)!=="svelte-fgl2z5"&&(oe.textContent=aa),xt=o(e),y(pe.$$.fragment,e),Wt=o(e),A=i(e,"H2",{class:!0});var vl=U(A);V=i(vl,"A",{id:!0,class:!0,href:!0});var Ra=U(V);pt=i(Ra,"SPAN",{});var La=U(pt);y(me.$$.fragment,La),La.forEach(t),Ra.forEach(t),Ll=o(vl),Ke=i(vl,"SPAN",{"data-svelte-h":!0}),h(Ke)!=="svelte-liq0xq"&&(Ke.textContent=ra),vl.forEach(t),Zt=o(e),y(G.$$.fragment,e),Nt=o(e),X=i(e,"H2",{class:!0});var jl=U(X);z=i(jl,"A",{id:!0,class:!0,href:!0});var Va=U(z);mt=i(Va,"SPAN",{});var Ga=U(mt);y(ue.$$.fragment,Ga),Ga.forEach(t),Va.forEach(t),Vl=o(jl),et=i(jl,"SPAN",{"data-svelte-h":!0}),h(et)!=="svelte-dlan38"&&(et.textContent=ia),jl.forEach(t),Rt=o(e),he=i(e,"P",{"data-svelte-h":!0}),h(he)!=="svelte-1c1svkh"&&(he.innerHTML=sa),Lt=o(e),ce=i(e,"UL",{"data-svelte-h":!0}),h(ce)!=="svelte-12spge2"&&(ce.innerHTML=na),Vt=o(e),y(fe.$$.fragment,e),Gt=o(e),Me=i(e,"P",{"data-svelte-h":!0}),h(Me)!=="svelte-1l3ohuh"&&(Me.innerHTML=oa),zt=o(e),I=i(e,"H2",{class:!0});var bl=U(I);k=i(bl,"A",{id:!0,class:!0,href:!0});var za=U(k);ut=i(za,"SPAN",{});var ka=U(ut);y(de.$$.fragment,ka),ka.forEach(t),za.forEach(t),Gl=o(bl),tt=i(bl,"SPAN",{"data-svelte-h":!0}),h(tt)!=="svelte-1cplyi1"&&(tt.textContent=pa),bl.forEach(t),kt=o(e),y(B.$$.fragment,e),Bt=o(e),x=i(e,"H2",{class:!0});var Cl=U(x);F=i(Cl,"A",{id:!0,class:!0,href:!0});var Ba=U(F);ht=i(Ba,"SPAN",{});var Fa=U(ht);y(we.$$.fragment,Fa),Fa.forEach(t),Ba.forEach(t),zl=o(Cl),lt=i(Cl,"SPAN",{"data-svelte-h":!0}),h(lt)!=="svelte-9er0u4"&&(lt.textContent=ma),Cl.forEach(t),Ft=o(e),ye=i(e,"P",{"data-svelte-h":!0}),h(ye)!=="svelte-12o0ukl"&&(ye.innerHTML=ua),Yt=o(e),Y=i(e,"BLOCKQUOTE",{});var $l=U(Y);at=i($l,"P",{"data-svelte-h":!0}),h(at)!=="svelte-j7gn57"&&(at.textContent=ha),kl=o($l),y(Te.$$.fragment,$l),$l.forEach(t),Et=o(e),Je=i(e,"P",{"data-svelte-h":!0}),h(Je)!=="svelte-4ovdqo"&&(Je.innerHTML=ca),St=o(e),y(ge.$$.fragment,e),Ht=o(e),_e=i(e,"P",{"data-svelte-h":!0}),h(_e)!=="svelte-182jy9q"&&(_e.textContent=fa),Qt=o(e),y(Ue.$$.fragment,e),Pt=o(e),ve=i(e,"P",{"data-svelte-h":!0}),h(ve)!=="svelte-15segnh"&&(ve.textContent=Ma),qt=o(e),y(je.$$.fragment,e),Dt=o(e),W=i(e,"H2",{class:!0});var Al=U(W);E=i(Al,"A",{id:!0,class:!0,href:!0});var Ya=U(E);ct=i(Ya,"SPAN",{});var Ea=U(ct);y(be.$$.fragment,Ea),Ea.forEach(t),Ya.forEach(t),Bl=o(Al),rt=i(Al,"SPAN",{"data-svelte-h":!0}),h(rt)!=="svelte-1w424w8"&&(rt.textContent=da),Al.forEach(t),Ot=o(e),Ce=i(e,"P",{"data-svelte-h":!0}),h(Ce)!=="svelte-102gssu"&&(Ce.textContent=wa),Kt=o(e),$e=i(e,"UL",{"data-svelte-h":!0}),h($e)!=="svelte-1jtimg7"&&($e.innerHTML=ya),el=o(e),Ae=i(e,"P",{"data-svelte-h":!0}),h(Ae)!=="svelte-1xw9de2"&&(Ae.textContent=Ta),tl=o(e),y(Xe.$$.fragment,e),ll=o(e),Z=i(e,"H2",{class:!0});var Xl=U(Z);S=i(Xl,"A",{id:!0,class:!0,href:!0});var Sa=U(S);ft=i(Sa,"SPAN",{});var Ha=U(ft);y(Ie.$$.fragment,Ha),Ha.forEach(t),Sa.forEach(t),Fl=o(Xl),it=i(Xl,"SPAN",{"data-svelte-h":!0}),h(it)!=="svelte-7hd7zd"&&(it.textContent=Ja),Xl.forEach(t),al=o(e),xe=i(e,"P",{"data-svelte-h":!0}),h(xe)!=="svelte-1djig5e"&&(xe.textContent=ga),rl=o(e),We=i(e,"UL",{"data-svelte-h":!0}),h(We)!=="svelte-14g5f8g"&&(We.innerHTML=_a),il=o(e),y(Ze.$$.fragment,e),sl=o(e),Ne=i(e,"P",{"data-svelte-h":!0}),h(Ne)!=="svelte-1rlkz6g"&&(Ne.innerHTML=Ua),nl=o(e),y(Re.$$.fragment,e),ol=o(e),N=i(e,"H2",{class:!0});var Il=U(N);H=i(Il,"A",{id:!0,class:!0,href:!0});var Qa=U(H);Mt=i(Qa,"SPAN",{});var Pa=U(Mt);y(Le.$$.fragment,Pa),Pa.forEach(t),Qa.forEach(t),Yl=o(Il),st=i(Il,"SPAN",{"data-svelte-h":!0}),h(st)!=="svelte-hjd9ri"&&(st.textContent=va),Il.forEach(t),pl=o(e),Ve=i(e,"P",{"data-svelte-h":!0}),h(Ve)!=="svelte-pdl903"&&(Ve.textContent=ja),ml=o(e),Ge=i(e,"P",{"data-svelte-h":!0}),h(Ge)!=="svelte-1gat20q"&&(Ge.innerHTML=ba),ul=o(e),y(ze.$$.fragment,e),hl=o(e),ke=i(e,"P",{"data-svelte-h":!0}),h(ke)!=="svelte-z1wjdg"&&(ke.innerHTML=Ca),cl=o(e),y(Be.$$.fragment,e),fl=o(e),R=i(e,"H2",{class:!0});var xl=U(R);Q=i(xl,"A",{id:!0,class:!0,href:!0});var qa=U(Q);dt=i(qa,"SPAN",{});var Da=U(dt);y(Fe.$$.fragment,Da),Da.forEach(t),qa.forEach(t),El=o(xl),nt=i(xl,"SPAN",{"data-svelte-h":!0}),h(nt)!=="svelte-15reahc"&&(nt.textContent=$a),xl.forEach(t),Ml=o(e),Ye=i(e,"P",{"data-svelte-h":!0}),h(Ye)!=="svelte-1l22jqe"&&(Ye.innerHTML=Aa),dl=o(e),y(Ee.$$.fragment,e),wl=o(e),Se=i(e,"P",{"data-svelte-h":!0}),h(Se)!=="svelte-27u38x"&&(Se.innerHTML=Xa),yl=o(e),He=i(e,"P",{"data-svelte-h":!0}),h(He)!=="svelte-1pe9yqy"&&(He.innerHTML=Ia),Tl=o(e),Qe=i(e,"P",{"data-svelte-h":!0}),h(Qe)!=="svelte-qg1y4e"&&(Qe.textContent=xa),Jl=o(e),y(Pe.$$.fragment,e),gl=o(e),wt=i(e,"P",{}),U(wt).forEach(t),this.h()},h(){f(s,"name","hf:doc:metadata"),f(s,"content",JSON.stringify(cr)),f(m,"id","train-with-a-script"),f(m,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(m,"href","#train-with-a-script"),f(M,"class","relative group"),f(L,"id","setup"),f(L,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(L,"href","#setup"),f($,"class","relative group"),f(V,"id","run-a-script"),f(V,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(V,"href","#run-a-script"),f(A,"class","relative group"),f(z,"id","distributed-training-and-mixed-precision"),f(z,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(z,"href","#distributed-training-and-mixed-precision"),f(X,"class","relative group"),f(k,"id","run-a-script-on-a-tpu"),f(k,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(k,"href","#run-a-script-on-a-tpu"),f(I,"class","relative group"),f(F,"id","run-a-script-with-accelerate"),f(F,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(F,"href","#run-a-script-with-accelerate"),f(x,"class","relative group"),f(E,"id","use-a-custom-dataset"),f(E,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(E,"href","#use-a-custom-dataset"),f(W,"class","relative group"),f(S,"id","test-a-script"),f(S,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(S,"href","#test-a-script"),f(Z,"class","relative group"),f(H,"id","resume-training-from-checkpoint"),f(H,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(H,"href","#resume-training-from-checkpoint"),f(N,"class","relative group"),f(Q,"id","share-your-model"),f(Q,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),f(Q,"href","#share-your-model"),f(R,"class","relative group")},m(e,l){c(document.head,s),a(e,d,l),a(e,p,l),a(e,u,l),a(e,M,l),c(M,m),c(m,v),T(P,v,null),c(M,Nl),c(M,De),a(e,Tt,l),a(e,q,l),a(e,Jt,l),a(e,D,l),a(e,gt,l),a(e,O,l),a(e,_t,l),a(e,K,l),a(e,Ut,l),a(e,ee,l),a(e,vt,l),a(e,$,l),c($,L),c(L,ot),T(te,ot,null),c($,Rl),c($,Oe),a(e,jt,l),a(e,le,l),a(e,bt,l),T(ae,e,l),a(e,Ct,l),a(e,re,l),a(e,$t,l),a(e,ie,l),a(e,At,l),a(e,se,l),a(e,Xt,l),T(ne,e,l),a(e,It,l),a(e,oe,l),a(e,xt,l),T(pe,e,l),a(e,Wt,l),a(e,A,l),c(A,V),c(V,pt),T(me,pt,null),c(A,Ll),c(A,Ke),a(e,Zt,l),T(G,e,l),a(e,Nt,l),a(e,X,l),c(X,z),c(z,mt),T(ue,mt,null),c(X,Vl),c(X,et),a(e,Rt,l),a(e,he,l),a(e,Lt,l),a(e,ce,l),a(e,Vt,l),T(fe,e,l),a(e,Gt,l),a(e,Me,l),a(e,zt,l),a(e,I,l),c(I,k),c(k,ut),T(de,ut,null),c(I,Gl),c(I,tt),a(e,kt,l),T(B,e,l),a(e,Bt,l),a(e,x,l),c(x,F),c(F,ht),T(we,ht,null),c(x,zl),c(x,lt),a(e,Ft,l),a(e,ye,l),a(e,Yt,l),a(e,Y,l),c(Y,at),c(Y,kl),T(Te,Y,null),a(e,Et,l),a(e,Je,l),a(e,St,l),T(ge,e,l),a(e,Ht,l),a(e,_e,l),a(e,Qt,l),T(Ue,e,l),a(e,Pt,l),a(e,ve,l),a(e,qt,l),T(je,e,l),a(e,Dt,l),a(e,W,l),c(W,E),c(E,ct),T(be,ct,null),c(W,Bl),c(W,rt),a(e,Ot,l),a(e,Ce,l),a(e,Kt,l),a(e,$e,l),a(e,el,l),a(e,Ae,l),a(e,tl,l),T(Xe,e,l),a(e,ll,l),a(e,Z,l),c(Z,S),c(S,ft),T(Ie,ft,null),c(Z,Fl),c(Z,it),a(e,al,l),a(e,xe,l),a(e,rl,l),a(e,We,l),a(e,il,l),T(Ze,e,l),a(e,sl,l),a(e,Ne,l),a(e,nl,l),T(Re,e,l),a(e,ol,l),a(e,N,l),c(N,H),c(H,Mt),T(Le,Mt,null),c(N,Yl),c(N,st),a(e,pl,l),a(e,Ve,l),a(e,ml,l),a(e,Ge,l),a(e,ul,l),T(ze,e,l),a(e,hl,l),a(e,ke,l),a(e,cl,l),T(Be,e,l),a(e,fl,l),a(e,R,l),c(R,Q),c(Q,dt),T(Fe,dt,null),c(R,El),c(R,nt),a(e,Ml,l),a(e,Ye,l),a(e,dl,l),T(Ee,e,l),a(e,wl,l),a(e,Se,l),a(e,yl,l),a(e,He,l),a(e,Tl,l),a(e,Qe,l),a(e,Jl,l),T(Pe,e,l),a(e,gl,l),a(e,wt,l),_l=!0},p(e,[l]){const qe={};l&2&&(qe.$$scope={dirty:l,ctx:e}),G.$set(qe);const yt={};l&2&&(yt.$$scope={dirty:l,ctx:e}),B.$set(yt)},i(e){_l||(J(P.$$.fragment,e),J(te.$$.fragment,e),J(ae.$$.fragment,e),J(ne.$$.fragment,e),J(pe.$$.fragment,e),J(me.$$.fragment,e),J(G.$$.fragment,e),J(ue.$$.fragment,e),J(fe.$$.fragment,e),J(de.$$.fragment,e),J(B.$$.fragment,e),J(we.$$.fragment,e),J(Te.$$.fragment,e),J(ge.$$.fragment,e),J(Ue.$$.fragment,e),J(je.$$.fragment,e),J(be.$$.fragment,e),J(Xe.$$.fragment,e),J(Ie.$$.fragment,e),J(Ze.$$.fragment,e),J(Re.$$.fragment,e),J(Le.$$.fragment,e),J(ze.$$.fragment,e),J(Be.$$.fragment,e),J(Fe.$$.fragment,e),J(Ee.$$.fragment,e),J(Pe.$$.fragment,e),_l=!0)},o(e){g(P.$$.fragment,e),g(te.$$.fragment,e),g(ae.$$.fragment,e),g(ne.$$.fragment,e),g(pe.$$.fragment,e),g(me.$$.fragment,e),g(G.$$.fragment,e),g(ue.$$.fragment,e),g(fe.$$.fragment,e),g(de.$$.fragment,e),g(B.$$.fragment,e),g(we.$$.fragment,e),g(Te.$$.fragment,e),g(ge.$$.fragment,e),g(Ue.$$.fragment,e),g(je.$$.fragment,e),g(be.$$.fragment,e),g(Xe.$$.fragment,e),g(Ie.$$.fragment,e),g(Ze.$$.fragment,e),g(Re.$$.fragment,e),g(Le.$$.fragment,e),g(ze.$$.fragment,e),g(Be.$$.fragment,e),g(Fe.$$.fragment,e),g(Ee.$$.fragment,e),g(Pe.$$.fragment,e),_l=!1},d(e){e&&(t(d),t(p),t(u),t(M),t(Tt),t(q),t(Jt),t(D),t(gt),t(O),t(_t),t(K),t(Ut),t(ee),t(vt),t($),t(jt),t(le),t(bt),t(Ct),t(re),t($t),t(ie),t(At),t(se),t(Xt),t(It),t(oe),t(xt),t(Wt),t(A),t(Zt),t(Nt),t(X),t(Rt),t(he),t(Lt),t(ce),t(Vt),t(Gt),t(Me),t(zt),t(I),t(kt),t(Bt),t(x),t(Ft),t(ye),t(Yt),t(Y),t(Et),t(Je),t(St),t(Ht),t(_e),t(Qt),t(Pt),t(ve),t(qt),t(Dt),t(W),t(Ot),t(Ce),t(Kt),t($e),t(el),t(Ae),t(tl),t(ll),t(Z),t(al),t(xe),t(rl),t(We),t(il),t(sl),t(Ne),t(nl),t(ol),t(N),t(pl),t(Ve),t(ml),t(Ge),t(ul),t(hl),t(ke),t(cl),t(fl),t(R),t(Ml),t(Ye),t(dl),t(wl),t(Se),t(yl),t(He),t(Tl),t(Qe),t(Jl),t(gl),t(wt)),t(s),_(P),_(te),_(ae,e),_(ne,e),_(pe,e),_(me),_(G,e),_(ue),_(fe,e),_(de),_(B,e),_(we),_(Te),_(ge,e),_(Ue,e),_(je,e),_(be),_(Xe,e),_(Ie),_(Ze,e),_(Re,e),_(Le),_(ze,e),_(Be,e),_(Fe),_(Ee,e),_(Pe,e)}}}const cr={local:"train-with-a-script",sections:[{local:"setup",title:"Setup"},{local:"run-a-script",title:"Run a script"},{local:"distributed-training-and-mixed-precision",title:"Distributed training and mixed precision"},{local:"run-a-script-on-a-tpu",title:"Run a script on a TPU"},{local:"run-a-script-with-accelerate",title:"Run a script with 🤗 Accelerate"},{local:"use-a-custom-dataset",title:"Use a custom dataset"},{local:"test-a-script",title:"Test a script"},{local:"resume-training-from-checkpoint",title:"Resume training from checkpoint"},{local:"share-your-model",title:"Share your model"}],title:"Train with a script"};function fr(b){return er(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Jr extends tr{constructor(s){super(),lr(this,s,fr,hr,Ka,{})}}export{Jr as component};
