Buckets:

rtrm's picture
download
raw
8.54 kB
import{s as Mt,f as ft,o as Ht,n as It}from"../chunks/scheduler.37c15a92.js";import{S as qt,i as Lt,g as l,s as i,r as S,A as St,h as o,f as a,c as s,j as At,u as E,x as u,k as f,y as Et,a as n,v as z,d as F,t as G,w as U}from"../chunks/index.7cb9c9b8.js";import{T as zt}from"../chunks/Tip.d10b3fc9.js";import{C as Ft}from"../chunks/CourseFloatingBanner.df82c153.js";import{H as pt,E as Gt}from"../chunks/getInferenceSnippets.f9350a3f.js";function Ut(O){let r,h='💡 If you are deploying Argilla in a Hugging Face Space, any team members will be able to log in using the Hugging Face OAuth. Otherwise, you may need to create users for them following <a href="https://docs.argilla.io/latest/how_to_guides/user/" rel="nofollow">this guide</a>.';return{c(){r=l("p"),r.innerHTML=h},l(m){r=o(m,"P",{"data-svelte-h":!0}),u(r)!=="svelte-9cuwhe"&&(r.innerHTML=h)},m(m,j){n(m,r,j)},p:It,d(m){m&&a(r)}}}function jt(O){let r,h,m,j,g,B,d,N,c,ht="Now it is time to start working from the Argilla UI to annotate our dataset.",R,$,W,w,gt="Before you start annotating your dataset, it is always good practice to write some guidelines, especially if you’re working as part of a team. This will help you align on the task and the use of the different labels, and resolve questions or conflicts when they come up.",J,y,dt="In Argilla, you can go to your dataset settings page in the UI and modify the guidelines and the descriptions of your questions to help with alignment.",K,_,ct,Q,v,$t='If you want to dive deeper into the topic of how to write good guidelines, we recommend reading <a href="https://argilla.io/blog/annotation-guidelines-practices" rel="nofollow">this blogpost</a> and the bibliographical references mentioned there.',V,b,X,x,wt="In the dataset settings page, you can also change the dataset distribution settings. This will help you annotate more efficiently when you’re working as part of a team. The default value for the minimum submitted responses is 1, meaning that as soon as a record has 1 submitted response it will be considered complete and count towards the progress in your dataset.",Y,C,yt="Sometimes, you want to have more than one submitted response per record, for example, if you want to analyze the inter-annotator agreement in your task. In that case, make sure to change this setting to a higher number, but always smaller or equal to the total number of annotators. If you’re working on the task alone, you want this setting to be 1.",Z,T,tt,p,et,k,_t="When you open your dataset, you will realize that the first question is already filled in with some suggested labels. That’s because in the previous section we mapped our question called <code>label</code> to the <code>label_text</code> column in the dataset, so that we simply need to review and correct the already existing labels:",at,P,vt,nt,A,bt="For the token classification, we’ll need to add all labels manually, as we didn’t include any suggestions. This is how it might look after the span annotations:",it,M,xt,st,H,Ct="As you move through the different records, there are different actions you can take:",lt,I,Tt="<li>submit your responses, once you’re done with the record.</li> <li>save them as a draft, in case you want to come back to them later.</li> <li>discard them, if the record souldn’t be part of the dataset or you won’t give responses to it.</li>",ot,q,kt="In the next section, you will learn how you can export and use those annotations.",rt,L,ut,D,mt;return g=new pt({props:{title:"Annotate your dataset",local:"annotate-your-dataset",headingTag:"h1"}}),d=new Ft({props:{chapter:10,classNames:"absolute z-10 right-0 top-0"}}),$=new pt({props:{title:"Align your team with annotation guidelines",local:"align-your-team-with-annotation-guidelines",headingTag:"h2"}}),b=new pt({props:{title:"Distribute the task",local:"distribute-the-task",headingTag:"h2"}}),T=new pt({props:{title:"Annotate records",local:"annotate-records",headingTag:"h2"}}),p=new zt({props:{warning:!1,$$slots:{default:[Ut]},$$scope:{ctx:O}}}),L=new Gt({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter10/4.mdx"}}),{c(){r=l("meta"),h=i(),m=l("p"),j=i(),S(g.$$.fragment),B=i(),S(d.$$.fragment),N=i(),c=l("p"),c.textContent=ht,R=i(),S($.$$.fragment),W=i(),w=l("p"),w.textContent=gt,J=i(),y=l("p"),y.textContent=dt,K=i(),_=l("img"),Q=i(),v=l("p"),v.innerHTML=$t,V=i(),S(b.$$.fragment),X=i(),x=l("p"),x.textContent=wt,Y=i(),C=l("p"),C.textContent=yt,Z=i(),S(T.$$.fragment),tt=i(),S(p.$$.fragment),et=i(),k=l("p"),k.innerHTML=_t,at=i(),P=l("img"),nt=i(),A=l("p"),A.textContent=bt,it=i(),M=l("img"),st=i(),H=l("p"),H.textContent=Ct,lt=i(),I=l("ul"),I.innerHTML=Tt,ot=i(),q=l("p"),q.textContent=kt,rt=i(),S(L.$$.fragment),ut=i(),D=l("p"),this.h()},l(t){const e=St("svelte-u9bgzb",document.head);r=o(e,"META",{name:!0,content:!0}),e.forEach(a),h=s(t),m=o(t,"P",{}),At(m).forEach(a),j=s(t),E(g.$$.fragment,t),B=s(t),E(d.$$.fragment,t),N=s(t),c=o(t,"P",{"data-svelte-h":!0}),u(c)!=="svelte-9qptmc"&&(c.textContent=ht),R=s(t),E($.$$.fragment,t),W=s(t),w=o(t,"P",{"data-svelte-h":!0}),u(w)!=="svelte-1qkneej"&&(w.textContent=gt),J=s(t),y=o(t,"P",{"data-svelte-h":!0}),u(y)!=="svelte-1m3t31o"&&(y.textContent=dt),K=s(t),_=o(t,"IMG",{src:!0,alt:!0}),Q=s(t),v=o(t,"P",{"data-svelte-h":!0}),u(v)!=="svelte-1epsznm"&&(v.innerHTML=$t),V=s(t),E(b.$$.fragment,t),X=s(t),x=o(t,"P",{"data-svelte-h":!0}),u(x)!=="svelte-19j4l0n"&&(x.textContent=wt),Y=s(t),C=o(t,"P",{"data-svelte-h":!0}),u(C)!=="svelte-10v1vlg"&&(C.textContent=yt),Z=s(t),E(T.$$.fragment,t),tt=s(t),E(p.$$.fragment,t),et=s(t),k=o(t,"P",{"data-svelte-h":!0}),u(k)!=="svelte-11n59yr"&&(k.innerHTML=_t),at=s(t),P=o(t,"IMG",{src:!0,alt:!0}),nt=s(t),A=o(t,"P",{"data-svelte-h":!0}),u(A)!=="svelte-1rr52lk"&&(A.textContent=bt),it=s(t),M=o(t,"IMG",{src:!0,alt:!0}),st=s(t),H=o(t,"P",{"data-svelte-h":!0}),u(H)!=="svelte-6c5pgh"&&(H.textContent=Ct),lt=s(t),I=o(t,"UL",{"data-svelte-h":!0}),u(I)!=="svelte-17q3g4d"&&(I.innerHTML=Tt),ot=s(t),q=o(t,"P",{"data-svelte-h":!0}),u(q)!=="svelte-id7lfx"&&(q.textContent=kt),rt=s(t),E(L.$$.fragment,t),ut=s(t),D=o(t,"P",{}),At(D).forEach(a),this.h()},h(){f(r,"name","hf:doc:metadata"),f(r,"content",Dt),ft(_.src,ct="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_settings.png")||f(_,"src",ct),f(_,"alt","Screenshot of the Dataset Settings page in Argilla."),ft(P.src,vt="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_initial_dataset.png")||f(P,"src",vt),f(P,"alt","Screenshot of the dataset in Argilla."),ft(M.src,xt="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter10/argilla_dataset_with_spans.png")||f(M,"src",xt),f(M,"alt","Screenshot of the dataset in Argilla with spans annotated.")},m(t,e){Et(document.head,r),n(t,h,e),n(t,m,e),n(t,j,e),z(g,t,e),n(t,B,e),z(d,t,e),n(t,N,e),n(t,c,e),n(t,R,e),z($,t,e),n(t,W,e),n(t,w,e),n(t,J,e),n(t,y,e),n(t,K,e),n(t,_,e),n(t,Q,e),n(t,v,e),n(t,V,e),z(b,t,e),n(t,X,e),n(t,x,e),n(t,Y,e),n(t,C,e),n(t,Z,e),z(T,t,e),n(t,tt,e),z(p,t,e),n(t,et,e),n(t,k,e),n(t,at,e),n(t,P,e),n(t,nt,e),n(t,A,e),n(t,it,e),n(t,M,e),n(t,st,e),n(t,H,e),n(t,lt,e),n(t,I,e),n(t,ot,e),n(t,q,e),n(t,rt,e),z(L,t,e),n(t,ut,e),n(t,D,e),mt=!0},p(t,[e]){const Pt={};e&2&&(Pt.$$scope={dirty:e,ctx:t}),p.$set(Pt)},i(t){mt||(F(g.$$.fragment,t),F(d.$$.fragment,t),F($.$$.fragment,t),F(b.$$.fragment,t),F(T.$$.fragment,t),F(p.$$.fragment,t),F(L.$$.fragment,t),mt=!0)},o(t){G(g.$$.fragment,t),G(d.$$.fragment,t),G($.$$.fragment,t),G(b.$$.fragment,t),G(T.$$.fragment,t),G(p.$$.fragment,t),G(L.$$.fragment,t),mt=!1},d(t){t&&(a(h),a(m),a(j),a(B),a(N),a(c),a(R),a(W),a(w),a(J),a(y),a(K),a(_),a(Q),a(v),a(V),a(X),a(x),a(Y),a(C),a(Z),a(tt),a(et),a(k),a(at),a(P),a(nt),a(A),a(it),a(M),a(st),a(H),a(lt),a(I),a(ot),a(q),a(rt),a(ut),a(D)),a(r),U(g,t),U(d,t),U($,t),U(b,t),U(T,t),U(p,t),U(L,t)}}}const Dt='{"title":"Annotate your dataset","local":"annotate-your-dataset","sections":[{"title":"Align your team with annotation guidelines","local":"align-your-team-with-annotation-guidelines","sections":[],"depth":2},{"title":"Distribute the task","local":"distribute-the-task","sections":[],"depth":2},{"title":"Annotate records","local":"annotate-records","sections":[],"depth":2}],"depth":1}';function Ot(O){return Ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Kt extends qt{constructor(r){super(),Lt(this,r,Ot,jt,Mt,{})}}export{Kt as component};

Xet Storage Details

Size:
8.54 kB
·
Xet hash:
22be92b978a48e45a22e734c963e24b61c5558b542c7f55a89ce45e663c8b1d6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.