import{s as K,n as V,o as W}from"../chunks/scheduler.fdfd6691.js";import{S as X,i as Z,e as m,s as a,c as x,h as ee,a as o,d as l,b as i,f as Q,g as b,j as y,k as I,l as te,m as n,n as C,t as w,o as E,p as T}from"../chunks/index.3a35cc7a.js";import{C as le,H as ne,E as ae}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.260cceed.js";import{Y as ie}from"../chunks/Youtube.6a9089ce.js";import{C as re}from"../chunks/CourseFloatingBanner.7b73a5be.js";function me(Y){let r,P,_,L,s,M,f,z,u,B,p,H,d,D="Encoder modelleri Transformer modellerinin sadece encoder kısmını kulanır.Her aşamada, attention katmanları ilk cümlenin bütün kelimelerine erişir. Bu modeller genellikle çift yönlü attention olarak nitelendirilir ve genellikle <em>auto-encoding models</em> olarak adlandırılır.",R,c,F="Bu modellerin öneğitimi genellikle verilen cümleyi bozmaya yöneliktir (örnek olarak, içindeki rastgele kelimeleri maskeleyerek) ve model ilk cümleyi bulma veya yeniden oluşturma ile görevlendirilir.",S,$,G="Encoder modelleri cümle sınıflandırma, varlık tanıma (daha spesifik olarak sözcük sınıflandırma) ve extractive soru yanıtlama gibi cümlenin tam anlaşılmasını gerektiren görevler için uygundur.",A,g,J="Bu model ailesinin temsilcileri şunlardır:",U,h,O='<li><a href="https://huggingface.co/transformers/model_doc/albert.html" rel="nofollow">ALBERT</a></li> <li><a href="https://huggingface.co/transformers/model_doc/bert.html" rel="nofollow">BERT</a></li> <li><a href="https://huggingface.co/transformers/model_doc/distilbert.html" rel="nofollow">DistilBERT</a></li> <li><a href="https://huggingface.co/transformers/model_doc/electra.html" rel="nofollow">ELECTRA</a></li> <li><a href="https://huggingface.co/transformers/model_doc/roberta.html" rel="nofollow">RoBERTa</a></li>',j,v,q,k,N;return s=new le({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new ne({props:{title:"Encoder modelleri",local:"encoder-modelleri",headingTag:"h1"}}),u=new re({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),p=new ie({props:{id:"MUqNwgPjJvQ"}}),v=new ae({props:{source:"https://github.com/huggingface/course/blob/main/chapters/tr/chapter1/5.mdx"}}),{c(){r=m("meta"),P=a(),_=m("p"),L=a(),x(s.$$.fragment),M=a(),x(f.$$.fragment),z=a(),x(u.$$.fragment),B=a(),x(p.$$.fragment),H=a(),d=m("p"),d.innerHTML=D,R=a(),c=m("p"),c.textContent=F,S=a(),$=m("p"),$.textContent=G,A=a(),g=m("p"),g.textContent=J,U=a(),h=m("ul"),h.innerHTML=O,j=a(),x(v.$$.fragment),q=a(),k=m("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);r=o(t,"META",{name:!0,content:!0}),t.forEach(l),P=i(e),_=o(e,"P",{}),Q(_).forEach(l),L=i(e),b(s.$$.fragment,e),M=i(e),b(f.$$.fragment,e),z=i(e),b(u.$$.fragment,e),B=i(e),b(p.$$.fragment,e),H=i(e),d=o(e,"P",{"data-svelte-h":!0}),y(d)!=="svelte-14wzi0m"&&(d.innerHTML=D),R=i(e),c=o(e,"P",{"data-svelte-h":!0}),y(c)!=="svelte-1fvndt4"&&(c.textContent=F),S=i(e),$=o(e,"P",{"data-svelte-h":!0}),y($)!=="svelte-870v45"&&($.textContent=G),A=i(e),g=o(e,"P",{"data-svelte-h":!0}),y(g)!=="svelte-12f0id4"&&(g.textContent=J),U=i(e),h=o(e,"UL",{"data-svelte-h":!0}),y(h)!=="svelte-18kzzol"&&(h.innerHTML=O),j=i(e),b(v.$$.fragment,e),q=i(e),k=o(e,"P",{}),Q(k).forEach(l),this.h()},h(){I(r,"name","hf:doc:metadata"),I(r,"content",oe)},m(e,t){te(document.head,r),n(e,P,t),n(e,_,t),n(e,L,t),C(s,e,t),n(e,M,t),C(f,e,t),n(e,z,t),C(u,e,t),n(e,B,t),C(p,e,t),n(e,H,t),n(e,d,t),n(e,R,t),n(e,c,t),n(e,S,t),n(e,$,t),n(e,A,t),n(e,g,t),n(e,U,t),n(e,h,t),n(e,j,t),C(v,e,t),n(e,q,t),n(e,k,t),N=!0},p:V,i(e){N||(w(s.$$.fragment,e),w(f.$$.fragment,e),w(u.$$.fragment,e),w(p.$$.fragment,e),w(v.$$.fragment,e),N=!0)},o(e){E(s.$$.fragment,e),E(f.$$.fragment,e),E(u.$$.fragment,e),E(p.$$.fragment,e),E(v.$$.fragment,e),N=!1},d(e){e&&(l(P),l(_),l(L),l(M),l(z),l(B),l(H),l(d),l(R),l(c),l(S),l($),l(A),l(g),l(U),l(h),l(j),l(q),l(k)),l(r),T(s,e),T(f,e),T(u,e),T(p,e),T(v,e)}}}const oe='{"title":"Encoder modelleri","local":"encoder-modelleri","sections":[],"depth":1}';function se(Y){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $e extends X{constructor(r){super(),Z(this,r,se,me,K,{})}}export{$e as component};
