Buckets:
| import{s as K,n as D,o as le}from"../chunks/scheduler.df3b9db7.js";import{S as U,i as q,A as k,B as x,j as g,f as c,k as s,a as p,y as _,g as z,h as E,d as M,p as ee,b as te,t as L,z as re,q as W,r as A,s as w,m as ie,u as R,c as $,n as ae,v as B,w as C,E as ne,x as G}from"../chunks/index.b70c3ab0.js";import{C as se}from"../chunks/CourseFloatingBanner.690209cd.js";import{e as J}from"../chunks/each.e59479a4.js";import{H as oe,E as ce}from"../chunks/getInferenceSnippets.48e161bf.js";function ue(u){let e,l,r,t,f,a;return{c(){e=k("svg"),l=k("defs"),r=k("clipPath"),t=k("rect"),f=k("g"),a=k("path"),this.h()},l(o){e=x(o,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var n=g(e);l=x(n,"defs",{});var d=g(l);r=x(d,"clipPath",{id:!0});var b=g(r);t=x(b,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),g(t).forEach(c),b.forEach(c),d.forEach(c),f=x(n,"g",{"clip-path":!0});var m=g(f);a=x(m,"path",{d:!0,fill:!0}),g(a).forEach(c),m.forEach(c),n.forEach(c),this.h()},h(){s(t,"x","3.05"),s(t,"y","0.5"),s(t,"width","25.73"),s(t,"height","31"),s(t,"fill","none"),s(r,"id","a"),s(a,"d","M24.94,9.51a12.81,12.81,0,0,1,0,18.16,12.68,12.68,0,0,1-18,0,12.81,12.81,0,0,1,0-18.16l9-9V5l-.84.83-6,6a9.58,9.58,0,1,0,13.55,0ZM20.44,9a1.68,1.68,0,1,1,1.67-1.67A1.68,1.68,0,0,1,20.44,9Z"),s(a,"fill","#ee4c2c"),s(f,"clip-path","url(#a)"),s(e,"class",u[0]),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),s(e,"aria-hidden","true"),s(e,"focusable","false"),s(e,"role","img"),s(e,"width","1em"),s(e,"height","1em"),s(e,"preserveAspectRatio","xMidYMid meet"),s(e,"viewBox","0 0 32 32")},m(o,n){p(o,e,n),_(e,l),_(l,r),_(r,t),_(e,f),_(f,a)},p(o,[n]){n&1&&s(e,"class",o[0])},i:D,o:D,d(o){o&&c(e)}}}function fe(u,e,l){let{classNames:r=""}=e;return u.$$set=t=>{"classNames"in t&&l(0,r=t.classNames)},[r]}class me extends U{constructor(e){super(),q(this,e,fe,ue,K,{classNames:0})}}function he(u){let e,l,r,t;return{c(){e=k("svg"),l=k("path"),r=k("path"),t=k("path"),this.h()},l(f){e=x(f,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var a=g(e);l=x(a,"path",{d:!0,fill:!0}),g(l).forEach(c),r=x(a,"path",{d:!0,fill:!0}),g(r).forEach(c),t=x(a,"path",{d:!0,fill:!0}),g(t).forEach(c),a.forEach(c),this.h()},h(){s(l,"d","M145.726 42.065v42.07l72.861 42.07v-42.07l-72.86-42.07zM0 84.135v42.07l36.43 21.03V105.17L0 84.135zm109.291 21.035l-36.43 21.034v126.2l36.43 21.035v-84.135l36.435 21.035v-42.07l-36.435-21.034V105.17z"),s(l,"fill","#E55B2D"),s(r,"d","M145.726 42.065L36.43 105.17v42.065l72.861-42.065v42.065l36.435-21.03v-84.14zM255.022 63.1l-36.435 21.035v42.07l36.435-21.035V63.1zm-72.865 84.135l-36.43 21.035v42.07l36.43-21.036v-42.07zm-36.43 63.104l-36.436-21.035v84.135l36.435-21.035V210.34z"),s(r,"fill","#ED8E24"),s(t,"d","M145.726 0L0 84.135l36.43 21.035l109.296-63.105l72.861 42.07L255.022 63.1L145.726 0zm0 126.204l-36.435 21.03l36.435 21.036l36.43-21.035l-36.43-21.03z"),s(t,"fill","#F8BF3C"),s(e,"class",u[0]),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),s(e,"aria-hidden","true"),s(e,"focusable","false"),s(e,"role","img"),s(e,"width","0.94em"),s(e,"height","1em"),s(e,"preserveAspectRatio","xMidYMid meet"),s(e,"viewBox","0 0 256 274")},m(f,a){p(f,e,a),_(e,l),_(e,r),_(e,t)},p(f,[a]){a&1&&s(e,"class",f[0])},i:D,o:D,d(f){f&&c(e)}}}function de(u,e,l){let{classNames:r=""}=e;return u.$$set=t=>{"classNames"in t&&l(0,r=t.classNames)},[r]}class pe extends U{constructor(e){super(),q(this,e,de,he,K,{classNames:0})}}function Q(u,e,l){const r=u.slice();return r[2]=e[l],r[4]=l,r}function X(u){let e,l,r,t=u[2].name+"",f,a,o,n;var d=u[2].icon;function b(m,v){return{props:{classNames:"mr-1.5"}}}return d&&(l=W(d,b())),{c(){e=z("a"),l&&A(l.$$.fragment),r=w(),f=ie(t),a=w(),this.h()},l(m){e=E(m,"A",{class:!0,href:!0});var v=g(e);l&&R(l.$$.fragment,v),r=$(v),f=ae(v,t),a=$(v),v.forEach(c),this.h()},h(){s(e,"class",o="flex justify-center flex-1 py-1.5 px-2.5 focus:outline-none !no-underline rounded-"+(u[4]?"r":"l")+" "+(u[2].id===u[0]?u[2].classNames:"text-gray-500 filter grayscale")),s(e,"href","?fw="+u[2].id)},m(m,v){p(m,e,v),l&&B(l,e,null),_(e,r),_(e,f),_(e,a),n=!0},p(m,v){if(d!==(d=m[2].icon)){if(l){ee();const N=l;L(N.$$.fragment,1,0,()=>{C(N,1)}),te()}d?(l=W(d,b()),A(l.$$.fragment),M(l.$$.fragment,1),B(l,e,r)):l=null}(!n||v&1&&o!==(o="flex justify-center flex-1 py-1.5 px-2.5 focus:outline-none !no-underline rounded-"+(m[4]?"r":"l")+" "+(m[2].id===m[0]?m[2].classNames:"text-gray-500 filter grayscale")))&&s(e,"class",o)},i(m){n||(l&&M(l.$$.fragment,m),n=!0)},o(m){l&&L(l.$$.fragment,m),n=!1},d(m){m&&c(e),l&&C(l)}}}function ge(u){let e,l,r=J(u[1]),t=[];for(let a=0;a<r.length;a+=1)t[a]=X(Q(u,r,a));const f=a=>L(t[a],1,1,()=>{t[a]=null});return{c(){e=z("div");for(let a=0;a<t.length;a+=1)t[a].c();this.h()},l(a){e=E(a,"DIV",{class:!0});var o=g(e);for(let n=0;n<t.length;n+=1)t[n].l(o);o.forEach(c),this.h()},h(){s(e,"class","bg-white leading-none border border-gray-100 rounded-lg flex p-0.5 w-56 text-sm mb-4")},m(a,o){p(a,e,o);for(let n=0;n<t.length;n+=1)t[n]&&t[n].m(e,null);l=!0},p(a,[o]){if(o&3){r=J(a[1]);let n;for(n=0;n<r.length;n+=1){const d=Q(a,r,n);t[n]?(t[n].p(d,o),M(t[n],1)):(t[n]=X(d),t[n].c(),M(t[n],1),t[n].m(e,null))}for(ee(),n=r.length;n<t.length;n+=1)f(n);te()}},i(a){if(!l){for(let o=0;o<r.length;o+=1)M(t[o]);l=!0}},o(a){t=t.filter(Boolean);for(let o=0;o<t.length;o+=1)L(t[o]);l=!1},d(a){a&&c(e),re(t,a)}}}function ve(u,e,l){let{fw:r}=e;const t=[{id:"pt",classNames:"bg-red-50 dark:bg-transparent text-red-600",icon:me,name:"Pytorch"},{id:"tf",classNames:"bg-orange-50 dark:bg-transparent text-yellow-600",icon:pe,name:"TensorFlow"}];return u.$$set=f=>{"fw"in f&&l(0,r=f.fw)},[r,t]}class _e extends U{constructor(e){super(),q(this,e,ve,ge,K,{fw:0})}}function we(u){let e,l="<li>Hub’dan nasıl büyük bir veri seti hazırlanır</li> <li>Keras ile nasıl model fine-tune edilir</li> <li>Keras ile tahminler nasıl elde edilir</li> <li>Özel metrikler nasıl kullanılır</li>";return{c(){e=z("ul"),e.innerHTML=l},l(r){e=E(r,"UL",{"data-svelte-h":!0}),G(e)!=="svelte-1xh0m56"&&(e.innerHTML=l)},m(r,t){p(r,e,t)},d(r){r&&c(e)}}}function $e(u){let e,l="<li>Hub’dan nasıl büyük bir veri seti hazırlanır</li> <li>Trainer API ile nasıl model fine-tune edilir</li> <li>Özelleştirilmiş training döngüsü nasıl yazılır</li> <li>Bu özel training döngüsünü herhangi bir dağıtılmış(distributed) kurulumda kolayca çalıştırmak için 🤗 Accelerate kütüphanesinden nasıl yararlanılır</li>";return{c(){e=z("ul"),e.innerHTML=l},l(r){e=E(r,"UL",{"data-svelte-h":!0}),G(e)!=="svelte-1mt31r4"&&(e.innerHTML=l)},m(r,t){p(r,e,t)},d(r){r&&c(e)}}}function be(u){let e,l,r,t,f,a,o,n,d,b,m,v='<a href="/course/chapter2">İkinci bölümde</a> tokenizer ve pretrained modelleri kullanarak nasıl tahmin yapabileceğimizi öğrendik. Fakat, kendi veri setiniz için, pretrained bir modeli nasıl kullanacaksınız ? İşte bu bölümde bunu öğreneceksiniz! Öğrenecekleriniz :',N,T,H,O='Hugging Face Hub’a eğittiğiniz model ağırlıklarını yüklemek için huggingface.co hesabına ihtiyacınız var.<a href="https://huggingface.co/join" rel="nofollow">hesap oluşturun</a>',V,P,S,F,j;f=new _e({props:{fw:u[0]}}),o=new oe({props:{title:"Giriş",local:"giriş",headingTag:"h1"}}),d=new se({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function Y(i,h){return i[0]==="pt"?$e:we}let I=Y(u),y=I(u);return P=new ce({props:{source:"https://github.com/huggingface/course/blob/main/chapters/tr/chapter3/1.mdx"}}),{c(){e=z("meta"),l=w(),r=z("p"),t=w(),A(f.$$.fragment),a=w(),A(o.$$.fragment),n=w(),A(d.$$.fragment),b=w(),m=z("p"),m.innerHTML=v,N=w(),y.c(),T=w(),H=z("p"),H.innerHTML=O,V=w(),A(P.$$.fragment),S=w(),F=z("p"),this.h()},l(i){const h=ne("svelte-u9bgzb",document.head);e=E(h,"META",{name:!0,content:!0}),h.forEach(c),l=$(i),r=E(i,"P",{}),g(r).forEach(c),t=$(i),R(f.$$.fragment,i),a=$(i),R(o.$$.fragment,i),n=$(i),R(d.$$.fragment,i),b=$(i),m=E(i,"P",{"data-svelte-h":!0}),G(m)!=="svelte-1v3wc94"&&(m.innerHTML=v),N=$(i),y.l(i),T=$(i),H=E(i,"P",{"data-svelte-h":!0}),G(H)!=="svelte-1wt5n0w"&&(H.innerHTML=O),V=$(i),R(P.$$.fragment,i),S=$(i),F=E(i,"P",{}),g(F).forEach(c),this.h()},h(){s(e,"name","hf:doc:metadata"),s(e,"content",ke)},m(i,h){_(document.head,e),p(i,l,h),p(i,r,h),p(i,t,h),B(f,i,h),p(i,a,h),B(o,i,h),p(i,n,h),B(d,i,h),p(i,b,h),p(i,m,h),p(i,N,h),y.m(i,h),p(i,T,h),p(i,H,h),p(i,V,h),B(P,i,h),p(i,S,h),p(i,F,h),j=!0},p(i,[h]){const Z={};h&1&&(Z.fw=i[0]),f.$set(Z),I!==(I=Y(i))&&(y.d(1),y=I(i),y&&(y.c(),y.m(T.parentNode,T)))},i(i){j||(M(f.$$.fragment,i),M(o.$$.fragment,i),M(d.$$.fragment,i),M(P.$$.fragment,i),j=!0)},o(i){L(f.$$.fragment,i),L(o.$$.fragment,i),L(d.$$.fragment,i),L(P.$$.fragment,i),j=!1},d(i){i&&(c(l),c(r),c(t),c(a),c(n),c(b),c(m),c(N),c(T),c(H),c(V),c(S),c(F)),c(e),C(f,i),C(o,i),C(d,i),y.d(i),C(P,i)}}}const ke='{"title":"Giriş","local":"giriş","sections":[],"depth":1}';function xe(u,e,l){let r="pt";return le(()=>{const t=new URLSearchParams(window.location.search);l(0,r=t.get("fw")||"pt")}),[r]}class Ne extends U{constructor(e){super(),q(this,e,xe,be,K,{})}}export{Ne as component}; | |
Xet Storage Details
- Size:
- 9.33 kB
- Xet hash:
- a95afade842025c0dead09d8a1b6a275baebc204ad5f43be222808738a88765c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.