import{s as X,f as Y,n as Z,o as tt}from"../chunks/scheduler.37c15a92.js";import{S as et,i as at,g as i,s as n,r as N,A as lt,h as s,f as a,c as o,j as V,u as U,x as _,k as z,y as nt,a as l,v as S,d as G,t as j,w as B}from"../chunks/index.2bf4358c.js";import{C as ot}from"../chunks/CourseFloatingBanner.15ba07e6.js";import{H as it,E as st}from"../chunks/EditOnGithub.8916dc7c.js";function rt(D){let r,x,$,b,u,C,m,H,p,F='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.',L,c,O="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.",P,f,R,A,h,W="With Argilla you can:",M,d,J="<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>",T,g,K="Here are some of the things that you will learn in this chapter:",k,y,Q="<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>",I,w,E,v,q;return u=new it({props:{title:"Introduction to Argilla",local:"introduction-to-argilla",headingTag:"h1"}}),m=new ot({props:{chapter:10,classNames:"absolute z-10 right-0 top-0"}}),w=new st({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter10/1.mdx"}}),{c(){r=i("meta"),x=n(),$=i("p"),b=n(),N(u.$$.fragment),C=n(),N(m.$$.fragment),H=n(),p=i("p"),p.innerHTML=F,L=n(),c=i("p"),c.textContent=O,P=n(),f=i("img"),A=n(),h=i("p"),h.textContent=W,M=n(),d=i("ul"),d.innerHTML=J,T=n(),g=i("p"),g.textContent=K,k=n(),y=i("ul"),y.innerHTML=Q,I=n(),N(w.$$.fragment),E=n(),v=i("p"),this.h()},l(t){const e=lt("svelte-u9bgzb",document.head);r=s(e,"META",{name:!0,content:!0}),e.forEach(a),x=o(t),$=s(t,"P",{}),V($).forEach(a),b=o(t),U(u.$$.fragment,t),C=o(t),U(m.$$.fragment,t),H=o(t),p=s(t,"P",{"data-svelte-h":!0}),_(p)!=="svelte-axwzl3"&&(p.innerHTML=F),L=o(t),c=s(t,"P",{"data-svelte-h":!0}),_(c)!=="svelte-z1u84o"&&(c.textContent=O),P=o(t),f=s(t,"IMG",{src:!0,alt:!0}),A=o(t),h=s(t,"P",{"data-svelte-h":!0}),_(h)!=="svelte-1r6b7ov"&&(h.textContent=W),M=o(t),d=s(t,"UL",{"data-svelte-h":!0}),_(d)!=="svelte-vikpl5"&&(d.innerHTML=J),T=o(t),g=s(t,"P",{"data-svelte-h":!0}),_(g)!=="svelte-1l13i89"&&(g.textContent=K),k=o(t),y=s(t,"UL",{"data-svelte-h":!0}),_(y)!=="svelte-1lugrdy"&&(y.innerHTML=Q),I=o(t),U(w.$$.fragment,t),E=o(t),v=s(t,"P",{}),V(v).forEach(a),this.h()},h(){z(r,"name","hf:doc:metadata"),z(r,"content",ut),Y(f.src,R="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/signin-hf-page.png")||z(f,"src",R),z(f,"alt","Argilla sign in page.")},m(t,e){nt(document.head,r),l(t,x,e),l(t,$,e),l(t,b,e),S(u,t,e),l(t,C,e),S(m,t,e),l(t,H,e),l(t,p,e),l(t,L,e),l(t,c,e),l(t,P,e),l(t,f,e),l(t,A,e),l(t,h,e),l(t,M,e),l(t,d,e),l(t,T,e),l(t,g,e),l(t,k,e),l(t,y,e),l(t,I,e),S(w,t,e),l(t,E,e),l(t,v,e),q=!0},p:Z,i(t){q||(G(u.$$.fragment,t),G(m.$$.fragment,t),G(w.$$.fragment,t),q=!0)},o(t){j(u.$$.fragment,t),j(m.$$.fragment,t),j(w.$$.fragment,t),q=!1},d(t){t&&(a(x),a($),a(b),a(C),a(H),a(p),a(L),a(c),a(P),a(f),a(A),a(h),a(M),a(d),a(T),a(g),a(k),a(y),a(I),a(E),a(v)),a(r),B(u,t),B(m,t),B(w,t)}}}const ut='{"title":"Introduction to Argilla","local":"introduction-to-argilla","sections":[],"depth":1}';function mt(D){return tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class dt extends et{constructor(r){super(),at(this,r,mt,rt,X,{})}}export{dt as component};
