import{s as R,n as G,o as I}from"../chunks/scheduler.cc52f4b9.js";import{S as U,i as W,e as f,s,c as P,h as B,a as d,d as n,b as o,f as F,g as E,j as L,k as O,l as D,m as a,n as k,t as M,o as S,p as z}from"../chunks/index.5b747fde.js";import{C as J,H as K,E as N}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d38ac5a9.js";function Q(H){let i,$,h,v,l,_,r,x,p,j="In this chapter, we explored the essential components of fine-tuning language models:",b,m,q="<li><p><strong>Chat Templates</strong> provide structure to model interactions, ensuring consistent and appropriate responses through standardized formatting.</p></li> <li><p><strong>Supervised Fine-Tuning (SFT)</strong> allows adaptation of pre-trained models to specific tasks while maintaining their foundational knowledge.</p></li> <li><p><strong>LoRA</strong> offers an efficient approach to fine-tuning by reducing trainable parameters while preserving model performance.</p></li> <li><p><strong>Evaluation</strong> helps measure and validate the effectiveness of fine-tuning through various metrics and benchmarks.</p></li>",w,c,A="These techniques, when combined, enable the creation of specialized language models that can excel at specific tasks while remaining computationally efficient. Whether you’re building a customer service bot or a domain-specific assistant, understanding these concepts is crucial for successful model adaptation.",C,u,y,g,T;return l=new J({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new K({props:{title:"Conclusion",local:"conclusion",headingTag:"h1"}}),u=new N({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter11/6.mdx"}}),{c(){i=f("meta"),$=s(),h=f("p"),v=s(),P(l.$$.fragment),_=s(),P(r.$$.fragment),x=s(),p=f("p"),p.textContent=j,b=s(),m=f("ol"),m.innerHTML=q,w=s(),c=f("p"),c.textContent=A,C=s(),P(u.$$.fragment),y=s(),g=f("p"),this.h()},l(e){const t=B("svelte-u9bgzb",document.head);i=d(t,"META",{name:!0,content:!0}),t.forEach(n),$=o(e),h=d(e,"P",{}),F(h).forEach(n),v=o(e),E(l.$$.fragment,e),_=o(e),E(r.$$.fragment,e),x=o(e),p=d(e,"P",{"data-svelte-h":!0}),L(p)!=="svelte-lf9zjh"&&(p.textContent=j),b=o(e),m=d(e,"OL",{"data-svelte-h":!0}),L(m)!=="svelte-1ovk2di"&&(m.innerHTML=q),w=o(e),c=d(e,"P",{"data-svelte-h":!0}),L(c)!=="svelte-1ej5160"&&(c.textContent=A),C=o(e),E(u.$$.fragment,e),y=o(e),g=d(e,"P",{}),F(g).forEach(n),this.h()},h(){O(i,"name","hf:doc:metadata"),O(i,"content",V)},m(e,t){D(document.head,i),a(e,$,t),a(e,h,t),a(e,v,t),k(l,e,t),a(e,_,t),k(r,e,t),a(e,x,t),a(e,p,t),a(e,b,t),a(e,m,t),a(e,w,t),a(e,c,t),a(e,C,t),k(u,e,t),a(e,y,t),a(e,g,t),T=!0},p:G,i(e){T||(M(l.$$.fragment,e),M(r.$$.fragment,e),M(u.$$.fragment,e),T=!0)},o(e){S(l.$$.fragment,e),S(r.$$.fragment,e),S(u.$$.fragment,e),T=!1},d(e){e&&(n($),n(h),n(v),n(_),n(x),n(p),n(b),n(m),n(w),n(c),n(C),n(y),n(g)),n(i),z(l,e),z(r,e),z(u,e)}}}const V='{"title":"Conclusion","local":"conclusion","sections":[],"depth":1}';function X(H){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class te extends U{constructor(i){super(),W(this,i,X,Q,R,{})}}export{te as component};
