import{s as ws,f as _s,o as bs,n as tt}from"../chunks/scheduler.56730f09.js";import{S as Ms,i as ys,g as r,s as i,u as w,A as Ts,h as o,f as t,c as p,j as x,v as _,y as h,k as g,o as k,a as l,w as b,d as M,t as y,x as T}from"../chunks/index.ba464511.js";import{T as ks}from"../chunks/Tip.70442610.js";import{Y as Cs}from"../chunks/Youtube.7b20230c.js";import{I as le}from"../chunks/IconCopyLink.89bde88e.js";import{C as U}from"../chunks/CodeBlock.2302fd0d.js";import{F as vs,M as mt}from"../chunks/Markdown.6303afae.js";function xs(W){let a,m='커뮤니티에 모델을 공유하려면, <a href="https://huggingface.co/join" rel="nofollow">huggingface.co</a>에 계정이 필요합니다. 기존 조직에 가입하거나 새로 만들 수도 있습니다.';return{c(){a=r("p"),a.innerHTML=m},l(n){a=o(n,"P",{"data-svelte-h":!0}),h(a)!=="svelte-1x1qpix"&&(a.innerHTML=m)},m(n,f){l(n,a,f)},p:tt,d(n){n&&t(a)}}}function Hs(W){let a,m="체크포인트를 TensorFlow에서 PyTorch로 변환하려면 <code>from_tf=True</code>를 지정하세요:",n,f,$;return f=new U({props:{code:"cHRfbW9kZWwlMjAlM0QlMjBEaXN0aWxCZXJ0Rm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbi5mcm9tX3ByZXRyYWluZWQoJTIycGF0aCUyRnRvJTJGYXdlc29tZS1uYW1lLXlvdS1waWNrZWQlMjIlMkMlMjBmcm9tX3RmJTNEVHJ1ZSklMEFwdF9tb2RlbC5zYXZlX3ByZXRyYWluZWQoJTIycGF0aCUyRnRvJTJGYXdlc29tZS1uYW1lLXlvdS1waWNrZWQlMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model = DistilBertForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;path/to/awesome-name-you-picked&quot;</span>, from_tf=<span class="hljs-literal">True</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model.save_pretrained(<span class="hljs-string">&quot;path/to/awesome-name-you-picked&quot;</span>)`,wrap:!1}}),{c(){a=r("p"),a.innerHTML=m,n=i(),w(f.$$.fragment)},l(u){a=o(u,"P",{"data-svelte-h":!0}),h(a)!=="svelte-ulhn3k"&&(a.innerHTML=m),n=p(u),_(f.$$.fragment,u)},m(u,C){l(u,a,C),l(u,n,C),b(f,u,C),$=!0},p:tt,i(u){$||(M(f.$$.fragment,u),$=!0)},o(u){y(f.$$.fragment,u),$=!1},d(u){u&&(t(a),t(n)),T(f,u)}}}function Js(W){let a,m;return a=new mt({props:{$$slots:{default:[Hs]},$$scope:{ctx:W}}}),{c(){w(a.$$.fragment)},l(n){_(a.$$.fragment,n)},m(n,f){b(a,n,f),m=!0},p(n,f){const $={};f&2&&($.$$scope={dirty:f,ctx:n}),a.$set($)},i(n){m||(M(a.$$.fragment,n),m=!0)},o(n){y(a.$$.fragment,n),m=!1},d(n){T(a,n)}}}function js(W){let a,m="체크포인트를 PyTorch에서 TensorFlow로 변환하려면 <code>from_pt=True</code>를 지정하세요:",n,f,$,u,C="그런 다음 새로운 체크포인트와 함께 새로운 TensorFlow 모델을 저장할 수 있습니다:",H,j,F;return f=new U({props:{code:"dGZfbW9kZWwlMjAlM0QlMjBURkRpc3RpbEJlcnRGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMjJwYXRoJTJGdG8lMkZhd2Vzb21lLW5hbWUteW91LXBpY2tlZCUyMiUyQyUyMGZyb21fcHQlM0RUcnVlKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model = TFDistilBertForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;path/to/awesome-name-you-picked&quot;</span>, from_pt=<span class="hljs-literal">True</span>)',wrap:!1}}),j=new U({props:{code:"dGZfbW9kZWwuc2F2ZV9wcmV0cmFpbmVkKCUyMnBhdGglMkZ0byUyRmF3ZXNvbWUtbmFtZS15b3UtcGlja2VkJTIyKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model.save_pretrained(<span class="hljs-string">&quot;path/to/awesome-name-you-picked&quot;</span>)',wrap:!1}}),{c(){a=r("p"),a.innerHTML=m,n=i(),w(f.$$.fragment),$=i(),u=r("p"),u.textContent=C,H=i(),w(j.$$.fragment)},l(d){a=o(d,"P",{"data-svelte-h":!0}),h(a)!=="svelte-sn4jxc"&&(a.innerHTML=m),n=p(d),_(f.$$.fragment,d),$=p(d),u=o(d,"P",{"data-svelte-h":!0}),h(u)!=="svelte-eampn5"&&(u.textContent=C),H=p(d),_(j.$$.fragment,d)},m(d,J){l(d,a,J),l(d,n,J),b(f,d,J),l(d,$,J),l(d,u,J),l(d,H,J),b(j,d,J),F=!0},p:tt,i(d){F||(M(f.$$.fragment,d),M(j.$$.fragment,d),F=!0)},o(d){y(f.$$.fragment,d),y(j.$$.fragment,d),F=!1},d(d){d&&(t(a),t(n),t($),t(u),t(H)),T(f,d),T(j,d)}}}function Ws(W){let a,m;return a=new mt({props:{$$slots:{default:[js]},$$scope:{ctx:W}}}),{c(){w(a.$$.fragment)},l(n){_(a.$$.fragment,n)},m(n,f){b(a,n,f),m=!0},p(n,f){const $={};f&2&&($.$$scope={dirty:f,ctx:n}),a.$set($)},i(n){m||(M(a.$$.fragment,n),m=!0)},o(n){y(a.$$.fragment,n),m=!1},d(n){T(a,n)}}}function Zs(W){let a,m="Flax에서 모델을 사용하는 경우, PyTorch에서 Flax로 체크포인트를 변환할 수도 있습니다:",n,f,$;return f=new U({props:{code:"ZmxheF9tb2RlbCUyMCUzRCUyMEZsYXhEaXN0aWxCZXJ0Rm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbi5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIycGF0aCUyRnRvJTJGYXdlc29tZS1uYW1lLXlvdS1waWNrZWQlMjIlMkMlMjBmcm9tX3B0JTNEVHJ1ZSUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>flax_model = FlaxDistilBertForSequenceClassification.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;path/to/awesome-name-you-picked&quot;</span>, from_pt=<span class="hljs-literal">True</span>
<span class="hljs-meta">... </span>)`,wrap:!1}}),{c(){a=r("p"),a.textContent=m,n=i(),w(f.$$.fragment)},l(u){a=o(u,"P",{"data-svelte-h":!0}),h(a)!=="svelte-qsi1v0"&&(a.textContent=m),n=p(u),_(f.$$.fragment,u)},m(u,C){l(u,a,C),l(u,n,C),b(f,u,C),$=!0},p:tt,i(u){$||(M(f.$$.fragment,u),$=!0)},o(u){y(f.$$.fragment,u),$=!1},d(u){u&&(t(a),t(n)),T(f,u)}}}function Ls(W){let a,m;return a=new mt({props:{$$slots:{default:[Zs]},$$scope:{ctx:W}}}),{c(){w(a.$$.fragment)},l(n){_(a.$$.fragment,n)},m(n,f){b(a,n,f),m=!0},p(n,f){const $={};f&2&&($.$$scope={dirty:f,ctx:n}),a.$set($)},i(n){m||(M(a.$$.fragment,n),m=!0)},o(n){y(a.$$.fragment,n),m=!1},d(n){T(a,n)}}}function Fs(W){let a,m,n,f='모델을 허브에 공유하는 것은 추가 매개변수나 콜백을 추가하는 것만큼 간단합니다. <a href="training">미세 조정 튜토리얼</a>에서 <code>TrainingArguments</code> 클래스는 하이퍼파라미터와 추가 훈련 옵션을 지정하는 곳이라는 것을 기억하세요. 이러한 훈련 옵션 중 하나는 모델을 허브로 직접 푸시하는 기능을 포함합니다. <code>TrainingArguments</code>에서 <code>push_to_hub=True</code>를 설정하세요:',$,u,C,H,j="평소와 같이 훈련 인수를 <code>Trainer</code>에 전달합니다:",F,d,J,L,v="모델을 미세 조정한 후, <code>Trainer</code>에서 <code>push_to_hub()</code>를 호출하여 훈련된 모델을 허브로 푸시하세요. 🤗 Transformers는 훈련 하이퍼파라미터, 훈련 결과 및 프레임워크 버전을 모델 카드에 자동으로 추가합니다!",X,P,se;return a=new Cs({props:{id:"Z1-XMy-GNLQ"}}),u=new U({props:{code:"dHJhaW5pbmdfYXJncyUyMCUzRCUyMFRyYWluaW5nQXJndW1lbnRzKG91dHB1dF9kaXIlM0QlMjJteS1hd2Vzb21lLW1vZGVsJTIyJTJDJTIwcHVzaF90b19odWIlM0RUcnVlKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>training_args = TrainingArguments(output_dir=<span class="hljs-string">&quot;my-awesome-model&quot;</span>, push_to_hub=<span class="hljs-literal">True</span>)',wrap:!1}}),d=new U({props:{code:"dHJhaW5lciUyMCUzRCUyMFRyYWluZXIoJTBBJTIwJTIwJTIwJTIwbW9kZWwlM0Rtb2RlbCUyQyUwQSUyMCUyMCUyMCUyMGFyZ3MlM0R0cmFpbmluZ19hcmdzJTJDJTBBJTIwJTIwJTIwJTIwdHJhaW5fZGF0YXNldCUzRHNtYWxsX3RyYWluX2RhdGFzZXQlMkMlMEElMjAlMjAlMjAlMjBldmFsX2RhdGFzZXQlM0RzbWFsbF9ldmFsX2RhdGFzZXQlMkMlMEElMjAlMjAlMjAlMjBjb21wdXRlX21ldHJpY3MlM0Rjb21wdXRlX21ldHJpY3MlMkMlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>trainer = Trainer(
<span class="hljs-meta">... </span>    model=model,
<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>)`,wrap:!1}}),P=new U({props:{code:"dHJhaW5lci5wdXNoX3RvX2h1Yigp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>trainer.push_to_hub()',wrap:!1}}),{c(){w(a.$$.fragment),m=i(),n=r("p"),n.innerHTML=f,$=i(),w(u.$$.fragment),C=i(),H=r("p"),H.innerHTML=j,F=i(),w(d.$$.fragment),J=i(),L=r("p"),L.innerHTML=v,X=i(),w(P.$$.fragment)},l(c){_(a.$$.fragment,c),m=p(c),n=o(c,"P",{"data-svelte-h":!0}),h(n)!=="svelte-1ivzhup"&&(n.innerHTML=f),$=p(c),_(u.$$.fragment,c),C=p(c),H=o(c,"P",{"data-svelte-h":!0}),h(H)!=="svelte-wl6tpp"&&(H.innerHTML=j),F=p(c),_(d.$$.fragment,c),J=p(c),L=o(c,"P",{"data-svelte-h":!0}),h(L)!=="svelte-147nj48"&&(L.innerHTML=v),X=p(c),_(P.$$.fragment,c)},m(c,Z){b(a,c,Z),l(c,m,Z),l(c,n,Z),l(c,$,Z),b(u,c,Z),l(c,C,Z),l(c,H,Z),l(c,F,Z),b(d,c,Z),l(c,J,Z),l(c,L,Z),l(c,X,Z),b(P,c,Z),se=!0},p:tt,i(c){se||(M(a.$$.fragment,c),M(u.$$.fragment,c),M(d.$$.fragment,c),M(P.$$.fragment,c),se=!0)},o(c){y(a.$$.fragment,c),y(u.$$.fragment,c),y(d.$$.fragment,c),y(P.$$.fragment,c),se=!1},d(c){c&&(t(m),t(n),t($),t(C),t(H),t(F),t(J),t(L),t(X)),T(a,c),T(u,c),T(d,c),T(P,c)}}}function Xs(W){let a,m;return a=new mt({props:{$$slots:{default:[Fs]},$$scope:{ctx:W}}}),{c(){w(a.$$.fragment)},l(n){_(a.$$.fragment,n)},m(n,f){b(a,n,f),m=!0},p(n,f){const $={};f&2&&($.$$scope={dirty:f,ctx:n}),a.$set($)},i(n){m||(M(a.$$.fragment,n),m=!0)},o(n){y(a.$$.fragment,n),m=!1},d(n){T(a,n)}}}function Us(W){let a,m="<code>PushToHubCallback</code>을 사용하여 모델을 허브에 공유하려면, <code>PushToHubCallback</code>에 다음 인수를 정의하세요:",n,f,$="<li>출력된 모델의 파일 경로</li> <li>토크나이저</li> <li><code>{Hub 사용자 이름}/{모델 이름}</code> 형식의 <code>hub_model_id</code></li>",u,C,H,j,F='<a href="https://keras.io/api/models/model_training_apis/" rel="nofollow"><code>fit</code></a>에 콜백을 추가하면, 🤗 Transformers가 훈련된 모델을 허브로 푸시합니다:',d,J,L;return C=new U({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFB1c2hUb0h1YkNhbGxiYWNrJTBBJTBBcHVzaF90b19odWJfY2FsbGJhY2slMjAlM0QlMjBQdXNoVG9IdWJDYWxsYmFjayglMEElMjAlMjAlMjAlMjBvdXRwdXRfZGlyJTNEJTIyLiUyRnlvdXJfbW9kZWxfc2F2ZV9wYXRoJTIyJTJDJTIwdG9rZW5pemVyJTNEdG9rZW5pemVyJTJDJTIwaHViX21vZGVsX2lkJTNEJTIyeW91ci11c2VybmFtZSUyRm15LWF3ZXNvbWUtbW9kZWwlMjIlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> PushToHubCallback

<span class="hljs-meta">&gt;&gt;&gt; </span>push_to_hub_callback = PushToHubCallback(
<span class="hljs-meta">... </span>    output_dir=<span class="hljs-string">&quot;./your_model_save_path&quot;</span>, tokenizer=tokenizer, hub_model_id=<span class="hljs-string">&quot;your-username/my-awesome-model&quot;</span>
<span class="hljs-meta">... </span>)`,wrap:!1}}),J=new U({props:{code:"bW9kZWwuZml0KHRmX3RyYWluX2RhdGFzZXQlMkMlMjB2YWxpZGF0aW9uX2RhdGElM0R0Zl92YWxpZGF0aW9uX2RhdGFzZXQlMkMlMjBlcG9jaHMlM0QzJTJDJTIwY2FsbGJhY2tzJTNEcHVzaF90b19odWJfY2FsbGJhY2sp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>model.fit(tf_train_dataset, validation_data=tf_validation_dataset, epochs=<span class="hljs-number">3</span>, callbacks=push_to_hub_callback)',wrap:!1}}),{c(){a=r("p"),a.innerHTML=m,n=i(),f=r("ul"),f.innerHTML=$,u=i(),w(C.$$.fragment),H=i(),j=r("p"),j.innerHTML=F,d=i(),w(J.$$.fragment)},l(v){a=o(v,"P",{"data-svelte-h":!0}),h(a)!=="svelte-1m85w97"&&(a.innerHTML=m),n=p(v),f=o(v,"UL",{"data-svelte-h":!0}),h(f)!=="svelte-omd9uv"&&(f.innerHTML=$),u=p(v),_(C.$$.fragment,v),H=p(v),j=o(v,"P",{"data-svelte-h":!0}),h(j)!=="svelte-1u6bst"&&(j.innerHTML=F),d=p(v),_(J.$$.fragment,v)},m(v,X){l(v,a,X),l(v,n,X),l(v,f,X),l(v,u,X),b(C,v,X),l(v,H,X),l(v,j,X),l(v,d,X),b(J,v,X),L=!0},p:tt,i(v){L||(M(C.$$.fragment,v),M(J.$$.fragment,v),L=!0)},o(v){y(C.$$.fragment,v),y(J.$$.fragment,v),L=!1},d(v){v&&(t(a),t(n),t(f),t(u),t(H),t(j),t(d)),T(C,v),T(J,v)}}}function Ps(W){let a,m;return a=new mt({props:{$$slots:{default:[Us]},$$scope:{ctx:W}}}),{c(){w(a.$$.fragment)},l(n){_(a.$$.fragment,n)},m(n,f){b(a,n,f),m=!0},p(n,f){const $={};f&2&&($.$$scope={dirty:f,ctx:n}),a.$set($)},i(n){m||(M(a.$$.fragment,n),m=!0)},o(n){y(a.$$.fragment,n),m=!1},d(n){T(a,n)}}}function Gs(W){let a,m,n,f,$,u,C,H,j,F,d="모델 공유하기",J,L,v="지난 두 튜토리얼에서 분산 설정을 위해 PyTorch, Keras 및 🤗 Accelerate를 사용하여 모델을 미세 조정하는 방법을 보았습니다. 다음 단계는 모델을 커뮤니티와 공유하는 것입니다! Hugging Face는 인공지능의 민주화를 위해 모두에게 지식과 자원을 공개적으로 공유해야 한다고 믿습니다. 다른 사람들이 시간과 자원을 절약할 수 있도록 커뮤니티에 모델을 공유하는 것을 고려해 보세요.",X,P,se='이 튜토리얼에서 <a href="https://huggingface.co/models" rel="nofollow">Model Hub</a>에서 훈련되거나 미세 조정 모델을 공유하는 두 가지 방법에 대해 알아봅시다:',c,Z,Ml="<li>API를 통해 파일을 Hub에 푸시합니다.</li> <li>웹사이트를 통해 파일을 Hub로 끌어다 놓습니다.</li>",ht,G,yl,ct,V,$t,R,z,lt,ae,$l,Be,Tl="저장소 특징",dt,ne,kl="모델 허브의 각 저장소는 일반적인 GitHub 저장소처럼 작동합니다. 저장소는 버전 관리, 커밋 기록, 차이점 시각화 기능을 제공합니다.",gt,re,Cl='모델 허브에 내장된 버전 관리는 git 및 <a href="https://git-lfs.github.com/" rel="nofollow">git-lfs</a>를 기반으로 합니다. 즉, 하나의 모델을 하나의 저장소로 취급하여 접근 제어 및 확장성이 향상됩니다. 버전 제어는 커밋 해시, 태그 또는 브랜치로 모델의 특정 버전을 고정하는 방법인 <em>revision</em>을 허용합니다.',vt,oe,xl="따라서 <code>revision</code> 매개변수를 사용하여 특정 모델 버전을 가져올 수 있습니다:",wt,ie,_t,pe,Hl="또한 저장소에서 파일을 쉽게 편집할 수 있으며, 커밋 기록과 차이를 볼 수 있습니다:",bt,fe,Jl='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/vis_diff.png" alt="vis_diff"/>',Mt,E,B,st,ue,dl,qe,jl="설정",yt,me,Wl="모델을 허브에 공유하기 전에 Hugging Face 자격 증명이 필요합니다. 터미널에 액세스할 수 있는 경우, 🤗 Transformers가 설치된 가상 환경에서 다음 명령을 실행합니다. 그러면 Hugging Face 캐시 폴더(기본적으로 <code>~/.cache/</code>)에 액세스 토큰을 저장합니다:",Tt,he,kt,ce,Zl='Jupyter 또는 Colaboratory와 같은 노트북을 사용 중인 경우, <a href="https://huggingface.co/docs/hub/adding-a-library" rel="nofollow"><code>huggingface_hub</code></a> 라이브러리가 설치되었는지 확인하세요. 이 라이브러리를 사용하면 API로 허브와 상호 작용할 수 있습니다.',Ct,$e,xt,de,Ll='그런 다음 <code>notebook_login</code>로 허브에 로그인하고, <a href="https://huggingface.co/settings/token" rel="nofollow">여기</a> 링크에서 로그인할 토큰을 생성합니다:',Ht,ge,Jt,I,q,at,ve,gl,Qe,Fl="프레임워크 간 모델 변환하기",jt,we,Xl="다른 프레임워크로 작업하는 사용자가 모델을 사용할 수 있도록 하려면, PyTorch 및 TensorFlow 체크포인트를 모두 사용하여 모델을 변환하고 업로드하는 것이 좋습니다. 이 단계를 건너뛰어도 사용자는 다른 프레임워크에서 모델을 가져올 수 있지만, 🤗 Transformers가 체크포인트를 즉석에서 변환해야 하므로 속도가 느려질 수 있습니다.",Wt,_e,Ul='체크포인트를 다른 프레임워크로 변환하는 것은 쉽습니다. PyTorch 및 TensorFlow가 설치되어 있는지 확인한 다음(설치 지침은 <a href="installation">여기</a> 참조) 다른 프레임워크에서 작업에 대한 특정 모델을 찾습니다.',Zt,Q,Lt,Y,D,nt,be,vl,De,Pl="훈련 중 모델 푸시하기",Ft,K,Xt,A,O,rt,Me,wl,Ke,Gl="<code>push_to_hub</code> 함수 사용하기",Ut,ye,Rl="모델에서 직접 <code>push_to_hub</code>를 호출하여 허브에 업로드할 수도 있습니다.",Pt,Te,El="<code>push_to_hub</code>에 모델 이름을 지정하세요:",Gt,ke,Rt,Ce,Il="이렇게 하면 사용자 이름 아래에 모델 이름 <code>my-awesome-model</code>로 저장소가 생성됩니다. 이제 사용자는 <code>from_pretrained</code> 함수를 사용하여 모델을 가져올 수 있습니다:",Et,xe,It,He,Yl="조직에 속하고 모델을 조직 이름으로 대신 푸시하려면 <code>repo_id</code>에 추가하세요:",Yt,Je,At,je,Al="<code>push_to_hub</code> 함수는 모델 저장소에 다른 파일을 추가하는 데에도 사용할 수 있습니다. 예를 들어 모델 저장소에 토크나이저를 추가할 수 있습니다:",St,We,Nt,Ze,Sl="또는 미세 조정된 PyTorch 모델의 TensorFlow 버전을 추가할 수도 있습니다:",Vt,Le,zt,Fe,Nl="이제 Hugging Face 프로필로 이동하면, 새로 생성한 모델 저장소가 표시됩니다. <strong>Files</strong> 탭을 클릭하면 저장소에 업로드한 모든 파일이 표시됩니다.",Bt,Xe,Vl='저장소에 파일을 만들고 업로드하는 방법에 대한 자세한 내용은 허브 설명서 <a href="https://huggingface.co/docs/hub/how-to-upstream" rel="nofollow">여기</a>를 참조하세요.',qt,S,ee,ot,Ue,_l,Oe,zl="웹 인터페이스로 업로드하기",Qt,Pe,Bl='코드 없는 접근 방식을 선호하는 사용자는 허브의 웹 인터페이스를 통해 모델을 업로드할 수 있습니다. <a href="https://huggingface.co/new" rel="nofollow">huggingface.co/new</a>를 방문하여 새로운 저장소를 생성하세요:',Dt,Ge,ql='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/new_model_repo.png" alt="new_model_repo"/>',Kt,Re,Ql="여기서 모델에 대한 몇 가지 정보를 추가하세요:",Ot,Ee,Dl="<li>저장소의 <strong>소유자</strong>를 선택합니다. 이는 사용자 또는 사용자가 속한 조직일 수 있습니다.</li> <li>저장소 이름이 될 모델의 이름을 선택합니다.</li> <li>모델이 공개인지 비공개인지 선택합니다.</li> <li>모델의 라이센스 사용을 지정합니다.</li>",el,Ie,Kl="이제 <strong>Files</strong> 탭을 클릭하고 <strong>Add file</strong> 버튼을 클릭하여 새로운 파일을 저장소에 업로드합니다. 그런 다음 업로드할 파일을 끌어다 놓고 커밋 메시지를 추가하세요.",tl,Ye,Ol='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/upload_file.png" alt="upload_file"/>',ll,N,te,it,Ae,bl,et,es="모델 카드 추가하기",sl,Se,ts="사용자가 모델의 기능, 제한, 잠재적 편향 및 윤리적 고려 사항을 이해할 수 있도록 저장소에 모델 카드를 추가하세요. 모델 카드는 <code>README.md</code> 파일에 정의되어 있습니다. 다음 방법으로 모델 카드를 추가할 수 있습니다:",al,Ne,ls="<li><code>README.md</code> 파일을 수동으로 생성하여 업로드합니다.</li> <li>모델 저장소에서 <strong>Edit model card</strong> 버튼을 클릭합니다.</li>",nl,Ve,ss='모델 카드에 포함할 정보 유형에 대한 좋은 예는 DistilBert <a href="https://huggingface.co/distilbert-base-uncased" rel="nofollow">모델 카드</a>를 참조하세요. 모델의 탄소 발자국이나 위젯 예시 등 <code>README.md</code> 파일에서 제어할 수 있는 다른 옵션에 대한 자세한 내용은 <a href="https://huggingface.co/docs/hub/models-cards" rel="nofollow">여기</a> 문서를 참조하세요.',rl,pt,ol;return H=new le({}),V=new ks({props:{$$slots:{default:[xs]},$$scope:{ctx:W}}}),ae=new le({}),ie=new U({props:{code:"bW9kZWwlMjAlM0QlMjBBdXRvTW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMmp1bGllbi1jJTJGRXNwZXJCRVJUby1zbWFsbCUyMiUyQyUyMHJldmlzaW9uJTNEJTIydjIuMC4xJTIyJTIwJTIwJTIzJTIwdGFnJTIwbmFtZSUyQyUyMG9yJTIwYnJhbmNoJTIwbmFtZSUyQyUyMG9yJTIwY29tbWl0JTIwaGFzaCUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModel.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;julien-c/EsperBERTo-small&quot;</span>, revision=<span class="hljs-string">&quot;v2.0.1&quot;</span>  <span class="hljs-comment"># tag name, or branch name, or commit hash</span>
<span class="hljs-meta">... </span>)`,wrap:!1}}),ue=new le({}),he=new U({props:{code:"aHVnZ2luZ2ZhY2UtY2xpJTIwbG9naW4=",highlighted:"huggingface-cli login",wrap:!1}}),$e=new U({props:{code:"cGlwJTIwaW5zdGFsbCUyMGh1Z2dpbmdmYWNlX2h1Yg==",highlighted:"pip install huggingface_hub",wrap:!1}}),ge=new U({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMG5vdGVib29rX2xvZ2luJTBBJTBBbm90ZWJvb2tfbG9naW4oKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> notebook_login

<span class="hljs-meta">&gt;&gt;&gt; </span>notebook_login()`,wrap:!1}}),ve=new le({}),Q=new vs({props:{pytorch:!0,tensorflow:!0,jax:!0,$$slots:{jax:[Ls],tensorflow:[Ws],pytorch:[Js]},$$scope:{ctx:W}}}),be=new le({}),K=new vs({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[Ps],pytorch:[Xs]},$$scope:{ctx:W}}}),Me=new le({}),ke=new U({props:{code:"cHRfbW9kZWwucHVzaF90b19odWIoJTIybXktYXdlc29tZS1tb2RlbCUyMik=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model.push_to_hub(<span class="hljs-string">&quot;my-awesome-model&quot;</span>)',wrap:!1}}),xe=new U({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbCUwQSUwQW1vZGVsJTIwJTNEJTIwQXV0b01vZGVsLmZyb21fcHJldHJhaW5lZCglMjJ5b3VyX3VzZXJuYW1lJTJGbXktYXdlc29tZS1tb2RlbCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModel

<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModel.from_pretrained(<span class="hljs-string">&quot;your_username/my-awesome-model&quot;</span>)`,wrap:!1}}),Je=new U({props:{code:"cHRfbW9kZWwucHVzaF90b19odWIoJTIybXktYXdlc29tZS1vcmclMkZteS1hd2Vzb21lLW1vZGVsJTIyKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model.push_to_hub(<span class="hljs-string">&quot;my-awesome-org/my-awesome-model&quot;</span>)',wrap:!1}}),We=new U({props:{code:"dG9rZW5pemVyLnB1c2hfdG9faHViKCUyMm15LWF3ZXNvbWUtbW9kZWwlMjIp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer.push_to_hub(<span class="hljs-string">&quot;my-awesome-model&quot;</span>)',wrap:!1}}),Le=new U({props:{code:"dGZfbW9kZWwucHVzaF90b19odWIoJTIybXktYXdlc29tZS1tb2RlbCUyMik=",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model.push_to_hub(<span class="hljs-string">&quot;my-awesome-model&quot;</span>)',wrap:!1}}),Ue=new le({}),Ae=new le({}),{c(){a=r("meta"),m=i(),n=r("p"),f=i(),$=r("h1"),u=r("a"),C=r("span"),w(H.$$.fragment),j=i(),F=r("span"),F.textContent=d,J=i(),L=r("p"),L.textContent=v,X=i(),P=r("p"),P.innerHTML=se,c=i(),Z=r("ul"),Z.innerHTML=Ml,ht=i(),G=r("iframe"),ct=i(),w(V.$$.fragment),$t=i(),R=r("h2"),z=r("a"),lt=r("span"),w(ae.$$.fragment),$l=i(),Be=r("span"),Be.textContent=Tl,dt=i(),ne=r("p"),ne.textContent=kl,gt=i(),re=r("p"),re.innerHTML=Cl,vt=i(),oe=r("p"),oe.innerHTML=xl,wt=i(),w(ie.$$.fragment),_t=i(),pe=r("p"),pe.textContent=Hl,bt=i(),fe=r("p"),fe.innerHTML=Jl,Mt=i(),E=r("h2"),B=r("a"),st=r("span"),w(ue.$$.fragment),dl=i(),qe=r("span"),qe.textContent=jl,yt=i(),me=r("p"),me.innerHTML=Wl,Tt=i(),w(he.$$.fragment),kt=i(),ce=r("p"),ce.innerHTML=Zl,Ct=i(),w($e.$$.fragment),xt=i(),de=r("p"),de.innerHTML=Ll,Ht=i(),w(ge.$$.fragment),Jt=i(),I=r("h2"),q=r("a"),at=r("span"),w(ve.$$.fragment),gl=i(),Qe=r("span"),Qe.textContent=Fl,jt=i(),we=r("p"),we.textContent=Xl,Wt=i(),_e=r("p"),_e.innerHTML=Ul,Zt=i(),w(Q.$$.fragment),Lt=i(),Y=r("h2"),D=r("a"),nt=r("span"),w(be.$$.fragment),vl=i(),De=r("span"),De.textContent=Pl,Ft=i(),w(K.$$.fragment),Xt=i(),A=r("h2"),O=r("a"),rt=r("span"),w(Me.$$.fragment),wl=i(),Ke=r("span"),Ke.innerHTML=Gl,Ut=i(),ye=r("p"),ye.innerHTML=Rl,Pt=i(),Te=r("p"),Te.innerHTML=El,Gt=i(),w(ke.$$.fragment),Rt=i(),Ce=r("p"),Ce.innerHTML=Il,Et=i(),w(xe.$$.fragment),It=i(),He=r("p"),He.innerHTML=Yl,Yt=i(),w(Je.$$.fragment),At=i(),je=r("p"),je.innerHTML=Al,St=i(),w(We.$$.fragment),Nt=i(),Ze=r("p"),Ze.textContent=Sl,Vt=i(),w(Le.$$.fragment),zt=i(),Fe=r("p"),Fe.innerHTML=Nl,Bt=i(),Xe=r("p"),Xe.innerHTML=Vl,qt=i(),S=r("h2"),ee=r("a"),ot=r("span"),w(Ue.$$.fragment),_l=i(),Oe=r("span"),Oe.textContent=zl,Qt=i(),Pe=r("p"),Pe.innerHTML=Bl,Dt=i(),Ge=r("p"),Ge.innerHTML=ql,Kt=i(),Re=r("p"),Re.textContent=Ql,Ot=i(),Ee=r("ul"),Ee.innerHTML=Dl,el=i(),Ie=r("p"),Ie.innerHTML=Kl,tl=i(),Ye=r("p"),Ye.innerHTML=Ol,ll=i(),N=r("h2"),te=r("a"),it=r("span"),w(Ae.$$.fragment),bl=i(),et=r("span"),et.textContent=es,sl=i(),Se=r("p"),Se.innerHTML=ts,al=i(),Ne=r("ul"),Ne.innerHTML=ls,nl=i(),Ve=r("p"),Ve.innerHTML=ss,rl=i(),pt=r("p"),this.h()},l(e){const s=Ts("svelte-1phssyn",document.head);a=o(s,"META",{name:!0,content:!0}),s.forEach(t),m=p(e),n=o(e,"P",{}),x(n).forEach(t),f=p(e),$=o(e,"H1",{class:!0});var ze=x($);u=o(ze,"A",{id:!0,class:!0,href:!0});var ft=x(u);C=o(ft,"SPAN",{});var ut=x(C);_(H.$$.fragment,ut),ut.forEach(t),ft.forEach(t),j=p(ze),F=o(ze,"SPAN",{"data-svelte-h":!0}),h(F)!=="svelte-1kgl7du"&&(F.textContent=d),ze.forEach(t),J=p(e),L=o(e,"P",{"data-svelte-h":!0}),h(L)!=="svelte-eg5xq6"&&(L.textContent=v),X=p(e),P=o(e,"P",{"data-svelte-h":!0}),h(P)!=="svelte-17tx3z4"&&(P.innerHTML=se),c=p(e),Z=o(e,"UL",{"data-svelte-h":!0}),h(Z)!=="svelte-1913196"&&(Z.innerHTML=Ml),ht=p(e),G=o(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),x(G).forEach(t),ct=p(e),_(V.$$.fragment,e),$t=p(e),R=o(e,"H2",{class:!0});var il=x(R);z=o(il,"A",{id:!0,class:!0,href:!0});var as=x(z);lt=o(as,"SPAN",{});var ns=x(lt);_(ae.$$.fragment,ns),ns.forEach(t),as.forEach(t),$l=p(il),Be=o(il,"SPAN",{"data-svelte-h":!0}),h(Be)!=="svelte-ufd06u"&&(Be.textContent=Tl),il.forEach(t),dt=p(e),ne=o(e,"P",{"data-svelte-h":!0}),h(ne)!=="svelte-1yck4lf"&&(ne.textContent=kl),gt=p(e),re=o(e,"P",{"data-svelte-h":!0}),h(re)!=="svelte-1xcyu3z"&&(re.innerHTML=Cl),vt=p(e),oe=o(e,"P",{"data-svelte-h":!0}),h(oe)!=="svelte-akumrw"&&(oe.innerHTML=xl),wt=p(e),_(ie.$$.fragment,e),_t=p(e),pe=o(e,"P",{"data-svelte-h":!0}),h(pe)!=="svelte-3nuli4"&&(pe.textContent=Hl),bt=p(e),fe=o(e,"P",{"data-svelte-h":!0}),h(fe)!=="svelte-hnu2bf"&&(fe.innerHTML=Jl),Mt=p(e),E=o(e,"H2",{class:!0});var pl=x(E);B=o(pl,"A",{id:!0,class:!0,href:!0});var rs=x(B);st=o(rs,"SPAN",{});var os=x(st);_(ue.$$.fragment,os),os.forEach(t),rs.forEach(t),dl=p(pl),qe=o(pl,"SPAN",{"data-svelte-h":!0}),h(qe)!=="svelte-13l6gjo"&&(qe.textContent=jl),pl.forEach(t),yt=p(e),me=o(e,"P",{"data-svelte-h":!0}),h(me)!=="svelte-evny8e"&&(me.innerHTML=Wl),Tt=p(e),_(he.$$.fragment,e),kt=p(e),ce=o(e,"P",{"data-svelte-h":!0}),h(ce)!=="svelte-1uxou9a"&&(ce.innerHTML=Zl),Ct=p(e),_($e.$$.fragment,e),xt=p(e),de=o(e,"P",{"data-svelte-h":!0}),h(de)!=="svelte-1lap8j6"&&(de.innerHTML=Ll),Ht=p(e),_(ge.$$.fragment,e),Jt=p(e),I=o(e,"H2",{class:!0});var fl=x(I);q=o(fl,"A",{id:!0,class:!0,href:!0});var is=x(q);at=o(is,"SPAN",{});var ps=x(at);_(ve.$$.fragment,ps),ps.forEach(t),is.forEach(t),gl=p(fl),Qe=o(fl,"SPAN",{"data-svelte-h":!0}),h(Qe)!=="svelte-to3oxr"&&(Qe.textContent=Fl),fl.forEach(t),jt=p(e),we=o(e,"P",{"data-svelte-h":!0}),h(we)!=="svelte-1kz5bkl"&&(we.textContent=Xl),Wt=p(e),_e=o(e,"P",{"data-svelte-h":!0}),h(_e)!=="svelte-6bxxuk"&&(_e.innerHTML=Ul),Zt=p(e),_(Q.$$.fragment,e),Lt=p(e),Y=o(e,"H2",{class:!0});var ul=x(Y);D=o(ul,"A",{id:!0,class:!0,href:!0});var fs=x(D);nt=o(fs,"SPAN",{});var us=x(nt);_(be.$$.fragment,us),us.forEach(t),fs.forEach(t),vl=p(ul),De=o(ul,"SPAN",{"data-svelte-h":!0}),h(De)!=="svelte-17uss00"&&(De.textContent=Pl),ul.forEach(t),Ft=p(e),_(K.$$.fragment,e),Xt=p(e),A=o(e,"H2",{class:!0});var ml=x(A);O=o(ml,"A",{id:!0,class:!0,href:!0});var ms=x(O);rt=o(ms,"SPAN",{});var hs=x(rt);_(Me.$$.fragment,hs),hs.forEach(t),ms.forEach(t),wl=p(ml),Ke=o(ml,"SPAN",{"data-svelte-h":!0}),h(Ke)!=="svelte-1d0y7ql"&&(Ke.innerHTML=Gl),ml.forEach(t),Ut=p(e),ye=o(e,"P",{"data-svelte-h":!0}),h(ye)!=="svelte-l63k2v"&&(ye.innerHTML=Rl),Pt=p(e),Te=o(e,"P",{"data-svelte-h":!0}),h(Te)!=="svelte-1ag42ds"&&(Te.innerHTML=El),Gt=p(e),_(ke.$$.fragment,e),Rt=p(e),Ce=o(e,"P",{"data-svelte-h":!0}),h(Ce)!=="svelte-19mcadk"&&(Ce.innerHTML=Il),Et=p(e),_(xe.$$.fragment,e),It=p(e),He=o(e,"P",{"data-svelte-h":!0}),h(He)!=="svelte-1lkkl7a"&&(He.innerHTML=Yl),Yt=p(e),_(Je.$$.fragment,e),At=p(e),je=o(e,"P",{"data-svelte-h":!0}),h(je)!=="svelte-1d58pos"&&(je.innerHTML=Al),St=p(e),_(We.$$.fragment,e),Nt=p(e),Ze=o(e,"P",{"data-svelte-h":!0}),h(Ze)!=="svelte-j0zg2m"&&(Ze.textContent=Sl),Vt=p(e),_(Le.$$.fragment,e),zt=p(e),Fe=o(e,"P",{"data-svelte-h":!0}),h(Fe)!=="svelte-jxiox6"&&(Fe.innerHTML=Nl),Bt=p(e),Xe=o(e,"P",{"data-svelte-h":!0}),h(Xe)!=="svelte-fl28jn"&&(Xe.innerHTML=Vl),qt=p(e),S=o(e,"H2",{class:!0});var hl=x(S);ee=o(hl,"A",{id:!0,class:!0,href:!0});var cs=x(ee);ot=o(cs,"SPAN",{});var $s=x(ot);_(Ue.$$.fragment,$s),$s.forEach(t),cs.forEach(t),_l=p(hl),Oe=o(hl,"SPAN",{"data-svelte-h":!0}),h(Oe)!=="svelte-1en8cbr"&&(Oe.textContent=zl),hl.forEach(t),Qt=p(e),Pe=o(e,"P",{"data-svelte-h":!0}),h(Pe)!=="svelte-1od290y"&&(Pe.innerHTML=Bl),Dt=p(e),Ge=o(e,"P",{"data-svelte-h":!0}),h(Ge)!=="svelte-ahj3l9"&&(Ge.innerHTML=ql),Kt=p(e),Re=o(e,"P",{"data-svelte-h":!0}),h(Re)!=="svelte-1fz97na"&&(Re.textContent=Ql),Ot=p(e),Ee=o(e,"UL",{"data-svelte-h":!0}),h(Ee)!=="svelte-os9pn9"&&(Ee.innerHTML=Dl),el=p(e),Ie=o(e,"P",{"data-svelte-h":!0}),h(Ie)!=="svelte-15xpzd"&&(Ie.innerHTML=Kl),tl=p(e),Ye=o(e,"P",{"data-svelte-h":!0}),h(Ye)!=="svelte-32sxm9"&&(Ye.innerHTML=Ol),ll=p(e),N=o(e,"H2",{class:!0});var cl=x(N);te=o(cl,"A",{id:!0,class:!0,href:!0});var ds=x(te);it=o(ds,"SPAN",{});var gs=x(it);_(Ae.$$.fragment,gs),gs.forEach(t),ds.forEach(t),bl=p(cl),et=o(cl,"SPAN",{"data-svelte-h":!0}),h(et)!=="svelte-177js3x"&&(et.textContent=es),cl.forEach(t),sl=p(e),Se=o(e,"P",{"data-svelte-h":!0}),h(Se)!=="svelte-1gk60ou"&&(Se.innerHTML=ts),al=p(e),Ne=o(e,"UL",{"data-svelte-h":!0}),h(Ne)!=="svelte-1vhd2ja"&&(Ne.innerHTML=ls),nl=p(e),Ve=o(e,"P",{"data-svelte-h":!0}),h(Ve)!=="svelte-yiij20"&&(Ve.innerHTML=ss),rl=p(e),pt=o(e,"P",{}),x(pt).forEach(t),this.h()},h(){g(a,"name","hf:doc:metadata"),g(a,"content",JSON.stringify(Rs)),g(u,"id","share-a-model"),g(u,"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"),g(u,"href","#share-a-model"),g($,"class","relative group"),g(G,"width","560"),g(G,"height","315"),_s(G.src,yl="https://www.youtube.com/embed/XvSGPZFEjDY")||g(G,"src",yl),g(G,"title","YouTube video player"),g(G,"frameborder","0"),g(G,"allow",`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;
picture-in-picture`),G.allowFullscreen="",g(z,"id","repository-features"),g(z,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),g(z,"href","#repository-features"),g(R,"class","relative group"),g(B,"id","setup"),g(B,"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"),g(B,"href","#setup"),g(E,"class","relative group"),g(q,"id","convert-a-model-for-all-frameworks"),g(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"),g(q,"href","#convert-a-model-for-all-frameworks"),g(I,"class","relative group"),g(D,"id","push-a-model-during-training"),g(D,"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"),g(D,"href","#push-a-model-during-training"),g(Y,"class","relative group"),g(O,"id","use-the-pushtohub-function"),g(O,"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"),g(O,"href","#use-the-pushtohub-function"),g(A,"class","relative group"),g(ee,"id","upload-with-the-web-interface"),g(ee,"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"),g(ee,"href","#upload-with-the-web-interface"),g(S,"class","relative group"),g(te,"id","add-a-model-card"),g(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"),g(te,"href","#add-a-model-card"),g(N,"class","relative group")},m(e,s){k(document.head,a),l(e,m,s),l(e,n,s),l(e,f,s),l(e,$,s),k($,u),k(u,C),b(H,C,null),k($,j),k($,F),l(e,J,s),l(e,L,s),l(e,X,s),l(e,P,s),l(e,c,s),l(e,Z,s),l(e,ht,s),l(e,G,s),l(e,ct,s),b(V,e,s),l(e,$t,s),l(e,R,s),k(R,z),k(z,lt),b(ae,lt,null),k(R,$l),k(R,Be),l(e,dt,s),l(e,ne,s),l(e,gt,s),l(e,re,s),l(e,vt,s),l(e,oe,s),l(e,wt,s),b(ie,e,s),l(e,_t,s),l(e,pe,s),l(e,bt,s),l(e,fe,s),l(e,Mt,s),l(e,E,s),k(E,B),k(B,st),b(ue,st,null),k(E,dl),k(E,qe),l(e,yt,s),l(e,me,s),l(e,Tt,s),b(he,e,s),l(e,kt,s),l(e,ce,s),l(e,Ct,s),b($e,e,s),l(e,xt,s),l(e,de,s),l(e,Ht,s),b(ge,e,s),l(e,Jt,s),l(e,I,s),k(I,q),k(q,at),b(ve,at,null),k(I,gl),k(I,Qe),l(e,jt,s),l(e,we,s),l(e,Wt,s),l(e,_e,s),l(e,Zt,s),b(Q,e,s),l(e,Lt,s),l(e,Y,s),k(Y,D),k(D,nt),b(be,nt,null),k(Y,vl),k(Y,De),l(e,Ft,s),b(K,e,s),l(e,Xt,s),l(e,A,s),k(A,O),k(O,rt),b(Me,rt,null),k(A,wl),k(A,Ke),l(e,Ut,s),l(e,ye,s),l(e,Pt,s),l(e,Te,s),l(e,Gt,s),b(ke,e,s),l(e,Rt,s),l(e,Ce,s),l(e,Et,s),b(xe,e,s),l(e,It,s),l(e,He,s),l(e,Yt,s),b(Je,e,s),l(e,At,s),l(e,je,s),l(e,St,s),b(We,e,s),l(e,Nt,s),l(e,Ze,s),l(e,Vt,s),b(Le,e,s),l(e,zt,s),l(e,Fe,s),l(e,Bt,s),l(e,Xe,s),l(e,qt,s),l(e,S,s),k(S,ee),k(ee,ot),b(Ue,ot,null),k(S,_l),k(S,Oe),l(e,Qt,s),l(e,Pe,s),l(e,Dt,s),l(e,Ge,s),l(e,Kt,s),l(e,Re,s),l(e,Ot,s),l(e,Ee,s),l(e,el,s),l(e,Ie,s),l(e,tl,s),l(e,Ye,s),l(e,ll,s),l(e,N,s),k(N,te),k(te,it),b(Ae,it,null),k(N,bl),k(N,et),l(e,sl,s),l(e,Se,s),l(e,al,s),l(e,Ne,s),l(e,nl,s),l(e,Ve,s),l(e,rl,s),l(e,pt,s),ol=!0},p(e,[s]){const ze={};s&2&&(ze.$$scope={dirty:s,ctx:e}),V.$set(ze);const ft={};s&2&&(ft.$$scope={dirty:s,ctx:e}),Q.$set(ft);const ut={};s&2&&(ut.$$scope={dirty:s,ctx:e}),K.$set(ut)},i(e){ol||(M(H.$$.fragment,e),M(V.$$.fragment,e),M(ae.$$.fragment,e),M(ie.$$.fragment,e),M(ue.$$.fragment,e),M(he.$$.fragment,e),M($e.$$.fragment,e),M(ge.$$.fragment,e),M(ve.$$.fragment,e),M(Q.$$.fragment,e),M(be.$$.fragment,e),M(K.$$.fragment,e),M(Me.$$.fragment,e),M(ke.$$.fragment,e),M(xe.$$.fragment,e),M(Je.$$.fragment,e),M(We.$$.fragment,e),M(Le.$$.fragment,e),M(Ue.$$.fragment,e),M(Ae.$$.fragment,e),ol=!0)},o(e){y(H.$$.fragment,e),y(V.$$.fragment,e),y(ae.$$.fragment,e),y(ie.$$.fragment,e),y(ue.$$.fragment,e),y(he.$$.fragment,e),y($e.$$.fragment,e),y(ge.$$.fragment,e),y(ve.$$.fragment,e),y(Q.$$.fragment,e),y(be.$$.fragment,e),y(K.$$.fragment,e),y(Me.$$.fragment,e),y(ke.$$.fragment,e),y(xe.$$.fragment,e),y(Je.$$.fragment,e),y(We.$$.fragment,e),y(Le.$$.fragment,e),y(Ue.$$.fragment,e),y(Ae.$$.fragment,e),ol=!1},d(e){e&&(t(m),t(n),t(f),t($),t(J),t(L),t(X),t(P),t(c),t(Z),t(ht),t(G),t(ct),t($t),t(R),t(dt),t(ne),t(gt),t(re),t(vt),t(oe),t(wt),t(_t),t(pe),t(bt),t(fe),t(Mt),t(E),t(yt),t(me),t(Tt),t(kt),t(ce),t(Ct),t(xt),t(de),t(Ht),t(Jt),t(I),t(jt),t(we),t(Wt),t(_e),t(Zt),t(Lt),t(Y),t(Ft),t(Xt),t(A),t(Ut),t(ye),t(Pt),t(Te),t(Gt),t(Rt),t(Ce),t(Et),t(It),t(He),t(Yt),t(At),t(je),t(St),t(Nt),t(Ze),t(Vt),t(zt),t(Fe),t(Bt),t(Xe),t(qt),t(S),t(Qt),t(Pe),t(Dt),t(Ge),t(Kt),t(Re),t(Ot),t(Ee),t(el),t(Ie),t(tl),t(Ye),t(ll),t(N),t(sl),t(Se),t(al),t(Ne),t(nl),t(Ve),t(rl),t(pt)),t(a),T(H),T(V,e),T(ae),T(ie,e),T(ue),T(he,e),T($e,e),T(ge,e),T(ve),T(Q,e),T(be),T(K,e),T(Me),T(ke,e),T(xe,e),T(Je,e),T(We,e),T(Le,e),T(Ue),T(Ae)}}}const Rs={local:"share-a-model",sections:[{local:"repository-features",title:"저장소 특징"},{local:"setup",title:"설정"},{local:"convert-a-model-for-all-frameworks",title:"프레임워크 간 모델 변환하기"},{local:"push-a-model-during-training",title:"훈련 중 모델 푸시하기"},{local:"use-the-pushtohub-function",title:"`push_to_hub` 함수 사용하기"},{local:"upload-with-the-web-interface",title:"웹 인터페이스로 업로드하기"},{local:"add-a-model-card",title:"모델 카드 추가하기"}],title:"모델 공유하기"};function Es(W){return bs(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Bs extends Ms{constructor(a){super(),ys(this,a,Es,Gs,ws,{})}}export{Bs as component};
