Buckets:
| import{s as I,n as R,o as J}from"../chunks/scheduler.7bc62968.js";import{S as N,i as O,g as m,s as n,r as S,A as V,h as f,f as a,c as i,j as U,u as E,x,k,y as W,a as s,v as q,d as j,t as z,w as F}from"../chunks/index.66556066.js";import{H as G,g as Y}from"../chunks/Heading.8f17e89c.js";function B(L){let o,w,h,y,l,_,d,M='Any Hugging Face user can create a dataset! You can start by <a href="https://huggingface.co/new-dataset" rel="nofollow">creating your dataset repository</a> and choosing one of the following methods to upload your dataset:',$,r,C='<li><a href="https://huggingface.co/docs/datasets/upload_dataset#upload-your-files" rel="nofollow">Add files manually to the repository through the UI</a></li> <li><a href="https://huggingface.co/docs/datasets/upload_dataset#upload-from-python" rel="nofollow">Push files with the <code>push_to_hub</code> method from 🤗 Datasets</a></li> <li><a href="https://huggingface.co/docs/datasets/share#clone-the-repository" rel="nofollow">Use Git to commit and push your dataset files</a></li>',v,c,A='While in many cases it’s possible to just add raw data to your dataset repo in any supported formats (JSON, CSV, Parquet, text, images, audio files, …), for some large datasets you may want to <a href="https://huggingface.co/docs/datasets/dataset_script#create-a-dataset-loading-script" rel="nofollow">create a loading script</a>. This script defines the different configurations and splits of your dataset, as well as how to download and process the data.',H,u,b,p,D='Datasets outside a namespace are maintained by the Hugging Face team. Unlike the naming convention used for community datasets (<code>username/dataset_name</code> or <code>org/dataset_name</code>), datasets outside a namespace can be referenced directly by their name (e.g. <a href="https://huggingface.co/datasets/glue" rel="nofollow"><code>glue</code></a>). If you find that an improvement is needed, use their “Community” tab to open a discussion or submit a PR on the Hub to propose edits.',P,g,T;return l=new G({props:{title:"Adding new datasets",local:"adding-new-datasets",headingTag:"h1"}}),u=new G({props:{title:"Datasets outside a namespace",local:"datasets-outside-a-namespace",headingTag:"h2"}}),{c(){o=m("meta"),w=n(),h=m("p"),y=n(),S(l.$$.fragment),_=n(),d=m("p"),d.innerHTML=M,$=n(),r=m("ul"),r.innerHTML=C,v=n(),c=m("p"),c.innerHTML=A,H=n(),S(u.$$.fragment),b=n(),p=m("p"),p.innerHTML=D,P=n(),g=m("p"),this.h()},l(e){const t=V("svelte-u9bgzb",document.head);o=f(t,"META",{name:!0,content:!0}),t.forEach(a),w=i(e),h=f(e,"P",{}),U(h).forEach(a),y=i(e),E(l.$$.fragment,e),_=i(e),d=f(e,"P",{"data-svelte-h":!0}),x(d)!=="svelte-tp4w40"&&(d.innerHTML=M),$=i(e),r=f(e,"UL",{"data-svelte-h":!0}),x(r)!=="svelte-kbx0mp"&&(r.innerHTML=C),v=i(e),c=f(e,"P",{"data-svelte-h":!0}),x(c)!=="svelte-1dhu7cc"&&(c.innerHTML=A),H=i(e),E(u.$$.fragment,e),b=i(e),p=f(e,"P",{"data-svelte-h":!0}),x(p)!=="svelte-zoqy0d"&&(p.innerHTML=D),P=i(e),g=f(e,"P",{}),U(g).forEach(a),this.h()},h(){k(o,"name","hf:doc:metadata"),k(o,"content",K)},m(e,t){W(document.head,o),s(e,w,t),s(e,h,t),s(e,y,t),q(l,e,t),s(e,_,t),s(e,d,t),s(e,$,t),s(e,r,t),s(e,v,t),s(e,c,t),s(e,H,t),q(u,e,t),s(e,b,t),s(e,p,t),s(e,P,t),s(e,g,t),T=!0},p:R,i(e){T||(j(l.$$.fragment,e),j(u.$$.fragment,e),T=!0)},o(e){z(l.$$.fragment,e),z(u.$$.fragment,e),T=!1},d(e){e&&(a(w),a(h),a(y),a(_),a(d),a($),a(r),a(v),a(c),a(H),a(b),a(p),a(P),a(g)),a(o),F(l,e),F(u,e)}}}const K='{"title":"Adding new datasets","local":"adding-new-datasets","sections":[{"title":"Datasets outside a namespace","local":"datasets-outside-a-namespace","sections":[],"depth":2}],"depth":1}';function Q(L){return J(()=>{new URLSearchParams(window.location.search).get("fw"),window.hfDocGoto=Y}),[]}class te extends N{constructor(o){super(),O(this,o,Q,B,I,{})}}export{te as component}; | |
Xet Storage Details
- Size:
- 3.83 kB
- Xet hash:
- dc3541546399ad82fb00fb66d027bda104029e675f49129f9a37b8cf92fefa32
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.