import{S as aa,i as la,s as ra,M as ll,N as rl,a as n,d as a,b as u,g as i,F as l,L as ea,e as s,k as d,t as m,c as o,m as c,h as f,f as lt,j as tt,w,x as P,y as C,O as Xe,q as B,o as N,B as j,P as it,Q as nt,R as st,T as rt,v as ot}from"../../chunks/vendor-f4a867ed.js";import{I as tl}from"../../chunks/IconCopyLink-d27af064.js";function ut(y){const r=document.createElement("textarea");document.body.appendChild(r),r.value=y,r.select(),document.execCommand("copy"),document.body.removeChild(r)}function mt(y){let r,k,h,b;return{c(){r=ll("svg"),k=ll("path"),h=ll("path"),b=ll("rect"),this.h()},l(z){r=rl(z,"svg",{class:!0,xmlns:!0,"aria-hidden":!0,fill:!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var p=n(r);k=rl(p,"path",{d:!0,transform:!0}),n(k).forEach(a),h=rl(p,"path",{d:!0,transform:!0}),n(h).forEach(a),b=rl(p,"rect",{fill:!0,width:!0,height:!0}),n(b).forEach(a),p.forEach(a),this.h()},h(){u(k,"d","M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"),u(k,"transform","translate(0)"),u(h,"d","M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"),u(h,"transform","translate(0)"),u(b,"fill","none"),u(b,"width","32"),u(b,"height","32"),u(r,"class",y[0]),u(r,"xmlns","http://www.w3.org/2000/svg"),u(r,"aria-hidden","true"),u(r,"fill","currentColor"),u(r,"focusable","false"),u(r,"role","img"),u(r,"width","1em"),u(r,"height","1em"),u(r,"preserveAspectRatio","xMidYMid meet"),u(r,"viewBox","0 0 32 32")},m(z,p){i(z,r,p),l(r,k),l(r,h),l(r,b)},p(z,[p]){p&1&&u(r,"class",z[0])},i:ea,o:ea,d(z){z&&a(r)}}}function ft(y,r,k){let{classNames:h=""}=r;return y.$$set=b=>{"classNames"in b&&k(0,h=b.classNames)},[h]}class kt extends aa{constructor(r){super();la(this,r,ft,mt,ra,{classNames:0})}}function pt(y){let r,k,h,b,z;return{c(){r=s("div"),k=s("div"),h=d(),b=m(y[1]),this.h()},l(p){r=o(p,"DIV",{class:!0});var _=n(r);k=o(_,"DIV",{class:!0,style:!0}),n(k).forEach(a),h=c(_),b=f(_,y[1]),_.forEach(a),this.h()},h(){u(k,"class","absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0"),lt(k,"border-left-color","transparent"),lt(k,"border-right-color","transparent"),u(r,"class",z="absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow "+y[2]+" "+y[0])},m(p,_){i(p,r,_),l(r,k),l(r,h),l(r,b)},p(p,[_]){_&2&&tt(b,p[1]),_&5&&z!==(z="absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow "+p[2]+" "+p[0])&&u(r,"class",z)},i:ea,o:ea,d(p){p&&a(r)}}}function dt(y,r,k){let{classNames:h=""}=r,{label:b="Copied"}=r,{position:z="left-1/2 top-full transform -translate-x-1/2 translate-y-2"}=r;return y.$$set=p=>{"classNames"in p&&k(0,h=p.classNames),"label"in p&&k(1,b=p.label),"position"in p&&k(2,z=p.position)},[h,b,z]}class ct extends aa{constructor(r){super();la(this,r,dt,pt,ra,{classNames:0,label:1,position:2})}}function ht(y){let r,k,h,b,z,p,_,$,E;return k=new kt({}),b=new ct({props:{classNames:y[4]?"opacity-100":"opacity-0"}}),{c(){r=s("button"),w(k.$$.fragment),h=d(),w(b.$$.fragment),this.h()},l(v){r=o(v,"BUTTON",{class:!0,title:!0,type:!0});var g=n(r);P(k.$$.fragment,g),h=c(g),P(b.$$.fragment,g),g.forEach(a),this.h()},h(){u(r,"class",z="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none "+y[0]+" "+(y[2]==="text"?"mx-0.5":"")+" "+(y[2]==="button"?"btn":"")+" "+(y[2]==="button-clear"?"py-1 px-2 border rounded-lg shadow-sm":"")+" "+(!y[4]&&["button-clear","text"].includes(y[2])?"text-gray-600":"")+" "+(y[4]?"text-green-500":"")),u(r,"title",p=y[3]||y[1]||"Copy to clipboard"),u(r,"type","button")},m(v,g){i(v,r,g),C(k,r,null),l(r,h),C(b,r,null),_=!0,$||(E=Xe(r,"click",y[5]),$=!0)},p(v,[g]){const M={};g&16&&(M.classNames=v[4]?"opacity-100":"opacity-0"),b.$set(M),(!_||g&21&&z!==(z="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none "+v[0]+" "+(v[2]==="text"?"mx-0.5":"")+" "+(v[2]==="button"?"btn":"")+" "+(v[2]==="button-clear"?"py-1 px-2 border rounded-lg shadow-sm":"")+" "+(!v[4]&&["button-clear","text"].includes(v[2])?"text-gray-600":"")+" "+(v[4]?"text-green-500":"")))&&u(r,"class",z),(!_||g&10&&p!==(p=v[3]||v[1]||"Copy to clipboard"))&&u(r,"title",p)},i(v){_||(B(k.$$.fragment,v),B(b.$$.fragment,v),_=!0)},o(v){N(k.$$.fragment,v),N(b.$$.fragment,v),_=!1},d(v){v&&a(r),j(k),j(b),$=!1,E()}}}function bt(y,r,k){let{classNames:h=""}=r,{label:b=""}=r,{style:z="text"}=r,{title:p=""}=r,{value:_}=r,$=!1,E;it(()=>{E&&clearTimeout(E)});function v(){ut(_),k(4,$=!0),E&&clearTimeout(E),E=setTimeout(()=>{k(4,$=!1)},1e3)}return y.$$set=g=>{"classNames"in g&&k(0,h=g.classNames),"label"in g&&k(1,b=g.label),"style"in g&&k(2,z=g.style),"title"in g&&k(3,p=g.title),"value"in g&&k(6,_=g.value)},[h,b,z,p,$,v,_]}class yt extends aa{constructor(r){super();la(this,r,bt,ht,ra,{classNames:0,label:1,style:2,title:3,value:6})}}function vt(y){let r,k,h,b,z,p,_,$;return h=new yt({props:{classNames:"transition duration-200 ease-in-out "+(y[2]&&"opacity-0"),label:"code excerpt",value:y[0]}}),{c(){r=s("div"),k=s("div"),w(h.$$.fragment),b=d(),z=s("pre"),this.h()},l(E){r=o(E,"DIV",{class:!0});var v=n(r);k=o(v,"DIV",{class:!0});var g=n(k);P(h.$$.fragment,g),g.forEach(a),b=c(v),z=o(v,"PRE",{});var M=n(z);M.forEach(a),v.forEach(a),this.h()},h(){u(k,"class","absolute top-2.5 right-4"),u(r,"class","code-block relative")},m(E,v){i(E,r,v),l(r,k),C(h,k,null),l(r,b),l(r,z),z.innerHTML=y[1],p=!0,_||($=[Xe(r,"mouseover",y[3]),Xe(r,"focus",y[3]),Xe(r,"mouseout",y[4]),Xe(r,"blur",y[4])],_=!0)},p(E,[v]){const g={};v&4&&(g.classNames="transition duration-200 ease-in-out "+(E[2]&&"opacity-0")),v&1&&(g.value=E[0]),h.$set(g),(!p||v&2)&&(z.innerHTML=E[1])},i(E){p||(B(h.$$.fragment,E),p=!0)},o(E){N(h.$$.fragment,E),p=!1},d(E){E&&a(r),j(h),_=!1,nt($)}}}function zt(y,r,k){let h=!0,{code:b=""}=r,{highlighted:z=""}=r;function p(){k(2,h=!1)}function _(){k(2,h=!0)}return y.$$set=$=>{"code"in $&&k(0,b=$.code),"highlighted"in $&&k(1,z=$.highlighted)},[b,z,h,p,_]}class A extends aa{constructor(r){super();la(this,r,zt,vt,ra,{code:0,highlighted:1})}}function gt(y){let r,k,h,b,z,p,_,$,E,v,g,M,ge,il,nl,ta,_e,sl,ia,Ee,ol,na,$e,ul,sa,G,ml,Z,fl,kl,oa,S,V,xe,J,pl,Se,dl,ua,we,cl,ma,I,hl,Q,bl,yl,fa,Pe,vl,ka,X,ee,kr,pa,T,zl,De,gl,_l,Oe,El,$l,da,ae,ca,Ce,wl,ha,le,ba,re,te,pr,ya,Be,Pl,va,ie,za,Ne,Cl,ga,D,K,He,ne,Bl,Me,Nl,_a,F,jl,se,Al,Tl,Ea,L,xl,Ge,Sl,Dl,$a,oe,Ve,Ol,Hl,wa,x,Ml,ue,Ie,Gl,Vl,me,Ke,Il,Kl,Pa,Y,Fl,Fe,Ll,Yl,Ca,fe,Ba,q,ql,Le,Ul,Rl,Na,ke,ja,U,Wl,Ye,Zl,Jl,Aa,pe,Ta,de,xa,O,qe,Ql,Xl,Ue,er,ar,Sa,ce,Da,he,Re,lr,rr,Oa,be,Ha,ye,Ma,H,R,We,ve,tr,Ze,ir,Ga,W,nr,Je,sr,or,Va,ze,Ia,je,ur,Ka;return p=new tl({}),J=new tl({}),ae=new A({props:{code:"!pip install transformers",highlighted:'!pip <span class="hljs-keyword">install</span> transformers'}}),le=new A({props:{code:"import transformers",highlighted:'<span class="hljs-keyword">import</span> transformers'}}),ie=new A({props:{code:"!pip install transformers[sentencepiece]",highlighted:'!pip <span class="hljs-keyword">install</span> transformers[sentencepiece]'}}),ne=new tl({}),fe=new A({props:{code:`mkdir ~/transformers-course
cd ~/transformers-course`,highlighted:`<span class="hljs-built_in">mkdir</span> ~/transformers-course
<span class="hljs-built_in">cd</span> ~/transformers-course`}}),ke=new A({props:{code:"python -m venv .env",highlighted:'<span class="hljs-keyword">python</span> -m venv .<span class="hljs-keyword">env</span>'}}),pe=new A({props:{code:"ls -a",highlighted:'<span class="hljs-built_in">ls</span> -a'}}),de=new A({props:{code:".      ..    .env",highlighted:'.      <span class="hljs-string">..</span>    <span class="hljs-string">.env</span>'}}),ce=new A({props:{code:`# Activate the virtual environment
source .env/bin/activate

# Deactivate the virtual environment
source .env/bin/deactivate`,highlighted:`<span class="hljs-comment"># Activate the virtual environment</span>
<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/activate

<span class="hljs-comment"># Deactivate the virtual environment</span>
<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/deactivate`}}),be=new A({props:{code:"which python",highlighted:'<span class="hljs-built_in">which</span> python'}}),ye=new A({props:{code:"/home/<user>/transformers-course/.env/bin/python",highlighted:'<span class="hljs-regexp">/home/</span>&lt;user&gt;<span class="hljs-regexp">/transformers-course/</span>.env<span class="hljs-regexp">/bin/</span>python'}}),ve=new tl({}),ze=new A({props:{code:'pip install "transformers[sentencepiece]"',highlighted:'pip <span class="hljs-keyword">install</span> <span class="hljs-string">&quot;transformers[sentencepiece]&quot;</span>'}}),{c(){r=s("meta"),k=d(),h=s("h1"),b=s("a"),z=s("span"),w(p.$$.fragment),_=d(),$=s("span"),E=m("Giri\u015F"),v=d(),g=s("p"),M=m("Hugging Face kursuna ho\u015F geldiniz! Bu b\xF6l\xFCmde kursta kullanaca\u011F\u0131m\u0131z \xE7al\u0131\u015Fma ortam\u0131n\u0131 kuraca\u011F\u0131z. E\u011Fer kursa yeni ba\u015Fl\u0131yorsan\u0131z, \xF6ncelikle "),ge=s("a"),il=m("1. b\xF6l\xFCme"),nl=m(" bakman\u0131z\u0131, sonra da geri gelip ortam\u0131n\u0131z\u0131 kurman\u0131z\u0131 \xF6neririz. B\xF6ylelikle kodlar\u0131 kendi ba\u015F\u0131n\u0131za deneyimleyebilirsiniz."),ta=d(),_e=s("p"),sl=m("Bu kursta kullanaca\u011F\u0131m\u0131z b\xFCt\xFCn k\xFCt\xFCphaneler Python package\u2019\u0131 olarak indirilebilir, bu y\xFCzden burada Python ortam\u0131n\u0131n kurulumunu ve laz\u0131m olacak k\xFCt\xFCphaneleri indirmeyi g\xF6sterece\u011Fiz."),ia=d(),Ee=s("p"),ol=m("\u0130ki farkl\u0131 yol g\xF6sterece\u011Fiz Colab defterleri ve Python sanal ortam\u0131. Size en uygun olan\u0131 se\xE7ebilirsiniz. Yeni ba\u015Flayanlar\u0131n Colab defteri kullanmas\u0131n\u0131 tavsiye ederiz."),na=d(),$e=s("p"),ul=m("Kursta Windows sistemi kullanm\u0131yoruz bu y\xFCzden e\u011Fer Windows kullan\u0131yorsan\u0131z Colab kullanman\u0131z daha iyi olacakt\u0131r. E\u011Fer herhangi bir Linux da\u011F\u0131t\u0131m\u0131 ya da macOS kullan\u0131yorsan\u0131z iki y\xF6ntemi de tercih edebilirsiniz."),sa=d(),G=s("p"),ml=m("Kurs genel olarak Hugging Face \xFCzerinden gidiyor. E\u011Fer hesab\u0131n\u0131z yoksa "),Z=s("a"),fl=m("buradan hesap a\xE7abilirsiniz"),kl=m("."),oa=d(),S=s("h2"),V=s("a"),xe=s("span"),w(J.$$.fragment),pl=d(),Se=s("span"),dl=m("Google Colab defteri kullanmak"),ua=d(),we=s("p"),cl=m("Colab defteri kullanmak a\xE7\u0131k ara en kolay kurulum. Taray\u0131c\u0131n\u0131zda bir defter a\xE7\u0131n ve hemen kodlamaya ba\u015Flay\u0131n!"),ma=d(),I=s("p"),hl=m("E\u011Fer Colab kullanmay\u0131 bilmiyorsan\u0131z bu "),Q=s("a"),bl=m("\u0130ngilizce tutorial\u0131"),yl=m(" takip edebilirsiniz. Colab TPU ya da GPU gibi baz\u0131 h\u0131zland\u0131r\u0131c\u0131 donan\u0131mlar\u0131 kullanman\u0131za izin verir. \xDCstelik k\xFC\xE7\xFCk i\u015Flemler i\xE7in bunlar \xFCcretsiz!"),fa=d(),Pe=s("p"),vl=m("Colab kullan\u0131m\u0131nda kendinizi rahat hissettikten sonra yeni bir defter olu\u015Fturun ve kuruluma ba\u015Flay\u0131n:"),ka=d(),X=s("div"),ee=s("img"),pa=d(),T=s("p"),zl=m("Sonraki ad\u0131m kurs boyunca kullanaca\u011F\u0131m\u0131z k\xFCt\xFCphaneleri indirmek. Kurulum i\xE7in "),De=s("code"),gl=m("pip"),_l=m(" kullanaca\u011F\u0131z, kendisi Python\u0131n package y\xF6neticisi. Defterlerde sat\u0131r\u0131n ba\u015F\u0131na "),Oe=s("code"),El=m("!"),$l=m(" koyarak sistem komutlar\u0131n\u0131 \xE7al\u0131\u015Ft\u0131rabilirsiniz. yani \u{1F917} Transformers k\xFCt\xFCphanesini \u015F\xF6yle indiriyoruz:"),da=d(),w(ae.$$.fragment),ca=d(),Ce=s("p"),wl=m("\u0130mport ederek package\u2019\u0131n do\u011Fru kuruldu\u011Fundan emin olabilirsiniz:"),ha=d(),w(le.$$.fragment),ba=d(),re=s("div"),te=s("img"),ya=d(),Be=s("p"),Pl=m("Bu \u{1F917} Transformers\u2019\u0131n olduk\xE7a hafif bir versiyonunu y\xFCkl\xFCyor. Yani hi\xE7 bir machine learning k\xFCt\xFCphanesini bar\u0131nd\u0131rm\u0131yor. (PyTorch ya da TensorFlow gibi) K\xFCt\xFCphanenin farkl\u0131 farkl\u0131 \xF6zelliklerini kullanaca\u011F\u0131m\u0131z i\xE7in \u201Cdevelopment version\u201D\u0131 indirmenizi tavsiye ederiz \xE7\xFCnk\xFC akla gelebilecek b\xFCt\xFCn kullan\u0131mlar i\xE7in gerekli ba\u011F\u0131ml\u0131l\u0131klar\u0131 (dependencies) bar\u0131nd\u0131r\u0131yor:"),va=d(),w(ie.$$.fragment),za=d(),Ne=s("p"),Cl=m("Bu biraz zaman alabilir ama sonras\u0131nda kursun tamam\u0131 i\xE7in haz\u0131r olacaks\u0131n\u0131z! Ba\u015Far\u0131lar!"),ga=d(),D=s("h2"),K=s("a"),He=s("span"),w(ne.$$.fragment),Bl=d(),Me=s("span"),Nl=m("Python Sanal Ortam\u0131 Kullanmak"),_a=d(),F=s("p"),jl=m("E\u011Fer Python sanal ortam\u0131 kullanmay\u0131 se\xE7erseniz ilk ad\u0131m olarak bilgisayar\u0131n\u0131za Python kurmal\u0131s\u0131n\u0131z. "),se=s("a"),Al=m("Bu rehberi"),Tl=m(" kullanman\u0131z\u0131 \xF6neririz."),Ea=d(),L=s("p"),xl=m("Python\u2019\u0131 kurduktan sonra terminal \xFCzerinden Python komutlar\u0131n\u0131 \xE7al\u0131\u015Ft\u0131rabiliyor olman\u0131z gerekiyor. "),Ge=s("code"),Sl=m("python --version"),Dl=m(" komutunu \xE7al\u0131\u015Ft\u0131rarak kurulumun do\u011Fru tamamland\u0131\u011F\u0131ndan emin olabilirsiniz. Bu komut sisteminizde kurulu olan Python s\xFCr\xFCm\xFCn\xFC ekrana yazd\u0131racak."),$a=d(),oe=s("p"),Ve=s("code"),Ol=m("python --version"),Hl=m(" gibi bir python komutunu terminalde \xE7al\u0131\u015Ft\u0131rd\u0131\u011F\u0131n\u0131zda bu komutu \xE7al\u0131\u015Ft\u0131ran program bilgisayar\u0131n\u0131zdaki \u201Cana\u201D (main) python s\xFCr\xFCm\xFCd\xFCr. Bu s\xFCr\xFCme hi\xE7 bir python package\u2019\u0131 y\xFCklemenizi \xF6nermiyoruz. Bunu her projeniz i\xE7in ayr\u0131 bir ortam a\xE7mak i\xE7in kullanabilirsiniz bu \u015Fekilde ba\u015Fka uygulamalar ile olabilecek uyumluluk hatalar\u0131 hakk\u0131nda endielenmenize gerek kalmaz."),wa=d(),x=s("p"),Ml=m("Python\u2019da bu  "),ue=s("a"),Ie=s("em"),Gl=m("virtual environments (sanal ortamlar)"),Vl=m(" kullan\u0131larak yap\u0131l\u0131yor, bunlar\u0131 ayr\u0131 ayr\u0131 kurulmu\u015F Python s\xFCr\xFCmleri olarak d\xFC\u015F\xFCnebilirsiniz. Bunun i\xE7in yap\u0131lm\u0131\u015F farkl\u0131 toollar var fakat biz resmi package\u2019\u0131 kullanaca\u011F\u0131z, ismi de "),me=s("a"),Ke=s("code"),Il=m("venv"),Kl=m("."),Pa=d(),Y=s("p"),Fl=m("\u0130lk olarak, uygulaman\u0131z\u0131n bulunmas\u0131n\u0131 istedi\u011Finiz klas\xF6r\xFC a\xE7\u0131n \u2014 mesela "),Fe=s("em"),Ll=m("transformers-course"),Yl=m(" diye bir klas\xF6r a\xE7mak isteyebilirsiniz:"),Ca=d(),w(fe.$$.fragment),Ba=d(),q=s("p"),ql=m("Bu klas\xF6r\xFCn i\xE7inde Python "),Le=s("code"),Ul=m("venv"),Rl=m(" mod\xFCl\xFCn\xFC kullanarak bir sanal ortam a\xE7al\u0131m:"),Na=d(),w(ke.$$.fragment),ja=d(),U=s("p"),Wl=m("Normalde bo\u015F olan klas\xF6r\xFCn\xFCz\xFCn i\xE7inde "),Ye=s("em"),Zl=m(".env"),Jl=m(" ad\u0131nda yeni bir klas\xF6r a\xE7\u0131lm\u0131\u015F olmas\u0131 laz\u0131m:"),Aa=d(),w(pe.$$.fragment),Ta=d(),w(de.$$.fragment),xa=d(),O=s("p"),qe=s("code"),Ql=m("activate"),Xl=m(" ve "),Ue=s("code"),er=m("deactivate"),ar=m(" scriptlerini kullanarak sanal ortama gir \xE7\u0131k yapabilirsiniz:"),Sa=d(),w(ce.$$.fragment),Da=d(),he=s("p"),Re=s("code"),lr=m("which python"),rr=m(" komutunu kullanarak hangi Python kurulumunda oldu\u011Funuzu \xF6\u011Frenebilirsiniz: E\u011Fer sanal ortam\u0131 g\xF6steriyorsa sizi tebrik ederim ba\u015Far\u0131yla sanal ortam kurmu\u015Fsunuz demektir!"),Oa=d(),w(be.$$.fragment),Ha=d(),w(ye.$$.fragment),Ma=d(),H=s("h3"),R=s("a"),We=s("span"),w(ve.$$.fragment),tr=d(),Ze=s("span"),ir=m("Ba\u011F\u0131ml\u0131l\u0131klar\u0131 indirmek"),Ga=d(),W=s("p"),nr=m("Google Colab b\xF6l\xFCm\xFCnde oldu\u011Fu gibi \u015Fimdi gerekli packagelar\u0131 indirmeniz gerekiyor. Yine ayn\u0131 \u015Fekilde "),Je=s("code"),sr=m("pip"),or=m(" kullanarak \u{1F917} Transformers\u2019\u0131n development versiyonunu indirebilirsiniz:"),Va=d(),w(ze.$$.fragment),Ia=d(),je=s("p"),ur=m("Her \u015Fey haz\u0131r ba\u015Flayabilirsiniz! Ba\u015Far\u0131lar!"),this.h()},l(e){const t=st('[data-svelte="svelte-1phssyn"]',document.head);r=o(t,"META",{name:!0,content:!0}),t.forEach(a),k=c(e),h=o(e,"H1",{class:!0});var Fa=n(h);b=o(Fa,"A",{id:!0,class:!0,href:!0});var dr=n(b);z=o(dr,"SPAN",{});var cr=n(z);P(p.$$.fragment,cr),cr.forEach(a),dr.forEach(a),_=c(Fa),$=o(Fa,"SPAN",{});var hr=n($);E=f(hr,"Giri\u015F"),hr.forEach(a),Fa.forEach(a),v=c(e),g=o(e,"P",{});var La=n(g);M=f(La,"Hugging Face kursuna ho\u015F geldiniz! Bu b\xF6l\xFCmde kursta kullanaca\u011F\u0131m\u0131z \xE7al\u0131\u015Fma ortam\u0131n\u0131 kuraca\u011F\u0131z. E\u011Fer kursa yeni ba\u015Fl\u0131yorsan\u0131z, \xF6ncelikle "),ge=o(La,"A",{href:!0});var br=n(ge);il=f(br,"1. b\xF6l\xFCme"),br.forEach(a),nl=f(La," bakman\u0131z\u0131, sonra da geri gelip ortam\u0131n\u0131z\u0131 kurman\u0131z\u0131 \xF6neririz. B\xF6ylelikle kodlar\u0131 kendi ba\u015F\u0131n\u0131za deneyimleyebilirsiniz."),La.forEach(a),ta=c(e),_e=o(e,"P",{});var yr=n(_e);sl=f(yr,"Bu kursta kullanaca\u011F\u0131m\u0131z b\xFCt\xFCn k\xFCt\xFCphaneler Python package\u2019\u0131 olarak indirilebilir, bu y\xFCzden burada Python ortam\u0131n\u0131n kurulumunu ve laz\u0131m olacak k\xFCt\xFCphaneleri indirmeyi g\xF6sterece\u011Fiz."),yr.forEach(a),ia=c(e),Ee=o(e,"P",{});var vr=n(Ee);ol=f(vr,"\u0130ki farkl\u0131 yol g\xF6sterece\u011Fiz Colab defterleri ve Python sanal ortam\u0131. Size en uygun olan\u0131 se\xE7ebilirsiniz. Yeni ba\u015Flayanlar\u0131n Colab defteri kullanmas\u0131n\u0131 tavsiye ederiz."),vr.forEach(a),na=c(e),$e=o(e,"P",{});var zr=n($e);ul=f(zr,"Kursta Windows sistemi kullanm\u0131yoruz bu y\xFCzden e\u011Fer Windows kullan\u0131yorsan\u0131z Colab kullanman\u0131z daha iyi olacakt\u0131r. E\u011Fer herhangi bir Linux da\u011F\u0131t\u0131m\u0131 ya da macOS kullan\u0131yorsan\u0131z iki y\xF6ntemi de tercih edebilirsiniz."),zr.forEach(a),sa=c(e),G=o(e,"P",{});var Ya=n(G);ml=f(Ya,"Kurs genel olarak Hugging Face \xFCzerinden gidiyor. E\u011Fer hesab\u0131n\u0131z yoksa "),Z=o(Ya,"A",{href:!0,rel:!0});var gr=n(Z);fl=f(gr,"buradan hesap a\xE7abilirsiniz"),gr.forEach(a),kl=f(Ya,"."),Ya.forEach(a),oa=c(e),S=o(e,"H2",{class:!0});var qa=n(S);V=o(qa,"A",{id:!0,class:!0,href:!0});var _r=n(V);xe=o(_r,"SPAN",{});var Er=n(xe);P(J.$$.fragment,Er),Er.forEach(a),_r.forEach(a),pl=c(qa),Se=o(qa,"SPAN",{});var $r=n(Se);dl=f($r,"Google Colab defteri kullanmak"),$r.forEach(a),qa.forEach(a),ua=c(e),we=o(e,"P",{});var wr=n(we);cl=f(wr,"Colab defteri kullanmak a\xE7\u0131k ara en kolay kurulum. Taray\u0131c\u0131n\u0131zda bir defter a\xE7\u0131n ve hemen kodlamaya ba\u015Flay\u0131n!"),wr.forEach(a),ma=c(e),I=o(e,"P",{});var Ua=n(I);hl=f(Ua,"E\u011Fer Colab kullanmay\u0131 bilmiyorsan\u0131z bu "),Q=o(Ua,"A",{href:!0,rel:!0});var Pr=n(Q);bl=f(Pr,"\u0130ngilizce tutorial\u0131"),Pr.forEach(a),yl=f(Ua," takip edebilirsiniz. Colab TPU ya da GPU gibi baz\u0131 h\u0131zland\u0131r\u0131c\u0131 donan\u0131mlar\u0131 kullanman\u0131za izin verir. \xDCstelik k\xFC\xE7\xFCk i\u015Flemler i\xE7in bunlar \xFCcretsiz!"),Ua.forEach(a),fa=c(e),Pe=o(e,"P",{});var Cr=n(Pe);vl=f(Cr,"Colab kullan\u0131m\u0131nda kendinizi rahat hissettikten sonra yeni bir defter olu\u015Fturun ve kuruluma ba\u015Flay\u0131n:"),Cr.forEach(a),ka=c(e),X=o(e,"DIV",{class:!0});var Br=n(X);ee=o(Br,"IMG",{src:!0,alt:!0,width:!0}),Br.forEach(a),pa=c(e),T=o(e,"P",{});var Ae=n(T);zl=f(Ae,"Sonraki ad\u0131m kurs boyunca kullanaca\u011F\u0131m\u0131z k\xFCt\xFCphaneleri indirmek. Kurulum i\xE7in "),De=o(Ae,"CODE",{});var Nr=n(De);gl=f(Nr,"pip"),Nr.forEach(a),_l=f(Ae," kullanaca\u011F\u0131z, kendisi Python\u0131n package y\xF6neticisi. Defterlerde sat\u0131r\u0131n ba\u015F\u0131na "),Oe=o(Ae,"CODE",{});var jr=n(Oe);El=f(jr,"!"),jr.forEach(a),$l=f(Ae," koyarak sistem komutlar\u0131n\u0131 \xE7al\u0131\u015Ft\u0131rabilirsiniz. yani \u{1F917} Transformers k\xFCt\xFCphanesini \u015F\xF6yle indiriyoruz:"),Ae.forEach(a),da=c(e),P(ae.$$.fragment,e),ca=c(e),Ce=o(e,"P",{});var Ar=n(Ce);wl=f(Ar,"\u0130mport ederek package\u2019\u0131n do\u011Fru kuruldu\u011Fundan emin olabilirsiniz:"),Ar.forEach(a),ha=c(e),P(le.$$.fragment,e),ba=c(e),re=o(e,"DIV",{class:!0});var Tr=n(re);te=o(Tr,"IMG",{src:!0,alt:!0,width:!0}),Tr.forEach(a),ya=c(e),Be=o(e,"P",{});var xr=n(Be);Pl=f(xr,"Bu \u{1F917} Transformers\u2019\u0131n olduk\xE7a hafif bir versiyonunu y\xFCkl\xFCyor. Yani hi\xE7 bir machine learning k\xFCt\xFCphanesini bar\u0131nd\u0131rm\u0131yor. (PyTorch ya da TensorFlow gibi) K\xFCt\xFCphanenin farkl\u0131 farkl\u0131 \xF6zelliklerini kullanaca\u011F\u0131m\u0131z i\xE7in \u201Cdevelopment version\u201D\u0131 indirmenizi tavsiye ederiz \xE7\xFCnk\xFC akla gelebilecek b\xFCt\xFCn kullan\u0131mlar i\xE7in gerekli ba\u011F\u0131ml\u0131l\u0131klar\u0131 (dependencies) bar\u0131nd\u0131r\u0131yor:"),xr.forEach(a),va=c(e),P(ie.$$.fragment,e),za=c(e),Ne=o(e,"P",{});var Sr=n(Ne);Cl=f(Sr,"Bu biraz zaman alabilir ama sonras\u0131nda kursun tamam\u0131 i\xE7in haz\u0131r olacaks\u0131n\u0131z! Ba\u015Far\u0131lar!"),Sr.forEach(a),ga=c(e),D=o(e,"H2",{class:!0});var Ra=n(D);K=o(Ra,"A",{id:!0,class:!0,href:!0});var Dr=n(K);He=o(Dr,"SPAN",{});var Or=n(He);P(ne.$$.fragment,Or),Or.forEach(a),Dr.forEach(a),Bl=c(Ra),Me=o(Ra,"SPAN",{});var Hr=n(Me);Nl=f(Hr,"Python Sanal Ortam\u0131 Kullanmak"),Hr.forEach(a),Ra.forEach(a),_a=c(e),F=o(e,"P",{});var Wa=n(F);jl=f(Wa,"E\u011Fer Python sanal ortam\u0131 kullanmay\u0131 se\xE7erseniz ilk ad\u0131m olarak bilgisayar\u0131n\u0131za Python kurmal\u0131s\u0131n\u0131z. "),se=o(Wa,"A",{href:!0,rel:!0});var Mr=n(se);Al=f(Mr,"Bu rehberi"),Mr.forEach(a),Tl=f(Wa," kullanman\u0131z\u0131 \xF6neririz."),Wa.forEach(a),Ea=c(e),L=o(e,"P",{});var Za=n(L);xl=f(Za,"Python\u2019\u0131 kurduktan sonra terminal \xFCzerinden Python komutlar\u0131n\u0131 \xE7al\u0131\u015Ft\u0131rabiliyor olman\u0131z gerekiyor. "),Ge=o(Za,"CODE",{});var Gr=n(Ge);Sl=f(Gr,"python --version"),Gr.forEach(a),Dl=f(Za," komutunu \xE7al\u0131\u015Ft\u0131rarak kurulumun do\u011Fru tamamland\u0131\u011F\u0131ndan emin olabilirsiniz. Bu komut sisteminizde kurulu olan Python s\xFCr\xFCm\xFCn\xFC ekrana yazd\u0131racak."),Za.forEach(a),$a=c(e),oe=o(e,"P",{});var mr=n(oe);Ve=o(mr,"CODE",{});var Vr=n(Ve);Ol=f(Vr,"python --version"),Vr.forEach(a),Hl=f(mr," gibi bir python komutunu terminalde \xE7al\u0131\u015Ft\u0131rd\u0131\u011F\u0131n\u0131zda bu komutu \xE7al\u0131\u015Ft\u0131ran program bilgisayar\u0131n\u0131zdaki \u201Cana\u201D (main) python s\xFCr\xFCm\xFCd\xFCr. Bu s\xFCr\xFCme hi\xE7 bir python package\u2019\u0131 y\xFCklemenizi \xF6nermiyoruz. Bunu her projeniz i\xE7in ayr\u0131 bir ortam a\xE7mak i\xE7in kullanabilirsiniz bu \u015Fekilde ba\u015Fka uygulamalar ile olabilecek uyumluluk hatalar\u0131 hakk\u0131nda endielenmenize gerek kalmaz."),mr.forEach(a),wa=c(e),x=o(e,"P",{});var Te=n(x);Ml=f(Te,"Python\u2019da bu  "),ue=o(Te,"A",{href:!0,rel:!0});var Ir=n(ue);Ie=o(Ir,"EM",{});var Kr=n(Ie);Gl=f(Kr,"virtual environments (sanal ortamlar)"),Kr.forEach(a),Ir.forEach(a),Vl=f(Te," kullan\u0131larak yap\u0131l\u0131yor, bunlar\u0131 ayr\u0131 ayr\u0131 kurulmu\u015F Python s\xFCr\xFCmleri olarak d\xFC\u015F\xFCnebilirsiniz. Bunun i\xE7in yap\u0131lm\u0131\u015F farkl\u0131 toollar var fakat biz resmi package\u2019\u0131 kullanaca\u011F\u0131z, ismi de "),me=o(Te,"A",{href:!0,rel:!0});var Fr=n(me);Ke=o(Fr,"CODE",{});var Lr=n(Ke);Il=f(Lr,"venv"),Lr.forEach(a),Fr.forEach(a),Kl=f(Te,"."),Te.forEach(a),Pa=c(e),Y=o(e,"P",{});var Ja=n(Y);Fl=f(Ja,"\u0130lk olarak, uygulaman\u0131z\u0131n bulunmas\u0131n\u0131 istedi\u011Finiz klas\xF6r\xFC a\xE7\u0131n \u2014 mesela "),Fe=o(Ja,"EM",{});var Yr=n(Fe);Ll=f(Yr,"transformers-course"),Yr.forEach(a),Yl=f(Ja," diye bir klas\xF6r a\xE7mak isteyebilirsiniz:"),Ja.forEach(a),Ca=c(e),P(fe.$$.fragment,e),Ba=c(e),q=o(e,"P",{});var Qa=n(q);ql=f(Qa,"Bu klas\xF6r\xFCn i\xE7inde Python "),Le=o(Qa,"CODE",{});var qr=n(Le);Ul=f(qr,"venv"),qr.forEach(a),Rl=f(Qa," mod\xFCl\xFCn\xFC kullanarak bir sanal ortam a\xE7al\u0131m:"),Qa.forEach(a),Na=c(e),P(ke.$$.fragment,e),ja=c(e),U=o(e,"P",{});var Xa=n(U);Wl=f(Xa,"Normalde bo\u015F olan klas\xF6r\xFCn\xFCz\xFCn i\xE7inde "),Ye=o(Xa,"EM",{});var Ur=n(Ye);Zl=f(Ur,".env"),Ur.forEach(a),Jl=f(Xa," ad\u0131nda yeni bir klas\xF6r a\xE7\u0131lm\u0131\u015F olmas\u0131 laz\u0131m:"),Xa.forEach(a),Aa=c(e),P(pe.$$.fragment,e),Ta=c(e),P(de.$$.fragment,e),xa=c(e),O=o(e,"P",{});var Qe=n(O);qe=o(Qe,"CODE",{});var Rr=n(qe);Ql=f(Rr,"activate"),Rr.forEach(a),Xl=f(Qe," ve "),Ue=o(Qe,"CODE",{});var Wr=n(Ue);er=f(Wr,"deactivate"),Wr.forEach(a),ar=f(Qe," scriptlerini kullanarak sanal ortama gir \xE7\u0131k yapabilirsiniz:"),Qe.forEach(a),Sa=c(e),P(ce.$$.fragment,e),Da=c(e),he=o(e,"P",{});var fr=n(he);Re=o(fr,"CODE",{});var Zr=n(Re);lr=f(Zr,"which python"),Zr.forEach(a),rr=f(fr," komutunu kullanarak hangi Python kurulumunda oldu\u011Funuzu \xF6\u011Frenebilirsiniz: E\u011Fer sanal ortam\u0131 g\xF6steriyorsa sizi tebrik ederim ba\u015Far\u0131yla sanal ortam kurmu\u015Fsunuz demektir!"),fr.forEach(a),Oa=c(e),P(be.$$.fragment,e),Ha=c(e),P(ye.$$.fragment,e),Ma=c(e),H=o(e,"H3",{class:!0});var el=n(H);R=o(el,"A",{id:!0,class:!0,href:!0});var Jr=n(R);We=o(Jr,"SPAN",{});var Qr=n(We);P(ve.$$.fragment,Qr),Qr.forEach(a),Jr.forEach(a),tr=c(el),Ze=o(el,"SPAN",{});var Xr=n(Ze);ir=f(Xr,"Ba\u011F\u0131ml\u0131l\u0131klar\u0131 indirmek"),Xr.forEach(a),el.forEach(a),Ga=c(e),W=o(e,"P",{});var al=n(W);nr=f(al,"Google Colab b\xF6l\xFCm\xFCnde oldu\u011Fu gibi \u015Fimdi gerekli packagelar\u0131 indirmeniz gerekiyor. Yine ayn\u0131 \u015Fekilde "),Je=o(al,"CODE",{});var et=n(Je);sr=f(et,"pip"),et.forEach(a),or=f(al," kullanarak \u{1F917} Transformers\u2019\u0131n development versiyonunu indirebilirsiniz:"),al.forEach(a),Va=c(e),P(ze.$$.fragment,e),Ia=c(e),je=o(e,"P",{});var at=n(je);ur=f(at,"Her \u015Fey haz\u0131r ba\u015Flayabilirsiniz! Ba\u015Far\u0131lar!"),at.forEach(a),this.h()},h(){u(r,"name","hf:doc:metadata"),u(r,"content",JSON.stringify(_t)),u(b,"id","giri"),u(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"),u(b,"href","#giri"),u(h,"class","relative group"),u(ge,"href","/course/chapter1"),u(Z,"href","https://huggingface.co/join"),u(Z,"rel","nofollow"),u(V,"id","google-colab-defteri-kullanmak"),u(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"),u(V,"href","#google-colab-defteri-kullanmak"),u(S,"class","relative group"),u(Q,"href","https://colab.research.google.com/notebooks/intro.ipynb"),u(Q,"rel","nofollow"),rt(ee.src,kr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter0/new_colab.png")||u(ee,"src",kr),u(ee,"alt","An empty colab notebook"),u(ee,"width","80%"),u(X,"class","flex justify-center"),rt(te.src,pr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter0/install.gif")||u(te,"src",pr),u(te,"alt","A gif showing the result of the two commands above: installation and import"),u(te,"width","80%"),u(re,"class","flex justify-center"),u(K,"id","python-sanal-ortam-kullanmak"),u(K,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(K,"href","#python-sanal-ortam-kullanmak"),u(D,"class","relative group"),u(se,"href","https://realpython.com/installing-python/"),u(se,"rel","nofollow"),u(ue,"href","https://docs.python.org/3/tutorial/venv.html"),u(ue,"rel","nofollow"),u(me,"href","https://docs.python.org/3/library/venv.html#module-venv"),u(me,"rel","nofollow"),u(R,"id","bamllklar-indirmek"),u(R,"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"),u(R,"href","#bamllklar-indirmek"),u(H,"class","relative group")},m(e,t){l(document.head,r),i(e,k,t),i(e,h,t),l(h,b),l(b,z),C(p,z,null),l(h,_),l(h,$),l($,E),i(e,v,t),i(e,g,t),l(g,M),l(g,ge),l(ge,il),l(g,nl),i(e,ta,t),i(e,_e,t),l(_e,sl),i(e,ia,t),i(e,Ee,t),l(Ee,ol),i(e,na,t),i(e,$e,t),l($e,ul),i(e,sa,t),i(e,G,t),l(G,ml),l(G,Z),l(Z,fl),l(G,kl),i(e,oa,t),i(e,S,t),l(S,V),l(V,xe),C(J,xe,null),l(S,pl),l(S,Se),l(Se,dl),i(e,ua,t),i(e,we,t),l(we,cl),i(e,ma,t),i(e,I,t),l(I,hl),l(I,Q),l(Q,bl),l(I,yl),i(e,fa,t),i(e,Pe,t),l(Pe,vl),i(e,ka,t),i(e,X,t),l(X,ee),i(e,pa,t),i(e,T,t),l(T,zl),l(T,De),l(De,gl),l(T,_l),l(T,Oe),l(Oe,El),l(T,$l),i(e,da,t),C(ae,e,t),i(e,ca,t),i(e,Ce,t),l(Ce,wl),i(e,ha,t),C(le,e,t),i(e,ba,t),i(e,re,t),l(re,te),i(e,ya,t),i(e,Be,t),l(Be,Pl),i(e,va,t),C(ie,e,t),i(e,za,t),i(e,Ne,t),l(Ne,Cl),i(e,ga,t),i(e,D,t),l(D,K),l(K,He),C(ne,He,null),l(D,Bl),l(D,Me),l(Me,Nl),i(e,_a,t),i(e,F,t),l(F,jl),l(F,se),l(se,Al),l(F,Tl),i(e,Ea,t),i(e,L,t),l(L,xl),l(L,Ge),l(Ge,Sl),l(L,Dl),i(e,$a,t),i(e,oe,t),l(oe,Ve),l(Ve,Ol),l(oe,Hl),i(e,wa,t),i(e,x,t),l(x,Ml),l(x,ue),l(ue,Ie),l(Ie,Gl),l(x,Vl),l(x,me),l(me,Ke),l(Ke,Il),l(x,Kl),i(e,Pa,t),i(e,Y,t),l(Y,Fl),l(Y,Fe),l(Fe,Ll),l(Y,Yl),i(e,Ca,t),C(fe,e,t),i(e,Ba,t),i(e,q,t),l(q,ql),l(q,Le),l(Le,Ul),l(q,Rl),i(e,Na,t),C(ke,e,t),i(e,ja,t),i(e,U,t),l(U,Wl),l(U,Ye),l(Ye,Zl),l(U,Jl),i(e,Aa,t),C(pe,e,t),i(e,Ta,t),C(de,e,t),i(e,xa,t),i(e,O,t),l(O,qe),l(qe,Ql),l(O,Xl),l(O,Ue),l(Ue,er),l(O,ar),i(e,Sa,t),C(ce,e,t),i(e,Da,t),i(e,he,t),l(he,Re),l(Re,lr),l(he,rr),i(e,Oa,t),C(be,e,t),i(e,Ha,t),C(ye,e,t),i(e,Ma,t),i(e,H,t),l(H,R),l(R,We),C(ve,We,null),l(H,tr),l(H,Ze),l(Ze,ir),i(e,Ga,t),i(e,W,t),l(W,nr),l(W,Je),l(Je,sr),l(W,or),i(e,Va,t),C(ze,e,t),i(e,Ia,t),i(e,je,t),l(je,ur),Ka=!0},p:ea,i(e){Ka||(B(p.$$.fragment,e),B(J.$$.fragment,e),B(ae.$$.fragment,e),B(le.$$.fragment,e),B(ie.$$.fragment,e),B(ne.$$.fragment,e),B(fe.$$.fragment,e),B(ke.$$.fragment,e),B(pe.$$.fragment,e),B(de.$$.fragment,e),B(ce.$$.fragment,e),B(be.$$.fragment,e),B(ye.$$.fragment,e),B(ve.$$.fragment,e),B(ze.$$.fragment,e),Ka=!0)},o(e){N(p.$$.fragment,e),N(J.$$.fragment,e),N(ae.$$.fragment,e),N(le.$$.fragment,e),N(ie.$$.fragment,e),N(ne.$$.fragment,e),N(fe.$$.fragment,e),N(ke.$$.fragment,e),N(pe.$$.fragment,e),N(de.$$.fragment,e),N(ce.$$.fragment,e),N(be.$$.fragment,e),N(ye.$$.fragment,e),N(ve.$$.fragment,e),N(ze.$$.fragment,e),Ka=!1},d(e){a(r),e&&a(k),e&&a(h),j(p),e&&a(v),e&&a(g),e&&a(ta),e&&a(_e),e&&a(ia),e&&a(Ee),e&&a(na),e&&a($e),e&&a(sa),e&&a(G),e&&a(oa),e&&a(S),j(J),e&&a(ua),e&&a(we),e&&a(ma),e&&a(I),e&&a(fa),e&&a(Pe),e&&a(ka),e&&a(X),e&&a(pa),e&&a(T),e&&a(da),j(ae,e),e&&a(ca),e&&a(Ce),e&&a(ha),j(le,e),e&&a(ba),e&&a(re),e&&a(ya),e&&a(Be),e&&a(va),j(ie,e),e&&a(za),e&&a(Ne),e&&a(ga),e&&a(D),j(ne),e&&a(_a),e&&a(F),e&&a(Ea),e&&a(L),e&&a($a),e&&a(oe),e&&a(wa),e&&a(x),e&&a(Pa),e&&a(Y),e&&a(Ca),j(fe,e),e&&a(Ba),e&&a(q),e&&a(Na),j(ke,e),e&&a(ja),e&&a(U),e&&a(Aa),j(pe,e),e&&a(Ta),j(de,e),e&&a(xa),e&&a(O),e&&a(Sa),j(ce,e),e&&a(Da),e&&a(he),e&&a(Oa),j(be,e),e&&a(Ha),j(ye,e),e&&a(Ma),e&&a(H),j(ve),e&&a(Ga),e&&a(W),e&&a(Va),j(ze,e),e&&a(Ia),e&&a(je)}}}const _t={local:"giri",sections:[{local:"google-colab-defteri-kullanmak",title:"Google Colab defteri kullanmak"},{local:"python-sanal-ortam-kullanmak",sections:[{local:"bamllklar-indirmek",title:"Ba\u011F\u0131ml\u0131l\u0131klar\u0131 indirmek"}],title:"Python Sanal Ortam\u0131 Kullanmak"}],title:"Giri\u015F"};function Et(y){return ot(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Pt extends aa{constructor(r){super();la(this,r,Et,gt,ra,{})}}export{Pt as default,_t as metadata};
