import{S as ee,i as te,s as ne,e as p,k as y,w as T,t as e,M as pe,c as r,d as l,m as h,a as o,x as u,h as t,b as c,G as a,g as i,y as U,L as re,q as j,o as w,B as f,v as oe}from"../chunks/vendor-hf-doc-builder.js";import{I as Ma}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as Y}from"../chunks/CodeBlock-hf-doc-builder.js";function ie(wl){let _,Xs,b,q,ys,N,ma,hs,Ja,Ws,I,Ta,Ms,ua,Ua,ms,ja,wa,Zs,v,A,Js,Q,fa,Ts,da,ks,m,us,Ia,Ca,S,_a,ba,R,va,Ea,G,ga,$a,D,qa,Aa,Bs,ps,Xa,Vs,z,Ys,E,X,Us,F,Wa,js,Za,Ns,rs,ka,Qs,W,Ba,x,Va,Ya,Ss,H,Rs,Z,Na,P,Qa,Sa,Gs,O,Ds,k,Ra,K,Ga,Da,zs,L,Fs,B,za,ss,Fa,xa,xs,as,Hs,g,ws,Ha,Pa,fs,Oa,Ka,Ps,ls,Os,C,La,ds,sl,al,Is,ll,el,Ks,es,Ls,M,tl,Cs,nl,pl,_s,rl,ol,bs,il,cl,vs,yl,hl,Es,Ml,ml,gs,Jl,Tl,sa,os,ul,aa,ts,la,$,V,$s,ns,Ul,qs,jl,ea,ta;return N=new Ma({}),Q=new Ma({}),z=new Y({props:{code:"cGlwJTIwaW5zdGFsbCUyMG9wdHVuYSUyRnNpZ29wdCUyRndhbmRiJTJGcmF5JTVCdHVuZSU1RCUyMA==",highlighted:"pip install optuna/sigopt/wandb/ray[tune] "}}),F=new Ma({}),H=new Y({props:{code:"ZGVmJTIwc2lnb3B0X2hwX3NwYWNlKHRyaWFsKSUzQSUwQSUyMCUyMCUyMCUyMHJldHVybiUyMCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU3QiUyMmJvdW5kcyUyMiUzQSUyMCU3QiUyMm1pbiUyMiUzQSUyMDFlLTYlMkMlMjAlMjJtYXglMjIlM0ElMjAxZS00JTdEJTJDJTIwJTIybmFtZSUyMiUzQSUyMCUyMmxlYXJuaW5nX3JhdGUlMjIlMkMlMjAlMjJ0eXBlJTIyJTNBJTIwJTIyZG91YmxlJTIyJTdEJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIyY2F0ZWdvcmljYWxfdmFsdWVzJTIyJTNBJTIwJTVCJTIyMTYlMjIlMkMlMjAlMjIzMiUyMiUyQyUyMCUyMjY0JTIyJTJDJTIwJTIyMTI4JTIyJTVEJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIybmFtZSUyMiUzQSUyMCUyMnBlcl9kZXZpY2VfdHJhaW5fYmF0Y2hfc2l6ZSUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMnR5cGUlMjIlM0ElMjAlMjJjYXRlZ29yaWNhbCUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU3RCUyQyUwQSUyMCUyMCUyMCUyMCU1RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">sigopt_hp_space</span>(<span class="hljs-params">trial</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> [
<span class="hljs-meta">... </span>        {<span class="hljs-string">&quot;bounds&quot;</span>: {<span class="hljs-string">&quot;min&quot;</span>: <span class="hljs-number">1e-6</span>, <span class="hljs-string">&quot;max&quot;</span>: <span class="hljs-number">1e-4</span>}, <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;learning_rate&quot;</span>, <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;double&quot;</span>},
<span class="hljs-meta">... </span>        {
<span class="hljs-meta">... </span>            <span class="hljs-string">&quot;categorical_values&quot;</span>: [<span class="hljs-string">&quot;16&quot;</span>, <span class="hljs-string">&quot;32&quot;</span>, <span class="hljs-string">&quot;64&quot;</span>, <span class="hljs-string">&quot;128&quot;</span>],
<span class="hljs-meta">... </span>            <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;per_device_train_batch_size&quot;</span>,
<span class="hljs-meta">... </span>            <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;categorical&quot;</span>,
<span class="hljs-meta">... </span>        },
<span class="hljs-meta">... </span>    ]`}}),O=new Y({props:{code:"ZGVmJTIwb3B0dW5hX2hwX3NwYWNlKHRyaWFsKSUzQSUwQSUyMCUyMCUyMCUyMHJldHVybiUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMmxlYXJuaW5nX3JhdGUlMjIlM0ElMjB0cmlhbC5zdWdnZXN0X2Zsb2F0KCUyMmxlYXJuaW5nX3JhdGUlMjIlMkMlMjAxZS02JTJDJTIwMWUtNCUyQyUyMGxvZyUzRFRydWUpJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIycGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTIyJTNBJTIwdHJpYWwuc3VnZ2VzdF9jYXRlZ29yaWNhbCglMjJwZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlMjIlMkMlMjAlNUIxNiUyQyUyMDMyJTJDJTIwNjQlMkMlMjAxMjglNUQpJTJDJTBBJTIwJTIwJTIwJTIwJTdE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">optuna_hp_space</span>(<span class="hljs-params">trial</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> {
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;learning_rate&quot;</span>: trial.suggest_float(<span class="hljs-string">&quot;learning_rate&quot;</span>, <span class="hljs-number">1e-6</span>, <span class="hljs-number">1e-4</span>, log=<span class="hljs-literal">True</span>),
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;per_device_train_batch_size&quot;</span>: trial.suggest_categorical(<span class="hljs-string">&quot;per_device_train_batch_size&quot;</span>, [<span class="hljs-number">16</span>, <span class="hljs-number">32</span>, <span class="hljs-number">64</span>, <span class="hljs-number">128</span>]),
<span class="hljs-meta">... </span>    }`}}),L=new Y({props:{code:"ZGVmJTIwcmF5X2hwX3NwYWNlKHRyaWFsKSUzQSUwQSUyMCUyMCUyMCUyMHJldHVybiUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMmxlYXJuaW5nX3JhdGUlMjIlM0ElMjB0dW5lLmxvZ3VuaWZvcm0oMWUtNiUyQyUyMDFlLTQpJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIycGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTIyJTNBJTIwdHVuZS5jaG9pY2UoJTVCMTYlMkMlMjAzMiUyQyUyMDY0JTJDJTIwMTI4JTVEKSUyQyUwQSUyMCUyMCUyMCUyMCU3RA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">ray_hp_space</span>(<span class="hljs-params">trial</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> {
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;learning_rate&quot;</span>: tune.loguniform(<span class="hljs-number">1e-6</span>, <span class="hljs-number">1e-4</span>),
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;per_device_train_batch_size&quot;</span>: tune.choice([<span class="hljs-number">16</span>, <span class="hljs-number">32</span>, <span class="hljs-number">64</span>, <span class="hljs-number">128</span>]),
<span class="hljs-meta">... </span>    }`}}),as=new Y({props:{code:"ZGVmJTIwd2FuZGJfaHBfc3BhY2UodHJpYWwpJTNBJTBBJTIwJTIwJTIwJTIwcmV0dXJuJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIybWV0aG9kJTIyJTNBJTIwJTIycmFuZG9tJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIybWV0cmljJTIyJTNBJTIwJTdCJTIybmFtZSUyMiUzQSUyMCUyMm9iamVjdGl2ZSUyMiUyQyUyMCUyMmdvYWwlMjIlM0ElMjAlMjJtaW5pbWl6ZSUyMiU3RCUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMnBhcmFtZXRlcnMlMjIlM0ElMjAlN0IlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjJsZWFybmluZ19yYXRlJTIyJTNBJTIwJTdCJTIyZGlzdHJpYnV0aW9uJTIyJTNBJTIwJTIydW5pZm9ybSUyMiUyQyUyMCUyMm1pbiUyMiUzQSUyMDFlLTYlMkMlMjAlMjJtYXglMjIlM0ElMjAxZS00JTdEJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIycGVyX2RldmljZV90cmFpbl9iYXRjaF9zaXplJTIyJTNBJTIwJTdCJTIydmFsdWVzJTIyJTNBJTIwJTVCMTYlMkMlMjAzMiUyQyUyMDY0JTJDJTIwMTI4JTVEJTdEJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTdEJTJDJTBBJTIwJTIwJTIwJTIwJTdE",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">wandb_hp_space</span>(<span class="hljs-params">trial</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> {
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;method&quot;</span>: <span class="hljs-string">&quot;random&quot;</span>,
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;metric&quot;</span>: {<span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;objective&quot;</span>, <span class="hljs-string">&quot;goal&quot;</span>: <span class="hljs-string">&quot;minimize&quot;</span>},
<span class="hljs-meta">... </span>        <span class="hljs-string">&quot;parameters&quot;</span>: {
<span class="hljs-meta">... </span>            <span class="hljs-string">&quot;learning_rate&quot;</span>: {<span class="hljs-string">&quot;distribution&quot;</span>: <span class="hljs-string">&quot;uniform&quot;</span>, <span class="hljs-string">&quot;min&quot;</span>: <span class="hljs-number">1e-6</span>, <span class="hljs-string">&quot;max&quot;</span>: <span class="hljs-number">1e-4</span>},
<span class="hljs-meta">... </span>            <span class="hljs-string">&quot;per_device_train_batch_size&quot;</span>: {<span class="hljs-string">&quot;values&quot;</span>: [<span class="hljs-number">16</span>, <span class="hljs-number">32</span>, <span class="hljs-number">64</span>, <span class="hljs-number">128</span>]},
<span class="hljs-meta">... </span>        },
<span class="hljs-meta">... </span>    }`}}),ls=new Y({props:{code:"ZGVmJTIwbW9kZWxfaW5pdCh0cmlhbCklM0ElMEElMjAlMjAlMjAlMjByZXR1cm4lMjBBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBtb2RlbF9hcmdzLm1vZGVsX25hbWVfb3JfcGF0aCUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGZyb21fdGYlM0Rib29sKCUyMi5ja3B0JTIyJTIwaW4lMjBtb2RlbF9hcmdzLm1vZGVsX25hbWVfb3JfcGF0aCklMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBjb25maWclM0Rjb25maWclMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBjYWNoZV9kaXIlM0Rtb2RlbF9hcmdzLmNhY2hlX2RpciUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHJldmlzaW9uJTNEbW9kZWxfYXJncy5tb2RlbF9yZXZpc2lvbiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHVzZV9hdXRoX3Rva2VuJTNEVHJ1ZSUyMGlmJTIwbW9kZWxfYXJncy51c2VfYXV0aF90b2tlbiUyMGVsc2UlMjBOb25lJTJDJTBBJTIwJTIwJTIwJTIwKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">model_init</span>(<span class="hljs-params">trial</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> AutoModelForSequenceClassification.from_pretrained(
<span class="hljs-meta">... </span>        model_args.model_name_or_path,
<span class="hljs-meta">... </span>        from_tf=<span class="hljs-built_in">bool</span>(<span class="hljs-string">&quot;.ckpt&quot;</span> <span class="hljs-keyword">in</span> model_args.model_name_or_path),
<span class="hljs-meta">... </span>        config=config,
<span class="hljs-meta">... </span>        cache_dir=model_args.cache_dir,
<span class="hljs-meta">... </span>        revision=model_args.model_revision,
<span class="hljs-meta">... </span>        use_auth_token=<span class="hljs-literal">True</span> <span class="hljs-keyword">if</span> model_args.use_auth_token <span class="hljs-keyword">else</span> <span class="hljs-literal">None</span>,
<span class="hljs-meta">... </span>    )`}}),es=new Y({props:{code:"dHJhaW5lciUyMCUzRCUyMFRyYWluZXIoJTBBJTIwJTIwJTIwJTIwbW9kZWwlM0ROb25lJTJDJTBBJTIwJTIwJTIwJTIwYXJncyUzRHRyYWluaW5nX2FyZ3MlMkMlMEElMjAlMjAlMjAlMjB0cmFpbl9kYXRhc2V0JTNEc21hbGxfdHJhaW5fZGF0YXNldCUyQyUwQSUyMCUyMCUyMCUyMGV2YWxfZGF0YXNldCUzRHNtYWxsX2V2YWxfZGF0YXNldCUyQyUwQSUyMCUyMCUyMCUyMGNvbXB1dGVfbWV0cmljcyUzRGNvbXB1dGVfbWV0cmljcyUyQyUwQSUyMCUyMCUyMCUyMHRva2VuaXplciUzRHRva2VuaXplciUyQyUwQSUyMCUyMCUyMCUyMG1vZGVsX2luaXQlM0Rtb2RlbF9pbml0JTJDJTBBJTIwJTIwJTIwJTIwZGF0YV9jb2xsYXRvciUzRGRhdGFfY29sbGF0b3IlMkMlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>trainer = Trainer(
<span class="hljs-meta">... </span>    model=<span class="hljs-literal">None</span>,
<span class="hljs-meta">... </span>    args=training_args,
<span class="hljs-meta">... </span>    train_dataset=small_train_dataset,
<span class="hljs-meta">... </span>    eval_dataset=small_eval_dataset,
<span class="hljs-meta">... </span>    compute_metrics=compute_metrics,
<span class="hljs-meta">... </span>    tokenizer=tokenizer,
<span class="hljs-meta">... </span>    model_init=model_init,
<span class="hljs-meta">... </span>    data_collator=data_collator,
<span class="hljs-meta">... </span>)`}}),ts=new Y({props:{code:"YmVzdF90cmlhbCUyMCUzRCUyMHRyYWluZXIuaHlwZXJwYXJhbWV0ZXJfc2VhcmNoKCUwQSUyMCUyMCUyMCUyMGRpcmVjdGlvbiUzRCUyMm1heGltaXplJTIyJTJDJTBBJTIwJTIwJTIwJTIwYmFja2VuZCUzRCUyMm9wdHVuYSUyMiUyQyUwQSUyMCUyMCUyMCUyMGhwX3NwYWNlJTNEb3B0dW5hX2hwX3NwYWNlJTJDJTBBJTIwJTIwJTIwJTIwbl90cmlhbHMlM0QyMCUyQyUwQSUyMCUyMCUyMCUyMGNvbXB1dGVfb2JqZWN0aXZlJTNEY29tcHV0ZV9vYmplY3RpdmUlMkMlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>best_trial = trainer.hyperparameter_search(
<span class="hljs-meta">... </span>    direction=<span class="hljs-string">&quot;maximize&quot;</span>,
<span class="hljs-meta">... </span>    backend=<span class="hljs-string">&quot;optuna&quot;</span>,
<span class="hljs-meta">... </span>    hp_space=optuna_hp_space,
<span class="hljs-meta">... </span>    n_trials=<span class="hljs-number">20</span>,
<span class="hljs-meta">... </span>    compute_objective=compute_objective,
<span class="hljs-meta">... </span>)`}}),ns=new Ma({}),{c(){_=p("meta"),Xs=y(),b=p("h1"),q=p("a"),ys=p("span"),T(N.$$.fragment),ma=y(),hs=p("span"),Ja=e("Trainer API\uB97C \uC0AC\uC6A9\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9"),Ws=y(),I=p("p"),Ta=e("\u{1F917} Transformers\uC5D0\uC11C\uB294 \u{1F917} Transformers \uBAA8\uB378\uC744 \uD559\uC2B5\uC2DC\uD0A4\uB294\uB370 \uCD5C\uC801\uD654\uB41C "),Ms=p("code"),ua=e("Trainer"),Ua=e(" \uD074\uB798\uC2A4\uB97C \uC81C\uACF5\uD558\uAE30 \uB54C\uBB38\uC5D0, \uC0AC\uC6A9\uC790\uB294 \uC9C1\uC811 \uD6C8\uB828 \uB8E8\uD504\uB97C \uC791\uC131\uD560 \uD544\uC694 \uC5C6\uC774 \uB354\uC6B1 \uAC04\uD3B8\uD558\uAC8C \uD559\uC2B5\uC744 \uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB610\uD55C, "),ms=p("code"),ja=e("Trainer"),wa=e("\uB294 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uC704\uD55C API\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uC774 \uBB38\uC11C\uC5D0\uC11C \uC774 API\uB97C \uD65C\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uC608\uC2DC\uC640 \uD568\uAED8 \uBCF4\uC5EC\uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4."),Zs=y(),v=p("h2"),A=p("a"),Js=p("span"),T(Q.$$.fragment),fa=y(),Ts=p("span"),da=e("\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC"),ks=y(),m=p("p"),us=p("code"),Ia=e("Trainer"),Ca=e(`\uB294 \uD604\uC7AC \uC544\uB798 4\uAC00\uC9C0 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4:
`),S=p("a"),_a=e("optuna"),ba=e("\uC640 "),R=p("a"),va=e("sigopt"),Ea=e(", "),G=p("a"),ga=e("raytune"),$a=e(", "),D=p("a"),qa=e("wandb"),Aa=e(" \uC785\uB2C8\uB2E4."),Bs=y(),ps=p("p"),Xa=e("\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB85C \uC0AC\uC6A9\uD558\uAE30 \uC804\uC5D0 \uC544\uB798\uC758 \uBA85\uB839\uC5B4\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB4E4\uC744 \uC124\uCE58\uD558\uC138\uC694."),Vs=y(),T(z.$$.fragment),Ys=y(),E=p("h2"),X=p("a"),Us=p("span"),T(F.$$.fragment),Wa=y(),js=p("span"),Za=e("\uC608\uC81C\uC5D0\uC11C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uD65C\uC131\uD654\uD558\uB294 \uBC29\uBC95"),Ns=y(),rs=p("p"),ka=e("\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uACF5\uAC04\uC744 \uC815\uC758\uD558\uC138\uC694. \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB9C8\uB2E4 \uC11C\uB85C \uB2E4\uB978 \uD615\uC2DD\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),Qs=y(),W=p("p"),Ba=e("sigopt\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),x=p("a"),Va=e("object_parameter"),Ya=e(" \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),Ss=y(),T(H.$$.fragment),Rs=y(),Z=p("p"),Na=e("optuna\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),P=p("a"),Qa=e("object_parameter"),Sa=e(" \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),Gs=y(),T(O.$$.fragment),Ds=y(),k=p("p"),Ra=e("raytune\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),K=p("a"),Ga=e("object_parameter"),Da=e(" \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),zs=y(),T(L.$$.fragment),Fs=y(),B=p("p"),za=e("wandb\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),ss=p("a"),Fa=e("object_parameter"),xa=e(" \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),xs=y(),T(as.$$.fragment),Hs=y(),g=p("p"),ws=p("code"),Ha=e("model_init"),Pa=e(" \uD568\uC218\uB97C \uC815\uC758\uD558\uACE0 \uC774\uB97C "),fs=p("code"),Oa=e("Trainer"),Ka=e("\uC5D0 \uC804\uB2EC\uD558\uC138\uC694. \uC544\uB798\uB294 \uADF8 \uC608\uC2DC\uC785\uB2C8\uB2E4."),Ps=y(),T(ls.$$.fragment),Os=y(),C=p("p"),La=e("\uC544\uB798\uC640 \uAC19\uC774 "),ds=p("code"),sl=e("model_init"),al=e(" \uD568\uC218, \uD6C8\uB828 \uC778\uC218, \uD6C8\uB828 \uBC0F \uD14C\uC2A4\uD2B8 \uB370\uC774\uD130\uC14B, \uADF8\uB9AC\uACE0 \uD3C9\uAC00 \uD568\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC "),Is=p("code"),ll=e("Trainer"),el=e("\uB97C \uC0DD\uC131\uD558\uC138\uC694:"),Ks=y(),T(es.$$.fragment),Ls=y(),M=p("p"),tl=e("\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uD638\uCD9C\uD558\uACE0, \uCD5C\uC801\uC758 \uC2DC\uD5D8 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uAC00\uC838\uC624\uC138\uC694. \uBC31\uC5D4\uB4DC\uB294 "),Cs=p("code"),nl=e('"optuna"'),pl=e("/"),_s=p("code"),rl=e('"sigopt"'),ol=e("/"),bs=p("code"),il=e('"wandb"'),cl=e("/"),vs=p("code"),yl=e('"ray"'),hl=e(" \uC911\uC5D0\uC11C \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBC29\uD5A5\uC740 "),Es=p("code"),Ml=e('"minimize"'),ml=e(" \uB610\uB294 "),gs=p("code"),Jl=e('"maximize"'),Tl=e(" \uC911 \uC120\uD0DD\uD558\uBA70, \uBAA9\uD45C\uB97C \uCD5C\uC18C\uD654\uD560 \uAC83\uC778\uC9C0 \uCD5C\uB300\uD654\uD560 \uAC83\uC778\uC9C0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4."),sa=y(),os=p("p"),ul=e("\uC790\uC2E0\uB9CC\uC758 compute_objective \uD568\uC218\uB97C \uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB9CC\uC57D \uC774 \uD568\uC218\uB97C \uC815\uC758\uD558\uC9C0 \uC54A\uC73C\uBA74, \uAE30\uBCF8 compute_objective\uAC00 \uD638\uCD9C\uB418\uACE0, f1\uACFC \uAC19\uC740 \uD3C9\uAC00 \uC9C0\uD45C\uC758 \uD569\uC774 \uBAA9\uD46F\uAC12\uC73C\uB85C \uBC18\uD658\uB429\uB2C8\uB2E4."),aa=y(),T(ts.$$.fragment),la=y(),$=p("h2"),V=p("a"),$s=p("span"),T(ns.$$.fragment),Ul=y(),qs=p("span"),jl=e("DDP \uBBF8\uC138 \uC870\uC815\uC744 \uC704\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9"),ea=e(`

\uD604\uC7AC, DDP(Distributed Data Parallelism; \uBD84\uC0B0 \uB370\uC774\uD130 \uBCD1\uB82C\uCC98\uB9AC)\uB97C \uC704\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC740 optuna\uC640 sigopt\uC5D0\uC11C \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uCD5C\uC0C1\uC704 \uD504\uB85C\uC138\uC2A4\uAC00 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uACFC\uC815\uC744 \uC2DC\uC791\uD558\uACE0 \uADF8 \uACB0\uACFC\uB97C \uB2E4\uB978 \uD504\uB85C\uC138\uC2A4\uC5D0 \uC804\uB2EC\uD569\uB2C8\uB2E4.`),this.h()},l(s){const n=pe('[data-svelte="svelte-1phssyn"]',document.head);_=r(n,"META",{name:!0,content:!0}),n.forEach(l),Xs=h(s),b=r(s,"H1",{class:!0});var na=o(b);q=r(na,"A",{id:!0,class:!0,href:!0});var fl=o(q);ys=r(fl,"SPAN",{});var dl=o(ys);u(N.$$.fragment,dl),dl.forEach(l),fl.forEach(l),ma=h(na),hs=r(na,"SPAN",{});var Il=o(hs);Ja=t(Il,"Trainer API\uB97C \uC0AC\uC6A9\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9"),Il.forEach(l),na.forEach(l),Ws=h(s),I=r(s,"P",{});var is=o(I);Ta=t(is,"\u{1F917} Transformers\uC5D0\uC11C\uB294 \u{1F917} Transformers \uBAA8\uB378\uC744 \uD559\uC2B5\uC2DC\uD0A4\uB294\uB370 \uCD5C\uC801\uD654\uB41C "),Ms=r(is,"CODE",{});var Cl=o(Ms);ua=t(Cl,"Trainer"),Cl.forEach(l),Ua=t(is," \uD074\uB798\uC2A4\uB97C \uC81C\uACF5\uD558\uAE30 \uB54C\uBB38\uC5D0, \uC0AC\uC6A9\uC790\uB294 \uC9C1\uC811 \uD6C8\uB828 \uB8E8\uD504\uB97C \uC791\uC131\uD560 \uD544\uC694 \uC5C6\uC774 \uB354\uC6B1 \uAC04\uD3B8\uD558\uAC8C \uD559\uC2B5\uC744 \uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB610\uD55C, "),ms=r(is,"CODE",{});var _l=o(ms);ja=t(_l,"Trainer"),_l.forEach(l),wa=t(is,"\uB294 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uC704\uD55C API\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uC774 \uBB38\uC11C\uC5D0\uC11C \uC774 API\uB97C \uD65C\uC6A9\uD558\uB294 \uBC29\uBC95\uC744 \uC608\uC2DC\uC640 \uD568\uAED8 \uBCF4\uC5EC\uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4."),is.forEach(l),Zs=h(s),v=r(s,"H2",{class:!0});var pa=o(v);A=r(pa,"A",{id:!0,class:!0,href:!0});var bl=o(A);Js=r(bl,"SPAN",{});var vl=o(Js);u(Q.$$.fragment,vl),vl.forEach(l),bl.forEach(l),fa=h(pa),Ts=r(pa,"SPAN",{});var El=o(Ts);da=t(El,"\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC"),El.forEach(l),pa.forEach(l),ks=h(s),m=r(s,"P",{});var d=o(m);us=r(d,"CODE",{});var gl=o(us);Ia=t(gl,"Trainer"),gl.forEach(l),Ca=t(d,`\uB294 \uD604\uC7AC \uC544\uB798 4\uAC00\uC9C0 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB97C \uC9C0\uC6D0\uD569\uB2C8\uB2E4:
`),S=r(d,"A",{href:!0,rel:!0});var $l=o(S);_a=t($l,"optuna"),$l.forEach(l),ba=t(d,"\uC640 "),R=r(d,"A",{href:!0,rel:!0});var ql=o(R);va=t(ql,"sigopt"),ql.forEach(l),Ea=t(d,", "),G=r(d,"A",{href:!0,rel:!0});var Al=o(G);ga=t(Al,"raytune"),Al.forEach(l),$a=t(d,", "),D=r(d,"A",{href:!0,rel:!0});var Xl=o(D);qa=t(Xl,"wandb"),Xl.forEach(l),Aa=t(d," \uC785\uB2C8\uB2E4."),d.forEach(l),Bs=h(s),ps=r(s,"P",{});var Wl=o(ps);Xa=t(Wl,"\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB85C \uC0AC\uC6A9\uD558\uAE30 \uC804\uC5D0 \uC544\uB798\uC758 \uBA85\uB839\uC5B4\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB4E4\uC744 \uC124\uCE58\uD558\uC138\uC694."),Wl.forEach(l),Vs=h(s),u(z.$$.fragment,s),Ys=h(s),E=r(s,"H2",{class:!0});var ra=o(E);X=r(ra,"A",{id:!0,class:!0,href:!0});var Zl=o(X);Us=r(Zl,"SPAN",{});var kl=o(Us);u(F.$$.fragment,kl),kl.forEach(l),Zl.forEach(l),Wa=h(ra),js=r(ra,"SPAN",{});var Bl=o(js);Za=t(Bl,"\uC608\uC81C\uC5D0\uC11C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uD65C\uC131\uD654\uD558\uB294 \uBC29\uBC95"),Bl.forEach(l),ra.forEach(l),Ns=h(s),rs=r(s,"P",{});var Vl=o(rs);ka=t(Vl,"\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uACF5\uAC04\uC744 \uC815\uC758\uD558\uC138\uC694. \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC\uB9C8\uB2E4 \uC11C\uB85C \uB2E4\uB978 \uD615\uC2DD\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),Vl.forEach(l),Qs=h(s),W=r(s,"P",{});var oa=o(W);Ba=t(oa,"sigopt\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),x=r(oa,"A",{href:!0,rel:!0});var Yl=o(x);Va=t(Yl,"object_parameter"),Yl.forEach(l),Ya=t(oa," \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),oa.forEach(l),Ss=h(s),u(H.$$.fragment,s),Rs=h(s),Z=r(s,"P",{});var ia=o(Z);Na=t(ia,"optuna\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),P=r(ia,"A",{href:!0,rel:!0});var Nl=o(P);Qa=t(Nl,"object_parameter"),Nl.forEach(l),Sa=t(ia," \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),ia.forEach(l),Gs=h(s),u(O.$$.fragment,s),Ds=h(s),k=r(s,"P",{});var ca=o(k);Ra=t(ca,"raytune\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),K=r(ca,"A",{href:!0,rel:!0});var Ql=o(K);Ga=t(Ql,"object_parameter"),Ql.forEach(l),Da=t(ca," \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),ca.forEach(l),zs=h(s),u(L.$$.fragment,s),Fs=h(s),B=r(s,"P",{});var ya=o(B);za=t(ya,"wandb\uC758 \uACBD\uC6B0, \uD574\uB2F9 "),ss=r(ya,"A",{href:!0,rel:!0});var Sl=o(ss);Fa=t(Sl,"object_parameter"),Sl.forEach(l),xa=t(ya," \uBB38\uC11C\uB97C \uCC38\uC870\uD558\uC5EC \uC544\uB798\uC640 \uAC19\uC774 \uC791\uC131\uD558\uC138\uC694:"),ya.forEach(l),xs=h(s),u(as.$$.fragment,s),Hs=h(s),g=r(s,"P",{});var As=o(g);ws=r(As,"CODE",{});var Rl=o(ws);Ha=t(Rl,"model_init"),Rl.forEach(l),Pa=t(As," \uD568\uC218\uB97C \uC815\uC758\uD558\uACE0 \uC774\uB97C "),fs=r(As,"CODE",{});var Gl=o(fs);Oa=t(Gl,"Trainer"),Gl.forEach(l),Ka=t(As,"\uC5D0 \uC804\uB2EC\uD558\uC138\uC694. \uC544\uB798\uB294 \uADF8 \uC608\uC2DC\uC785\uB2C8\uB2E4."),As.forEach(l),Ps=h(s),u(ls.$$.fragment,s),Os=h(s),C=r(s,"P",{});var cs=o(C);La=t(cs,"\uC544\uB798\uC640 \uAC19\uC774 "),ds=r(cs,"CODE",{});var Dl=o(ds);sl=t(Dl,"model_init"),Dl.forEach(l),al=t(cs," \uD568\uC218, \uD6C8\uB828 \uC778\uC218, \uD6C8\uB828 \uBC0F \uD14C\uC2A4\uD2B8 \uB370\uC774\uD130\uC14B, \uADF8\uB9AC\uACE0 \uD3C9\uAC00 \uD568\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC "),Is=r(cs,"CODE",{});var zl=o(Is);ll=t(zl,"Trainer"),zl.forEach(l),el=t(cs,"\uB97C \uC0DD\uC131\uD558\uC138\uC694:"),cs.forEach(l),Ks=h(s),u(es.$$.fragment,s),Ls=h(s),M=r(s,"P",{});var J=o(M);tl=t(J,"\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uD638\uCD9C\uD558\uACE0, \uCD5C\uC801\uC758 \uC2DC\uD5D8 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uAC00\uC838\uC624\uC138\uC694. \uBC31\uC5D4\uB4DC\uB294 "),Cs=r(J,"CODE",{});var Fl=o(Cs);nl=t(Fl,'"optuna"'),Fl.forEach(l),pl=t(J,"/"),_s=r(J,"CODE",{});var xl=o(_s);rl=t(xl,'"sigopt"'),xl.forEach(l),ol=t(J,"/"),bs=r(J,"CODE",{});var Hl=o(bs);il=t(Hl,'"wandb"'),Hl.forEach(l),cl=t(J,"/"),vs=r(J,"CODE",{});var Pl=o(vs);yl=t(Pl,'"ray"'),Pl.forEach(l),hl=t(J," \uC911\uC5D0\uC11C \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBC29\uD5A5\uC740 "),Es=r(J,"CODE",{});var Ol=o(Es);Ml=t(Ol,'"minimize"'),Ol.forEach(l),ml=t(J," \uB610\uB294 "),gs=r(J,"CODE",{});var Kl=o(gs);Jl=t(Kl,'"maximize"'),Kl.forEach(l),Tl=t(J," \uC911 \uC120\uD0DD\uD558\uBA70, \uBAA9\uD45C\uB97C \uCD5C\uC18C\uD654\uD560 \uAC83\uC778\uC9C0 \uCD5C\uB300\uD654\uD560 \uAC83\uC778\uC9C0\uB97C \uACB0\uC815\uD569\uB2C8\uB2E4."),J.forEach(l),sa=h(s),os=r(s,"P",{});var Ll=o(os);ul=t(Ll,"\uC790\uC2E0\uB9CC\uC758 compute_objective \uD568\uC218\uB97C \uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB9CC\uC57D \uC774 \uD568\uC218\uB97C \uC815\uC758\uD558\uC9C0 \uC54A\uC73C\uBA74, \uAE30\uBCF8 compute_objective\uAC00 \uD638\uCD9C\uB418\uACE0, f1\uACFC \uAC19\uC740 \uD3C9\uAC00 \uC9C0\uD45C\uC758 \uD569\uC774 \uBAA9\uD46F\uAC12\uC73C\uB85C \uBC18\uD658\uB429\uB2C8\uB2E4."),Ll.forEach(l),aa=h(s),u(ts.$$.fragment,s),la=h(s),$=r(s,"H2",{class:!0});var ha=o($);V=r(ha,"A",{id:!0,class:!0,href:!0});var se=o(V);$s=r(se,"SPAN",{});var ae=o($s);u(ns.$$.fragment,ae),ae.forEach(l),se.forEach(l),Ul=h(ha),qs=r(ha,"SPAN",{});var le=o(qs);jl=t(le,"DDP \uBBF8\uC138 \uC870\uC815\uC744 \uC704\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9"),le.forEach(l),ha.forEach(l),ea=t(s,`

\uD604\uC7AC, DDP(Distributed Data Parallelism; \uBD84\uC0B0 \uB370\uC774\uD130 \uBCD1\uB82C\uCC98\uB9AC)\uB97C \uC704\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC740 optuna\uC640 sigopt\uC5D0\uC11C \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uCD5C\uC0C1\uC704 \uD504\uB85C\uC138\uC2A4\uAC00 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uACFC\uC815\uC744 \uC2DC\uC791\uD558\uACE0 \uADF8 \uACB0\uACFC\uB97C \uB2E4\uB978 \uD504\uB85C\uC138\uC2A4\uC5D0 \uC804\uB2EC\uD569\uB2C8\uB2E4.`),this.h()},h(){c(_,"name","hf:doc:metadata"),c(_,"content",JSON.stringify(ce)),c(q,"id","hyperparameter-search-using-trainer-api"),c(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"),c(q,"href","#hyperparameter-search-using-trainer-api"),c(b,"class","relative group"),c(A,"id","hyperparameter-search-backend"),c(A,"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"),c(A,"href","#hyperparameter-search-backend"),c(v,"class","relative group"),c(S,"href","https://optuna.org/"),c(S,"rel","nofollow"),c(R,"href","https://sigopt.com/"),c(R,"rel","nofollow"),c(G,"href","https://docs.ray.io/en/latest/tune/index.html"),c(G,"rel","nofollow"),c(D,"href","https://wandb.ai/site/sweeps"),c(D,"rel","nofollow"),c(X,"id","how-to-enable-hyperparameter-search-in-example"),c(X,"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"),c(X,"href","#how-to-enable-hyperparameter-search-in-example"),c(E,"class","relative group"),c(x,"href","https://docs.sigopt.com/ai-module-api-references/api_reference/objects/object_parameter"),c(x,"rel","nofollow"),c(P,"href","https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/002_configurations.html#sphx-glr-tutorial-10-key-features-002-configurations-py"),c(P,"rel","nofollow"),c(K,"href","https://docs.ray.io/en/latest/tune/api/search_space.html"),c(K,"rel","nofollow"),c(ss,"href","https://docs.wandb.ai/guides/sweeps/configuration"),c(ss,"rel","nofollow"),c(V,"id","hyperparameter-search-for-ddp-finetune"),c(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"),c(V,"href","#hyperparameter-search-for-ddp-finetune"),c($,"class","relative group")},m(s,n){a(document.head,_),i(s,Xs,n),i(s,b,n),a(b,q),a(q,ys),U(N,ys,null),a(b,ma),a(b,hs),a(hs,Ja),i(s,Ws,n),i(s,I,n),a(I,Ta),a(I,Ms),a(Ms,ua),a(I,Ua),a(I,ms),a(ms,ja),a(I,wa),i(s,Zs,n),i(s,v,n),a(v,A),a(A,Js),U(Q,Js,null),a(v,fa),a(v,Ts),a(Ts,da),i(s,ks,n),i(s,m,n),a(m,us),a(us,Ia),a(m,Ca),a(m,S),a(S,_a),a(m,ba),a(m,R),a(R,va),a(m,Ea),a(m,G),a(G,ga),a(m,$a),a(m,D),a(D,qa),a(m,Aa),i(s,Bs,n),i(s,ps,n),a(ps,Xa),i(s,Vs,n),U(z,s,n),i(s,Ys,n),i(s,E,n),a(E,X),a(X,Us),U(F,Us,null),a(E,Wa),a(E,js),a(js,Za),i(s,Ns,n),i(s,rs,n),a(rs,ka),i(s,Qs,n),i(s,W,n),a(W,Ba),a(W,x),a(x,Va),a(W,Ya),i(s,Ss,n),U(H,s,n),i(s,Rs,n),i(s,Z,n),a(Z,Na),a(Z,P),a(P,Qa),a(Z,Sa),i(s,Gs,n),U(O,s,n),i(s,Ds,n),i(s,k,n),a(k,Ra),a(k,K),a(K,Ga),a(k,Da),i(s,zs,n),U(L,s,n),i(s,Fs,n),i(s,B,n),a(B,za),a(B,ss),a(ss,Fa),a(B,xa),i(s,xs,n),U(as,s,n),i(s,Hs,n),i(s,g,n),a(g,ws),a(ws,Ha),a(g,Pa),a(g,fs),a(fs,Oa),a(g,Ka),i(s,Ps,n),U(ls,s,n),i(s,Os,n),i(s,C,n),a(C,La),a(C,ds),a(ds,sl),a(C,al),a(C,Is),a(Is,ll),a(C,el),i(s,Ks,n),U(es,s,n),i(s,Ls,n),i(s,M,n),a(M,tl),a(M,Cs),a(Cs,nl),a(M,pl),a(M,_s),a(_s,rl),a(M,ol),a(M,bs),a(bs,il),a(M,cl),a(M,vs),a(vs,yl),a(M,hl),a(M,Es),a(Es,Ml),a(M,ml),a(M,gs),a(gs,Jl),a(M,Tl),i(s,sa,n),i(s,os,n),a(os,ul),i(s,aa,n),U(ts,s,n),i(s,la,n),i(s,$,n),a($,V),a(V,$s),U(ns,$s,null),a($,Ul),a($,qs),a(qs,jl),i(s,ea,n),ta=!0},p:re,i(s){ta||(j(N.$$.fragment,s),j(Q.$$.fragment,s),j(z.$$.fragment,s),j(F.$$.fragment,s),j(H.$$.fragment,s),j(O.$$.fragment,s),j(L.$$.fragment,s),j(as.$$.fragment,s),j(ls.$$.fragment,s),j(es.$$.fragment,s),j(ts.$$.fragment,s),j(ns.$$.fragment,s),ta=!0)},o(s){w(N.$$.fragment,s),w(Q.$$.fragment,s),w(z.$$.fragment,s),w(F.$$.fragment,s),w(H.$$.fragment,s),w(O.$$.fragment,s),w(L.$$.fragment,s),w(as.$$.fragment,s),w(ls.$$.fragment,s),w(es.$$.fragment,s),w(ts.$$.fragment,s),w(ns.$$.fragment,s),ta=!1},d(s){l(_),s&&l(Xs),s&&l(b),f(N),s&&l(Ws),s&&l(I),s&&l(Zs),s&&l(v),f(Q),s&&l(ks),s&&l(m),s&&l(Bs),s&&l(ps),s&&l(Vs),f(z,s),s&&l(Ys),s&&l(E),f(F),s&&l(Ns),s&&l(rs),s&&l(Qs),s&&l(W),s&&l(Ss),f(H,s),s&&l(Rs),s&&l(Z),s&&l(Gs),f(O,s),s&&l(Ds),s&&l(k),s&&l(zs),f(L,s),s&&l(Fs),s&&l(B),s&&l(xs),f(as,s),s&&l(Hs),s&&l(g),s&&l(Ps),f(ls,s),s&&l(Os),s&&l(C),s&&l(Ks),f(es,s),s&&l(Ls),s&&l(M),s&&l(sa),s&&l(os),s&&l(aa),f(ts,s),s&&l(la),s&&l($),f(ns),s&&l(ea)}}}const ce={local:"hyperparameter-search-using-trainer-api",sections:[{local:"hyperparameter-search-backend",title:"\uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 \uBC31\uC5D4\uB4DC "},{local:"how-to-enable-hyperparameter-search-in-example",title:"\uC608\uC81C\uC5D0\uC11C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9\uC744 \uD65C\uC131\uD654\uD558\uB294 \uBC29\uBC95 "},{local:"hyperparameter-search-for-ddp-finetune",title:"DDP \uBBF8\uC138 \uC870\uC815\uC744 \uC704\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 "}],title:"Trainer API\uB97C \uC0AC\uC6A9\uD55C \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130 \uD0D0\uC0C9 "};function ye(wl){return oe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Je extends ee{constructor(_){super();te(this,_,ye,ie,ne,{})}}export{Je as default,ce as metadata};
