import{S as Sp,i as Op,s as Np,e as a,k as f,w as b,t as s,M as jp,c as l,d as r,m,a as o,x,h as i,b as _,G as t,g as p,y as z,q as P,o as A,B as k,v as Fp,L as eo}from"../chunks/vendor-hf-doc-builder.js";import{I as te}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as G}from"../chunks/CodeBlock-hf-doc-builder.js";import{F as Ip,M as to}from"../chunks/Markdown-hf-doc-builder.js";function Hp(J){let u,g,c,v,T,w,N,j,U,F,q,C,y,I,O,L,H,E,$,R;return $=new G({props:{code:`python examples/pytorch/summarization/run_summarization.py \\
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --source_prefix "summarize: " \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`,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(){u=a("p"),g=s("\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \u{1F917} "),c=a("a"),v=s("Datasets"),T=s(` \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0\uC11C \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uC804\uCC98\uB9AC\uD569\uB2C8\uB2E4.
\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC694\uC57D \uAE30\uB2A5\uC744 \uC9C0\uC6D0\uD558\uB294 \uC544\uD0A4\uD14D\uCC98\uC5D0\uC11C `),w=a("a"),N=s("Trainer"),j=s(`\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 `),U=a("a"),F=s("CNN/DailyMail"),q=s(" \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C "),C=a("a"),y=s("T5-small"),I=s(`\uC744 \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
T5 \uBAA8\uB378\uC740 \uD6C8\uB828 \uBC29\uC2DD\uC5D0 \uB530\uB77C \uCD94\uAC00 `),O=a("code"),L=s("source_prefix"),H=s(" \uC778\uC218\uAC00 \uD544\uC694\uD558\uBA70, \uC774 \uD504\uB86C\uD504\uD2B8\uB294 \uC694\uC57D \uC791\uC5C5\uC784\uC744 T5\uC5D0 \uC54C\uB824\uC90D\uB2C8\uB2E4."),E=f(),b($.$$.fragment),this.h()},l(S){u=l(S,"P",{});var D=o(u);g=i(D,"\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \u{1F917} "),c=l(D,"A",{href:!0,rel:!0});var M=o(c);v=i(M,"Datasets"),M.forEach(r),T=i(D,` \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0\uC11C \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uC804\uCC98\uB9AC\uD569\uB2C8\uB2E4.
\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC694\uC57D \uAE30\uB2A5\uC744 \uC9C0\uC6D0\uD558\uB294 \uC544\uD0A4\uD14D\uCC98\uC5D0\uC11C `),w=l(D,"A",{href:!0,rel:!0});var dt=o(w);N=i(dt,"Trainer"),dt.forEach(r),j=i(D,`\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 `),U=l(D,"A",{href:!0,rel:!0});var K=o(U);F=i(K,"CNN/DailyMail"),K.forEach(r),q=i(D," \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C "),C=l(D,"A",{href:!0,rel:!0});var vt=o(C);y=i(vt,"T5-small"),vt.forEach(r),I=i(D,`\uC744 \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
T5 \uBAA8\uB378\uC740 \uD6C8\uB828 \uBC29\uC2DD\uC5D0 \uB530\uB77C \uCD94\uAC00 `),O=l(D,"CODE",{});var $t=o(O);L=i($t,"source_prefix"),$t.forEach(r),H=i(D," \uC778\uC218\uAC00 \uD544\uC694\uD558\uBA70, \uC774 \uD504\uB86C\uD504\uD2B8\uB294 \uC694\uC57D \uC791\uC5C5\uC784\uC744 T5\uC5D0 \uC54C\uB824\uC90D\uB2C8\uB2E4."),D.forEach(r),E=m(S),x($.$$.fragment,S),this.h()},h(){_(c,"href","https://huggingface.co/docs/datasets/"),_(c,"rel","nofollow"),_(w,"href","https://huggingface.co/docs/transformers/main_classes/trainer"),_(w,"rel","nofollow"),_(U,"href","https://huggingface.co/datasets/cnn_dailymail"),_(U,"rel","nofollow"),_(C,"href","https://huggingface.co/t5-small"),_(C,"rel","nofollow")},m(S,D){p(S,u,D),t(u,g),t(u,c),t(c,v),t(u,T),t(u,w),t(w,N),t(u,j),t(u,U),t(U,F),t(u,q),t(u,C),t(C,y),t(u,I),t(u,O),t(O,L),t(u,H),p(S,E,D),z($,S,D),R=!0},p:eo,i(S){R||(P($.$$.fragment,S),R=!0)},o(S){A($.$$.fragment,S),R=!1},d(S){S&&r(u),S&&r(E),k($,S)}}}function Mp(J){let u,g;return u=new to({props:{$$slots:{default:[Hp]},$$scope:{ctx:J}}}),{c(){b(u.$$.fragment)},l(c){x(u.$$.fragment,c)},m(c,v){z(u,c,v),g=!0},p(c,v){const T={};v&2&&(T.$$scope={dirty:v,ctx:c}),u.$set(T)},i(c){g||(P(u.$$.fragment,c),g=!0)},o(c){A(u.$$.fragment,c),g=!1},d(c){k(u,c)}}}function Gp(J){let u,g,c,v,T,w,N,j,U,F,q,C,y,I,O,L,H;return L=new G({props:{code:`python examples/tensorflow/summarization/run_summarization.py  \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --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`,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(){u=a("p"),g=s("\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \u{1F917} "),c=a("a"),v=s("Datasets"),T=s(` \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0\uC11C \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uC804\uCC98\uB9AC\uD569\uB2C8\uB2E4.
\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC694\uC57D \uAE30\uB2A5\uC744 \uC9C0\uC6D0\uD558\uB294 \uC544\uD0A4\uD14D\uCC98\uC5D0\uC11C Keras\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 `),w=a("a"),N=s("CNN/DailyMail"),j=s(" \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C "),U=a("a"),F=s("T5-small"),q=s(`\uC744 \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
T5 \uBAA8\uB378\uC740 \uD6C8\uB828 \uBC29\uC2DD\uC5D0 \uB530\uB77C \uCD94\uAC00 `),C=a("code"),y=s("source_prefix"),I=s(" \uC778\uC218\uAC00 \uD544\uC694\uD558\uBA70, \uC774 \uD504\uB86C\uD504\uD2B8\uB294 \uC694\uC57D \uC791\uC5C5\uC784\uC744 T5\uC5D0 \uC54C\uB824\uC90D\uB2C8\uB2E4."),O=f(),b(L.$$.fragment),this.h()},l(E){u=l(E,"P",{});var $=o(u);g=i($,"\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \u{1F917} "),c=l($,"A",{href:!0,rel:!0});var R=o(c);v=i(R,"Datasets"),R.forEach(r),T=i($,` \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0\uC11C \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uC804\uCC98\uB9AC\uD569\uB2C8\uB2E4.
\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC694\uC57D \uAE30\uB2A5\uC744 \uC9C0\uC6D0\uD558\uB294 \uC544\uD0A4\uD14D\uCC98\uC5D0\uC11C Keras\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 `),w=l($,"A",{href:!0,rel:!0});var S=o(w);N=i(S,"CNN/DailyMail"),S.forEach(r),j=i($," \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C "),U=l($,"A",{href:!0,rel:!0});var D=o(U);F=i(D,"T5-small"),D.forEach(r),q=i($,`\uC744 \uBBF8\uC138 \uC870\uC815\uD569\uB2C8\uB2E4.
T5 \uBAA8\uB378\uC740 \uD6C8\uB828 \uBC29\uC2DD\uC5D0 \uB530\uB77C \uCD94\uAC00 `),C=l($,"CODE",{});var M=o(C);y=i(M,"source_prefix"),M.forEach(r),I=i($," \uC778\uC218\uAC00 \uD544\uC694\uD558\uBA70, \uC774 \uD504\uB86C\uD504\uD2B8\uB294 \uC694\uC57D \uC791\uC5C5\uC784\uC744 T5\uC5D0 \uC54C\uB824\uC90D\uB2C8\uB2E4."),$.forEach(r),O=m(E),x(L.$$.fragment,E),this.h()},h(){_(c,"href","https://huggingface.co/docs/datasets/"),_(c,"rel","nofollow"),_(w,"href","https://huggingface.co/datasets/cnn_dailymail"),_(w,"rel","nofollow"),_(U,"href","https://huggingface.co/t5-small"),_(U,"rel","nofollow")},m(E,$){p(E,u,$),t(u,g),t(u,c),t(c,v),t(u,T),t(u,w),t(w,N),t(u,j),t(u,U),t(U,F),t(u,q),t(u,C),t(C,y),t(u,I),p(E,O,$),z(L,E,$),H=!0},p:eo,i(E){H||(P(L.$$.fragment,E),H=!0)},o(E){A(L.$$.fragment,E),H=!1},d(E){E&&r(u),E&&r(O),k(L,E)}}}function Jp(J){let u,g;return u=new to({props:{$$slots:{default:[Gp]},$$scope:{ctx:J}}}),{c(){b(u.$$.fragment)},l(c){x(u.$$.fragment,c)},m(c,v){z(u,c,v),g=!0},p(c,v){const T={};v&2&&(T.$$scope={dirty:v,ctx:c}),u.$set(T)},i(c){g||(P(u.$$.fragment,c),g=!0)},o(c){A(u.$$.fragment,c),g=!1},d(c){k(u,c)}}}function Rp(J){let u,g,c,v,T,w,N,j,U,F,q,C,y,I,O,L,H;return L=new G({props:{code:`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 "3.0.0" \\
    --source_prefix "summarize: " \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`,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(){u=a("p"),g=s(`Tensor Processing Units (TPUs)\uB294 \uC131\uB2A5\uC744 \uAC00\uC18D\uD654\uD558\uAE30 \uC704\uD574 \uD2B9\uBCC4\uD788 \uC124\uACC4\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
PyTorch\uB294 `),c=a("a"),v=s("XLA"),T=s(" \uB525\uB7EC\uB2DD \uCEF4\uD30C\uC77C\uB7EC\uC640 \uD568\uAED8 TPU\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4(\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),w=a("a"),N=s("\uC5EC\uAE30"),j=s(` \uCC38\uC870).
TPU\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 `),U=a("code"),F=s("xla_spawn.py"),q=s(" \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uACE0 "),C=a("code"),y=s("num_cores"),I=s(" \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC0AC\uC6A9\uD558\uB824\uB294 TPU \uCF54\uC5B4 \uC218\uB97C \uC124\uC815\uD569\uB2C8\uB2E4."),O=f(),b(L.$$.fragment),this.h()},l(E){u=l(E,"P",{});var $=o(u);g=i($,`Tensor Processing Units (TPUs)\uB294 \uC131\uB2A5\uC744 \uAC00\uC18D\uD654\uD558\uAE30 \uC704\uD574 \uD2B9\uBCC4\uD788 \uC124\uACC4\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
PyTorch\uB294 `),c=l($,"A",{href:!0,rel:!0});var R=o(c);v=i(R,"XLA"),R.forEach(r),T=i($," \uB525\uB7EC\uB2DD \uCEF4\uD30C\uC77C\uB7EC\uC640 \uD568\uAED8 TPU\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4(\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),w=l($,"A",{href:!0,rel:!0});var S=o(w);N=i(S,"\uC5EC\uAE30"),S.forEach(r),j=i($,` \uCC38\uC870).
TPU\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 `),U=l($,"CODE",{});var D=o(U);F=i(D,"xla_spawn.py"),D.forEach(r),q=i($," \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uACE0 "),C=l($,"CODE",{});var M=o(C);y=i(M,"num_cores"),M.forEach(r),I=i($," \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC0AC\uC6A9\uD558\uB824\uB294 TPU \uCF54\uC5B4 \uC218\uB97C \uC124\uC815\uD569\uB2C8\uB2E4."),$.forEach(r),O=m(E),x(L.$$.fragment,E),this.h()},h(){_(c,"href","https://www.tensorflow.org/xla"),_(c,"rel","nofollow"),_(w,"href","https://github.com/pytorch/xla/blob/master/README.md"),_(w,"rel","nofollow")},m(E,$){p(E,u,$),t(u,g),t(u,c),t(c,v),t(u,T),t(u,w),t(w,N),t(u,j),t(u,U),t(U,F),t(u,q),t(u,C),t(C,y),t(u,I),p(E,O,$),z(L,E,$),H=!0},p:eo,i(E){H||(P(L.$$.fragment,E),H=!0)},o(E){A(L.$$.fragment,E),H=!1},d(E){E&&r(u),E&&r(O),k(L,E)}}}function Xp(J){let u,g;return u=new to({props:{$$slots:{default:[Rp]},$$scope:{ctx:J}}}),{c(){b(u.$$.fragment)},l(c){x(u.$$.fragment,c)},m(c,v){z(u,c,v),g=!0},p(c,v){const T={};v&2&&(T.$$scope={dirty:v,ctx:c}),u.$set(T)},i(c){g||(P(u.$$.fragment,c),g=!0)},o(c){A(u.$$.fragment,c),g=!1},d(c){k(u,c)}}}function Bp(J){let u,g,c,v,T,w,N,j,U,F,q,C;return q=new G({props:{code:`python run_summarization.py  \\
    --tpu name_of_tpu_resource \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --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`,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(){u=a("p"),g=s(`Tensor Processing Units (TPUs)\uB294 \uC131\uB2A5\uC744 \uAC00\uC18D\uD654\uD558\uAE30 \uC704\uD574 \uD2B9\uBCC4\uD788 \uC124\uACC4\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 TPU\uB97C \uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574 `),c=a("a"),v=a("code"),T=s("TPUStrategy"),w=s(`\uB97C \uD65C\uC6A9\uD569\uB2C8\uB2E4.
TPU\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 TPU \uB9AC\uC18C\uC2A4\uC758 \uC774\uB984\uC744 `),N=a("code"),j=s("tpu"),U=s(" \uC778\uC218\uC5D0 \uC804\uB2EC\uD569\uB2C8\uB2E4."),F=f(),b(q.$$.fragment),this.h()},l(y){u=l(y,"P",{});var I=o(u);g=i(I,`Tensor Processing Units (TPUs)\uB294 \uC131\uB2A5\uC744 \uAC00\uC18D\uD654\uD558\uAE30 \uC704\uD574 \uD2B9\uBCC4\uD788 \uC124\uACC4\uB418\uC5C8\uC2B5\uB2C8\uB2E4.
TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 TPU\uB97C \uD6C8\uB828\uC5D0 \uC0AC\uC6A9\uD558\uAE30 \uC704\uD574 `),c=l(I,"A",{href:!0,rel:!0});var O=o(c);v=l(O,"CODE",{});var L=o(v);T=i(L,"TPUStrategy"),L.forEach(r),O.forEach(r),w=i(I,`\uB97C \uD65C\uC6A9\uD569\uB2C8\uB2E4.
TPU\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 TPU \uB9AC\uC18C\uC2A4\uC758 \uC774\uB984\uC744 `),N=l(I,"CODE",{});var H=o(N);j=i(H,"tpu"),H.forEach(r),U=i(I," \uC778\uC218\uC5D0 \uC804\uB2EC\uD569\uB2C8\uB2E4."),I.forEach(r),F=m(y),x(q.$$.fragment,y),this.h()},h(){_(c,"href","https://www.tensorflow.org/guide/distributed_training#tpustrategy"),_(c,"rel","nofollow")},m(y,I){p(y,u,I),t(u,g),t(u,c),t(c,v),t(v,T),t(u,w),t(u,N),t(N,j),t(u,U),p(y,F,I),z(q,y,I),C=!0},p:eo,i(y){C||(P(q.$$.fragment,y),C=!0)},o(y){A(q.$$.fragment,y),C=!1},d(y){y&&r(u),y&&r(F),k(q,y)}}}function Kp(J){let u,g;return u=new to({props:{$$slots:{default:[Bp]},$$scope:{ctx:J}}}),{c(){b(u.$$.fragment)},l(c){x(u.$$.fragment,c)},m(c,v){z(u,c,v),g=!0},p(c,v){const T={};v&2&&(T.$$scope={dirty:v,ctx:c}),u.$set(T)},i(c){g||(P(u.$$.fragment,c),g=!0)},o(c){A(u.$$.fragment,c),g=!1},d(c){k(u,c)}}}function Vp(J){let u,g,c,v,T,w,N,j,U,F,q,C,y,I,O,L,H,E,$,R,S,D,M,dt,K,vt,$t,De,ro,ao,Ia,gt,lo,Sa,V,oo,Ie,so,io,Se,no,_o,Oa,Q,po,Oe,fo,mo,Ne,uo,co,Na,re,fe,cr,je,ho,hr,vo,ja,me,$o,dr,go,Eo,Fa,Fe,Ha,Et,wo,Ma,ue,vr,yo,bo,h,$r,wt,xo,zo,gr,yt,Po,Ao,Er,bt,ko,To,wr,xt,qo,Lo,yr,zt,Uo,Co,br,Pt,Do,Io,xr,At,So,Oo,zr,kt,No,jo,Pr,Tt,Fo,Ho,Ar,qt,Mo,Go,kr,Lt,Jo,Ro,Tr,Ut,Xo,Bo,qr,Ct,Ko,Vo,Lr,Dt,Qo,Yo,Ur,It,Wo,Zo,Cr,St,es,ts,Dr,Ot,rs,as,Ir,Nt,ls,os,Sr,jt,ss,is,Or,Ft,ns,_s,Nr,Ht,ps,fs,jr,Mt,ms,us,Fr,Gt,cs,hs,Hr,Jt,ds,vs,Mr,Rt,$s,gs,Gr,Xt,Es,ws,Jr,Bt,ys,Ga,Kt,bs,Ja,He,Ra,Vt,xs,Xa,Me,Ba,ae,ce,Rr,Ge,zs,Xr,Ps,Ka,he,Va,le,de,Br,Je,As,Kr,ks,Qa,Re,Xe,Ts,qs,Ya,ve,Qt,Vr,Ls,Us,Cs,Yt,Qr,Ds,Is,Wa,Be,Za,$e,Ss,Ke,Yr,Os,Ns,el,oe,ge,Wr,Ve,js,Zr,Fs,tl,Ee,rl,se,we,ea,Qe,Hs,ta,Ms,al,ye,Gs,Ye,Js,Rs,ll,be,ra,Xs,Bs,We,ol,B,aa,Ks,Vs,la,Qs,Ys,oa,Ws,Zs,sl,Ze,il,Wt,ei,nl,et,_l,Zt,ti,pl,tt,fl,ie,xe,sa,rt,ri,ia,ai,ml,er,li,ul,Y,ze,na,oi,si,_a,ii,ni,_i,tr,pa,pi,fi,mi,rr,fa,ui,ci,cl,ar,hi,hl,at,dl,ne,Pe,ma,lt,di,ua,vi,vl,lr,$i,$l,or,gi,gl,W,ca,ha,Ei,wi,da,va,yi,bi,$a,ga,xi,El,ot,wl,Z,zi,Ea,Pi,Ai,wa,ki,Ti,yl,st,bl,_e,Ae,ya,it,qi,ba,Li,xl,sr,Ui,zl,X,Ci,xa,Di,Ii,za,Si,Oi,Pa,Ni,ji,Pl,nt,Al,ke,Fi,Aa,Hi,Mi,kl,_t,Tl,pe,Te,ka,pt,Gi,Ta,Ji,ql,qe,Ri,ft,Xi,Bi,Ll,mt,Ul,ee,Ki,qa,Vi,Qi,La,Yi,Wi,Cl,Le,Zi,Ua,en,tn,Dl,ut,Il;return w=new te({}),je=new te({}),Fe=new G({props:{code:`git clone https://github.com/huggingface/transformers
cd transformers
pip install .`,highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/transformers
<span class="hljs-built_in">cd</span> transformers
pip install .`}}),He=new G({props:{code:"git checkout tags/v3.5.1",highlighted:"git checkout tags/v3.5.1"}}),Me=new G({props:{code:"pip install -r requirements.txt",highlighted:"pip install -r requirements.txt"}}),Ge=new te({}),he=new Ip({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[Jp],pytorch:[Mp]},$$scope:{ctx:J}}}),Je=new te({}),Be=new G({props:{code:`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 "3.0.0" \\
    --source_prefix "summarize: " \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`,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`}}),Ve=new te({}),Ee=new Ip({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[Kp],pytorch:[Xp]},$$scope:{ctx:J}}}),Qe=new te({}),We=new G({props:{code:"pip install git+https://github.com/huggingface/accelerate",highlighted:"pip install git+https://github.com/huggingface/accelerate"}}),Ze=new G({props:{code:"accelerate config",highlighted:"accelerate config"}}),et=new G({props:{code:"accelerate test",highlighted:'accelerate <span class="hljs-built_in">test</span>'}}),tt=new G({props:{code:`accelerate launch run_summarization_no_trainer.py \\
    --model_name_or_path t5-small \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --source_prefix "summarize: " \\
    --output_dir ~/tmp/tst-summarization`,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`}}),rt=new te({}),at=new G({props:{code:`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 "summarize: " \\
    --output_dir /tmp/tst-summarization \\
    --overwrite_output_dir \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --predict_with_generate`,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`}}),lt=new te({}),ot=new G({props:{code:`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 "3.0.0" \\
    --source_prefix "summarize: " \\
    --output_dir /tmp/tst-summarization \\
    --per_device_train_batch_size=4 \\
    --per_device_eval_batch_size=4 \\
    --overwrite_output_dir \\
    --predict_with_generate`,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`}}),st=new G({props:{code:"examples/pytorch/summarization/run_summarization.py -h",highlighted:"examples/pytorch/summarization/run_summarization.py -h"}}),it=new te({}),nt=new G({props:{code:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --source_prefix "summarize: " \\
    --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`,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`}}),_t=new G({props:{code:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --source_prefix "summarize: " \\
    --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`,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`}}),pt=new te({}),mt=new G({props:{code:"huggingface-cli login",highlighted:"huggingface-cli login"}}),ut=new G({props:{code:`python examples/pytorch/summarization/run_summarization.py
    --model_name_or_path t5-small \\
    --do_train \\
    --do_eval \\
    --dataset_name cnn_dailymail \\
    --dataset_config "3.0.0" \\
    --source_prefix "summarize: " \\
    --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`,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(){u=a("meta"),g=f(),c=a("h1"),v=a("a"),T=a("span"),b(w.$$.fragment),N=f(),j=a("span"),U=s("\uC2A4\uD06C\uB9BD\uD2B8\uB85C \uC2E4\uD589\uD558\uAE30"),F=f(),q=a("p"),C=s("\u{1F917} Transformers \uB178\uD2B8\uBD81\uACFC \uD568\uAED8 "),y=a("a"),I=s("PyTorch"),O=s(", "),L=a("a"),H=s("TensorFlow"),E=s(", \uB610\uB294 "),$=a("a"),R=s("JAX/Flax"),S=s("\uB97C \uC0AC\uC6A9\uD574 \uD2B9\uC815 \uD0DC\uC2A4\uD06C\uC5D0 \uB300\uD55C \uBAA8\uB378\uC744 \uD6C8\uB828\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC8FC\uB294 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),D=f(),M=a("p"),dt=s("\uB610\uD55C "),K=a("a"),vt=s("\uC5F0\uAD6C \uD504\uB85C\uC81D\uD2B8"),$t=s(" \uBC0F "),De=a("a"),ro=s("\uB808\uAC70\uC2DC \uC608\uC81C"),ao=s(`\uC5D0\uC11C \uB300\uBD80\uBD84 \uCEE4\uBBA4\uB2C8\uD2F0\uC5D0\uC11C \uC81C\uACF5\uD55C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uCC3E\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC774\uB7EC\uD55C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC801\uADF9\uC801\uC73C\uB85C \uC720\uC9C0 \uAD00\uB9AC\uB418\uC9C0 \uC54A\uC73C\uBA70 \uCD5C\uC2E0 \uBC84\uC804\uC758 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC640 \uD638\uD658\uB418\uC9C0 \uC54A\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC740 \uD2B9\uC815 \uBC84\uC804\uC758 \u{1F917} Transformers\uB97C \uD544\uC694\uB85C \uD569\uB2C8\uB2E4.`),Ia=f(),gt=a("p"),lo=s(`\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uBAA8\uB4E0 \uBB38\uC81C\uC5D0\uC11C \uBC14\uB85C \uC791\uB3D9\uD558\uB294 \uAC83\uC740 \uC544\uB2C8\uBA70, \uD574\uACB0\uD558\uB824\uB294 \uBB38\uC81C\uC5D0 \uB9DE\uAC8C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uBCC0\uACBD\uD574\uC57C \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.
\uC774\uB97C \uC704\uD574 \uB300\uBD80\uBD84\uC758 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uB294 \uB370\uC774\uD130 \uC804\uCC98\uB9AC \uBC29\uBC95\uC774 \uB098\uC640\uC788\uC5B4 \uD544\uC694\uC5D0 \uB530\uB77C \uC218\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`),Sa=f(),V=a("p"),oo=s("\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uAD6C\uD604\uD558\uACE0 \uC2F6\uC740 \uAE30\uB2A5\uC774 \uC788\uC73C\uBA74 pull request\uB97C \uC81C\uCD9C\uD558\uAE30 \uC804\uC5D0 "),Ie=a("a"),so=s("\uD3EC\uB7FC"),io=s(" \uB610\uB294 "),Se=a("a"),no=s("\uC774\uC288"),_o=s(`\uC5D0\uC11C \uB17C\uC758\uD574 \uC8FC\uC138\uC694.
\uBC84\uADF8 \uC218\uC815\uC740 \uD658\uC601\uD558\uC9C0\uB9CC \uAC00\uB3C5\uC131\uC744 \uD76C\uC0DD\uD558\uBA74\uC11C\uAE4C\uC9C0 \uB354 \uB9CE\uC740 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD558\uB294 pull request\uB294 \uBCD1\uD569(merge)\uD558\uC9C0 \uC54A\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC2B5\uB2C8\uB2E4.`),Oa=f(),Q=a("p"),po=s("\uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 "),Oe=a("a"),fo=s("PyTorch"),mo=s(" \uBC0F "),Ne=a("a"),uo=s("TensorFlow"),co=s(`\uC5D0\uC11C \uC694\uC57D \uD6C8\uB828\uD558\uB294
\uC2A4\uD06C\uB9BD\uD2B8 \uC608\uC81C\uB97C \uC2E4\uD589\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4.
\uD2B9\uBCC4\uD55C \uC124\uBA85\uC774 \uC5C6\uB294 \uD55C \uBAA8\uB4E0 \uC608\uC81C\uB294 \uB450 \uD504\uB808\uC784\uC6CC\uD06C \uBAA8\uB450\uC5D0\uC11C \uC791\uB3D9\uD560 \uAC83\uC73C\uB85C \uC608\uC0C1\uB429\uB2C8\uB2E4.`),Na=f(),re=a("h2"),fe=a("a"),cr=a("span"),b(je.$$.fragment),ho=f(),hr=a("span"),vo=s("\uC124\uC815\uD558\uAE30"),ja=f(),me=a("p"),$o=s("\uCD5C\uC2E0 \uBC84\uC804\uC758 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC2E4\uD589\uD558\uB824\uBA74 \uC0C8 \uAC00\uC0C1 \uD658\uACBD\uC5D0\uC11C "),dr=a("strong"),go=s("\uC18C\uC2A4\uB85C\uBD80\uD130 \u{1F917} Transformers\uB97C \uC124\uCE58"),Eo=s("\uD574\uC57C \uD569\uB2C8\uB2E4:"),Fa=f(),b(Fe.$$.fragment),Ha=f(),Et=a("p"),wo=s("\uC774\uC804 \uBC84\uC804\uC758 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uBCF4\uB824\uBA74 \uC544\uB798 \uD1A0\uAE00\uC744 \uD074\uB9AD\uD558\uC138\uC694:"),Ma=f(),ue=a("details"),vr=a("summary"),yo=s("\uC774\uC804 \uBC84\uC804\uC758 \u{1F917} Transformers \uC608\uC81C"),bo=f(),h=a("ul"),$r=a("li"),wt=a("a"),xo=s("v4.5.1"),zo=f(),gr=a("li"),yt=a("a"),Po=s("v4.4.2"),Ao=f(),Er=a("li"),bt=a("a"),ko=s("v4.3.3"),To=f(),wr=a("li"),xt=a("a"),qo=s("v4.2.2"),Lo=f(),yr=a("li"),zt=a("a"),Uo=s("v4.1.1"),Co=f(),br=a("li"),Pt=a("a"),Do=s("v4.0.1"),Io=f(),xr=a("li"),At=a("a"),So=s("v3.5.1"),Oo=f(),zr=a("li"),kt=a("a"),No=s("v3.4.0"),jo=f(),Pr=a("li"),Tt=a("a"),Fo=s("v3.3.1"),Ho=f(),Ar=a("li"),qt=a("a"),Mo=s("v3.2.0"),Go=f(),kr=a("li"),Lt=a("a"),Jo=s("v3.1.0"),Ro=f(),Tr=a("li"),Ut=a("a"),Xo=s("v3.0.2"),Bo=f(),qr=a("li"),Ct=a("a"),Ko=s("v2.11.0"),Vo=f(),Lr=a("li"),Dt=a("a"),Qo=s("v2.10.0"),Yo=f(),Ur=a("li"),It=a("a"),Wo=s("v2.9.1"),Zo=f(),Cr=a("li"),St=a("a"),es=s("v2.8.0"),ts=f(),Dr=a("li"),Ot=a("a"),rs=s("v2.7.0"),as=f(),Ir=a("li"),Nt=a("a"),ls=s("v2.6.0"),os=f(),Sr=a("li"),jt=a("a"),ss=s("v2.5.1"),is=f(),Or=a("li"),Ft=a("a"),ns=s("v2.4.0"),_s=f(),Nr=a("li"),Ht=a("a"),ps=s("v2.3.0"),fs=f(),jr=a("li"),Mt=a("a"),ms=s("v2.2.0"),us=f(),Fr=a("li"),Gt=a("a"),cs=s("v2.1.1"),hs=f(),Hr=a("li"),Jt=a("a"),ds=s("v2.0.0"),vs=f(),Mr=a("li"),Rt=a("a"),$s=s("v1.2.0"),gs=f(),Gr=a("li"),Xt=a("a"),Es=s("v1.1.0"),ws=f(),Jr=a("li"),Bt=a("a"),ys=s("v1.0.0"),Ga=f(),Kt=a("p"),bs=s("\uADF8\uB9AC\uACE0 \uB2E4\uC74C\uACFC \uAC19\uC774 \uBCF5\uC81C(clone)\uD574\uC628 \u{1F917} Transformers \uBC84\uC804\uC744 \uD2B9\uC815 \uBC84\uC804(\uC608: v3.5.1)\uC73C\uB85C \uC804\uD658\uD558\uC138\uC694:"),Ja=f(),b(He.$$.fragment),Ra=f(),Vt=a("p"),xs=s("\uC62C\uBC14\uB978 \uB77C\uC774\uBE0C\uB7EC\uB9AC \uBC84\uC804\uC744 \uC124\uC815\uD55C \uD6C4 \uC6D0\uD558\uB294 \uC608\uC81C \uD3F4\uB354\uB85C \uC774\uB3D9\uD558\uC5EC \uC608\uC81C\uBCC4\uB85C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0 \uB300\uD55C \uC694\uAD6C \uC0AC\uD56D(requirements)\uC744 \uC124\uCE58\uD569\uB2C8\uB2E4:"),Xa=f(),b(Me.$$.fragment),Ba=f(),ae=a("h2"),ce=a("a"),Rr=a("span"),b(Ge.$$.fragment),zs=f(),Xr=a("span"),Ps=s("\uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),Ka=f(),b(he.$$.fragment),Va=f(),le=a("h2"),de=a("a"),Br=a("span"),b(Je.$$.fragment),As=f(),Kr=a("span"),ks=s("\uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB85C \uBD84\uC0B0 \uD6C8\uB828\uD558\uAE30"),Qa=f(),Re=a("p"),Xe=a("a"),Ts=s("Trainer"),qs=s(` \uD074\uB798\uC2A4\uB294 \uBD84\uC0B0 \uD6C8\uB828\uACFC \uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB97C \uC9C0\uC6D0\uD558\uBBC0\uB85C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uC11C\uB3C4 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC774 \uB450 \uAC00\uC9C0 \uAE30\uB2A5\uC744 \uBAA8\uB450 \uD65C\uC131\uD654\uD558\uB824\uBA74 \uB2E4\uC74C \uB450 \uAC00\uC9C0\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4:`),Ya=f(),ve=a("ul"),Qt=a("li"),Vr=a("code"),Ls=s("fp16"),Us=s(" \uC778\uC218\uB97C \uCD94\uAC00\uD574 \uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB97C \uD65C\uC131\uD654\uD569\uB2C8\uB2E4."),Cs=f(),Yt=a("li"),Qr=a("code"),Ds=s("nproc_per_node"),Is=s(" \uC778\uC218\uB97C \uCD94\uAC00\uD574 \uC0AC\uC6A9\uD560 GPU \uAC1C\uC218\uB97C \uC124\uC815\uD569\uB2C8\uB2E4."),Wa=f(),b(Be.$$.fragment),Za=f(),$e=a("p"),Ss=s("TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uBD84\uC0B0 \uD6C8\uB828\uC744 \uC704\uD574 "),Ke=a("a"),Yr=a("code"),Os=s("MirroredStrategy"),Ns=s(`\uB97C \uD65C\uC6A9\uD558\uBA70, \uD6C8\uB828 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uC778\uC218\uB97C \uCD94\uAC00\uD560 \uD544\uC694\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.
\uB2E4\uC911 GPU \uD658\uACBD\uC774\uB77C\uBA74, TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uAE30\uBCF8\uC801\uC73C\uB85C \uC5EC\uB7EC \uAC1C\uC758 GPU\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.`),el=f(),oe=a("h2"),ge=a("a"),Wr=a("span"),b(Ve.$$.fragment),js=f(),Zr=a("span"),Fs=s("TPU \uC704\uC5D0\uC11C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),tl=f(),b(Ee.$$.fragment),rl=f(),se=a("h2"),we=a("a"),ea=a("span"),b(Qe.$$.fragment),Hs=f(),ta=a("span"),Ms=s("\u{1F917} Accelerate\uB85C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),al=f(),ye=a("p"),Gs=s("\u{1F917} "),Ye=a("a"),Js=s("Accelerate"),Rs=s(`\uB294 PyTorch \uD6C8\uB828 \uACFC\uC815\uC5D0 \uB300\uD55C \uC644\uC804\uD55C \uAC00\uC2DC\uC131\uC744 \uC720\uC9C0\uD558\uBA74\uC11C \uC5EC\uB7EC \uC720\uD615\uC758 \uC124\uC815(CPU \uC804\uC6A9, \uB2E4\uC911 GPU, TPU)\uC5D0\uC11C \uBAA8\uB378\uC744 \uD6C8\uB828\uD560 \uC218 \uC788\uB294 \uD1B5\uD569 \uBC29\uBC95\uC744 \uC81C\uACF5\uD558\uB294 PyTorch \uC804\uC6A9 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC785\uB2C8\uB2E4.
\u{1F917} Accelerate\uAC00 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:`),ll=f(),be=a("blockquote"),ra=a("p"),Xs=s("\uCC38\uACE0: Accelerate\uB294 \uBE60\uB974\uAC8C \uAC1C\uBC1C \uC911\uC774\uBBC0\uB85C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uB824\uBA74 accelerate\uB97C \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),Bs=f(),b(We.$$.fragment),ol=f(),B=a("p"),aa=a("code"),Ks=s("run_summarization.py"),Vs=s(" \uC2A4\uD06C\uB9BD\uD2B8 \uB300\uC2E0 "),la=a("code"),Qs=s("run_summarization_no_trainer.py"),Ys=s(` \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4.
\u{1F917} Accelerate \uD074\uB798\uC2A4\uAC00 \uC9C0\uC6D0\uB418\uB294 \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uD3F4\uB354\uC5D0 `),oa=a("code"),Ws=s("task_no_trainer.py"),Zs=s(` \uD30C\uC77C\uC774 \uC788\uC2B5\uB2C8\uB2E4.
\uB2E4\uC74C \uBA85\uB839\uC744 \uC2E4\uD589\uD558\uC5EC \uAD6C\uC131 \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uACE0 \uC800\uC7A5\uD569\uB2C8\uB2E4:`),sl=f(),b(Ze.$$.fragment),il=f(),Wt=a("p"),ei=s("\uC124\uC815\uC744 \uD14C\uC2A4\uD2B8\uD558\uC5EC \uC62C\uBC14\uB974\uAC8C \uAD6C\uC131\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD569\uB2C8\uB2E4:"),nl=f(),b(et.$$.fragment),_l=f(),Zt=a("p"),ti=s("\uC774\uC81C \uD6C8\uB828\uC744 \uC2DC\uC791\uD560 \uC900\uBE44\uAC00 \uB418\uC5C8\uC2B5\uB2C8\uB2E4:"),pl=f(),b(tt.$$.fragment),fl=f(),ie=a("h2"),xe=a("a"),sa=a("span"),b(rt.$$.fragment),ri=f(),ia=a("span"),ai=s("\uC0AC\uC6A9\uC790 \uC815\uC758 \uB370\uC774\uD130 \uC138\uD2B8 \uC0AC\uC6A9\uD558\uAE30"),ml=f(),er=a("p"),li=s(`\uC694\uC57D \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uAC00 CSV \uB610\uB294 JSON \uD30C\uC77C\uC778 \uACBD\uC6B0 \uC9C0\uC6D0\uD569\uB2C8\uB2E4.
\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0\uC5D0\uB294 \uBA87 \uAC00\uC9C0 \uCD94\uAC00 \uC778\uC218\uB97C \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4:`),ul=f(),Y=a("ul"),ze=a("li"),na=a("code"),oi=s("train_file"),si=s("\uACFC "),_a=a("code"),ii=s("validation_file"),ni=s("\uC740 \uD6C8\uB828 \uBC0F \uAC80\uC99D \uD30C\uC77C\uC758 \uACBD\uB85C\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4."),_i=f(),tr=a("li"),pa=a("code"),pi=s("text_column"),fi=s("\uC740 \uC694\uC57D\uD560 \uC785\uB825 \uD14D\uC2A4\uD2B8\uC785\uB2C8\uB2E4."),mi=f(),rr=a("li"),fa=a("code"),ui=s("summary_column"),ci=s("\uC740 \uCD9C\uB825\uD560 \uB300\uC0C1 \uD14D\uC2A4\uD2B8\uC785\uB2C8\uB2E4."),cl=f(),ar=a("p"),hi=s("\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB294 \uC694\uC57D \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4:"),hl=f(),b(at.$$.fragment),dl=f(),ne=a("h2"),Pe=a("a"),ma=a("span"),b(lt.$$.fragment),di=f(),ua=a("span"),vi=s("\uC2A4\uD06C\uB9BD\uD2B8 \uD14C\uC2A4\uD2B8\uD558\uAE30"),vl=f(),lr=a("p"),$i=s("\uC804\uCCB4 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB300\uC0C1\uC73C\uB85C \uD6C8\uB828\uC744 \uC644\uB8CC\uD558\uB294\uB370 \uAF64 \uC624\uB79C \uC2DC\uAC04\uC774 \uAC78\uB9AC\uAE30 \uB54C\uBB38\uC5D0, \uC791\uC740 \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C \uBAA8\uB4E0 \uAC83\uC774 \uC608\uC0C1\uB300\uB85C \uC2E4\uD589\uB418\uB294\uC9C0 \uD655\uC778\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),$l=f(),or=a("p"),gi=s("\uB2E4\uC74C \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uCD5C\uB300 \uC0D8\uD50C \uC218\uB85C \uC798\uB77C\uB0C5\uB2C8\uB2E4:"),gl=f(),W=a("ul"),ca=a("li"),ha=a("code"),Ei=s("max_train_samples"),wi=f(),da=a("li"),va=a("code"),yi=s("max_eval_samples"),bi=f(),$a=a("li"),ga=a("code"),xi=s("max_predict_samples"),El=f(),b(ot.$$.fragment),wl=f(),Z=a("p"),zi=s("\uBAA8\uB4E0 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uAC00 "),Ea=a("code"),Pi=s("max_predict_samples"),Ai=s(` \uC778\uC218\uB97C \uC9C0\uC6D0\uD558\uC9C0\uB294 \uC54A\uC2B5\uB2C8\uB2E4.
\uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC774 \uC778\uC218\uB97C \uC9C0\uC6D0\uD558\uB294\uC9C0 \uD655\uC2E4\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0 `),wa=a("code"),ki=s("-h"),Ti=s(" \uC778\uC218\uB97C \uCD94\uAC00\uD558\uC5EC \uD655\uC778\uD558\uC138\uC694:"),yl=f(),b(st.$$.fragment),bl=f(),_e=a("h2"),Ae=a("a"),ya=a("span"),b(it.$$.fragment),qi=f(),ba=a("span"),Li=s("\uCCB4\uD06C\uD3EC\uC778\uD2B8(checkpoint)\uC5D0\uC11C \uD6C8\uB828 \uC774\uC5B4\uC11C \uD558\uAE30"),xl=f(),sr=a("p"),Ui=s(`\uB610 \uB2E4\uB978 \uC720\uC6A9\uD55C \uC635\uC158\uC740 \uC774\uC804 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4.
\uC774\uB807\uAC8C \uD558\uBA74 \uD6C8\uB828\uC774 \uC911\uB2E8\uB418\uB354\uB77C\uB3C4 \uCC98\uC74C\uBD80\uD130 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC9C0 \uC54A\uACE0 \uC911\uB2E8\uD55C \uBD80\uBD84\uBD80\uD130 \uB2E4\uC2DC \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uCCB4\uD06C\uD3EC\uC778\uD2B8\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC5D0\uB294 \uB450 \uAC00\uC9C0\uAC00 \uC788\uC2B5\uB2C8\uB2E4.`),zl=f(),X=a("p"),Ci=s("\uCCAB \uBC88\uC9F8\uB294 "),xa=a("code"),Di=s("output_dir previous_output_dir"),Ii=s(" \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC "),za=a("code"),Si=s("output_dir"),Oi=s(`\uC5D0 \uC800\uC7A5\uB41C \uCD5C\uC2E0 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uBD80\uD130 \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4.
\uC774 \uACBD\uC6B0 `),Pa=a("code"),Ni=s("overwrite_output_dir"),ji=s("\uC744 \uC81C\uAC70\uD574\uC57C \uD569\uB2C8\uB2E4:"),Pl=f(),b(nt.$$.fragment),Al=f(),ke=a("p"),Fi=s("\uB450 \uBC88\uC9F8\uB294 "),Aa=a("code"),Hi=s("resume_from_checkpoint path_to_specific_checkpoint"),Mi=s(" \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD2B9\uC815 \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uD3F4\uB354\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4."),kl=f(),b(_t.$$.fragment),Tl=f(),pe=a("h2"),Te=a("a"),ka=a("span"),b(pt.$$.fragment),Gi=f(),Ta=a("span"),Ji=s("\uBAA8\uB378 \uACF5\uC720\uD558\uAE30"),ql=f(),qe=a("p"),Ri=s("\uBAA8\uB4E0 \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uCD5C\uC885 \uBAA8\uB378\uC744 "),ft=a("a"),Xi=s("Model Hub"),Bi=s(`\uC5D0 \uC5C5\uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC2DC\uC791\uD558\uAE30 \uC804\uC5D0 Hugging Face\uC5D0 \uB85C\uADF8\uC778\uD588\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:`),Ll=f(),b(mt.$$.fragment),Ul=f(),ee=a("p"),Ki=s("\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 "),qa=a("code"),Vi=s("push_to_hub"),Qi=s(` \uC778\uC218\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4.
\uC774 \uC778\uC218\uB294 Hugging Face \uC0AC\uC6A9\uC790 \uC774\uB984\uACFC `),La=a("code"),Yi=s("output_dir"),Wi=s("\uC5D0 \uC9C0\uC815\uB41C \uD3F4\uB354 \uC774\uB984\uC73C\uB85C \uC800\uC7A5\uC18C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4."),Cl=f(),Le=a("p"),Zi=s("\uC800\uC7A5\uC18C\uC5D0 \uD2B9\uC815 \uC774\uB984\uC744 \uC9C0\uC815\uD558\uB824\uBA74 "),Ua=a("code"),en=s("push_to_hub_model_id"),tn=s(` \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCD94\uAC00\uD569\uB2C8\uB2E4.
\uC800\uC7A5\uC18C\uB294 \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC544\uB798\uC5D0 \uC790\uB3D9\uC73C\uB85C \uB098\uC5F4\uB429\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 \uD2B9\uC815 \uC800\uC7A5\uC18C \uC774\uB984\uC73C\uB85C \uBAA8\uB378\uC744 \uC5C5\uB85C\uB4DC\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4:`),Dl=f(),b(ut.$$.fragment),this.h()},l(e){const n=jp('[data-svelte="svelte-1phssyn"]',document.head);u=l(n,"META",{name:!0,content:!0}),n.forEach(r),g=m(e),c=l(e,"H1",{class:!0});var ct=o(c);v=l(ct,"A",{id:!0,class:!0,href:!0});var Ca=o(v);T=l(Ca,"SPAN",{});var nn=o(T);x(w.$$.fragment,nn),nn.forEach(r),Ca.forEach(r),N=m(ct),j=l(ct,"SPAN",{});var _n=o(j);U=i(_n,"\uC2A4\uD06C\uB9BD\uD2B8\uB85C \uC2E4\uD589\uD558\uAE30"),_n.forEach(r),ct.forEach(r),F=m(e),q=l(e,"P",{});var Ue=o(q);C=i(Ue,"\u{1F917} Transformers \uB178\uD2B8\uBD81\uACFC \uD568\uAED8 "),y=l(Ue,"A",{href:!0,rel:!0});var pn=o(y);I=i(pn,"PyTorch"),pn.forEach(r),O=i(Ue,", "),L=l(Ue,"A",{href:!0,rel:!0});var fn=o(L);H=i(fn,"TensorFlow"),fn.forEach(r),E=i(Ue,", \uB610\uB294 "),$=l(Ue,"A",{href:!0,rel:!0});var mn=o($);R=i(mn,"JAX/Flax"),mn.forEach(r),S=i(Ue,"\uB97C \uC0AC\uC6A9\uD574 \uD2B9\uC815 \uD0DC\uC2A4\uD06C\uC5D0 \uB300\uD55C \uBAA8\uB378\uC744 \uD6C8\uB828\uD558\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC8FC\uB294 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),Ue.forEach(r),D=m(e),M=l(e,"P",{});var ir=o(M);dt=i(ir,"\uB610\uD55C "),K=l(ir,"A",{href:!0,rel:!0});var un=o(K);vt=i(un,"\uC5F0\uAD6C \uD504\uB85C\uC81D\uD2B8"),un.forEach(r),$t=i(ir," \uBC0F "),De=l(ir,"A",{href:!0,rel:!0});var cn=o(De);ro=i(cn,"\uB808\uAC70\uC2DC \uC608\uC81C"),cn.forEach(r),ao=i(ir,`\uC5D0\uC11C \uB300\uBD80\uBD84 \uCEE4\uBBA4\uB2C8\uD2F0\uC5D0\uC11C \uC81C\uACF5\uD55C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uCC3E\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC774\uB7EC\uD55C \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC801\uADF9\uC801\uC73C\uB85C \uC720\uC9C0 \uAD00\uB9AC\uB418\uC9C0 \uC54A\uC73C\uBA70 \uCD5C\uC2E0 \uBC84\uC804\uC758 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC640 \uD638\uD658\uB418\uC9C0 \uC54A\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC740 \uD2B9\uC815 \uBC84\uC804\uC758 \u{1F917} Transformers\uB97C \uD544\uC694\uB85C \uD569\uB2C8\uB2E4.`),ir.forEach(r),Ia=m(e),gt=l(e,"P",{});var hn=o(gt);lo=i(hn,`\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uBAA8\uB4E0 \uBB38\uC81C\uC5D0\uC11C \uBC14\uB85C \uC791\uB3D9\uD558\uB294 \uAC83\uC740 \uC544\uB2C8\uBA70, \uD574\uACB0\uD558\uB824\uB294 \uBB38\uC81C\uC5D0 \uB9DE\uAC8C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uBCC0\uACBD\uD574\uC57C \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.
\uC774\uB97C \uC704\uD574 \uB300\uBD80\uBD84\uC758 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uB294 \uB370\uC774\uD130 \uC804\uCC98\uB9AC \uBC29\uBC95\uC774 \uB098\uC640\uC788\uC5B4 \uD544\uC694\uC5D0 \uB530\uB77C \uC218\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`),hn.forEach(r),Sa=m(e),V=l(e,"P",{});var nr=o(V);oo=i(nr,"\uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uAD6C\uD604\uD558\uACE0 \uC2F6\uC740 \uAE30\uB2A5\uC774 \uC788\uC73C\uBA74 pull request\uB97C \uC81C\uCD9C\uD558\uAE30 \uC804\uC5D0 "),Ie=l(nr,"A",{href:!0,rel:!0});var dn=o(Ie);so=i(dn,"\uD3EC\uB7FC"),dn.forEach(r),io=i(nr," \uB610\uB294 "),Se=l(nr,"A",{href:!0,rel:!0});var vn=o(Se);no=i(vn,"\uC774\uC288"),vn.forEach(r),_o=i(nr,`\uC5D0\uC11C \uB17C\uC758\uD574 \uC8FC\uC138\uC694.
\uBC84\uADF8 \uC218\uC815\uC740 \uD658\uC601\uD558\uC9C0\uB9CC \uAC00\uB3C5\uC131\uC744 \uD76C\uC0DD\uD558\uBA74\uC11C\uAE4C\uC9C0 \uB354 \uB9CE\uC740 \uAE30\uB2A5\uC744 \uCD94\uAC00\uD558\uB294 pull request\uB294 \uBCD1\uD569(merge)\uD558\uC9C0 \uC54A\uC744 \uAC00\uB2A5\uC131\uC774 \uB192\uC2B5\uB2C8\uB2E4.`),nr.forEach(r),Oa=m(e),Q=l(e,"P",{});var _r=o(Q);po=i(_r,"\uC774 \uAC00\uC774\uB4DC\uC5D0\uC11C\uB294 "),Oe=l(_r,"A",{href:!0,rel:!0});var $n=o(Oe);fo=i($n,"PyTorch"),$n.forEach(r),mo=i(_r," \uBC0F "),Ne=l(_r,"A",{href:!0,rel:!0});var gn=o(Ne);uo=i(gn,"TensorFlow"),gn.forEach(r),co=i(_r,`\uC5D0\uC11C \uC694\uC57D \uD6C8\uB828\uD558\uB294
\uC2A4\uD06C\uB9BD\uD2B8 \uC608\uC81C\uB97C \uC2E4\uD589\uD558\uB294 \uBC29\uBC95\uC744 \uC124\uBA85\uD569\uB2C8\uB2E4.
\uD2B9\uBCC4\uD55C \uC124\uBA85\uC774 \uC5C6\uB294 \uD55C \uBAA8\uB4E0 \uC608\uC81C\uB294 \uB450 \uD504\uB808\uC784\uC6CC\uD06C \uBAA8\uB450\uC5D0\uC11C \uC791\uB3D9\uD560 \uAC83\uC73C\uB85C \uC608\uC0C1\uB429\uB2C8\uB2E4.`),_r.forEach(r),Na=m(e),re=l(e,"H2",{class:!0});var Sl=o(re);fe=l(Sl,"A",{id:!0,class:!0,href:!0});var En=o(fe);cr=l(En,"SPAN",{});var wn=o(cr);x(je.$$.fragment,wn),wn.forEach(r),En.forEach(r),ho=m(Sl),hr=l(Sl,"SPAN",{});var yn=o(hr);vo=i(yn,"\uC124\uC815\uD558\uAE30"),yn.forEach(r),Sl.forEach(r),ja=m(e),me=l(e,"P",{});var Ol=o(me);$o=i(Ol,"\uCD5C\uC2E0 \uBC84\uC804\uC758 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC2E4\uD589\uD558\uB824\uBA74 \uC0C8 \uAC00\uC0C1 \uD658\uACBD\uC5D0\uC11C "),dr=l(Ol,"STRONG",{});var bn=o(dr);go=i(bn,"\uC18C\uC2A4\uB85C\uBD80\uD130 \u{1F917} Transformers\uB97C \uC124\uCE58"),bn.forEach(r),Eo=i(Ol,"\uD574\uC57C \uD569\uB2C8\uB2E4:"),Ol.forEach(r),Fa=m(e),x(Fe.$$.fragment,e),Ha=m(e),Et=l(e,"P",{});var xn=o(Et);wo=i(xn,"\uC774\uC804 \uBC84\uC804\uC758 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uBCF4\uB824\uBA74 \uC544\uB798 \uD1A0\uAE00\uC744 \uD074\uB9AD\uD558\uC138\uC694:"),xn.forEach(r),Ma=m(e),ue=l(e,"DETAILS",{});var Nl=o(ue);vr=l(Nl,"SUMMARY",{});var zn=o(vr);yo=i(zn,"\uC774\uC804 \uBC84\uC804\uC758 \u{1F917} Transformers \uC608\uC81C"),zn.forEach(r),bo=m(Nl),h=l(Nl,"UL",{});var d=o(h);$r=l(d,"LI",{});var Pn=o($r);wt=l(Pn,"A",{href:!0});var An=o(wt);xo=i(An,"v4.5.1"),An.forEach(r),Pn.forEach(r),zo=m(d),gr=l(d,"LI",{});var kn=o(gr);yt=l(kn,"A",{href:!0});var Tn=o(yt);Po=i(Tn,"v4.4.2"),Tn.forEach(r),kn.forEach(r),Ao=m(d),Er=l(d,"LI",{});var qn=o(Er);bt=l(qn,"A",{href:!0});var Ln=o(bt);ko=i(Ln,"v4.3.3"),Ln.forEach(r),qn.forEach(r),To=m(d),wr=l(d,"LI",{});var Un=o(wr);xt=l(Un,"A",{href:!0});var Cn=o(xt);qo=i(Cn,"v4.2.2"),Cn.forEach(r),Un.forEach(r),Lo=m(d),yr=l(d,"LI",{});var Dn=o(yr);zt=l(Dn,"A",{href:!0});var In=o(zt);Uo=i(In,"v4.1.1"),In.forEach(r),Dn.forEach(r),Co=m(d),br=l(d,"LI",{});var Sn=o(br);Pt=l(Sn,"A",{href:!0});var On=o(Pt);Do=i(On,"v4.0.1"),On.forEach(r),Sn.forEach(r),Io=m(d),xr=l(d,"LI",{});var Nn=o(xr);At=l(Nn,"A",{href:!0});var jn=o(At);So=i(jn,"v3.5.1"),jn.forEach(r),Nn.forEach(r),Oo=m(d),zr=l(d,"LI",{});var Fn=o(zr);kt=l(Fn,"A",{href:!0});var Hn=o(kt);No=i(Hn,"v3.4.0"),Hn.forEach(r),Fn.forEach(r),jo=m(d),Pr=l(d,"LI",{});var Mn=o(Pr);Tt=l(Mn,"A",{href:!0});var Gn=o(Tt);Fo=i(Gn,"v3.3.1"),Gn.forEach(r),Mn.forEach(r),Ho=m(d),Ar=l(d,"LI",{});var Jn=o(Ar);qt=l(Jn,"A",{href:!0});var Rn=o(qt);Mo=i(Rn,"v3.2.0"),Rn.forEach(r),Jn.forEach(r),Go=m(d),kr=l(d,"LI",{});var Xn=o(kr);Lt=l(Xn,"A",{href:!0});var Bn=o(Lt);Jo=i(Bn,"v3.1.0"),Bn.forEach(r),Xn.forEach(r),Ro=m(d),Tr=l(d,"LI",{});var Kn=o(Tr);Ut=l(Kn,"A",{href:!0});var Vn=o(Ut);Xo=i(Vn,"v3.0.2"),Vn.forEach(r),Kn.forEach(r),Bo=m(d),qr=l(d,"LI",{});var Qn=o(qr);Ct=l(Qn,"A",{href:!0});var Yn=o(Ct);Ko=i(Yn,"v2.11.0"),Yn.forEach(r),Qn.forEach(r),Vo=m(d),Lr=l(d,"LI",{});var Wn=o(Lr);Dt=l(Wn,"A",{href:!0});var Zn=o(Dt);Qo=i(Zn,"v2.10.0"),Zn.forEach(r),Wn.forEach(r),Yo=m(d),Ur=l(d,"LI",{});var e_=o(Ur);It=l(e_,"A",{href:!0});var t_=o(It);Wo=i(t_,"v2.9.1"),t_.forEach(r),e_.forEach(r),Zo=m(d),Cr=l(d,"LI",{});var r_=o(Cr);St=l(r_,"A",{href:!0});var a_=o(St);es=i(a_,"v2.8.0"),a_.forEach(r),r_.forEach(r),ts=m(d),Dr=l(d,"LI",{});var l_=o(Dr);Ot=l(l_,"A",{href:!0});var o_=o(Ot);rs=i(o_,"v2.7.0"),o_.forEach(r),l_.forEach(r),as=m(d),Ir=l(d,"LI",{});var s_=o(Ir);Nt=l(s_,"A",{href:!0});var i_=o(Nt);ls=i(i_,"v2.6.0"),i_.forEach(r),s_.forEach(r),os=m(d),Sr=l(d,"LI",{});var n_=o(Sr);jt=l(n_,"A",{href:!0});var __=o(jt);ss=i(__,"v2.5.1"),__.forEach(r),n_.forEach(r),is=m(d),Or=l(d,"LI",{});var p_=o(Or);Ft=l(p_,"A",{href:!0});var f_=o(Ft);ns=i(f_,"v2.4.0"),f_.forEach(r),p_.forEach(r),_s=m(d),Nr=l(d,"LI",{});var m_=o(Nr);Ht=l(m_,"A",{href:!0});var u_=o(Ht);ps=i(u_,"v2.3.0"),u_.forEach(r),m_.forEach(r),fs=m(d),jr=l(d,"LI",{});var c_=o(jr);Mt=l(c_,"A",{href:!0});var h_=o(Mt);ms=i(h_,"v2.2.0"),h_.forEach(r),c_.forEach(r),us=m(d),Fr=l(d,"LI",{});var d_=o(Fr);Gt=l(d_,"A",{href:!0});var v_=o(Gt);cs=i(v_,"v2.1.1"),v_.forEach(r),d_.forEach(r),hs=m(d),Hr=l(d,"LI",{});var $_=o(Hr);Jt=l($_,"A",{href:!0});var g_=o(Jt);ds=i(g_,"v2.0.0"),g_.forEach(r),$_.forEach(r),vs=m(d),Mr=l(d,"LI",{});var E_=o(Mr);Rt=l(E_,"A",{href:!0});var w_=o(Rt);$s=i(w_,"v1.2.0"),w_.forEach(r),E_.forEach(r),gs=m(d),Gr=l(d,"LI",{});var y_=o(Gr);Xt=l(y_,"A",{href:!0});var b_=o(Xt);Es=i(b_,"v1.1.0"),b_.forEach(r),y_.forEach(r),ws=m(d),Jr=l(d,"LI",{});var x_=o(Jr);Bt=l(x_,"A",{href:!0});var z_=o(Bt);ys=i(z_,"v1.0.0"),z_.forEach(r),x_.forEach(r),d.forEach(r),Nl.forEach(r),Ga=m(e),Kt=l(e,"P",{});var P_=o(Kt);bs=i(P_,"\uADF8\uB9AC\uACE0 \uB2E4\uC74C\uACFC \uAC19\uC774 \uBCF5\uC81C(clone)\uD574\uC628 \u{1F917} Transformers \uBC84\uC804\uC744 \uD2B9\uC815 \uBC84\uC804(\uC608: v3.5.1)\uC73C\uB85C \uC804\uD658\uD558\uC138\uC694:"),P_.forEach(r),Ja=m(e),x(He.$$.fragment,e),Ra=m(e),Vt=l(e,"P",{});var A_=o(Vt);xs=i(A_,"\uC62C\uBC14\uB978 \uB77C\uC774\uBE0C\uB7EC\uB9AC \uBC84\uC804\uC744 \uC124\uC815\uD55C \uD6C4 \uC6D0\uD558\uB294 \uC608\uC81C \uD3F4\uB354\uB85C \uC774\uB3D9\uD558\uC5EC \uC608\uC81C\uBCC4\uB85C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC5D0 \uB300\uD55C \uC694\uAD6C \uC0AC\uD56D(requirements)\uC744 \uC124\uCE58\uD569\uB2C8\uB2E4:"),A_.forEach(r),Xa=m(e),x(Me.$$.fragment,e),Ba=m(e),ae=l(e,"H2",{class:!0});var jl=o(ae);ce=l(jl,"A",{id:!0,class:!0,href:!0});var k_=o(ce);Rr=l(k_,"SPAN",{});var T_=o(Rr);x(Ge.$$.fragment,T_),T_.forEach(r),k_.forEach(r),zs=m(jl),Xr=l(jl,"SPAN",{});var q_=o(Xr);Ps=i(q_,"\uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),q_.forEach(r),jl.forEach(r),Ka=m(e),x(he.$$.fragment,e),Va=m(e),le=l(e,"H2",{class:!0});var Fl=o(le);de=l(Fl,"A",{id:!0,class:!0,href:!0});var L_=o(de);Br=l(L_,"SPAN",{});var U_=o(Br);x(Je.$$.fragment,U_),U_.forEach(r),L_.forEach(r),As=m(Fl),Kr=l(Fl,"SPAN",{});var C_=o(Kr);ks=i(C_,"\uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB85C \uBD84\uC0B0 \uD6C8\uB828\uD558\uAE30"),C_.forEach(r),Fl.forEach(r),Qa=m(e),Re=l(e,"P",{});var rn=o(Re);Xe=l(rn,"A",{href:!0,rel:!0});var D_=o(Xe);Ts=i(D_,"Trainer"),D_.forEach(r),qs=i(rn,` \uD074\uB798\uC2A4\uB294 \uBD84\uC0B0 \uD6C8\uB828\uACFC \uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB97C \uC9C0\uC6D0\uD558\uBBC0\uB85C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0\uC11C\uB3C4 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC774 \uB450 \uAC00\uC9C0 \uAE30\uB2A5\uC744 \uBAA8\uB450 \uD65C\uC131\uD654\uD558\uB824\uBA74 \uB2E4\uC74C \uB450 \uAC00\uC9C0\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4:`),rn.forEach(r),Ya=m(e),ve=l(e,"UL",{});var Hl=o(ve);Qt=l(Hl,"LI",{});var an=o(Qt);Vr=l(an,"CODE",{});var I_=o(Vr);Ls=i(I_,"fp16"),I_.forEach(r),Us=i(an," \uC778\uC218\uB97C \uCD94\uAC00\uD574 \uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB97C \uD65C\uC131\uD654\uD569\uB2C8\uB2E4."),an.forEach(r),Cs=m(Hl),Yt=l(Hl,"LI",{});var ln=o(Yt);Qr=l(ln,"CODE",{});var S_=o(Qr);Ds=i(S_,"nproc_per_node"),S_.forEach(r),Is=i(ln," \uC778\uC218\uB97C \uCD94\uAC00\uD574 \uC0AC\uC6A9\uD560 GPU \uAC1C\uC218\uB97C \uC124\uC815\uD569\uB2C8\uB2E4."),ln.forEach(r),Hl.forEach(r),Wa=m(e),x(Be.$$.fragment,e),Za=m(e),$e=l(e,"P",{});var Ml=o($e);Ss=i(Ml,"TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uBD84\uC0B0 \uD6C8\uB828\uC744 \uC704\uD574 "),Ke=l(Ml,"A",{href:!0,rel:!0});var O_=o(Ke);Yr=l(O_,"CODE",{});var N_=o(Yr);Os=i(N_,"MirroredStrategy"),N_.forEach(r),O_.forEach(r),Ns=i(Ml,`\uB97C \uD65C\uC6A9\uD558\uBA70, \uD6C8\uB828 \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 \uC778\uC218\uB97C \uCD94\uAC00\uD560 \uD544\uC694\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.
\uB2E4\uC911 GPU \uD658\uACBD\uC774\uB77C\uBA74, TensorFlow \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uAE30\uBCF8\uC801\uC73C\uB85C \uC5EC\uB7EC \uAC1C\uC758 GPU\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4.`),Ml.forEach(r),el=m(e),oe=l(e,"H2",{class:!0});var Gl=o(oe);ge=l(Gl,"A",{id:!0,class:!0,href:!0});var j_=o(ge);Wr=l(j_,"SPAN",{});var F_=o(Wr);x(Ve.$$.fragment,F_),F_.forEach(r),j_.forEach(r),js=m(Gl),Zr=l(Gl,"SPAN",{});var H_=o(Zr);Fs=i(H_,"TPU \uC704\uC5D0\uC11C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),H_.forEach(r),Gl.forEach(r),tl=m(e),x(Ee.$$.fragment,e),rl=m(e),se=l(e,"H2",{class:!0});var Jl=o(se);we=l(Jl,"A",{id:!0,class:!0,href:!0});var M_=o(we);ea=l(M_,"SPAN",{});var G_=o(ea);x(Qe.$$.fragment,G_),G_.forEach(r),M_.forEach(r),Hs=m(Jl),ta=l(Jl,"SPAN",{});var J_=o(ta);Ms=i(J_,"\u{1F917} Accelerate\uB85C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"),J_.forEach(r),Jl.forEach(r),al=m(e),ye=l(e,"P",{});var Rl=o(ye);Gs=i(Rl,"\u{1F917} "),Ye=l(Rl,"A",{href:!0,rel:!0});var R_=o(Ye);Js=i(R_,"Accelerate"),R_.forEach(r),Rs=i(Rl,`\uB294 PyTorch \uD6C8\uB828 \uACFC\uC815\uC5D0 \uB300\uD55C \uC644\uC804\uD55C \uAC00\uC2DC\uC131\uC744 \uC720\uC9C0\uD558\uBA74\uC11C \uC5EC\uB7EC \uC720\uD615\uC758 \uC124\uC815(CPU \uC804\uC6A9, \uB2E4\uC911 GPU, TPU)\uC5D0\uC11C \uBAA8\uB378\uC744 \uD6C8\uB828\uD560 \uC218 \uC788\uB294 \uD1B5\uD569 \uBC29\uBC95\uC744 \uC81C\uACF5\uD558\uB294 PyTorch \uC804\uC6A9 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC785\uB2C8\uB2E4.
\u{1F917} Accelerate\uAC00 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:`),Rl.forEach(r),ll=m(e),be=l(e,"BLOCKQUOTE",{});var Xl=o(be);ra=l(Xl,"P",{});var X_=o(ra);Xs=i(X_,"\uCC38\uACE0: Accelerate\uB294 \uBE60\uB974\uAC8C \uAC1C\uBC1C \uC911\uC774\uBBC0\uB85C \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD558\uB824\uBA74 accelerate\uB97C \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),X_.forEach(r),Bs=m(Xl),x(We.$$.fragment,Xl),Xl.forEach(r),ol=m(e),B=l(e,"P",{});var ht=o(B);aa=l(ht,"CODE",{});var B_=o(aa);Ks=i(B_,"run_summarization.py"),B_.forEach(r),Vs=i(ht," \uC2A4\uD06C\uB9BD\uD2B8 \uB300\uC2E0 "),la=l(ht,"CODE",{});var K_=o(la);Qs=i(K_,"run_summarization_no_trainer.py"),K_.forEach(r),Ys=i(ht,` \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4.
\u{1F917} Accelerate \uD074\uB798\uC2A4\uAC00 \uC9C0\uC6D0\uB418\uB294 \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uD3F4\uB354\uC5D0 `),oa=l(ht,"CODE",{});var V_=o(oa);Ws=i(V_,"task_no_trainer.py"),V_.forEach(r),Zs=i(ht,` \uD30C\uC77C\uC774 \uC788\uC2B5\uB2C8\uB2E4.
\uB2E4\uC74C \uBA85\uB839\uC744 \uC2E4\uD589\uD558\uC5EC \uAD6C\uC131 \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uACE0 \uC800\uC7A5\uD569\uB2C8\uB2E4:`),ht.forEach(r),sl=m(e),x(Ze.$$.fragment,e),il=m(e),Wt=l(e,"P",{});var Q_=o(Wt);ei=i(Q_,"\uC124\uC815\uC744 \uD14C\uC2A4\uD2B8\uD558\uC5EC \uC62C\uBC14\uB974\uAC8C \uAD6C\uC131\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD569\uB2C8\uB2E4:"),Q_.forEach(r),nl=m(e),x(et.$$.fragment,e),_l=m(e),Zt=l(e,"P",{});var Y_=o(Zt);ti=i(Y_,"\uC774\uC81C \uD6C8\uB828\uC744 \uC2DC\uC791\uD560 \uC900\uBE44\uAC00 \uB418\uC5C8\uC2B5\uB2C8\uB2E4:"),Y_.forEach(r),pl=m(e),x(tt.$$.fragment,e),fl=m(e),ie=l(e,"H2",{class:!0});var Bl=o(ie);xe=l(Bl,"A",{id:!0,class:!0,href:!0});var W_=o(xe);sa=l(W_,"SPAN",{});var Z_=o(sa);x(rt.$$.fragment,Z_),Z_.forEach(r),W_.forEach(r),ri=m(Bl),ia=l(Bl,"SPAN",{});var ep=o(ia);ai=i(ep,"\uC0AC\uC6A9\uC790 \uC815\uC758 \uB370\uC774\uD130 \uC138\uD2B8 \uC0AC\uC6A9\uD558\uAE30"),ep.forEach(r),Bl.forEach(r),ml=m(e),er=l(e,"P",{});var tp=o(er);li=i(tp,`\uC694\uC57D \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uAC00 CSV \uB610\uB294 JSON \uD30C\uC77C\uC778 \uACBD\uC6B0 \uC9C0\uC6D0\uD569\uB2C8\uB2E4.
\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0\uC5D0\uB294 \uBA87 \uAC00\uC9C0 \uCD94\uAC00 \uC778\uC218\uB97C \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4:`),tp.forEach(r),ul=m(e),Y=l(e,"UL",{});var pr=o(Y);ze=l(pr,"LI",{});var Da=o(ze);na=l(Da,"CODE",{});var rp=o(na);oi=i(rp,"train_file"),rp.forEach(r),si=i(Da,"\uACFC "),_a=l(Da,"CODE",{});var ap=o(_a);ii=i(ap,"validation_file"),ap.forEach(r),ni=i(Da,"\uC740 \uD6C8\uB828 \uBC0F \uAC80\uC99D \uD30C\uC77C\uC758 \uACBD\uB85C\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4."),Da.forEach(r),_i=m(pr),tr=l(pr,"LI",{});var on=o(tr);pa=l(on,"CODE",{});var lp=o(pa);pi=i(lp,"text_column"),lp.forEach(r),fi=i(on,"\uC740 \uC694\uC57D\uD560 \uC785\uB825 \uD14D\uC2A4\uD2B8\uC785\uB2C8\uB2E4."),on.forEach(r),mi=m(pr),rr=l(pr,"LI",{});var sn=o(rr);fa=l(sn,"CODE",{});var op=o(fa);ui=i(op,"summary_column"),op.forEach(r),ci=i(sn,"\uC740 \uCD9C\uB825\uD560 \uB300\uC0C1 \uD14D\uC2A4\uD2B8\uC785\uB2C8\uB2E4."),sn.forEach(r),pr.forEach(r),cl=m(e),ar=l(e,"P",{});var sp=o(ar);hi=i(sp,"\uC0AC\uC6A9\uC790 \uC9C0\uC815 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uC0AC\uC6A9\uD558\uB294 \uC694\uC57D \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4:"),sp.forEach(r),hl=m(e),x(at.$$.fragment,e),dl=m(e),ne=l(e,"H2",{class:!0});var Kl=o(ne);Pe=l(Kl,"A",{id:!0,class:!0,href:!0});var ip=o(Pe);ma=l(ip,"SPAN",{});var np=o(ma);x(lt.$$.fragment,np),np.forEach(r),ip.forEach(r),di=m(Kl),ua=l(Kl,"SPAN",{});var _p=o(ua);vi=i(_p,"\uC2A4\uD06C\uB9BD\uD2B8 \uD14C\uC2A4\uD2B8\uD558\uAE30"),_p.forEach(r),Kl.forEach(r),vl=m(e),lr=l(e,"P",{});var pp=o(lr);$i=i(pp,"\uC804\uCCB4 \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uB300\uC0C1\uC73C\uB85C \uD6C8\uB828\uC744 \uC644\uB8CC\uD558\uB294\uB370 \uAF64 \uC624\uB79C \uC2DC\uAC04\uC774 \uAC78\uB9AC\uAE30 \uB54C\uBB38\uC5D0, \uC791\uC740 \uB370\uC774\uD130 \uC138\uD2B8\uC5D0\uC11C \uBAA8\uB4E0 \uAC83\uC774 \uC608\uC0C1\uB300\uB85C \uC2E4\uD589\uB418\uB294\uC9C0 \uD655\uC778\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4."),pp.forEach(r),$l=m(e),or=l(e,"P",{});var fp=o(or);gi=i(fp,"\uB2E4\uC74C \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB370\uC774\uD130 \uC138\uD2B8\uB97C \uCD5C\uB300 \uC0D8\uD50C \uC218\uB85C \uC798\uB77C\uB0C5\uB2C8\uB2E4:"),fp.forEach(r),gl=m(e),W=l(e,"UL",{});var fr=o(W);ca=l(fr,"LI",{});var mp=o(ca);ha=l(mp,"CODE",{});var up=o(ha);Ei=i(up,"max_train_samples"),up.forEach(r),mp.forEach(r),wi=m(fr),da=l(fr,"LI",{});var cp=o(da);va=l(cp,"CODE",{});var hp=o(va);yi=i(hp,"max_eval_samples"),hp.forEach(r),cp.forEach(r),bi=m(fr),$a=l(fr,"LI",{});var dp=o($a);ga=l(dp,"CODE",{});var vp=o(ga);xi=i(vp,"max_predict_samples"),vp.forEach(r),dp.forEach(r),fr.forEach(r),El=m(e),x(ot.$$.fragment,e),wl=m(e),Z=l(e,"P",{});var mr=o(Z);zi=i(mr,"\uBAA8\uB4E0 \uC608\uC81C \uC2A4\uD06C\uB9BD\uD2B8\uAC00 "),Ea=l(mr,"CODE",{});var $p=o(Ea);Pi=i($p,"max_predict_samples"),$p.forEach(r),Ai=i(mr,` \uC778\uC218\uB97C \uC9C0\uC6D0\uD558\uC9C0\uB294 \uC54A\uC2B5\uB2C8\uB2E4.
\uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC774 \uC778\uC218\uB97C \uC9C0\uC6D0\uD558\uB294\uC9C0 \uD655\uC2E4\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0 `),wa=l(mr,"CODE",{});var gp=o(wa);ki=i(gp,"-h"),gp.forEach(r),Ti=i(mr," \uC778\uC218\uB97C \uCD94\uAC00\uD558\uC5EC \uD655\uC778\uD558\uC138\uC694:"),mr.forEach(r),yl=m(e),x(st.$$.fragment,e),bl=m(e),_e=l(e,"H2",{class:!0});var Vl=o(_e);Ae=l(Vl,"A",{id:!0,class:!0,href:!0});var Ep=o(Ae);ya=l(Ep,"SPAN",{});var wp=o(ya);x(it.$$.fragment,wp),wp.forEach(r),Ep.forEach(r),qi=m(Vl),ba=l(Vl,"SPAN",{});var yp=o(ba);Li=i(yp,"\uCCB4\uD06C\uD3EC\uC778\uD2B8(checkpoint)\uC5D0\uC11C \uD6C8\uB828 \uC774\uC5B4\uC11C \uD558\uAE30"),yp.forEach(r),Vl.forEach(r),xl=m(e),sr=l(e,"P",{});var bp=o(sr);Ui=i(bp,`\uB610 \uB2E4\uB978 \uC720\uC6A9\uD55C \uC635\uC158\uC740 \uC774\uC804 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4.
\uC774\uB807\uAC8C \uD558\uBA74 \uD6C8\uB828\uC774 \uC911\uB2E8\uB418\uB354\uB77C\uB3C4 \uCC98\uC74C\uBD80\uD130 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC9C0 \uC54A\uACE0 \uC911\uB2E8\uD55C \uBD80\uBD84\uBD80\uD130 \uB2E4\uC2DC \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uCCB4\uD06C\uD3EC\uC778\uD2B8\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC5D0\uB294 \uB450 \uAC00\uC9C0\uAC00 \uC788\uC2B5\uB2C8\uB2E4.`),bp.forEach(r),zl=m(e),X=l(e,"P",{});var Ce=o(X);Ci=i(Ce,"\uCCAB \uBC88\uC9F8\uB294 "),xa=l(Ce,"CODE",{});var xp=o(xa);Di=i(xp,"output_dir previous_output_dir"),xp.forEach(r),Ii=i(Ce," \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC "),za=l(Ce,"CODE",{});var zp=o(za);Si=i(zp,"output_dir"),zp.forEach(r),Oi=i(Ce,`\uC5D0 \uC800\uC7A5\uB41C \uCD5C\uC2E0 \uCCB4\uD06C\uD3EC\uC778\uD2B8\uBD80\uD130 \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4.
\uC774 \uACBD\uC6B0 `),Pa=l(Ce,"CODE",{});var Pp=o(Pa);Ni=i(Pp,"overwrite_output_dir"),Pp.forEach(r),ji=i(Ce,"\uC744 \uC81C\uAC70\uD574\uC57C \uD569\uB2C8\uB2E4:"),Ce.forEach(r),Pl=m(e),x(nt.$$.fragment,e),Al=m(e),ke=l(e,"P",{});var Ql=o(ke);Fi=i(Ql,"\uB450 \uBC88\uC9F8\uB294 "),Aa=l(Ql,"CODE",{});var Ap=o(Aa);Hi=i(Ap,"resume_from_checkpoint path_to_specific_checkpoint"),Ap.forEach(r),Mi=i(Ql," \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uD2B9\uC815 \uCCB4\uD06C\uD3EC\uC778\uD2B8 \uD3F4\uB354\uC5D0\uC11C \uD6C8\uB828\uC744 \uC7AC\uAC1C\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4."),Ql.forEach(r),kl=m(e),x(_t.$$.fragment,e),Tl=m(e),pe=l(e,"H2",{class:!0});var Yl=o(pe);Te=l(Yl,"A",{id:!0,class:!0,href:!0});var kp=o(Te);ka=l(kp,"SPAN",{});var Tp=o(ka);x(pt.$$.fragment,Tp),Tp.forEach(r),kp.forEach(r),Gi=m(Yl),Ta=l(Yl,"SPAN",{});var qp=o(Ta);Ji=i(qp,"\uBAA8\uB378 \uACF5\uC720\uD558\uAE30"),qp.forEach(r),Yl.forEach(r),ql=m(e),qe=l(e,"P",{});var Wl=o(qe);Ri=i(Wl,"\uBAA8\uB4E0 \uC2A4\uD06C\uB9BD\uD2B8\uB294 \uCD5C\uC885 \uBAA8\uB378\uC744 "),ft=l(Wl,"A",{href:!0,rel:!0});var Lp=o(ft);Xi=i(Lp,"Model Hub"),Lp.forEach(r),Bi=i(Wl,`\uC5D0 \uC5C5\uB85C\uB4DC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
\uC2DC\uC791\uD558\uAE30 \uC804\uC5D0 Hugging Face\uC5D0 \uB85C\uADF8\uC778\uD588\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694:`),Wl.forEach(r),Ll=m(e),x(mt.$$.fragment,e),Ul=m(e),ee=l(e,"P",{});var ur=o(ee);Ki=i(ur,"\uADF8\uB7F0 \uB2E4\uC74C \uC2A4\uD06C\uB9BD\uD2B8\uC5D0 "),qa=l(ur,"CODE",{});var Up=o(qa);Vi=i(Up,"push_to_hub"),Up.forEach(r),Qi=i(ur,` \uC778\uC218\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4.
\uC774 \uC778\uC218\uB294 Hugging Face \uC0AC\uC6A9\uC790 \uC774\uB984\uACFC `),La=l(ur,"CODE",{});var Cp=o(La);Yi=i(Cp,"output_dir"),Cp.forEach(r),Wi=i(ur,"\uC5D0 \uC9C0\uC815\uB41C \uD3F4\uB354 \uC774\uB984\uC73C\uB85C \uC800\uC7A5\uC18C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4."),ur.forEach(r),Cl=m(e),Le=l(e,"P",{});var Zl=o(Le);Zi=i(Zl,"\uC800\uC7A5\uC18C\uC5D0 \uD2B9\uC815 \uC774\uB984\uC744 \uC9C0\uC815\uD558\uB824\uBA74 "),Ua=l(Zl,"CODE",{});var Dp=o(Ua);en=i(Dp,"push_to_hub_model_id"),Dp.forEach(r),tn=i(Zl,` \uC778\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCD94\uAC00\uD569\uB2C8\uB2E4.
\uC800\uC7A5\uC18C\uB294 \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC544\uB798\uC5D0 \uC790\uB3D9\uC73C\uB85C \uB098\uC5F4\uB429\uB2C8\uB2E4.
\uB2E4\uC74C \uC608\uB294 \uD2B9\uC815 \uC800\uC7A5\uC18C \uC774\uB984\uC73C\uB85C \uBAA8\uB378\uC744 \uC5C5\uB85C\uB4DC\uD558\uB294 \uBC29\uBC95\uC785\uB2C8\uB2E4:`),Zl.forEach(r),Dl=m(e),x(ut.$$.fragment,e),this.h()},h(){_(u,"name","hf:doc:metadata"),_(u,"content",JSON.stringify(Qp)),_(v,"id","train-with-a-script"),_(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"),_(v,"href","#train-with-a-script"),_(c,"class","relative group"),_(y,"href","https://github.com/huggingface/transformers/tree/main/examples/pytorch"),_(y,"rel","nofollow"),_(L,"href","https://github.com/huggingface/transformers/tree/main/examples/tensorflow"),_(L,"rel","nofollow"),_($,"href","https://github.com/huggingface/transformers/tree/main/examples/flax"),_($,"rel","nofollow"),_(K,"href","https://github.com/huggingface/transformers/tree/main/examples/research_projects"),_(K,"rel","nofollow"),_(De,"href","https://github.com/huggingface/transformers/tree/main/examples/legacy"),_(De,"rel","nofollow"),_(Ie,"href","https://discuss.huggingface.co/"),_(Ie,"rel","nofollow"),_(Se,"href","https://github.com/huggingface/transformers/issues"),_(Se,"rel","nofollow"),_(Oe,"href","https://github.com/huggingface/transformers/tree/main/examples/pytorch/summarization"),_(Oe,"rel","nofollow"),_(Ne,"href","https://github.com/huggingface/transformers/tree/main/examples/tensorflow/summarization"),_(Ne,"rel","nofollow"),_(fe,"id","setup"),_(fe,"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"),_(fe,"href","#setup"),_(re,"class","relative group"),_(wt,"href","https://github.com/huggingface/transformers/tree/v4.5.1/examples"),_(yt,"href","https://github.com/huggingface/transformers/tree/v4.4.2/examples"),_(bt,"href","https://github.com/huggingface/transformers/tree/v4.3.3/examples"),_(xt,"href","https://github.com/huggingface/transformers/tree/v4.2.2/examples"),_(zt,"href","https://github.com/huggingface/transformers/tree/v4.1.1/examples"),_(Pt,"href","https://github.com/huggingface/transformers/tree/v4.0.1/examples"),_(At,"href","https://github.com/huggingface/transformers/tree/v3.5.1/examples"),_(kt,"href","https://github.com/huggingface/transformers/tree/v3.4.0/examples"),_(Tt,"href","https://github.com/huggingface/transformers/tree/v3.3.1/examples"),_(qt,"href","https://github.com/huggingface/transformers/tree/v3.2.0/examples"),_(Lt,"href","https://github.com/huggingface/transformers/tree/v3.1.0/examples"),_(Ut,"href","https://github.com/huggingface/transformers/tree/v3.0.2/examples"),_(Ct,"href","https://github.com/huggingface/transformers/tree/v2.11.0/examples"),_(Dt,"href","https://github.com/huggingface/transformers/tree/v2.10.0/examples"),_(It,"href","https://github.com/huggingface/transformers/tree/v2.9.1/examples"),_(St,"href","https://github.com/huggingface/transformers/tree/v2.8.0/examples"),_(Ot,"href","https://github.com/huggingface/transformers/tree/v2.7.0/examples"),_(Nt,"href","https://github.com/huggingface/transformers/tree/v2.6.0/examples"),_(jt,"href","https://github.com/huggingface/transformers/tree/v2.5.1/examples"),_(Ft,"href","https://github.com/huggingface/transformers/tree/v2.4.0/examples"),_(Ht,"href","https://github.com/huggingface/transformers/tree/v2.3.0/examples"),_(Mt,"href","https://github.com/huggingface/transformers/tree/v2.2.0/examples"),_(Gt,"href","https://github.com/huggingface/transformers/tree/v2.1.0/examples"),_(Jt,"href","https://github.com/huggingface/transformers/tree/v2.0.0/examples"),_(Rt,"href","https://github.com/huggingface/transformers/tree/v1.2.0/examples"),_(Xt,"href","https://github.com/huggingface/transformers/tree/v1.1.0/examples"),_(Bt,"href","https://github.com/huggingface/transformers/tree/v1.0.0/examples"),_(ce,"id","run-a-script"),_(ce,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),_(ce,"href","#run-a-script"),_(ae,"class","relative group"),_(de,"id","distributed-training-and-mixed-precision"),_(de,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),_(de,"href","#distributed-training-and-mixed-precision"),_(le,"class","relative group"),_(Xe,"href","https://huggingface.co/docs/transformers/main_classes/trainer"),_(Xe,"rel","nofollow"),_(Ke,"href","https://www.tensorflow.org/guide/distributed_training#mirroredstrategy"),_(Ke,"rel","nofollow"),_(ge,"id","run-a-script-on-a-tpu"),_(ge,"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"),_(ge,"href","#run-a-script-on-a-tpu"),_(oe,"class","relative group"),_(we,"id","run-a-script-with-accelerate"),_(we,"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"),_(we,"href","#run-a-script-with-accelerate"),_(se,"class","relative group"),_(Ye,"href","https://huggingface.co/docs/accelerate"),_(Ye,"rel","nofollow"),_(xe,"id","use-a-custom-dataset"),_(xe,"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"),_(xe,"href","#use-a-custom-dataset"),_(ie,"class","relative group"),_(Pe,"id","test-a-script"),_(Pe,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),_(Pe,"href","#test-a-script"),_(ne,"class","relative group"),_(Ae,"id","resume-training-from-checkpoint"),_(Ae,"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"),_(Ae,"href","#resume-training-from-checkpoint"),_(_e,"class","relative group"),_(Te,"id","share-your-model"),_(Te,"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"),_(Te,"href","#share-your-model"),_(pe,"class","relative group"),_(ft,"href","https://huggingface.co/models"),_(ft,"rel","nofollow")},m(e,n){t(document.head,u),p(e,g,n),p(e,c,n),t(c,v),t(v,T),z(w,T,null),t(c,N),t(c,j),t(j,U),p(e,F,n),p(e,q,n),t(q,C),t(q,y),t(y,I),t(q,O),t(q,L),t(L,H),t(q,E),t(q,$),t($,R),t(q,S),p(e,D,n),p(e,M,n),t(M,dt),t(M,K),t(K,vt),t(M,$t),t(M,De),t(De,ro),t(M,ao),p(e,Ia,n),p(e,gt,n),t(gt,lo),p(e,Sa,n),p(e,V,n),t(V,oo),t(V,Ie),t(Ie,so),t(V,io),t(V,Se),t(Se,no),t(V,_o),p(e,Oa,n),p(e,Q,n),t(Q,po),t(Q,Oe),t(Oe,fo),t(Q,mo),t(Q,Ne),t(Ne,uo),t(Q,co),p(e,Na,n),p(e,re,n),t(re,fe),t(fe,cr),z(je,cr,null),t(re,ho),t(re,hr),t(hr,vo),p(e,ja,n),p(e,me,n),t(me,$o),t(me,dr),t(dr,go),t(me,Eo),p(e,Fa,n),z(Fe,e,n),p(e,Ha,n),p(e,Et,n),t(Et,wo),p(e,Ma,n),p(e,ue,n),t(ue,vr),t(vr,yo),t(ue,bo),t(ue,h),t(h,$r),t($r,wt),t(wt,xo),t(h,zo),t(h,gr),t(gr,yt),t(yt,Po),t(h,Ao),t(h,Er),t(Er,bt),t(bt,ko),t(h,To),t(h,wr),t(wr,xt),t(xt,qo),t(h,Lo),t(h,yr),t(yr,zt),t(zt,Uo),t(h,Co),t(h,br),t(br,Pt),t(Pt,Do),t(h,Io),t(h,xr),t(xr,At),t(At,So),t(h,Oo),t(h,zr),t(zr,kt),t(kt,No),t(h,jo),t(h,Pr),t(Pr,Tt),t(Tt,Fo),t(h,Ho),t(h,Ar),t(Ar,qt),t(qt,Mo),t(h,Go),t(h,kr),t(kr,Lt),t(Lt,Jo),t(h,Ro),t(h,Tr),t(Tr,Ut),t(Ut,Xo),t(h,Bo),t(h,qr),t(qr,Ct),t(Ct,Ko),t(h,Vo),t(h,Lr),t(Lr,Dt),t(Dt,Qo),t(h,Yo),t(h,Ur),t(Ur,It),t(It,Wo),t(h,Zo),t(h,Cr),t(Cr,St),t(St,es),t(h,ts),t(h,Dr),t(Dr,Ot),t(Ot,rs),t(h,as),t(h,Ir),t(Ir,Nt),t(Nt,ls),t(h,os),t(h,Sr),t(Sr,jt),t(jt,ss),t(h,is),t(h,Or),t(Or,Ft),t(Ft,ns),t(h,_s),t(h,Nr),t(Nr,Ht),t(Ht,ps),t(h,fs),t(h,jr),t(jr,Mt),t(Mt,ms),t(h,us),t(h,Fr),t(Fr,Gt),t(Gt,cs),t(h,hs),t(h,Hr),t(Hr,Jt),t(Jt,ds),t(h,vs),t(h,Mr),t(Mr,Rt),t(Rt,$s),t(h,gs),t(h,Gr),t(Gr,Xt),t(Xt,Es),t(h,ws),t(h,Jr),t(Jr,Bt),t(Bt,ys),p(e,Ga,n),p(e,Kt,n),t(Kt,bs),p(e,Ja,n),z(He,e,n),p(e,Ra,n),p(e,Vt,n),t(Vt,xs),p(e,Xa,n),z(Me,e,n),p(e,Ba,n),p(e,ae,n),t(ae,ce),t(ce,Rr),z(Ge,Rr,null),t(ae,zs),t(ae,Xr),t(Xr,Ps),p(e,Ka,n),z(he,e,n),p(e,Va,n),p(e,le,n),t(le,de),t(de,Br),z(Je,Br,null),t(le,As),t(le,Kr),t(Kr,ks),p(e,Qa,n),p(e,Re,n),t(Re,Xe),t(Xe,Ts),t(Re,qs),p(e,Ya,n),p(e,ve,n),t(ve,Qt),t(Qt,Vr),t(Vr,Ls),t(Qt,Us),t(ve,Cs),t(ve,Yt),t(Yt,Qr),t(Qr,Ds),t(Yt,Is),p(e,Wa,n),z(Be,e,n),p(e,Za,n),p(e,$e,n),t($e,Ss),t($e,Ke),t(Ke,Yr),t(Yr,Os),t($e,Ns),p(e,el,n),p(e,oe,n),t(oe,ge),t(ge,Wr),z(Ve,Wr,null),t(oe,js),t(oe,Zr),t(Zr,Fs),p(e,tl,n),z(Ee,e,n),p(e,rl,n),p(e,se,n),t(se,we),t(we,ea),z(Qe,ea,null),t(se,Hs),t(se,ta),t(ta,Ms),p(e,al,n),p(e,ye,n),t(ye,Gs),t(ye,Ye),t(Ye,Js),t(ye,Rs),p(e,ll,n),p(e,be,n),t(be,ra),t(ra,Xs),t(be,Bs),z(We,be,null),p(e,ol,n),p(e,B,n),t(B,aa),t(aa,Ks),t(B,Vs),t(B,la),t(la,Qs),t(B,Ys),t(B,oa),t(oa,Ws),t(B,Zs),p(e,sl,n),z(Ze,e,n),p(e,il,n),p(e,Wt,n),t(Wt,ei),p(e,nl,n),z(et,e,n),p(e,_l,n),p(e,Zt,n),t(Zt,ti),p(e,pl,n),z(tt,e,n),p(e,fl,n),p(e,ie,n),t(ie,xe),t(xe,sa),z(rt,sa,null),t(ie,ri),t(ie,ia),t(ia,ai),p(e,ml,n),p(e,er,n),t(er,li),p(e,ul,n),p(e,Y,n),t(Y,ze),t(ze,na),t(na,oi),t(ze,si),t(ze,_a),t(_a,ii),t(ze,ni),t(Y,_i),t(Y,tr),t(tr,pa),t(pa,pi),t(tr,fi),t(Y,mi),t(Y,rr),t(rr,fa),t(fa,ui),t(rr,ci),p(e,cl,n),p(e,ar,n),t(ar,hi),p(e,hl,n),z(at,e,n),p(e,dl,n),p(e,ne,n),t(ne,Pe),t(Pe,ma),z(lt,ma,null),t(ne,di),t(ne,ua),t(ua,vi),p(e,vl,n),p(e,lr,n),t(lr,$i),p(e,$l,n),p(e,or,n),t(or,gi),p(e,gl,n),p(e,W,n),t(W,ca),t(ca,ha),t(ha,Ei),t(W,wi),t(W,da),t(da,va),t(va,yi),t(W,bi),t(W,$a),t($a,ga),t(ga,xi),p(e,El,n),z(ot,e,n),p(e,wl,n),p(e,Z,n),t(Z,zi),t(Z,Ea),t(Ea,Pi),t(Z,Ai),t(Z,wa),t(wa,ki),t(Z,Ti),p(e,yl,n),z(st,e,n),p(e,bl,n),p(e,_e,n),t(_e,Ae),t(Ae,ya),z(it,ya,null),t(_e,qi),t(_e,ba),t(ba,Li),p(e,xl,n),p(e,sr,n),t(sr,Ui),p(e,zl,n),p(e,X,n),t(X,Ci),t(X,xa),t(xa,Di),t(X,Ii),t(X,za),t(za,Si),t(X,Oi),t(X,Pa),t(Pa,Ni),t(X,ji),p(e,Pl,n),z(nt,e,n),p(e,Al,n),p(e,ke,n),t(ke,Fi),t(ke,Aa),t(Aa,Hi),t(ke,Mi),p(e,kl,n),z(_t,e,n),p(e,Tl,n),p(e,pe,n),t(pe,Te),t(Te,ka),z(pt,ka,null),t(pe,Gi),t(pe,Ta),t(Ta,Ji),p(e,ql,n),p(e,qe,n),t(qe,Ri),t(qe,ft),t(ft,Xi),t(qe,Bi),p(e,Ll,n),z(mt,e,n),p(e,Ul,n),p(e,ee,n),t(ee,Ki),t(ee,qa),t(qa,Vi),t(ee,Qi),t(ee,La),t(La,Yi),t(ee,Wi),p(e,Cl,n),p(e,Le,n),t(Le,Zi),t(Le,Ua),t(Ua,en),t(Le,tn),p(e,Dl,n),z(ut,e,n),Il=!0},p(e,[n]){const ct={};n&2&&(ct.$$scope={dirty:n,ctx:e}),he.$set(ct);const Ca={};n&2&&(Ca.$$scope={dirty:n,ctx:e}),Ee.$set(Ca)},i(e){Il||(P(w.$$.fragment,e),P(je.$$.fragment,e),P(Fe.$$.fragment,e),P(He.$$.fragment,e),P(Me.$$.fragment,e),P(Ge.$$.fragment,e),P(he.$$.fragment,e),P(Je.$$.fragment,e),P(Be.$$.fragment,e),P(Ve.$$.fragment,e),P(Ee.$$.fragment,e),P(Qe.$$.fragment,e),P(We.$$.fragment,e),P(Ze.$$.fragment,e),P(et.$$.fragment,e),P(tt.$$.fragment,e),P(rt.$$.fragment,e),P(at.$$.fragment,e),P(lt.$$.fragment,e),P(ot.$$.fragment,e),P(st.$$.fragment,e),P(it.$$.fragment,e),P(nt.$$.fragment,e),P(_t.$$.fragment,e),P(pt.$$.fragment,e),P(mt.$$.fragment,e),P(ut.$$.fragment,e),Il=!0)},o(e){A(w.$$.fragment,e),A(je.$$.fragment,e),A(Fe.$$.fragment,e),A(He.$$.fragment,e),A(Me.$$.fragment,e),A(Ge.$$.fragment,e),A(he.$$.fragment,e),A(Je.$$.fragment,e),A(Be.$$.fragment,e),A(Ve.$$.fragment,e),A(Ee.$$.fragment,e),A(Qe.$$.fragment,e),A(We.$$.fragment,e),A(Ze.$$.fragment,e),A(et.$$.fragment,e),A(tt.$$.fragment,e),A(rt.$$.fragment,e),A(at.$$.fragment,e),A(lt.$$.fragment,e),A(ot.$$.fragment,e),A(st.$$.fragment,e),A(it.$$.fragment,e),A(nt.$$.fragment,e),A(_t.$$.fragment,e),A(pt.$$.fragment,e),A(mt.$$.fragment,e),A(ut.$$.fragment,e),Il=!1},d(e){r(u),e&&r(g),e&&r(c),k(w),e&&r(F),e&&r(q),e&&r(D),e&&r(M),e&&r(Ia),e&&r(gt),e&&r(Sa),e&&r(V),e&&r(Oa),e&&r(Q),e&&r(Na),e&&r(re),k(je),e&&r(ja),e&&r(me),e&&r(Fa),k(Fe,e),e&&r(Ha),e&&r(Et),e&&r(Ma),e&&r(ue),e&&r(Ga),e&&r(Kt),e&&r(Ja),k(He,e),e&&r(Ra),e&&r(Vt),e&&r(Xa),k(Me,e),e&&r(Ba),e&&r(ae),k(Ge),e&&r(Ka),k(he,e),e&&r(Va),e&&r(le),k(Je),e&&r(Qa),e&&r(Re),e&&r(Ya),e&&r(ve),e&&r(Wa),k(Be,e),e&&r(Za),e&&r($e),e&&r(el),e&&r(oe),k(Ve),e&&r(tl),k(Ee,e),e&&r(rl),e&&r(se),k(Qe),e&&r(al),e&&r(ye),e&&r(ll),e&&r(be),k(We),e&&r(ol),e&&r(B),e&&r(sl),k(Ze,e),e&&r(il),e&&r(Wt),e&&r(nl),k(et,e),e&&r(_l),e&&r(Zt),e&&r(pl),k(tt,e),e&&r(fl),e&&r(ie),k(rt),e&&r(ml),e&&r(er),e&&r(ul),e&&r(Y),e&&r(cl),e&&r(ar),e&&r(hl),k(at,e),e&&r(dl),e&&r(ne),k(lt),e&&r(vl),e&&r(lr),e&&r($l),e&&r(or),e&&r(gl),e&&r(W),e&&r(El),k(ot,e),e&&r(wl),e&&r(Z),e&&r(yl),k(st,e),e&&r(bl),e&&r(_e),k(it),e&&r(xl),e&&r(sr),e&&r(zl),e&&r(X),e&&r(Pl),k(nt,e),e&&r(Al),e&&r(ke),e&&r(kl),k(_t,e),e&&r(Tl),e&&r(pe),k(pt),e&&r(ql),e&&r(qe),e&&r(Ll),k(mt,e),e&&r(Ul),e&&r(ee),e&&r(Cl),e&&r(Le),e&&r(Dl),k(ut,e)}}}const Qp={local:"train-with-a-script",sections:[{local:"setup",title:"\uC124\uC815\uD558\uAE30"},{local:"run-a-script",title:"\uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"},{local:"distributed-training-and-mixed-precision",title:"\uD63C\uD569 \uC815\uBC00\uB3C4(mixed precision)\uB85C \uBD84\uC0B0 \uD6C8\uB828\uD558\uAE30"},{local:"run-a-script-on-a-tpu",title:"TPU \uC704\uC5D0\uC11C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"},{local:"run-a-script-with-accelerate",title:"\u{1F917} Accelerate\uB85C \uC2A4\uD06C\uB9BD\uD2B8 \uC2E4\uD589\uD558\uAE30"},{local:"use-a-custom-dataset",title:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uB370\uC774\uD130 \uC138\uD2B8 \uC0AC\uC6A9\uD558\uAE30"},{local:"test-a-script",title:"\uC2A4\uD06C\uB9BD\uD2B8 \uD14C\uC2A4\uD2B8\uD558\uAE30"},{local:"resume-training-from-checkpoint",title:"\uCCB4\uD06C\uD3EC\uC778\uD2B8(checkpoint)\uC5D0\uC11C \uD6C8\uB828 \uC774\uC5B4\uC11C \uD558\uAE30"},{local:"share-your-model",title:"\uBAA8\uB378 \uACF5\uC720\uD558\uAE30"}],title:"\uC2A4\uD06C\uB9BD\uD2B8\uB85C \uC2E4\uD589\uD558\uAE30"};function Yp(J){return Fp(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rf extends Sp{constructor(u){super();Op(this,u,Yp,Vp,Np,{})}}export{rf as default,Qp as metadata};
