import{s as te,f as ee,n as ie,o as le}from"../chunks/scheduler.37c15a92.js";import{S as se,i as ne,g as r,s,r as Q,A as ae,h as u,f as i,c as n,j as R,u as F,x as q,k as m,y as oe,a as l,v as W,d as O,t as G,w as U}from"../chunks/index.2bf4358c.js";import{H as B,E as re}from"../chunks/EditOnGithub.8916dc7c.js";function ue(D){let f,z,x,C,p,b,c,J="It’s time to put your knowledge to the test! We’ve prepared a short quiz for you to test your understanding of the concepts covered in this chapter.",E,h,K="To take the quiz, you will need to follow these steps:",T,d,N="<li>Sign in to your Hugging Face account.</li> <li>Answer the questions in the quiz.</li> <li>Submit your answers.</li>",M,$,P,_,V="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.",k,a,X,H,v,L,w,Y="In this quiz, you will be asked to write code to complete a task. We’ll test you on the code you’ve studied in the course from libraries like <code>datasets</code>, <code>transformers</code>, <code>peft</code>, and <code>TRL</code>.",A,o,Z,I,g,S,y,j;return p=new B({props:{title:"Exam Time!",local:"exam-time",headingTag:"h1"}}),$=new B({props:{title:"Multiple Choice Quiz",local:"multiple-choice-quiz",headingTag:"h2"}}),v=new B({props:{title:"Code Quiz",local:"code-quiz",headingTag:"h2"}}),g=new re({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter11/7.mdx"}}),{c(){f=r("meta"),z=s(),x=r("p"),C=s(),Q(p.$$.fragment),b=s(),c=r("p"),c.textContent=J,E=s(),h=r("p"),h.textContent=K,T=s(),d=r("ol"),d.innerHTML=N,M=s(),Q($.$$.fragment),P=s(),_=r("p"),_.textContent=V,k=s(),a=r("iframe"),H=s(),Q(v.$$.fragment),L=s(),w=r("p"),w.innerHTML=Y,A=s(),o=r("iframe"),I=s(),Q(g.$$.fragment),S=s(),y=r("p"),this.h()},l(e){const t=ae("svelte-u9bgzb",document.head);f=u(t,"META",{name:!0,content:!0}),t.forEach(i),z=n(e),x=u(e,"P",{}),R(x).forEach(i),C=n(e),F(p.$$.fragment,e),b=n(e),c=u(e,"P",{"data-svelte-h":!0}),q(c)!=="svelte-1j40xyg"&&(c.textContent=J),E=n(e),h=u(e,"P",{"data-svelte-h":!0}),q(h)!=="svelte-id5ipj"&&(h.textContent=K),T=n(e),d=u(e,"OL",{"data-svelte-h":!0}),q(d)!=="svelte-f0cv6n"&&(d.innerHTML=N),M=n(e),F($.$$.fragment,e),P=n(e),_=u(e,"P",{"data-svelte-h":!0}),q(_)!=="svelte-u7tqvq"&&(_.textContent=V),k=n(e),a=u(e,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),R(a).forEach(i),H=n(e),F(v.$$.fragment,e),L=n(e),w=u(e,"P",{"data-svelte-h":!0}),q(w)!=="svelte-yjfvyp"&&(w.innerHTML=Y),A=n(e),o=u(e,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),R(o).forEach(i),I=n(e),F(g.$$.fragment,e),S=n(e),y=u(e,"P",{}),R(y).forEach(i),this.h()},h(){m(f,"name","hf:doc:metadata"),m(f,"content",me),ee(a.src,X="https://nlp-course-supervised-finetuning-quiz.hf.space")||m(a,"src",X),m(a,"frameborder","0"),m(a,"width","850"),m(a,"height","450"),ee(o.src,Z="https://nlp-course-sft-code-quiz.hf.space")||m(o,"src",Z),m(o,"frameborder","0"),m(o,"width","850"),m(o,"height","450")},m(e,t){oe(document.head,f),l(e,z,t),l(e,x,t),l(e,C,t),W(p,e,t),l(e,b,t),l(e,c,t),l(e,E,t),l(e,h,t),l(e,T,t),l(e,d,t),l(e,M,t),W($,e,t),l(e,P,t),l(e,_,t),l(e,k,t),l(e,a,t),l(e,H,t),W(v,e,t),l(e,L,t),l(e,w,t),l(e,A,t),l(e,o,t),l(e,I,t),W(g,e,t),l(e,S,t),l(e,y,t),j=!0},p:ie,i(e){j||(O(p.$$.fragment,e),O($.$$.fragment,e),O(v.$$.fragment,e),O(g.$$.fragment,e),j=!0)},o(e){G(p.$$.fragment,e),G($.$$.fragment,e),G(v.$$.fragment,e),G(g.$$.fragment,e),j=!1},d(e){e&&(i(z),i(x),i(C),i(b),i(c),i(E),i(h),i(T),i(d),i(M),i(P),i(_),i(k),i(a),i(H),i(L),i(w),i(A),i(o),i(I),i(S),i(y)),i(f),U(p,e),U($,e),U(v,e),U(g,e)}}}const me='{"title":"Exam Time!","local":"exam-time","sections":[{"title":"Multiple Choice Quiz","local":"multiple-choice-quiz","sections":[],"depth":2},{"title":"Code Quiz","local":"code-quiz","sections":[],"depth":2}],"depth":1}';function fe(D){return le(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends se{constructor(f){super(),ne(this,f,fe,ue,te,{})}}export{de as component};
