import{S as ss,i as ns,s as os,e as n,k as h,w as $,t as l,M as is,c as o,d as t,m as f,a as i,x as g,h as p,b as d,G as a,g as r,y,q as w,o as _,B as b,v as rs,L as ls}from"../chunks/vendor-hf-doc-builder.js";import{T as as}from"../chunks/Tip-hf-doc-builder.js";import{I as Te}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C}from"../chunks/CodeBlock-hf-doc-builder.js";function ps(Me){let u,I,c,x,D,m,S,j;return{c(){u=n("p"),I=l("If you want to use \u{1F917} Datasets with TensorFlow or PyTorch, you\u2019ll need to install them separately. Refer to the "),c=n("a"),x=l("TensorFlow installation page"),D=l(" or the "),m=n("a"),S=l("PyTorch installation page"),j=l(" for the specific install command for your framework."),this.h()},l(T){u=o(T,"P",{});var E=i(u);I=p(E,"If you want to use \u{1F917} Datasets with TensorFlow or PyTorch, you\u2019ll need to install them separately. Refer to the "),c=o(E,"A",{href:!0,rel:!0});var A=i(c);x=p(A,"TensorFlow installation page"),A.forEach(t),D=p(E," or the "),m=o(E,"A",{href:!0,rel:!0});var F=i(m);S=p(F,"PyTorch installation page"),F.forEach(t),j=p(E," for the specific install command for your framework."),E.forEach(t),this.h()},h(){d(c,"href","https://www.tensorflow.org/install/pip#tensorflow-2-packages-are-available"),d(c,"rel","nofollow"),d(m,"href","https://pytorch.org/get-started/locally/#start-locally"),d(m,"rel","nofollow")},m(T,E){r(T,u,E),a(u,I),a(u,c),a(c,x),a(u,D),a(u,m),a(m,S),a(u,j)},d(T){T&&t(u)}}}function hs(Me){let u,I,c,x,D,m,S,j,T,E,A,F,V,re,le,H,N,W,P,q,Y,B,L,G;return L=new C({props:{code:'python -c "import soundfile; print(soundfile.__libsndfile_version__)"',highlighted:'python -c <span class="hljs-string">&quot;import soundfile; print(soundfile.__libsndfile_version__)&quot;</span>'}}),{c(){u=n("p"),I=l("To decode mp3 files, you need to have at least version 1.1.0 of the "),c=n("code"),x=l("libsndfile"),D=l(" system library. Usually, it\u2019s bundled with the python "),m=n("a"),S=n("code"),j=l("soundfile"),T=l(` package, which is installed as an extra audio dependency for \u{1F917} Datasets.
For Linux, the required version of `),E=n("code"),A=l("libsndfile"),F=l(" is bundled with "),V=n("code"),re=l("soundfile"),le=l(" starting from version 0.12.0. You can run the following command to determine which version of "),H=n("code"),N=l("libsndfile"),W=l(" is being used by "),P=n("code"),q=l("soundfile"),Y=l(":"),B=h(),$(L.$$.fragment),this.h()},l(k){u=o(k,"P",{});var v=i(u);I=p(v,"To decode mp3 files, you need to have at least version 1.1.0 of the "),c=o(v,"CODE",{});var O=i(c);x=p(O,"libsndfile"),O.forEach(t),D=p(v," system library. Usually, it\u2019s bundled with the python "),m=o(v,"A",{href:!0,rel:!0});var Ie=i(m);S=o(Ie,"CODE",{});var R=i(S);j=p(R,"soundfile"),R.forEach(t),Ie.forEach(t),T=p(v,` package, which is installed as an extra audio dependency for \u{1F917} Datasets.
For Linux, the required version of `),E=o(v,"CODE",{});var Ne=i(E);A=p(Ne,"libsndfile"),Ne.forEach(t),F=p(v," is bundled with "),V=o(v,"CODE",{});var qe=i(V);re=p(qe,"soundfile"),qe.forEach(t),le=p(v," starting from version 0.12.0. You can run the following command to determine which version of "),H=o(v,"CODE",{});var pe=i(H);N=p(pe,"libsndfile"),pe.forEach(t),W=p(v," is being used by "),P=o(v,"CODE",{});var M=i(P);q=p(M,"soundfile"),M.forEach(t),Y=p(v,":"),v.forEach(t),B=f(k),g(L.$$.fragment,k),this.h()},h(){d(m,"href","https://github.com/bastibe/python-soundfile"),d(m,"rel","nofollow")},m(k,v){r(k,u,v),a(u,I),a(u,c),a(c,x),a(u,D),a(u,m),a(m,S),a(S,j),a(u,T),a(u,E),a(E,A),a(u,F),a(u,V),a(V,re),a(u,le),a(u,H),a(H,N),a(u,W),a(u,P),a(P,q),a(u,Y),r(k,B,v),y(L,k,v),G=!0},p:ls,i(k){G||(w(L.$$.fragment,k),G=!0)},o(k){_(L.$$.fragment,k),G=!1},d(k){k&&t(u),k&&t(B),b(L,k)}}}function fs(Me){let u,I,c,x,D,m,S,j,T,E,A,F,V,re,le,H,N,W,P,q,Y,B,L,G,k,v,O,Ie,R,Ne,qe,pe,M,he,Ye,Gt,Rt,fe,Yt,de,Qe,Qt,Ut,ue,Jt,ce,Ue,zt,Kt,me,ot,Be,Wt,it,Q,X,Je,ve,Xt,ze,Zt,rt,Ce,ea,lt,$e,pt,Ve,ta,ht,ge,ft,Z,aa,ye,sa,na,dt,we,ut,U,ee,Ke,_e,oa,We,ia,ct,te,ra,Le,la,pa,mt,be,vt,ae,$t,J,se,Xe,Ee,ha,Ze,fa,gt,ne,da,Oe,ua,ca,yt,ke,wt,z,oe,et,xe,ma,tt,va,_t,Fe,$a,bt,Ae,Et,He,ga,kt,Pe,xt,K,ie,at,De,ya,st,wa,At,Ge,_a,Pt,Se,Dt;return m=new Te({}),N=new as({props:{$$slots:{default:[ps]},$$scope:{ctx:Me}}}),B=new Te({}),fe=new C({props:{code:`mkdir ~/my-project
cd ~/my-project`,highlighted:`<span class="hljs-built_in">mkdir</span> ~/my-project
<span class="hljs-built_in">cd</span> ~/my-project`}}),ue=new C({props:{code:"python -m venv .env",highlighted:'python -m venv .<span class="hljs-built_in">env</span>'}}),me=new C({props:{code:`# Activate the virtual environment
source .env/bin/activate

# Deactivate the virtual environment
source .env/bin/deactivate`,highlighted:`<span class="hljs-comment"># Activate the virtual environment</span>
<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/activate

<span class="hljs-comment"># Deactivate the virtual environment</span>
<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/deactivate`}}),ve=new Te({}),$e=new C({props:{code:"pip install datasets",highlighted:"pip install datasets"}}),ge=new C({props:{code:`python -c "from datasets import load_dataset; print(load_dataset('squad', split='train')[0])"`,highlighted:'python -c <span class="hljs-string">&quot;from datasets import load_dataset; print(load_dataset(&#x27;squad&#x27;, split=&#x27;train&#x27;)[0])&quot;</span>'}}),we=new C({props:{code:`{'answers': {'answer_start': [515], 'text': ['Saint Bernadette Soubirous']}, 'context': 'Architecturally, the school has a Catholic character. Atop the Main Building\\'s gold dome is a golden statue of the Virgin Mary. Immediately in front of the Main Building and facing it, is a copper statue of Christ with arms upraised with the legend "Venite Ad Me Omnes". Next to the Main Building is the Basilica of the Sacred Heart. Immediately behind the basilica is the Grotto, a Marian place of prayer and reflection. It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858. At the end of the main drive (and in a direct line that connects through 3 statues and the Gold Dome), is a simple, modern stone statue of Mary.', 'id': '5733be284776f41900661182', 'question': 'To whom did the Virgin Mary allegedly appear in 1858 in Lourdes France?', 'title': 'University_of_Notre_Dame'}`,highlighted:'{<span class="hljs-string">&#x27;answers&#x27;</span>: {<span class="hljs-string">&#x27;answer_start&#x27;</span>: [<span class="hljs-number">515</span>], <span class="hljs-string">&#x27;text&#x27;</span>: [<span class="hljs-string">&#x27;Saint Bernadette Soubirous&#x27;</span>]}, <span class="hljs-string">&#x27;context&#x27;</span>: <span class="hljs-string">&#x27;Architecturally, the school has a Catholic character. Atop the Main Building\\&#x27;s gold dome is a golden statue of the Virgin Mary. Immediately in front of the Main Building and facing it, is a copper statue of Christ with arms upraised with the legend &quot;Venite Ad Me Omnes&quot;. Next to the Main Building is the Basilica of the Sacred Heart. Immediately behind the basilica is the Grotto, a Marian place of prayer and reflection. It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858. At the end of the main drive (and in a direct line that connects through 3 statues and the Gold Dome), is a simple, modern stone statue of Mary.&#x27;</span>, <span class="hljs-string">&#x27;id&#x27;</span>: <span class="hljs-string">&#x27;5733be284776f41900661182&#x27;</span>, <span class="hljs-string">&#x27;question&#x27;</span>: <span class="hljs-string">&#x27;To whom did the Virgin Mary allegedly appear in 1858 in Lourdes France?&#x27;</span>, <span class="hljs-string">&#x27;title&#x27;</span>: <span class="hljs-string">&#x27;University_of_Notre_Dame&#x27;</span>}'}}),_e=new Te({}),be=new C({props:{code:"pip install datasets[audio]",highlighted:"pip install datasets[audio]"}}),ae=new as({props:{warning:!0,$$slots:{default:[hs]},$$scope:{ctx:Me}}}),Ee=new Te({}),ke=new C({props:{code:"pip install datasets[vision]",highlighted:"pip install datasets[vision]"}}),xe=new Te({}),Ae=new C({props:{code:`git clone https://github.com/huggingface/datasets.git
cd datasets
pip install -e .`,highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/datasets.git
<span class="hljs-built_in">cd</span> datasets
pip install -e .`}}),Pe=new C({props:{code:`python -c "from datasets import load_dataset; print(load_dataset('squad', split='train')[0])"`,highlighted:'python -c <span class="hljs-string">&quot;from datasets import load_dataset; print(load_dataset(&#x27;squad&#x27;, split=&#x27;train&#x27;)[0])&quot;</span>'}}),De=new Te({}),Se=new C({props:{code:"conda install -c huggingface -c conda-forge datasets",highlighted:"conda install -c huggingface -c conda-forge datasets"}}),{c(){u=n("meta"),I=h(),c=n("h1"),x=n("a"),D=n("span"),$(m.$$.fragment),S=h(),j=n("span"),T=l("Installation"),E=h(),A=n("p"),F=l("Before you start, you\u2019ll need to setup your environment and install the appropriate packages. \u{1F917} Datasets is tested on "),V=n("strong"),re=l("Python 3.7+"),le=l("."),H=h(),$(N.$$.fragment),W=h(),P=n("h2"),q=n("a"),Y=n("span"),$(B.$$.fragment),L=h(),G=n("span"),k=l("Virtual environment"),v=h(),O=n("p"),Ie=l("You should install \u{1F917} Datasets in a "),R=n("a"),Ne=l("virtual environment"),qe=l(" to keep things tidy and avoid dependency conflicts."),pe=h(),M=n("ol"),he=n("li"),Ye=n("p"),Gt=l("Create and navigate to your project directory:"),Rt=h(),$(fe.$$.fragment),Yt=h(),de=n("li"),Qe=n("p"),Qt=l("Start a virtual environment inside your directory:"),Ut=h(),$(ue.$$.fragment),Jt=h(),ce=n("li"),Ue=n("p"),zt=l("Activate and deactivate the virtual environment with the following commands:"),Kt=h(),$(me.$$.fragment),ot=h(),Be=n("p"),Wt=l("Once you\u2019ve created your virtual environment, you can install \u{1F917} Datasets in it."),it=h(),Q=n("h2"),X=n("a"),Je=n("span"),$(ve.$$.fragment),Xt=h(),ze=n("span"),Zt=l("pip"),rt=h(),Ce=n("p"),ea=l("The most straightforward way to install \u{1F917} Datasets is with pip:"),lt=h(),$($e.$$.fragment),pt=h(),Ve=n("p"),ta=l("Run the following command to check if \u{1F917} Datasets has been properly installed:"),ht=h(),$(ge.$$.fragment),ft=h(),Z=n("p"),aa=l("This command downloads version 1 of the "),ye=n("a"),sa=l("Stanford Question Answering Dataset (SQuAD)"),na=l(", loads the training split, and prints the first training example. You should see:"),dt=h(),$(we.$$.fragment),ut=h(),U=n("h2"),ee=n("a"),Ke=n("span"),$(_e.$$.fragment),oa=h(),We=n("span"),ia=l("Audio"),ct=h(),te=n("p"),ra=l("To work with audio datasets, you need to install the "),Le=n("a"),la=l("Audio"),pa=l(" feature as an extra dependency:"),mt=h(),$(be.$$.fragment),vt=h(),$(ae.$$.fragment),$t=h(),J=n("h2"),se=n("a"),Xe=n("span"),$(Ee.$$.fragment),ha=h(),Ze=n("span"),fa=l("Vision"),gt=h(),ne=n("p"),da=l("To work with image datasets, you need to install the "),Oe=n("a"),ua=l("Image"),ca=l(" feature as an extra dependency:"),yt=h(),$(ke.$$.fragment),wt=h(),z=n("h2"),oe=n("a"),et=n("span"),$(xe.$$.fragment),ma=h(),tt=n("span"),va=l("source"),_t=h(),Fe=n("p"),$a=l("Building \u{1F917} Datasets from source lets you make changes to the code base. To install from the source, clone the repository and install with the following commands:"),bt=h(),$(Ae.$$.fragment),Et=h(),He=n("p"),ga=l("Again, you can check if \u{1F917} Datasets was properly installed with the following command:"),kt=h(),$(Pe.$$.fragment),xt=h(),K=n("h2"),ie=n("a"),at=n("span"),$(De.$$.fragment),ya=h(),st=n("span"),wa=l("conda"),At=h(),Ge=n("p"),_a=l("\u{1F917} Datasets can also be installed from conda, a package management system:"),Pt=h(),$(Se.$$.fragment),this.h()},l(e){const s=is('[data-svelte="svelte-1phssyn"]',document.head);u=o(s,"META",{name:!0,content:!0}),s.forEach(t),I=f(e),c=o(e,"H1",{class:!0});var je=i(c);x=o(je,"A",{id:!0,class:!0,href:!0});var nt=i(x);D=o(nt,"SPAN",{});var ba=i(D);g(m.$$.fragment,ba),ba.forEach(t),nt.forEach(t),S=f(je),j=o(je,"SPAN",{});var Ea=i(j);T=p(Ea,"Installation"),Ea.forEach(t),je.forEach(t),E=f(e),A=o(e,"P",{});var St=i(A);F=p(St,"Before you start, you\u2019ll need to setup your environment and install the appropriate packages. \u{1F917} Datasets is tested on "),V=o(St,"STRONG",{});var ka=i(V);re=p(ka,"Python 3.7+"),ka.forEach(t),le=p(St,"."),St.forEach(t),H=f(e),g(N.$$.fragment,e),W=f(e),P=o(e,"H2",{class:!0});var jt=i(P);q=o(jt,"A",{id:!0,class:!0,href:!0});var xa=i(q);Y=o(xa,"SPAN",{});var Aa=i(Y);g(B.$$.fragment,Aa),Aa.forEach(t),xa.forEach(t),L=f(jt),G=o(jt,"SPAN",{});var Pa=i(G);k=p(Pa,"Virtual environment"),Pa.forEach(t),jt.forEach(t),v=f(e),O=o(e,"P",{});var Tt=i(O);Ie=p(Tt,"You should install \u{1F917} Datasets in a "),R=o(Tt,"A",{href:!0,rel:!0});var Da=i(R);Ne=p(Da,"virtual environment"),Da.forEach(t),qe=p(Tt," to keep things tidy and avoid dependency conflicts."),Tt.forEach(t),pe=f(e),M=o(e,"OL",{});var Re=i(M);he=o(Re,"LI",{});var Mt=i(he);Ye=o(Mt,"P",{});var Sa=i(Ye);Gt=p(Sa,"Create and navigate to your project directory:"),Sa.forEach(t),Rt=f(Mt),g(fe.$$.fragment,Mt),Mt.forEach(t),Yt=f(Re),de=o(Re,"LI",{});var It=i(de);Qe=o(It,"P",{});var ja=i(Qe);Qt=p(ja,"Start a virtual environment inside your directory:"),ja.forEach(t),Ut=f(It),g(ue.$$.fragment,It),It.forEach(t),Jt=f(Re),ce=o(Re,"LI",{});var Nt=i(ce);Ue=o(Nt,"P",{});var Ta=i(Ue);zt=p(Ta,"Activate and deactivate the virtual environment with the following commands:"),Ta.forEach(t),Kt=f(Nt),g(me.$$.fragment,Nt),Nt.forEach(t),Re.forEach(t),ot=f(e),Be=o(e,"P",{});var Ma=i(Be);Wt=p(Ma,"Once you\u2019ve created your virtual environment, you can install \u{1F917} Datasets in it."),Ma.forEach(t),it=f(e),Q=o(e,"H2",{class:!0});var qt=i(Q);X=o(qt,"A",{id:!0,class:!0,href:!0});var Ia=i(X);Je=o(Ia,"SPAN",{});var Na=i(Je);g(ve.$$.fragment,Na),Na.forEach(t),Ia.forEach(t),Xt=f(qt),ze=o(qt,"SPAN",{});var qa=i(ze);Zt=p(qa,"pip"),qa.forEach(t),qt.forEach(t),rt=f(e),Ce=o(e,"P",{});var Ba=i(Ce);ea=p(Ba,"The most straightforward way to install \u{1F917} Datasets is with pip:"),Ba.forEach(t),lt=f(e),g($e.$$.fragment,e),pt=f(e),Ve=o(e,"P",{});var Ca=i(Ve);ta=p(Ca,"Run the following command to check if \u{1F917} Datasets has been properly installed:"),Ca.forEach(t),ht=f(e),g(ge.$$.fragment,e),ft=f(e),Z=o(e,"P",{});var Bt=i(Z);aa=p(Bt,"This command downloads version 1 of the "),ye=o(Bt,"A",{href:!0,rel:!0});var Va=i(ye);sa=p(Va,"Stanford Question Answering Dataset (SQuAD)"),Va.forEach(t),na=p(Bt,", loads the training split, and prints the first training example. You should see:"),Bt.forEach(t),dt=f(e),g(we.$$.fragment,e),ut=f(e),U=o(e,"H2",{class:!0});var Ct=i(U);ee=o(Ct,"A",{id:!0,class:!0,href:!0});var La=i(ee);Ke=o(La,"SPAN",{});var Oa=i(Ke);g(_e.$$.fragment,Oa),Oa.forEach(t),La.forEach(t),oa=f(Ct),We=o(Ct,"SPAN",{});var Fa=i(We);ia=p(Fa,"Audio"),Fa.forEach(t),Ct.forEach(t),ct=f(e),te=o(e,"P",{});var Vt=i(te);ra=p(Vt,"To work with audio datasets, you need to install the "),Le=o(Vt,"A",{href:!0});var Ha=i(Le);la=p(Ha,"Audio"),Ha.forEach(t),pa=p(Vt," feature as an extra dependency:"),Vt.forEach(t),mt=f(e),g(be.$$.fragment,e),vt=f(e),g(ae.$$.fragment,e),$t=f(e),J=o(e,"H2",{class:!0});var Lt=i(J);se=o(Lt,"A",{id:!0,class:!0,href:!0});var Ga=i(se);Xe=o(Ga,"SPAN",{});var Ra=i(Xe);g(Ee.$$.fragment,Ra),Ra.forEach(t),Ga.forEach(t),ha=f(Lt),Ze=o(Lt,"SPAN",{});var Ya=i(Ze);fa=p(Ya,"Vision"),Ya.forEach(t),Lt.forEach(t),gt=f(e),ne=o(e,"P",{});var Ot=i(ne);da=p(Ot,"To work with image datasets, you need to install the "),Oe=o(Ot,"A",{href:!0});var Qa=i(Oe);ua=p(Qa,"Image"),Qa.forEach(t),ca=p(Ot," feature as an extra dependency:"),Ot.forEach(t),yt=f(e),g(ke.$$.fragment,e),wt=f(e),z=o(e,"H2",{class:!0});var Ft=i(z);oe=o(Ft,"A",{id:!0,class:!0,href:!0});var Ua=i(oe);et=o(Ua,"SPAN",{});var Ja=i(et);g(xe.$$.fragment,Ja),Ja.forEach(t),Ua.forEach(t),ma=f(Ft),tt=o(Ft,"SPAN",{});var za=i(tt);va=p(za,"source"),za.forEach(t),Ft.forEach(t),_t=f(e),Fe=o(e,"P",{});var Ka=i(Fe);$a=p(Ka,"Building \u{1F917} Datasets from source lets you make changes to the code base. To install from the source, clone the repository and install with the following commands:"),Ka.forEach(t),bt=f(e),g(Ae.$$.fragment,e),Et=f(e),He=o(e,"P",{});var Wa=i(He);ga=p(Wa,"Again, you can check if \u{1F917} Datasets was properly installed with the following command:"),Wa.forEach(t),kt=f(e),g(Pe.$$.fragment,e),xt=f(e),K=o(e,"H2",{class:!0});var Ht=i(K);ie=o(Ht,"A",{id:!0,class:!0,href:!0});var Xa=i(ie);at=o(Xa,"SPAN",{});var Za=i(at);g(De.$$.fragment,Za),Za.forEach(t),Xa.forEach(t),ya=f(Ht),st=o(Ht,"SPAN",{});var es=i(st);wa=p(es,"conda"),es.forEach(t),Ht.forEach(t),At=f(e),Ge=o(e,"P",{});var ts=i(Ge);_a=p(ts,"\u{1F917} Datasets can also be installed from conda, a package management system:"),ts.forEach(t),Pt=f(e),g(Se.$$.fragment,e),this.h()},h(){d(u,"name","hf:doc:metadata"),d(u,"content",JSON.stringify(ds)),d(x,"id","installation"),d(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(x,"href","#installation"),d(c,"class","relative group"),d(q,"id","virtual-environment"),d(q,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(q,"href","#virtual-environment"),d(P,"class","relative group"),d(R,"href","https://docs.python.org/3/library/venv.html"),d(R,"rel","nofollow"),d(X,"id","pip"),d(X,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(X,"href","#pip"),d(Q,"class","relative group"),d(ye,"href","https://rajpurkar.github.io/SQuAD-explorer/"),d(ye,"rel","nofollow"),d(ee,"id","audio"),d(ee,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(ee,"href","#audio"),d(U,"class","relative group"),d(Le,"href","/docs/datasets/v2.11.0/en/package_reference/main_classes#datasets.Audio"),d(se,"id","vision"),d(se,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(se,"href","#vision"),d(J,"class","relative group"),d(Oe,"href","/docs/datasets/v2.11.0/en/package_reference/main_classes#datasets.Image"),d(oe,"id","source"),d(oe,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(oe,"href","#source"),d(z,"class","relative group"),d(ie,"id","conda"),d(ie,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),d(ie,"href","#conda"),d(K,"class","relative group")},m(e,s){a(document.head,u),r(e,I,s),r(e,c,s),a(c,x),a(x,D),y(m,D,null),a(c,S),a(c,j),a(j,T),r(e,E,s),r(e,A,s),a(A,F),a(A,V),a(V,re),a(A,le),r(e,H,s),y(N,e,s),r(e,W,s),r(e,P,s),a(P,q),a(q,Y),y(B,Y,null),a(P,L),a(P,G),a(G,k),r(e,v,s),r(e,O,s),a(O,Ie),a(O,R),a(R,Ne),a(O,qe),r(e,pe,s),r(e,M,s),a(M,he),a(he,Ye),a(Ye,Gt),a(he,Rt),y(fe,he,null),a(M,Yt),a(M,de),a(de,Qe),a(Qe,Qt),a(de,Ut),y(ue,de,null),a(M,Jt),a(M,ce),a(ce,Ue),a(Ue,zt),a(ce,Kt),y(me,ce,null),r(e,ot,s),r(e,Be,s),a(Be,Wt),r(e,it,s),r(e,Q,s),a(Q,X),a(X,Je),y(ve,Je,null),a(Q,Xt),a(Q,ze),a(ze,Zt),r(e,rt,s),r(e,Ce,s),a(Ce,ea),r(e,lt,s),y($e,e,s),r(e,pt,s),r(e,Ve,s),a(Ve,ta),r(e,ht,s),y(ge,e,s),r(e,ft,s),r(e,Z,s),a(Z,aa),a(Z,ye),a(ye,sa),a(Z,na),r(e,dt,s),y(we,e,s),r(e,ut,s),r(e,U,s),a(U,ee),a(ee,Ke),y(_e,Ke,null),a(U,oa),a(U,We),a(We,ia),r(e,ct,s),r(e,te,s),a(te,ra),a(te,Le),a(Le,la),a(te,pa),r(e,mt,s),y(be,e,s),r(e,vt,s),y(ae,e,s),r(e,$t,s),r(e,J,s),a(J,se),a(se,Xe),y(Ee,Xe,null),a(J,ha),a(J,Ze),a(Ze,fa),r(e,gt,s),r(e,ne,s),a(ne,da),a(ne,Oe),a(Oe,ua),a(ne,ca),r(e,yt,s),y(ke,e,s),r(e,wt,s),r(e,z,s),a(z,oe),a(oe,et),y(xe,et,null),a(z,ma),a(z,tt),a(tt,va),r(e,_t,s),r(e,Fe,s),a(Fe,$a),r(e,bt,s),y(Ae,e,s),r(e,Et,s),r(e,He,s),a(He,ga),r(e,kt,s),y(Pe,e,s),r(e,xt,s),r(e,K,s),a(K,ie),a(ie,at),y(De,at,null),a(K,ya),a(K,st),a(st,wa),r(e,At,s),r(e,Ge,s),a(Ge,_a),r(e,Pt,s),y(Se,e,s),Dt=!0},p(e,[s]){const je={};s&2&&(je.$$scope={dirty:s,ctx:e}),N.$set(je);const nt={};s&2&&(nt.$$scope={dirty:s,ctx:e}),ae.$set(nt)},i(e){Dt||(w(m.$$.fragment,e),w(N.$$.fragment,e),w(B.$$.fragment,e),w(fe.$$.fragment,e),w(ue.$$.fragment,e),w(me.$$.fragment,e),w(ve.$$.fragment,e),w($e.$$.fragment,e),w(ge.$$.fragment,e),w(we.$$.fragment,e),w(_e.$$.fragment,e),w(be.$$.fragment,e),w(ae.$$.fragment,e),w(Ee.$$.fragment,e),w(ke.$$.fragment,e),w(xe.$$.fragment,e),w(Ae.$$.fragment,e),w(Pe.$$.fragment,e),w(De.$$.fragment,e),w(Se.$$.fragment,e),Dt=!0)},o(e){_(m.$$.fragment,e),_(N.$$.fragment,e),_(B.$$.fragment,e),_(fe.$$.fragment,e),_(ue.$$.fragment,e),_(me.$$.fragment,e),_(ve.$$.fragment,e),_($e.$$.fragment,e),_(ge.$$.fragment,e),_(we.$$.fragment,e),_(_e.$$.fragment,e),_(be.$$.fragment,e),_(ae.$$.fragment,e),_(Ee.$$.fragment,e),_(ke.$$.fragment,e),_(xe.$$.fragment,e),_(Ae.$$.fragment,e),_(Pe.$$.fragment,e),_(De.$$.fragment,e),_(Se.$$.fragment,e),Dt=!1},d(e){t(u),e&&t(I),e&&t(c),b(m),e&&t(E),e&&t(A),e&&t(H),b(N,e),e&&t(W),e&&t(P),b(B),e&&t(v),e&&t(O),e&&t(pe),e&&t(M),b(fe),b(ue),b(me),e&&t(ot),e&&t(Be),e&&t(it),e&&t(Q),b(ve),e&&t(rt),e&&t(Ce),e&&t(lt),b($e,e),e&&t(pt),e&&t(Ve),e&&t(ht),b(ge,e),e&&t(ft),e&&t(Z),e&&t(dt),b(we,e),e&&t(ut),e&&t(U),b(_e),e&&t(ct),e&&t(te),e&&t(mt),b(be,e),e&&t(vt),b(ae,e),e&&t($t),e&&t(J),b(Ee),e&&t(gt),e&&t(ne),e&&t(yt),b(ke,e),e&&t(wt),e&&t(z),b(xe),e&&t(_t),e&&t(Fe),e&&t(bt),b(Ae,e),e&&t(Et),e&&t(He),e&&t(kt),b(Pe,e),e&&t(xt),e&&t(K),b(De),e&&t(At),e&&t(Ge),e&&t(Pt),b(Se,e)}}}const ds={local:"installation",sections:[{local:"virtual-environment",title:"Virtual environment"},{local:"pip",title:"pip"},{local:"audio",title:"Audio"},{local:"vision",title:"Vision"},{local:"source",title:"source"},{local:"conda",title:"conda"}],title:"Installation"};function us(Me){return rs(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class gs extends ss{constructor(u){super();ns(this,u,us,fs,os,{})}}export{gs as default,ds as metadata};
