import{s as K,a as V,n as X,o as Z}from"../chunks/scheduler.cc52f4b9.js";import{S as tt,i as et,e as o,s as a,c as v,h as it,a as u,d as i,b as l,f as R,g as y,j as Q,k as w,l as nt,m as n,n as b,t as q,o as z,p as E}from"../chunks/index.5b747fde.js";import{C as at,H as J,E as lt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d38ac5a9.js";import{C as st}from"../chunks/CourseFloatingBanner.b33fcd79.js";function rt(B){let r,M,C,P,m,T,f,L,p,S,c,G="Congratulations on completing the course! You’ve learned how to fine-tune pretrained models, understand learning curves, and share your models with the community. Now it’s time to take the quiz to test your knowledge and get your certificate.",k,h,U="To take the quiz, you will need to follow these steps:",H,$,W="<li>Sign in to your Hugging Face account.</li> <li>Answer the questions in the quiz.</li> <li>Submit your answers.</li>",A,d,F,g,Y="In this quiz, you will be asked to select the correct answer from a list of options. We’ll test you on the fundamentals of supervised finetuning.",j,s,D,I,_,N,x,O;return m=new at({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new J({props:{title:"End-of-chapter Certificate",local:"end-of-chapter-certificate",headingTag:"h1"}}),p=new st({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}}),d=new J({props:{title:"Multiple Choice Quiz",local:"multiple-choice-quiz",headingTag:"h2"}}),_=new lt({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter3/7.mdx"}}),{c(){r=o("meta"),M=a(),C=o("p"),P=a(),v(m.$$.fragment),T=a(),v(f.$$.fragment),L=a(),v(p.$$.fragment),S=a(),c=o("p"),c.textContent=G,k=a(),h=o("p"),h.textContent=U,H=a(),$=o("ol"),$.innerHTML=W,A=a(),v(d.$$.fragment),F=a(),g=o("p"),g.textContent=Y,j=a(),s=o("iframe"),I=a(),v(_.$$.fragment),N=a(),x=o("p"),this.h()},l(t){const e=it("svelte-u9bgzb",document.head);r=u(e,"META",{name:!0,content:!0}),e.forEach(i),M=l(t),C=u(t,"P",{}),R(C).forEach(i),P=l(t),y(m.$$.fragment,t),T=l(t),y(f.$$.fragment,t),L=l(t),y(p.$$.fragment,t),S=l(t),c=u(t,"P",{"data-svelte-h":!0}),Q(c)!=="svelte-1r545cl"&&(c.textContent=G),k=l(t),h=u(t,"P",{"data-svelte-h":!0}),Q(h)!=="svelte-id5ipj"&&(h.textContent=U),H=l(t),$=u(t,"OL",{"data-svelte-h":!0}),Q($)!=="svelte-f0cv6n"&&($.innerHTML=W),A=l(t),y(d.$$.fragment,t),F=l(t),g=u(t,"P",{"data-svelte-h":!0}),Q(g)!=="svelte-u7tqvq"&&(g.textContent=Y),j=l(t),s=u(t,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),R(s).forEach(i),I=l(t),y(_.$$.fragment,t),N=l(t),x=u(t,"P",{}),R(x).forEach(i),this.h()},h(){w(r,"name","hf:doc:metadata"),w(r,"content",ot),V(s.src,D="https://huggingface-course-unit-3-quiz.hf.space")||w(s,"src",D),w(s,"frameborder","0"),w(s,"width","850"),w(s,"height","450")},m(t,e){nt(document.head,r),n(t,M,e),n(t,C,e),n(t,P,e),b(m,t,e),n(t,T,e),b(f,t,e),n(t,L,e),b(p,t,e),n(t,S,e),n(t,c,e),n(t,k,e),n(t,h,e),n(t,H,e),n(t,$,e),n(t,A,e),b(d,t,e),n(t,F,e),n(t,g,e),n(t,j,e),n(t,s,e),n(t,I,e),b(_,t,e),n(t,N,e),n(t,x,e),O=!0},p:X,i(t){O||(q(m.$$.fragment,t),q(f.$$.fragment,t),q(p.$$.fragment,t),q(d.$$.fragment,t),q(_.$$.fragment,t),O=!0)},o(t){z(m.$$.fragment,t),z(f.$$.fragment,t),z(p.$$.fragment,t),z(d.$$.fragment,t),z(_.$$.fragment,t),O=!1},d(t){t&&(i(M),i(C),i(P),i(T),i(L),i(S),i(c),i(k),i(h),i(H),i($),i(A),i(F),i(g),i(j),i(s),i(I),i(N),i(x)),i(r),E(m,t),E(f,t),E(p,t),E(d,t),E(_,t)}}}const ot='{"title":"End-of-chapter Certificate","local":"end-of-chapter-certificate","sections":[{"title":"Multiple Choice Quiz","local":"multiple-choice-quiz","sections":[],"depth":2}],"depth":1}';function ut(B){return Z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ht extends tt{constructor(r){super(),et(this,r,ut,rt,K,{})}}export{ht as component};
