import{s as Z,a as tt,n as et,o as at}from"../chunks/scheduler.cc52f4b9.js";import{S as lt,i as nt,e as o,s as n,c as S,h as it,a as s,d as a,b as i,f as Y,g as U,j as _,k as G,l as ot,m as l,n as j,t as B,o as D,p as F}from"../chunks/index.5b747fde.js";import{C as st,H as rt,E as ut}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d38ac5a9.js";import{C as mt}from"../chunks/CourseFloatingBanner.b33fcd79.js";function pt(O){let r,b,v,C,u,L,m,H,p,P,f,R='In Chapter 5 you learnt how to build a dataset using the 🤗 Datasets library and in Chapter 6 you explored how to fine-tune models for some common NLP tasks. In this chapter, you will learn how to use <a href="https://argilla.io" rel="nofollow">Argilla</a> to <strong>annotate and curate datasets</strong> that you can use to train and evaluate your models.',M,c,W="The key to training models that perform well is to have high-quality data. Although there are some good datasets in the Hub that you could use to train and evaluate your models, these may not be relevant for your specific application or use case. In this scenario, you may want to build and curate a dataset of your own. Argilla will help you to do this efficiently.",A,d,J,T,h,K="With Argilla you can:",k,g,Q="<li>turn unstructured data into <strong>structured data</strong> to be used in NLP tasks.</li> <li>curate a dataset to go from a low-quality dataset to a <strong>high-quality dataset</strong>.</li> <li>gather <strong>human feedback</strong> for LLMs and multi-modal models.</li> <li>invite experts to collaborate with you in Argilla, or crowdsource annotations!</li>",I,$,V="Here are some of the things that you will learn in this chapter:",E,y,X="<li>How to set up your own Argilla instance.</li> <li>How to load a dataset and configure it based on some popular NLP tasks.</li> <li>How to use the Argilla UI to annotate your dataset.</li> <li>How to use your curated dataset and export it to the Hub.</li>",q,w,z,x,N;return u=new st({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new rt({props:{title:"Introduction to Argilla",local:"introduction-to-argilla",headingTag:"h1"}}),p=new mt({props:{chapter:10,classNames:"absolute z-10 right-0 top-0"}}),w=new ut({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter10/1.mdx"}}),{c(){r=o("meta"),b=n(),v=o("p"),C=n(),S(u.$$.fragment),L=n(),S(m.$$.fragment),H=n(),S(p.$$.fragment),P=n(),f=o("p"),f.innerHTML=R,M=n(),c=o("p"),c.textContent=W,A=n(),d=o("img"),T=n(),h=o("p"),h.textContent=K,k=n(),g=o("ul"),g.innerHTML=Q,I=n(),$=o("p"),$.textContent=V,E=n(),y=o("ul"),y.innerHTML=X,q=n(),S(w.$$.fragment),z=n(),x=o("p"),this.h()},l(t){const e=it("svelte-u9bgzb",document.head);r=s(e,"META",{name:!0,content:!0}),e.forEach(a),b=i(t),v=s(t,"P",{}),Y(v).forEach(a),C=i(t),U(u.$$.fragment,t),L=i(t),U(m.$$.fragment,t),H=i(t),U(p.$$.fragment,t),P=i(t),f=s(t,"P",{"data-svelte-h":!0}),_(f)!=="svelte-axwzl3"&&(f.innerHTML=R),M=i(t),c=s(t,"P",{"data-svelte-h":!0}),_(c)!=="svelte-z1u84o"&&(c.textContent=W),A=i(t),d=s(t,"IMG",{src:!0,alt:!0}),T=i(t),h=s(t,"P",{"data-svelte-h":!0}),_(h)!=="svelte-1r6b7ov"&&(h.textContent=K),k=i(t),g=s(t,"UL",{"data-svelte-h":!0}),_(g)!=="svelte-vikpl5"&&(g.innerHTML=Q),I=i(t),$=s(t,"P",{"data-svelte-h":!0}),_($)!=="svelte-1l13i89"&&($.textContent=V),E=i(t),y=s(t,"UL",{"data-svelte-h":!0}),_(y)!=="svelte-1lugrdy"&&(y.innerHTML=X),q=i(t),U(w.$$.fragment,t),z=i(t),x=s(t,"P",{}),Y(x).forEach(a),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",ft),tt(d.src,J="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/signin-hf-page.png")||G(d,"src",J),G(d,"alt","Argilla sign in page.")},m(t,e){ot(document.head,r),l(t,b,e),l(t,v,e),l(t,C,e),j(u,t,e),l(t,L,e),j(m,t,e),l(t,H,e),j(p,t,e),l(t,P,e),l(t,f,e),l(t,M,e),l(t,c,e),l(t,A,e),l(t,d,e),l(t,T,e),l(t,h,e),l(t,k,e),l(t,g,e),l(t,I,e),l(t,$,e),l(t,E,e),l(t,y,e),l(t,q,e),j(w,t,e),l(t,z,e),l(t,x,e),N=!0},p:et,i(t){N||(B(u.$$.fragment,t),B(m.$$.fragment,t),B(p.$$.fragment,t),B(w.$$.fragment,t),N=!0)},o(t){D(u.$$.fragment,t),D(m.$$.fragment,t),D(p.$$.fragment,t),D(w.$$.fragment,t),N=!1},d(t){t&&(a(b),a(v),a(C),a(L),a(H),a(P),a(f),a(M),a(c),a(A),a(d),a(T),a(h),a(k),a(g),a(I),a($),a(E),a(y),a(q),a(z),a(x)),a(r),F(u,t),F(m,t),F(p,t),F(w,t)}}}const ft='{"title":"Introduction to Argilla","local":"introduction-to-argilla","sections":[],"depth":1}';function ct(O){return at(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class yt extends lt{constructor(r){super(),nt(this,r,ct,pt,Z,{})}}export{yt as component};
