import{S as Wp,i as Yp,s as su,e as r,k as o,t as n,w as f,M as tu,c as p,d as t,m as h,a as u,h as i,x as m,b as g,N as te,G as e,g as l,y as b,q as d,o as x,B as j,v as eu}from"../../chunks/vendor-hf-doc-builder.js";import{T as qt}from"../../chunks/Tip-hf-doc-builder.js";import{Y as au}from"../../chunks/Youtube-hf-doc-builder.js";import{I as lu}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as w}from"../../chunks/CodeBlock-hf-doc-builder.js";import{C as nu}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function iu(H){let _,v;return{c(){_=r("p"),v=n("\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u5355\u51FB\u4E0A\u9762 JSON \u4E2D\u7684\u51E0\u4E2A URL\uFF0C\u4EE5\u4E86\u89E3\u6BCF\u4E2A GitHub issue\u4E2D\u6211url\u94FE\u63A5\u5230\u7684\u5B9E\u9645\u7684\u5730\u5740\u3002")},l(c){_=p(c,"P",{});var $=u(_);v=i($,"\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u5355\u51FB\u4E0A\u9762 JSON \u4E2D\u7684\u51E0\u4E2A URL\uFF0C\u4EE5\u4E86\u89E3\u6BCF\u4E2A GitHub issue\u4E2D\u6211url\u94FE\u63A5\u5230\u7684\u5B9E\u9645\u7684\u5730\u5740\u3002"),$.forEach(t)},m(c,$){l(c,_,$),e(_,v)},d(c){c&&t(_)}}}function ru(H){let _,v,c,$,T,y,k;return{c(){_=r("p"),v=n("\u26A0\uFE0F \u4E0D\u8981\u4E0E\u964C\u751F\u4EBA\u5171\u4EAB\u5B58\u5728GITHUB\u4EE4\u724C\u7684\u7B14\u8BB0\u672C\u3002\u6211\u4EEC\u5EFA\u8BAE\u60A8\u5728\u4F7F\u7528\u5B8C\u540E\u5C06GITHUB\u4EE4\u724C\u5220\u9664\uFF0C\u4EE5\u907F\u514D\u610F\u5916\u6CC4\u6F0F\u6B64\u4FE1\u606F\u3002\u4E00\u4E2A\u66F4\u597D\u7684\u505A\u6CD5\u662F\uFF0C\u5C06\u4EE4\u724C\u5B58\u50A8\u5728.env\u6587\u4EF6\u4E2D\uFF0C\u5E76\u4F7F\u7528 "),c=r("a"),$=r("code"),T=n("python-dotenv"),y=n(" library"),k=n(" \u4E3A\u60A8\u81EA\u52A8\u5C06\u5176\u4F5C\u4E3A\u73AF\u5883\u53D8\u91CF\u52A0\u8F7D\u3002"),this.h()},l(E){_=p(E,"P",{});var R=u(_);v=i(R,"\u26A0\uFE0F \u4E0D\u8981\u4E0E\u964C\u751F\u4EBA\u5171\u4EAB\u5B58\u5728GITHUB\u4EE4\u724C\u7684\u7B14\u8BB0\u672C\u3002\u6211\u4EEC\u5EFA\u8BAE\u60A8\u5728\u4F7F\u7528\u5B8C\u540E\u5C06GITHUB\u4EE4\u724C\u5220\u9664\uFF0C\u4EE5\u907F\u514D\u610F\u5916\u6CC4\u6F0F\u6B64\u4FE1\u606F\u3002\u4E00\u4E2A\u66F4\u597D\u7684\u505A\u6CD5\u662F\uFF0C\u5C06\u4EE4\u724C\u5B58\u50A8\u5728.env\u6587\u4EF6\u4E2D\uFF0C\u5E76\u4F7F\u7528 "),c=p(R,"A",{href:!0,rel:!0});var D=u(c);$=p(D,"CODE",{});var Ht=u($);T=i(Ht,"python-dotenv"),Ht.forEach(t),y=i(D," library"),D.forEach(t),k=i(R," \u4E3A\u60A8\u81EA\u52A8\u5C06\u5176\u4F5C\u4E3A\u73AF\u5883\u53D8\u91CF\u52A0\u8F7D\u3002"),R.forEach(t),this.h()},h(){g(c,"href","https://github.com/theskumar/python-dotenv"),g(c,"rel","nofollow")},m(E,R){l(E,_,R),e(_,v),e(_,c),e(c,$),e($,T),e(c,y),e(_,k)},d(E){E&&t(_)}}}function pu(H){let _,v;return{c(){_=r("p"),v=n("\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u8BA1\u7B97\u5728 \u{1F917} Datasets\u4E2D\u89E3\u51B3issue\u6240\u9700\u7684\u5E73\u5747\u65F6\u95F4\u3002\u60A8\u53EF\u80FD\u4F1A\u53D1\u73B0 Dataset.filter()\u51FD\u6570\u5BF9\u4E8E\u8FC7\u6EE4\u62C9\u53D6\u8BF7\u6C42\u548C\u672A\u89E3\u51B3\u7684issue\u5F88\u6709\u7528\uFF0C\u5E76\u4E14\u60A8\u53EF\u4EE5\u4F7F\u7528Dataset.set_format()\u51FD\u6570\u5C06\u6570\u636E\u96C6\u8F6C\u6362\u4E3ADataFrame\uFF0C\u4EE5\u4FBF\u60A8\u53EF\u4EE5\u8F7B\u677E\u5730\u6309\u7167\u9700\u6C42\u4FEE\u6539\u521B\u5EFA\u548C\u5173\u95ED\u7684\u65F6\u95F4\u7684\u683C\u5F0F\uFF08\u4EE5\u65F6\u95F4\u6233\u683C\u5F0F\uFF09\u3002")},l(c){_=p(c,"P",{});var $=u(_);v=i($,"\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u8BA1\u7B97\u5728 \u{1F917} Datasets\u4E2D\u89E3\u51B3issue\u6240\u9700\u7684\u5E73\u5747\u65F6\u95F4\u3002\u60A8\u53EF\u80FD\u4F1A\u53D1\u73B0 Dataset.filter()\u51FD\u6570\u5BF9\u4E8E\u8FC7\u6EE4\u62C9\u53D6\u8BF7\u6C42\u548C\u672A\u89E3\u51B3\u7684issue\u5F88\u6709\u7528\uFF0C\u5E76\u4E14\u60A8\u53EF\u4EE5\u4F7F\u7528Dataset.set_format()\u51FD\u6570\u5C06\u6570\u636E\u96C6\u8F6C\u6362\u4E3ADataFrame\uFF0C\u4EE5\u4FBF\u60A8\u53EF\u4EE5\u8F7B\u677E\u5730\u6309\u7167\u9700\u6C42\u4FEE\u6539\u521B\u5EFA\u548C\u5173\u95ED\u7684\u65F6\u95F4\u7684\u683C\u5F0F\uFF08\u4EE5\u65F6\u95F4\u6233\u683C\u5F0F\uFF09\u3002"),$.forEach(t)},m(c,$){l(c,_,$),e(_,v)},d(c){c&&t(_)}}}function uu(H){let _,v;return{c(){_=r("p"),v=n("\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u4F7F\u7528\u60A8\u7684 Hugging Face Hub \u7528\u6237\u540D\u548C\u5BC6\u7801\u83B7\u53D6\u4EE4\u724C\u5E76\u521B\u5EFA\u4E00\u4E2A\u540D\u4E3A github-issues.\u8BF7\u8BB0\u4F4F\u6C38\u8FDC\u4E0D\u8981\u5C06\u60A8\u7684\u51ED\u636E\u4FDD\u5B58\u5728 Colab \u6216\u4EFB\u4F55\u5176\u4ED6\u5B58\u50A8\u5E93\u4E2D\uFF0C\u56E0\u4E3A\u8FD9\u4E9B\u4FE1\u606F\u53EF\u80FD\u4F1A\u88AB\u4E0D\u6CD5\u5206\u5B50\u5229\u7528\u3002")},l(c){_=p(c,"P",{});var $=u(_);v=i($,"\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u4F7F\u7528\u60A8\u7684 Hugging Face Hub \u7528\u6237\u540D\u548C\u5BC6\u7801\u83B7\u53D6\u4EE4\u724C\u5E76\u521B\u5EFA\u4E00\u4E2A\u540D\u4E3A github-issues.\u8BF7\u8BB0\u4F4F\u6C38\u8FDC\u4E0D\u8981\u5C06\u60A8\u7684\u51ED\u636E\u4FDD\u5B58\u5728 Colab \u6216\u4EFB\u4F55\u5176\u4ED6\u5B58\u50A8\u5E93\u4E2D\uFF0C\u56E0\u4E3A\u8FD9\u4E9B\u4FE1\u606F\u53EF\u80FD\u4F1A\u88AB\u4E0D\u6CD5\u5206\u5B50\u5229\u7528\u3002"),$.forEach(t)},m(c,$){l(c,_,$),e(_,v)},d(c){c&&t(_)}}}function ou(H){let _,v,c,$,T;return{c(){_=r("p"),v=n("\u{1F4A1} \u60A8\u8FD8\u53EF\u4EE5\u4F7F\u7528\u4E00\u4E9B Git \u9B54\u6CD5\u76F4\u63A5\u4ECE\u7EC8\u7AEF\u5C06\u6570\u636E\u96C6\u4E0A\u4F20\u5230 Hugging Face Hub\u3002\u6709\u5173\u5982\u4F55\u6267\u884C\u6B64\u64CD\u4F5C\u7684\u8BE6\u7EC6\u4FE1\u606F\uFF0C\u8BF7\u53C2\u9605 "),c=r("a"),$=n("\u{1F917} Datasets guide"),T=n(" \u6307\u5357\u3002"),this.h()},l(y){_=p(y,"P",{});var k=u(_);v=i(k,"\u{1F4A1} \u60A8\u8FD8\u53EF\u4EE5\u4F7F\u7528\u4E00\u4E9B Git \u9B54\u6CD5\u76F4\u63A5\u4ECE\u7EC8\u7AEF\u5C06\u6570\u636E\u96C6\u4E0A\u4F20\u5230 Hugging Face Hub\u3002\u6709\u5173\u5982\u4F55\u6267\u884C\u6B64\u64CD\u4F5C\u7684\u8BE6\u7EC6\u4FE1\u606F\uFF0C\u8BF7\u53C2\u9605 "),c=p(k,"A",{href:!0,rel:!0});var E=u(c);$=i(E,"\u{1F917} Datasets guide"),E.forEach(t),T=i(k," \u6307\u5357\u3002"),k.forEach(t),this.h()},h(){g(c,"href","https://huggingface.co/docs/datasets/share.html#add-a-community-dataset"),g(c,"rel","nofollow")},m(y,k){l(y,_,k),e(_,v),e(_,c),e(c,$),e(_,T)},d(y){y&&t(_)}}}function hu(H){let _,v,c,$,T;return{c(){_=r("p"),v=n("\u270F\uFE0F\u8BD5\u8BD5\u770B\uFF01\u4F7F\u7528\u5E94\u7528\u7A0B\u5E8F\u548C "),c=r("a"),$=n("\u{1F917} Datasets guide"),T=n(" \u6307\u5357\u6765\u5B8C\u6210 GitHub issue\u6570\u636E\u96C6\u7684 README.md \u6587\u4EF6\u3002"),this.h()},l(y){_=p(y,"P",{});var k=u(_);v=i(k,"\u270F\uFE0F\u8BD5\u8BD5\u770B\uFF01\u4F7F\u7528\u5E94\u7528\u7A0B\u5E8F\u548C "),c=p(k,"A",{href:!0,rel:!0});var E=u(c);$=i(E,"\u{1F917} Datasets guide"),E.forEach(t),T=i(k," \u6307\u5357\u6765\u5B8C\u6210 GitHub issue\u6570\u636E\u96C6\u7684 README.md \u6587\u4EF6\u3002"),k.forEach(t),this.h()},h(){g(c,"href","https://github.com/huggingface/datasets/blob/master/templates/README_guide.md"),g(c,"rel","nofollow")},m(y,k){l(y,_,k),e(_,v),e(_,c),e(c,$),e(_,T)},d(y){y&&t(_)}}}function gu(H){let _,v;return{c(){_=r("p"),v=n("\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u6309\u7167\u6211\u4EEC\u5728\u672C\u8282\u4E2D\u91C7\u53D6\u7684\u6B65\u9AA4\u4E3A\u60A8\u6700\u559C\u6B22\u7684\u5F00\u6E90\u5E93\u521B\u5EFA\u4E00\u4E2A GitHub issue\u6570\u636E\u96C6\uFF08\u5F53\u7136\uFF0C\u9009\u62E9 \u{1F917} Datasets\u4EE5\u5916\u7684\u5176\u4ED6\u4E1C\u897F\uFF01\uFF09\u3002\u5BF9\u4E8E\u5956\u52B1\u79EF\u5206\uFF0C\u5FAE\u8C03\u591A\u6807\u7B7E\u5206\u7C7B\u5668\u4EE5\u9884\u6D4B\u8BE5\u9886\u57DF\u4E2D\u5B58\u5728\u7684\u6807\u7B7E\u3002")},l(c){_=p(c,"P",{});var $=u(_);v=i($,"\u270F\uFE0F \u8BD5\u8BD5\u770B\uFF01\u6309\u7167\u6211\u4EEC\u5728\u672C\u8282\u4E2D\u91C7\u53D6\u7684\u6B65\u9AA4\u4E3A\u60A8\u6700\u559C\u6B22\u7684\u5F00\u6E90\u5E93\u521B\u5EFA\u4E00\u4E2A GitHub issue\u6570\u636E\u96C6\uFF08\u5F53\u7136\uFF0C\u9009\u62E9 \u{1F917} Datasets\u4EE5\u5916\u7684\u5176\u4ED6\u4E1C\u897F\uFF01\uFF09\u3002\u5BF9\u4E8E\u5956\u52B1\u79EF\u5206\uFF0C\u5FAE\u8C03\u591A\u6807\u7B7E\u5206\u7C7B\u5668\u4EE5\u9884\u6D4B\u8BE5\u9886\u57DF\u4E2D\u5B58\u5728\u7684\u6807\u7B7E\u3002"),$.forEach(t)},m(c,$){l(c,_,$),e(_,v)},d(c){c&&t(_)}}}function _u(H){let _,v,c,$,T,y,k,E,R,D,Ht,Ml,ze,I,ee,Cl,Bl,ms,Ql,ae,Zl,Jl,Vl,le,Kl,Me,Tt,Xl,Ce,bs,Wl,Be,Z,Yl,ds,sn,tn,Qe,xs,js,kr,Ze,Gt,en,Je,$s,vs,Er,Ve,O,an,ws,ln,nn,ys,rn,pn,Ke,J,un,ne,on,hn,Xe,ks,We,A,gn,ie,_n,cn,re,fn,mn,Ye,Es,sa,V,bn,pe,dn,xn,ta,qs,ea,Hs,aa,S,jn,ue,$n,vn,Ts,wn,yn,la,Gs,na,Ns,ia,G,kn,oe,En,qn,he,Hn,Tn,ge,Gn,Nn,_e,Pn,Dn,ra,K,pa,P,Rn,Ps,In,On,ce,An,Sn,Ds,Fn,Un,ua,Rs,oa,X,ha,Nt,Ln,ga,Is,_a,W,zn,fe,Mn,Cn,ca,Os,fa,Y,Bn,Pt,Qn,Zn,ma,As,ba,Ss,da,F,Jn,Fs,Vn,Kn,Us,Xn,Wn,xa,Dt,me,Yn,ja,Rt,si,$a,Ls,ti,va,q,ei,be,ai,li,It,ni,ii,de,ri,pi,xe,ui,oi,je,hi,gi,$e,_i,ci,wa,zs,ya,Ms,ka,Ot,fi,Ea,Cs,qa,ss,Ha,At,mi,Ta,Bs,bi,Ga,St,di,Na,Qs,Zs,qr,Pa,ts,xi,Js,ji,$i,Da,Vs,Ra,Ks,Ia,Ft,vi,Oa,Xs,Aa,Ws,Sa,U,wi,ve,yi,ki,we,Ei,qi,Fa,Ys,Ua,Ut,Hi,La,st,za,B,es,ye,tt,Ti,ke,Gi,Ma,et,Ca,L,Ni,at,Pi,Di,Ee,Ri,Ii,Ba,lt,Qa,nt,Za,as,Oi,qe,Ai,Si,Ja,ls,Fi,He,Ui,Li,Va,it,Ka,Lt,zi,Xa,rt,Wa,ns,Mi,Te,Ci,Bi,Ya,pt,sl,ut,tl,z,Qi,Ge,Zi,Ji,Ne,Vi,Ki,el,is,al,rs,Xi,Pe,Wi,Yi,ll,ot,nl,zt,sr,il,ht,rl,ps,tr,De,er,ar,pl,gt,ul,us,lr,Re,nr,ir,ol,_t,ct,Hr,hl,M,rr,Ie,pr,ur,Oe,or,hr,gl,ft,_l,mt,cl,Mt,gr,fl,os,ml,bt,_r,bl,Ct,cr,dl,Bt,dt,fr,xt,mr,br,xl,jt,$t,Tr,jl,hs,dr,vt,xr,jr,$l,gs,$r,Ae,vr,wr,vl,wt,yt,Gr,wl,_s,yl,Qt,yr,kl,cs,El;return y=new nu({props:{chapter:5,classNames:"absolute z-10 right-0 top-0",notebooks:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/zh-CN/chapter5/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/zh-CN/chapter5/section5.ipynb"}]}}),ks=new w({props:{code:"!pip install requests",highlighted:"!pip install requests"}}),Es=new w({props:{code:`import requests

url = "https://api.github.com/repos/huggingface/datasets/issues?page=1&per_page=1"
response = requests.get(url)`,highlighted:`<span class="hljs-keyword">import</span> requests

url = <span class="hljs-string">&quot;https://api.github.com/repos/huggingface/datasets/issues?page=1&amp;per_page=1&quot;</span>
response = requests.get(url)`}}),qs=new w({props:{code:"response.status_code",highlighted:"response.status_code"}}),Hs=new w({props:{code:"200",highlighted:'<span class="hljs-number">200</span>'}}),Gs=new w({props:{code:"response.json()",highlighted:"response.json()"}}),Ns=new w({props:{code:`[{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2792',
  'repository_url': 'https://api.github.com/repos/huggingface/datasets',
  'labels_url': 'https://api.github.com/repos/huggingface/datasets/issues/2792/labels{/name}',
  'comments_url': 'https://api.github.com/repos/huggingface/datasets/issues/2792/comments',
  'events_url': 'https://api.github.com/repos/huggingface/datasets/issues/2792/events',
  'html_url': 'https://github.com/huggingface/datasets/pull/2792',
  'id': 968650274,
  'node_id': 'MDExOlB1bGxSZXF1ZXN0NzEwNzUyMjc0',
  'number': 2792,
  'title': 'Update GooAQ',
  'user': {'login': 'bhavitvyamalik',
   'id': 19718818,
   'node_id': 'MDQ6VXNlcjE5NzE4ODE4',
   'avatar_url': 'https://avatars.githubusercontent.com/u/19718818?v=4',
   'gravatar_id': '',
   'url': 'https://api.github.com/users/bhavitvyamalik',
   'html_url': 'https://github.com/bhavitvyamalik',
   'followers_url': 'https://api.github.com/users/bhavitvyamalik/followers',
   'following_url': 'https://api.github.com/users/bhavitvyamalik/following{/other_user}',
   'gists_url': 'https://api.github.com/users/bhavitvyamalik/gists{/gist_id}',
   'starred_url': 'https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}',
   'subscriptions_url': 'https://api.github.com/users/bhavitvyamalik/subscriptions',
   'organizations_url': 'https://api.github.com/users/bhavitvyamalik/orgs',
   'repos_url': 'https://api.github.com/users/bhavitvyamalik/repos',
   'events_url': 'https://api.github.com/users/bhavitvyamalik/events{/privacy}',
   'received_events_url': 'https://api.github.com/users/bhavitvyamalik/received_events',
   'type': 'User',
   'site_admin': False},
  'labels': [],
  'state': 'open',
  'locked': False,
  'assignee': None,
  'assignees': [],
  'milestone': None,
  'comments': 1,
  'created_at': '2021-08-12T11:40:18Z',
  'updated_at': '2021-08-12T12:31:17Z',
  'closed_at': None,
  'author_association': 'CONTRIBUTOR',
  'active_lock_reason': None,
  'pull_request': {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/2792',
   'html_url': 'https://github.com/huggingface/datasets/pull/2792',
   'diff_url': 'https://github.com/huggingface/datasets/pull/2792.diff',
   'patch_url': 'https://github.com/huggingface/datasets/pull/2792.patch'},
  'body': '[GooAQ](https://github.com/allenai/gooaq) dataset was recently updated after splits were added for the same. This PR contains new updated GooAQ with train/val/test splits and updated README as well.',
  'performed_via_github_app': None}]`,highlighted:`[{<span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/2792&#x27;</span>,
  <span class="hljs-string">&#x27;repository_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets&#x27;</span>,
  <span class="hljs-string">&#x27;labels_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/2792/labels{/name}&#x27;</span>,
  <span class="hljs-string">&#x27;comments_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/2792/comments&#x27;</span>,
  <span class="hljs-string">&#x27;events_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/2792/events&#x27;</span>,
  <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/2792&#x27;</span>,
  <span class="hljs-string">&#x27;id&#x27;</span>: <span class="hljs-number">968650274</span>,
  <span class="hljs-string">&#x27;node_id&#x27;</span>: <span class="hljs-string">&#x27;MDExOlB1bGxSZXF1ZXN0NzEwNzUyMjc0&#x27;</span>,
  <span class="hljs-string">&#x27;number&#x27;</span>: <span class="hljs-number">2792</span>,
  <span class="hljs-string">&#x27;title&#x27;</span>: <span class="hljs-string">&#x27;Update GooAQ&#x27;</span>,
  <span class="hljs-string">&#x27;user&#x27;</span>: {<span class="hljs-string">&#x27;login&#x27;</span>: <span class="hljs-string">&#x27;bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;id&#x27;</span>: <span class="hljs-number">19718818</span>,
   <span class="hljs-string">&#x27;node_id&#x27;</span>: <span class="hljs-string">&#x27;MDQ6VXNlcjE5NzE4ODE4&#x27;</span>,
   <span class="hljs-string">&#x27;avatar_url&#x27;</span>: <span class="hljs-string">&#x27;https://avatars.githubusercontent.com/u/19718818?v=4&#x27;</span>,
   <span class="hljs-string">&#x27;gravatar_id&#x27;</span>: <span class="hljs-string">&#x27;&#x27;</span>,
   <span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;followers_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/followers&#x27;</span>,
   <span class="hljs-string">&#x27;following_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/following{/other_user}&#x27;</span>,
   <span class="hljs-string">&#x27;gists_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/gists{/gist_id}&#x27;</span>,
   <span class="hljs-string">&#x27;starred_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}&#x27;</span>,
   <span class="hljs-string">&#x27;subscriptions_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/subscriptions&#x27;</span>,
   <span class="hljs-string">&#x27;organizations_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/orgs&#x27;</span>,
   <span class="hljs-string">&#x27;repos_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/repos&#x27;</span>,
   <span class="hljs-string">&#x27;events_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/events{/privacy}&#x27;</span>,
   <span class="hljs-string">&#x27;received_events_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/received_events&#x27;</span>,
   <span class="hljs-string">&#x27;type&#x27;</span>: <span class="hljs-string">&#x27;User&#x27;</span>,
   <span class="hljs-string">&#x27;site_admin&#x27;</span>: <span class="hljs-literal">False</span>},
  <span class="hljs-string">&#x27;labels&#x27;</span>: [],
  <span class="hljs-string">&#x27;state&#x27;</span>: <span class="hljs-string">&#x27;open&#x27;</span>,
  <span class="hljs-string">&#x27;locked&#x27;</span>: <span class="hljs-literal">False</span>,
  <span class="hljs-string">&#x27;assignee&#x27;</span>: <span class="hljs-literal">None</span>,
  <span class="hljs-string">&#x27;assignees&#x27;</span>: [],
  <span class="hljs-string">&#x27;milestone&#x27;</span>: <span class="hljs-literal">None</span>,
  <span class="hljs-string">&#x27;comments&#x27;</span>: <span class="hljs-number">1</span>,
  <span class="hljs-string">&#x27;created_at&#x27;</span>: <span class="hljs-string">&#x27;2021-08-12T11:40:18Z&#x27;</span>,
  <span class="hljs-string">&#x27;updated_at&#x27;</span>: <span class="hljs-string">&#x27;2021-08-12T12:31:17Z&#x27;</span>,
  <span class="hljs-string">&#x27;closed_at&#x27;</span>: <span class="hljs-literal">None</span>,
  <span class="hljs-string">&#x27;author_association&#x27;</span>: <span class="hljs-string">&#x27;CONTRIBUTOR&#x27;</span>,
  <span class="hljs-string">&#x27;active_lock_reason&#x27;</span>: <span class="hljs-literal">None</span>,
  <span class="hljs-string">&#x27;pull_request&#x27;</span>: {<span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/pulls/2792&#x27;</span>,
   <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/2792&#x27;</span>,
   <span class="hljs-string">&#x27;diff_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/2792.diff&#x27;</span>,
   <span class="hljs-string">&#x27;patch_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/2792.patch&#x27;</span>},
  <span class="hljs-string">&#x27;body&#x27;</span>: <span class="hljs-string">&#x27;[GooAQ](https://github.com/allenai/gooaq) dataset was recently updated after splits were added for the same. This PR contains new updated GooAQ with train/val/test splits and updated README as well.&#x27;</span>,
  <span class="hljs-string">&#x27;performed_via_github_app&#x27;</span>: <span class="hljs-literal">None</span>}]`}}),K=new qt({props:{$$slots:{default:[iu]},$$scope:{ctx:H}}}),Rs=new w({props:{code:`GITHUB_TOKEN = xxx  # Copy your GitHub token here
headers = {"Authorization": f"token {GITHUB_TOKEN}"}`,highlighted:`GITHUB_TOKEN = xxx  <span class="hljs-comment"># Copy your GitHub token here</span>
headers = {<span class="hljs-string">&quot;Authorization&quot;</span>: <span class="hljs-string">f&quot;token <span class="hljs-subst">{GITHUB_TOKEN}</span>&quot;</span>}`}}),X=new qt({props:{warning:!0,$$slots:{default:[ru]},$$scope:{ctx:H}}}),Is=new w({props:{code:`import time
import math
from pathlib import Path
import pandas as pd
from tqdm.notebook import tqdm


def fetch_issues(
    owner="huggingface",
    repo="datasets",
    num_issues=10_000,
    rate_limit=5_000,
    issues_path=Path("."),
):
    if not issues_path.is_dir():
        issues_path.mkdir(exist_ok=True)

    batch = []
    all_issues = []
    per_page = 100  # Number of issues to return per page
    num_pages = math.ceil(num_issues / per_page)
    base_url = "https://api.github.com/repos"

    for page in tqdm(range(num_pages)):
        # Query with state=all to get both open and closed issues
        query = f"issues?page={page}&per_page={per_page}&state=all"
        issues = requests.get(f"{base_url}/{owner}/{repo}/{query}", headers=headers)
        batch.extend(issues.json())

        if len(batch) > rate_limit and len(all_issues) < num_issues:
            all_issues.extend(batch)
            batch = []  # Flush batch for next time period
            print(f"Reached GitHub rate limit. Sleeping for one hour ...")
            time.sleep(60 * 60 + 1)

    all_issues.extend(batch)
    df = pd.DataFrame.from_records(all_issues)
    df.to_json(f"{issues_path}/{repo}-issues.jsonl", orient="records", lines=True)
    print(
        f"Downloaded all the issues for {repo}! Dataset stored at {issues_path}/{repo}-issues.jsonl"
    )`,highlighted:`<span class="hljs-keyword">import</span> time
<span class="hljs-keyword">import</span> math
<span class="hljs-keyword">from</span> pathlib <span class="hljs-keyword">import</span> Path
<span class="hljs-keyword">import</span> pandas <span class="hljs-keyword">as</span> pd
<span class="hljs-keyword">from</span> tqdm.notebook <span class="hljs-keyword">import</span> tqdm


<span class="hljs-keyword">def</span> <span class="hljs-title function_">fetch_issues</span>(<span class="hljs-params">
    owner=<span class="hljs-string">&quot;huggingface&quot;</span>,
    repo=<span class="hljs-string">&quot;datasets&quot;</span>,
    num_issues=<span class="hljs-number">10_000</span>,
    rate_limit=<span class="hljs-number">5_000</span>,
    issues_path=Path(<span class="hljs-params"><span class="hljs-string">&quot;.&quot;</span></span>),
</span>):
    <span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> issues_path.is_dir():
        issues_path.mkdir(exist_ok=<span class="hljs-literal">True</span>)

    batch = []
    all_issues = []
    per_page = <span class="hljs-number">100</span>  <span class="hljs-comment"># Number of issues to return per page</span>
    num_pages = math.ceil(num_issues / per_page)
    base_url = <span class="hljs-string">&quot;https://api.github.com/repos&quot;</span>

    <span class="hljs-keyword">for</span> page <span class="hljs-keyword">in</span> tqdm(<span class="hljs-built_in">range</span>(num_pages)):
        <span class="hljs-comment"># Query with state=all to get both open and closed issues</span>
        query = <span class="hljs-string">f&quot;issues?page=<span class="hljs-subst">{page}</span>&amp;per_page=<span class="hljs-subst">{per_page}</span>&amp;state=all&quot;</span>
        issues = requests.get(<span class="hljs-string">f&quot;<span class="hljs-subst">{base_url}</span>/<span class="hljs-subst">{owner}</span>/<span class="hljs-subst">{repo}</span>/<span class="hljs-subst">{query}</span>&quot;</span>, headers=headers)
        batch.extend(issues.json())

        <span class="hljs-keyword">if</span> <span class="hljs-built_in">len</span>(batch) &gt; rate_limit <span class="hljs-keyword">and</span> <span class="hljs-built_in">len</span>(all_issues) &lt; num_issues:
            all_issues.extend(batch)
            batch = []  <span class="hljs-comment"># Flush batch for next time period</span>
            <span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Reached GitHub rate limit. Sleeping for one hour ...&quot;</span>)
            time.sleep(<span class="hljs-number">60</span> * <span class="hljs-number">60</span> + <span class="hljs-number">1</span>)

    all_issues.extend(batch)
    df = pd.DataFrame.from_records(all_issues)
    df.to_json(<span class="hljs-string">f&quot;<span class="hljs-subst">{issues_path}</span>/<span class="hljs-subst">{repo}</span>-issues.jsonl&quot;</span>, orient=<span class="hljs-string">&quot;records&quot;</span>, lines=<span class="hljs-literal">True</span>)
    <span class="hljs-built_in">print</span>(
        <span class="hljs-string">f&quot;Downloaded all the issues for <span class="hljs-subst">{repo}</span>! Dataset stored at <span class="hljs-subst">{issues_path}</span>/<span class="hljs-subst">{repo}</span>-issues.jsonl&quot;</span>
    )`}}),Os=new w({props:{code:`# Depending on your internet connection, this can take several minutes to run...
fetch_issues()`,highlighted:`<span class="hljs-comment"># Depending on your internet connection, this can take several minutes to run...</span>
fetch_issues()`}}),As=new w({props:{code:`issues_dataset = load_dataset("json", data_files="datasets-issues.jsonl", split="train")
issues_dataset`,highlighted:`issues_dataset = load_dataset(<span class="hljs-string">&quot;json&quot;</span>, data_files=<span class="hljs-string">&quot;datasets-issues.jsonl&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)
issues_dataset`}}),Ss=new w({props:{code:`Dataset({
    features: ['url', 'repository_url', 'labels_url', 'comments_url', 'events_url', 'html_url', 'id', 'node_id', 'number', 'title', 'user', 'labels', 'state', 'locked', 'assignee', 'assignees', 'milestone', 'comments', 'created_at', 'updated_at', 'closed_at', 'author_association', 'active_lock_reason', 'pull_request', 'body', 'timeline_url', 'performed_via_github_app'],
    num_rows: 3019
})`,highlighted:`Dataset({
    features: [<span class="hljs-string">&#x27;url&#x27;</span>, <span class="hljs-string">&#x27;repository_url&#x27;</span>, <span class="hljs-string">&#x27;labels_url&#x27;</span>, <span class="hljs-string">&#x27;comments_url&#x27;</span>, <span class="hljs-string">&#x27;events_url&#x27;</span>, <span class="hljs-string">&#x27;html_url&#x27;</span>, <span class="hljs-string">&#x27;id&#x27;</span>, <span class="hljs-string">&#x27;node_id&#x27;</span>, <span class="hljs-string">&#x27;number&#x27;</span>, <span class="hljs-string">&#x27;title&#x27;</span>, <span class="hljs-string">&#x27;user&#x27;</span>, <span class="hljs-string">&#x27;labels&#x27;</span>, <span class="hljs-string">&#x27;state&#x27;</span>, <span class="hljs-string">&#x27;locked&#x27;</span>, <span class="hljs-string">&#x27;assignee&#x27;</span>, <span class="hljs-string">&#x27;assignees&#x27;</span>, <span class="hljs-string">&#x27;milestone&#x27;</span>, <span class="hljs-string">&#x27;comments&#x27;</span>, <span class="hljs-string">&#x27;created_at&#x27;</span>, <span class="hljs-string">&#x27;updated_at&#x27;</span>, <span class="hljs-string">&#x27;closed_at&#x27;</span>, <span class="hljs-string">&#x27;author_association&#x27;</span>, <span class="hljs-string">&#x27;active_lock_reason&#x27;</span>, <span class="hljs-string">&#x27;pull_request&#x27;</span>, <span class="hljs-string">&#x27;body&#x27;</span>, <span class="hljs-string">&#x27;timeline_url&#x27;</span>, <span class="hljs-string">&#x27;performed_via_github_app&#x27;</span>],
    num_rows: <span class="hljs-number">3019</span>
})`}}),zs=new w({props:{code:`sample = issues_dataset.shuffle(seed=666).select(range(3))

# Print out the URL and pull request entries
for url, pr in zip(sample["html_url"], sample["pull_request"]):
    print(f">> URL: {url}")
    print(f">> Pull request: {pr}\\n")`,highlighted:`sample = issues_dataset.shuffle(seed=<span class="hljs-number">666</span>).select(<span class="hljs-built_in">range</span>(<span class="hljs-number">3</span>))

<span class="hljs-comment"># Print out the URL and pull request entries</span>
<span class="hljs-keyword">for</span> url, pr <span class="hljs-keyword">in</span> <span class="hljs-built_in">zip</span>(sample[<span class="hljs-string">&quot;html_url&quot;</span>], sample[<span class="hljs-string">&quot;pull_request&quot;</span>]):
    <span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;&gt;&gt; URL: <span class="hljs-subst">{url}</span>&quot;</span>)
    <span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;&gt;&gt; Pull request: <span class="hljs-subst">{pr}</span>\\n&quot;</span>)`}}),Ms=new w({props:{code:`>> URL: https://github.com/huggingface/datasets/pull/850
>> Pull request: {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/850', 'html_url': 'https://github.com/huggingface/datasets/pull/850', 'diff_url': 'https://github.com/huggingface/datasets/pull/850.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/850.patch'}

>> URL: https://github.com/huggingface/datasets/issues/2773
>> Pull request: None

>> URL: https://github.com/huggingface/datasets/pull/783
>> Pull request: {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/783', 'html_url': 'https://github.com/huggingface/datasets/pull/783', 'diff_url': 'https://github.com/huggingface/datasets/pull/783.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/783.patch'}`,highlighted:`&gt;&gt; URL: https://github.com/huggingface/datasets/pull/<span class="hljs-number">850</span>
&gt;&gt; Pull request: {<span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/pulls/850&#x27;</span>, <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/850&#x27;</span>, <span class="hljs-string">&#x27;diff_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/850.diff&#x27;</span>, <span class="hljs-string">&#x27;patch_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/850.patch&#x27;</span>}

&gt;&gt; URL: https://github.com/huggingface/datasets/issues/<span class="hljs-number">2773</span>
&gt;&gt; Pull request: <span class="hljs-literal">None</span>

&gt;&gt; URL: https://github.com/huggingface/datasets/pull/<span class="hljs-number">783</span>
&gt;&gt; Pull request: {<span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/pulls/783&#x27;</span>, <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/783&#x27;</span>, <span class="hljs-string">&#x27;diff_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/783.diff&#x27;</span>, <span class="hljs-string">&#x27;patch_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/783.patch&#x27;</span>}`}}),Cs=new w({props:{code:`issues_dataset = issues_dataset.map(
    lambda x: {"is_pull_request": False if x["pull_request"] is None else True}
)`,highlighted:`issues_dataset = issues_dataset.<span class="hljs-built_in">map</span>(
    <span class="hljs-keyword">lambda</span> x: {<span class="hljs-string">&quot;is_pull_request&quot;</span>: <span class="hljs-literal">False</span> <span class="hljs-keyword">if</span> x[<span class="hljs-string">&quot;pull_request&quot;</span>] <span class="hljs-keyword">is</span> <span class="hljs-literal">None</span> <span class="hljs-keyword">else</span> <span class="hljs-literal">True</span>}
)`}}),ss=new qt({props:{$$slots:{default:[pu]},$$scope:{ctx:H}}}),Vs=new w({props:{code:`issue_number = 2792
url = f"https://api.github.com/repos/huggingface/datasets/issues/{issue_number}/comments"
response = requests.get(url, headers=headers)
response.json()`,highlighted:`issue_number = <span class="hljs-number">2792</span>
url = <span class="hljs-string">f&quot;https://api.github.com/repos/huggingface/datasets/issues/<span class="hljs-subst">{issue_number}</span>/comments&quot;</span>
response = requests.get(url, headers=headers)
response.json()`}}),Ks=new w({props:{code:`[{'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/897594128',
  'html_url': 'https://github.com/huggingface/datasets/pull/2792#issuecomment-897594128',
  'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/2792',
  'id': 897594128,
  'node_id': 'IC_kwDODunzps41gDMQ',
  'user': {'login': 'bhavitvyamalik',
   'id': 19718818,
   'node_id': 'MDQ6VXNlcjE5NzE4ODE4',
   'avatar_url': 'https://avatars.githubusercontent.com/u/19718818?v=4',
   'gravatar_id': '',
   'url': 'https://api.github.com/users/bhavitvyamalik',
   'html_url': 'https://github.com/bhavitvyamalik',
   'followers_url': 'https://api.github.com/users/bhavitvyamalik/followers',
   'following_url': 'https://api.github.com/users/bhavitvyamalik/following{/other_user}',
   'gists_url': 'https://api.github.com/users/bhavitvyamalik/gists{/gist_id}',
   'starred_url': 'https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}',
   'subscriptions_url': 'https://api.github.com/users/bhavitvyamalik/subscriptions',
   'organizations_url': 'https://api.github.com/users/bhavitvyamalik/orgs',
   'repos_url': 'https://api.github.com/users/bhavitvyamalik/repos',
   'events_url': 'https://api.github.com/users/bhavitvyamalik/events{/privacy}',
   'received_events_url': 'https://api.github.com/users/bhavitvyamalik/received_events',
   'type': 'User',
   'site_admin': False},
  'created_at': '2021-08-12T12:21:52Z',
  'updated_at': '2021-08-12T12:31:17Z',
  'author_association': 'CONTRIBUTOR',
  'body': "@albertvillanova my tests are failing here:\\r\\n\`\`\`\\r\\ndataset_name = 'gooaq'\\r\\n\\r\\n    def test_load_dataset(self, dataset_name):\\r\\n        configs = self.dataset_tester.load_all_configs(dataset_name, is_local=True)[:1]\\r\\n>       self.dataset_tester.check_load_dataset(dataset_name, configs, is_local=True, use_local_dummy_data=True)\\r\\n\\r\\ntests/test_dataset_common.py:234: \\r\\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \\r\\ntests/test_dataset_common.py:187: in check_load_dataset\\r\\n    self.parent.assertTrue(len(dataset[split]) > 0)\\r\\nE   AssertionError: False is not true\\r\\n\`\`\`\\r\\nWhen I try loading dataset on local machine it works fine. Any suggestions on how can I avoid this error?",
  'performed_via_github_app': None}]`,highlighted:`[{<span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/comments/897594128&#x27;</span>,
  <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/huggingface/datasets/pull/2792#issuecomment-897594128&#x27;</span>,
  <span class="hljs-string">&#x27;issue_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/repos/huggingface/datasets/issues/2792&#x27;</span>,
  <span class="hljs-string">&#x27;id&#x27;</span>: <span class="hljs-number">897594128</span>,
  <span class="hljs-string">&#x27;node_id&#x27;</span>: <span class="hljs-string">&#x27;IC_kwDODunzps41gDMQ&#x27;</span>,
  <span class="hljs-string">&#x27;user&#x27;</span>: {<span class="hljs-string">&#x27;login&#x27;</span>: <span class="hljs-string">&#x27;bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;id&#x27;</span>: <span class="hljs-number">19718818</span>,
   <span class="hljs-string">&#x27;node_id&#x27;</span>: <span class="hljs-string">&#x27;MDQ6VXNlcjE5NzE4ODE4&#x27;</span>,
   <span class="hljs-string">&#x27;avatar_url&#x27;</span>: <span class="hljs-string">&#x27;https://avatars.githubusercontent.com/u/19718818?v=4&#x27;</span>,
   <span class="hljs-string">&#x27;gravatar_id&#x27;</span>: <span class="hljs-string">&#x27;&#x27;</span>,
   <span class="hljs-string">&#x27;url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;html_url&#x27;</span>: <span class="hljs-string">&#x27;https://github.com/bhavitvyamalik&#x27;</span>,
   <span class="hljs-string">&#x27;followers_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/followers&#x27;</span>,
   <span class="hljs-string">&#x27;following_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/following{/other_user}&#x27;</span>,
   <span class="hljs-string">&#x27;gists_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/gists{/gist_id}&#x27;</span>,
   <span class="hljs-string">&#x27;starred_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/starred{/owner}{/repo}&#x27;</span>,
   <span class="hljs-string">&#x27;subscriptions_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/subscriptions&#x27;</span>,
   <span class="hljs-string">&#x27;organizations_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/orgs&#x27;</span>,
   <span class="hljs-string">&#x27;repos_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/repos&#x27;</span>,
   <span class="hljs-string">&#x27;events_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/events{/privacy}&#x27;</span>,
   <span class="hljs-string">&#x27;received_events_url&#x27;</span>: <span class="hljs-string">&#x27;https://api.github.com/users/bhavitvyamalik/received_events&#x27;</span>,
   <span class="hljs-string">&#x27;type&#x27;</span>: <span class="hljs-string">&#x27;User&#x27;</span>,
   <span class="hljs-string">&#x27;site_admin&#x27;</span>: <span class="hljs-literal">False</span>},
  <span class="hljs-string">&#x27;created_at&#x27;</span>: <span class="hljs-string">&#x27;2021-08-12T12:21:52Z&#x27;</span>,
  <span class="hljs-string">&#x27;updated_at&#x27;</span>: <span class="hljs-string">&#x27;2021-08-12T12:31:17Z&#x27;</span>,
  <span class="hljs-string">&#x27;author_association&#x27;</span>: <span class="hljs-string">&#x27;CONTRIBUTOR&#x27;</span>,
  <span class="hljs-string">&#x27;body&#x27;</span>: <span class="hljs-string">&quot;@albertvillanova my tests are failing here:\\r\\n\`\`\`\\r\\ndataset_name = &#x27;gooaq&#x27;\\r\\n\\r\\n    def test_load_dataset(self, dataset_name):\\r\\n        configs = self.dataset_tester.load_all_configs(dataset_name, is_local=True)[:1]\\r\\n&gt;       self.dataset_tester.check_load_dataset(dataset_name, configs, is_local=True, use_local_dummy_data=True)\\r\\n\\r\\ntests/test_dataset_common.py:234: \\r\\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \\r\\ntests/test_dataset_common.py:187: in check_load_dataset\\r\\n    self.parent.assertTrue(len(dataset[split]) &gt; 0)\\r\\nE   AssertionError: False is not true\\r\\n\`\`\`\\r\\nWhen I try loading dataset on local machine it works fine. Any suggestions on how can I avoid this error?&quot;</span>,
  <span class="hljs-string">&#x27;performed_via_github_app&#x27;</span>: <span class="hljs-literal">None</span>}]`}}),Xs=new w({props:{code:`def get_comments(issue_number):
    url = f"https://api.github.com/repos/huggingface/datasets/issues/{issue_number}/comments"
    response = requests.get(url, headers=headers)
    return [r["body"] for r in response.json()]


# Test our function works as expected
get_comments(2792)`,highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">get_comments</span>(<span class="hljs-params">issue_number</span>):
    url = <span class="hljs-string">f&quot;https://api.github.com/repos/huggingface/datasets/issues/<span class="hljs-subst">{issue_number}</span>/comments&quot;</span>
    response = requests.get(url, headers=headers)
    <span class="hljs-keyword">return</span> [r[<span class="hljs-string">&quot;body&quot;</span>] <span class="hljs-keyword">for</span> r <span class="hljs-keyword">in</span> response.json()]


<span class="hljs-comment"># Test our function works as expected</span>
get_comments(<span class="hljs-number">2792</span>)`}}),Ws=new w({props:{code:"[\"@albertvillanova my tests are failing here:\\r\\n```\\r\\ndataset_name = 'gooaq'\\r\\n\\r\\n    def test_load_dataset(self, dataset_name):\\r\\n        configs = self.dataset_tester.load_all_configs(dataset_name, is_local=True)[:1]\\r\\n>       self.dataset_tester.check_load_dataset(dataset_name, configs, is_local=True, use_local_dummy_data=True)\\r\\n\\r\\ntests/test_dataset_common.py:234: \\r\\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \\r\\ntests/test_dataset_common.py:187: in check_load_dataset\\r\\n    self.parent.assertTrue(len(dataset[split]) > 0)\\r\\nE   AssertionError: False is not true\\r\\n```\\r\\nWhen I try loading dataset on local machine it works fine. Any suggestions on how can I avoid this error?\"]",highlighted:'[<span class="hljs-string">&quot;@albertvillanova my tests are failing here:\\r\\n```\\r\\ndataset_name = &#x27;gooaq&#x27;\\r\\n\\r\\n    def test_load_dataset(self, dataset_name):\\r\\n        configs = self.dataset_tester.load_all_configs(dataset_name, is_local=True)[:1]\\r\\n&gt;       self.dataset_tester.check_load_dataset(dataset_name, configs, is_local=True, use_local_dummy_data=True)\\r\\n\\r\\ntests/test_dataset_common.py:234: \\r\\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \\r\\ntests/test_dataset_common.py:187: in check_load_dataset\\r\\n    self.parent.assertTrue(len(dataset[split]) &gt; 0)\\r\\nE   AssertionError: False is not true\\r\\n```\\r\\nWhen I try loading dataset on local machine it works fine. Any suggestions on how can I avoid this error?&quot;</span>]'}}),Ys=new w({props:{code:`# Depending on your internet connection, this can take a few minutes...
issues_with_comments_dataset = issues_dataset.map(
    lambda x: {"comments": get_comments(x["number"])}
)`,highlighted:`<span class="hljs-comment"># Depending on your internet connection, this can take a few minutes...</span>
issues_with_comments_dataset = issues_dataset.<span class="hljs-built_in">map</span>(
    <span class="hljs-keyword">lambda</span> x: {<span class="hljs-string">&quot;comments&quot;</span>: get_comments(x[<span class="hljs-string">&quot;number&quot;</span>])}
)`}}),st=new w({props:{code:'issues_with_comments_dataset.to_json("issues-datasets-with-hf-doc-builder.jsonl")',highlighted:'issues_with_comments_dataset.to_json(<span class="hljs-string">&quot;issues-datasets-with-hf-doc-builder.jsonl&quot;</span>)'}}),tt=new lu({}),et=new au({props:{id:"HaN6qCr_Afc"}}),lt=new w({props:{code:`from huggingface_hub import list_datasets

all_datasets = list_datasets()
print(f"Number of datasets on Hub: {len(all_datasets)}")
print(all_datasets[0])`,highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> list_datasets

all_datasets = list_datasets()
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;Number of datasets on Hub: <span class="hljs-subst">{<span class="hljs-built_in">len</span>(all_datasets)}</span>&quot;</span>)
<span class="hljs-built_in">print</span>(all_datasets[<span class="hljs-number">0</span>])`}}),nt=new w({props:{code:`Number of datasets on Hub: 1487
Dataset Name: acronym_identification, Tags: ['annotations_creators:expert-generated', 'language_creators:found', 'languages:en', 'licenses:mit', 'multilinguality:monolingual', 'size_categories:10K<n<100K', 'source_datasets:original', 'task_categories:structure-prediction', 'task_ids:structure-prediction-other-acronym-identification']`,highlighted:`Number of datasets on Hub: <span class="hljs-number">1487</span>
Dataset Name: acronym_identification, Tags: [<span class="hljs-string">&#x27;annotations_creators:expert-generated&#x27;</span>, <span class="hljs-string">&#x27;language_creators:found&#x27;</span>, <span class="hljs-string">&#x27;languages:en&#x27;</span>, <span class="hljs-string">&#x27;licenses:mit&#x27;</span>, <span class="hljs-string">&#x27;multilinguality:monolingual&#x27;</span>, <span class="hljs-string">&#x27;size_categories:10K&lt;n&lt;100K&#x27;</span>, <span class="hljs-string">&#x27;source_datasets:original&#x27;</span>, <span class="hljs-string">&#x27;task_categories:structure-prediction&#x27;</span>, <span class="hljs-string">&#x27;task_ids:structure-prediction-other-acronym-identification&#x27;</span>]`}}),it=new w({props:{code:`from huggingface_hub import notebook_login

notebook_login()`,highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> notebook_login

notebook_login()`}}),rt=new w({props:{code:"huggingface-cli login",highlighted:"huggingface-cli login"}}),pt=new w({props:{code:`from huggingface_hub import create_repo

repo_url = create_repo(name="github-issues", repo_type="dataset")
repo_url`,highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_repo

repo_url = create_repo(name=<span class="hljs-string">&quot;github-issues&quot;</span>, repo_type=<span class="hljs-string">&quot;dataset&quot;</span>)
repo_url`}}),ut=new w({props:{code:"'https://huggingface.co/datasets/lewtun/github-issues'",highlighted:'<span class="hljs-string">&#x27;https://huggingface.co/datasets/lewtun/github-issues&#x27;</span>'}}),is=new qt({props:{$$slots:{default:[uu]},$$scope:{ctx:H}}}),ot=new w({props:{code:`from huggingface_hub import Repository

repo = Repository(local_dir="github-issues", clone_from=repo_url)
!cp datasets-issues-with-hf-doc-builder.jsonl github-issues/`,highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> Repository

repo = Repository(local_dir=<span class="hljs-string">&quot;github-issues&quot;</span>, clone_from=repo_url)
!cp datasets-issues-<span class="hljs-keyword">with</span>-hf-doc-builder.jsonl github-issues/`}}),ht=new w({props:{code:'repo.lfs_track("*.jsonl")',highlighted:'repo.lfs_track(<span class="hljs-string">&quot;*.jsonl&quot;</span>)'}}),gt=new w({props:{code:"repo.push_to_hub()",highlighted:"repo.push_to_hub()"}}),ft=new w({props:{code:`remote_dataset = load_dataset("lewtun/github-issues", split="train")
remote_dataset`,highlighted:`remote_dataset = load_dataset(<span class="hljs-string">&quot;lewtun/github-issues&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)
remote_dataset`}}),mt=new w({props:{code:`Dataset({
    features: ['url', 'repository_url', 'labels_url', 'comments_url', 'events_url', 'html_url', 'id', 'node_id', 'number', 'title', 'user', 'labels', 'state', 'locked', 'assignee', 'assignees', 'milestone', 'comments', 'created_at', 'updated_at', 'closed_at', 'author_association', 'active_lock_reason', 'pull_request', 'body', 'performed_via_github_app', 'is_pull_request'],
    num_rows: 2855
})`,highlighted:`Dataset({
    features: [<span class="hljs-string">&#x27;url&#x27;</span>, <span class="hljs-string">&#x27;repository_url&#x27;</span>, <span class="hljs-string">&#x27;labels_url&#x27;</span>, <span class="hljs-string">&#x27;comments_url&#x27;</span>, <span class="hljs-string">&#x27;events_url&#x27;</span>, <span class="hljs-string">&#x27;html_url&#x27;</span>, <span class="hljs-string">&#x27;id&#x27;</span>, <span class="hljs-string">&#x27;node_id&#x27;</span>, <span class="hljs-string">&#x27;number&#x27;</span>, <span class="hljs-string">&#x27;title&#x27;</span>, <span class="hljs-string">&#x27;user&#x27;</span>, <span class="hljs-string">&#x27;labels&#x27;</span>, <span class="hljs-string">&#x27;state&#x27;</span>, <span class="hljs-string">&#x27;locked&#x27;</span>, <span class="hljs-string">&#x27;assignee&#x27;</span>, <span class="hljs-string">&#x27;assignees&#x27;</span>, <span class="hljs-string">&#x27;milestone&#x27;</span>, <span class="hljs-string">&#x27;comments&#x27;</span>, <span class="hljs-string">&#x27;created_at&#x27;</span>, <span class="hljs-string">&#x27;updated_at&#x27;</span>, <span class="hljs-string">&#x27;closed_at&#x27;</span>, <span class="hljs-string">&#x27;author_association&#x27;</span>, <span class="hljs-string">&#x27;active_lock_reason&#x27;</span>, <span class="hljs-string">&#x27;pull_request&#x27;</span>, <span class="hljs-string">&#x27;body&#x27;</span>, <span class="hljs-string">&#x27;performed_via_github_app&#x27;</span>, <span class="hljs-string">&#x27;is_pull_request&#x27;</span>],
    num_rows: <span class="hljs-number">2855</span>
})`}}),os=new qt({props:{$$slots:{default:[ou]},$$scope:{ctx:H}}}),_s=new qt({props:{$$slots:{default:[hu]},$$scope:{ctx:H}}}),cs=new qt({props:{$$slots:{default:[gu]},$$scope:{ctx:H}}}),{c(){_=r("meta"),v=o(),c=r("h1"),$=n("\u521B\u5EFA\u81EA\u5DF1\u7684\u6570\u636E\u96C6"),T=o(),f(y.$$.fragment),k=o(),E=r("p"),R=n("\u6709\u65F6\uFF0C\u4E0D\u5B58\u5728\u5408\u9002\u7684\u6570\u636E\u96C6\u9002\u7528\u4E8E\u60A8\u6784\u5EFA NLP \u5E94\u7528\uFF0C\u56E0\u6B64\u60A8\u9700\u8981\u81EA\u5DF1\u521B\u5EFA\u3002\u5728\u672C\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u5411\u60A8\u5C55\u793A\u5982\u4F55\u521B\u5EFA\u4E00\u4E2A"),D=r("a"),Ht=n("GitHub issues"),Ml=n("\u7684\u8BED\u6599\u5E93\uFF0CGitHub issues\u901A\u5E38\u7528\u4E8E\u8DDF\u8E2A GitHub \u5B58\u50A8\u5E93\u4E2D\u7684\u9519\u8BEF\u6216\u529F\u80FD\u3002\u8BE5\u8BED\u6599\u5E93\u53EF\u7528\u4E8E\u5404\u79CD\u76EE\u7684\uFF0C\u5305\u62EC\uFF1A"),ze=o(),I=r("ul"),ee=r("li"),Cl=n("\u63A2\u7D22\u5173\u95ED\u672A\u89E3\u51B3\u7684issue\u6216\u62C9\u53D6\u8BF7\u6C42\u9700\u8981\u591A\u957F\u65F6\u95F4"),Bl=o(),ms=r("li"),Ql=n("\u8BAD\u7EC3\u4E00\u4E2A"),ae=r("em"),Zl=n("\u591A\u6807\u7B7E\u5206\u7C7B\u5668"),Jl=n("\u53EF\u4EE5\u6839\u636Eissue\u7684\u63CF\u8FF0\uFF08\u4F8B\u5982\uFF0C\u201C\u9519\u8BEF\u201D\u3001\u201C\u589E\u5F3A\u201D\u6216\u201Cissue\u201D\uFF09\u7528\u5143\u6570\u636E\u6807\u8BB0issue"),Vl=o(),le=r("li"),Kl=n("\u521B\u5EFA\u8BED\u4E49\u641C\u7D22\u5F15\u64CE\u4EE5\u67E5\u627E\u4E0E\u7528\u6237\u67E5\u8BE2\u5339\u914D\u7684issue"),Me=o(),Tt=r("p"),Xl=n("\u5728\u8FD9\u91CC\uFF0C\u6211\u4EEC\u5C06\u4E13\u6CE8\u4E8E\u521B\u5EFA\u8BED\u6599\u5E93\uFF0C\u5728\u4E0B\u4E00\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u63A2\u7D22\u8BED\u4E49\u641C\u7D22\u3002\u6211\u4EEC\u5C06\u4F7F\u7528\u4E0E\u6D41\u884C\u7684\u5F00\u6E90\u9879\u76EE\u76F8\u5173\u7684 GitHub issue\uFF1A\u{1F917} Datasets\uFF01\u63A5\u4E0B\u6765\u8BA9\u6211\u4EEC\u770B\u770B\u5982\u4F55\u83B7\u53D6\u6570\u636E\u5E76\u63A2\u7D22\u8FD9\u4E9Bissue\u4E2D\u5305\u542B\u7684\u4FE1\u606F\u3002"),Ce=o(),bs=r("h2"),Wl=n("\u83B7\u53D6\u6570\u636E"),Be=o(),Z=r("p"),Yl=n("\u60A8\u53EF\u4EE5\u6D4F\u89C8 \u{1F917} Datasets \u4E2D\u7684\u6240\u6709issue"),ds=r("a"),sn=n("Issues tab"),tn=n(".\u5982\u4EE5\u4E0B\u5C4F\u5E55\u622A\u56FE\u6240\u793A\uFF0C\u5728\u64B0\u5199\u672C\u6587\u65F6\uFF0C\u6709 331 \u4E2A\u672A\u89E3\u51B3\u7684issue\u548C 668 \u4E2A\u5DF2\u5173\u95ED\u7684issue\u3002"),Qe=o(),xs=r("div"),js=r("img"),Ze=o(),Gt=r("p"),en=n("\u5982\u679C\u60A8\u5355\u51FB\u5176\u4E2D\u4E00\u4E2Aissue\uFF0C\u60A8\u4F1A\u53D1\u73B0\u5B83\u5305\u542B\u4E00\u4E2A\u6807\u9898\u3001\u4E00\u4E2A\u63CF\u8FF0\u548C\u4E00\u7EC4\u8868\u5F81\u8BE5issue\u7684\u6807\u7B7E\u3002\u4E0B\u9762\u7684\u5C4F\u5E55\u622A\u56FE\u663E\u793A\u4E86\u4E00\u4E2A\u793A\u4F8B."),Je=o(),$s=r("div"),vs=r("img"),Ve=o(),O=r("p"),an=n("\u8981\u4E0B\u8F7D\u6240\u6709\u5B58\u50A8\u5E93\u7684issue\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528"),ws=r("a"),ln=n("GitHub REST API"),nn=n("\u6295\u7968"),ys=r("a"),rn=n("Issues endpoint"),pn=n(".\u6B64\u8282\u70B9\u8FD4\u56DE\u4E00\u4E2A JSON \u5BF9\u8C61\u5217\u8868\uFF0C\u6BCF\u4E2A\u5BF9\u8C61\u5305\u542B\u5927\u91CF\u5B57\u6BB5\uFF0C\u5176\u4E2D\u5305\u62EC\u6807\u9898\u548C\u63CF\u8FF0\u4EE5\u53CA\u6709\u5173issue\u72B6\u6001\u7684\u5143\u6570\u636E\u7B49\u3002"),Ke=o(),J=r("p"),un=n("\u4E0B\u8F7Dissue\u7684\u4E00\u79CD\u4FBF\u6377\u65B9\u5F0F\u662F\u901A\u8FC7 "),ne=r("strong"),on=n("requests"),hn=n(" \u5E93\uFF0C\u8FD9\u662F\u7528 Python \u4E2D\u53D1\u51FA HTTP \u8BF7\u6C42\u7684\u6807\u51C6\u65B9\u5F0F\u3002\u60A8\u53EF\u4EE5\u901A\u8FC7\u8FD0\u884C\u4EE5\u4E0B\u7684\u4EE3\u7801\u6765\u5B89\u88C5\u5E93\uFF1A"),Xe=o(),f(ks.$$.fragment),We=o(),A=r("p"),gn=n("\u5B89\u88C5\u5E93\u540E\uFF0C\u60A8\u901A\u8FC7\u8C03\u7528 "),ie=r("strong"),_n=n("requests.get()"),cn=n(" \u529F\u80FD\u6765\u83B7\u53D6"),re=r("strong"),fn=n("Issues"),mn=n("\u8282\u70B9\u3002\u4F8B\u5982\uFF0C\u60A8\u53EF\u4EE5\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u6765\u83B7\u53D6\u7B2C\u4E00\u9875\u4E0A\u7684\u7B2C\u4E00\u4E2AIssues\uFF1A"),Ye=o(),f(Es.$$.fragment),sa=o(),V=r("p"),bn=n("\u8FD9 "),pe=r("strong"),dn=n("response"),xn=n(" \u5BF9\u8C61\u5305\u542B\u5F88\u591A\u5173\u4E8E\u8BF7\u6C42\u7684\u6709\u7528\u4FE1\u606F\uFF0C\u5305\u62EC HTTP \u72B6\u6001\u7801\uFF1A"),ta=o(),f(qs.$$.fragment),ea=o(),f(Hs.$$.fragment),aa=o(),S=r("p"),jn=n("\u5176\u4E2D\u4E00\u4E2A\u72B6\u6001\u7801 "),ue=r("strong"),$n=n("200"),vn=n(" \u8868\u793A\u8BF7\u6C42\u6210\u529F\uFF08\u60A8\u53EF\u4EE5"),Ts=r("a"),wn=n("\u5728\u8FD9\u91CC"),yn=n("\u627E\u5230\u53EF\u80FD\u7684 HTTP \u72B6\u6001\u4EE3\u7801\u5217\u8868\uFF09\u3002\u7136\u800C\uFF0C\u6211\u4EEC\u771F\u6B63\u611F\u5174\u8DA3\u7684\u662F\u6709\u6548\u7684\u4FE1\u606F\uFF0C\u7531\u4E8E\u6211\u4EEC\u77E5\u9053\u6211\u4EEC\u7684issues\u662F JSON \u683C\u5F0F\uFF0C\u8BA9\u6211\u4EEC\u6309\u5982\u4E0B\u65B9\u5F0F\u67E5\u770B\u6240\u6709\u7684\u4FE1\u606F\uFF1A"),la=o(),f(Gs.$$.fragment),na=o(),f(Ns.$$.fragment),ia=o(),G=r("p"),kn=n("\u54C7\uFF0C\u8FD9\u662F\u5F88\u591A\u4FE1\u606F\uFF01\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\u6709\u7528\u7684\u5B57\u6BB5\uFF0C\u4F8B\u5982 "),oe=r("strong"),En=n("\u6807\u9898"),qn=n(" , "),he=r("strong"),Hn=n("\u5185\u5BB9"),Tn=n(" \uFF0C  "),ge=r("strong"),Gn=n("\u53C2\u4E0E\u7684\u6210\u5458"),Nn=n("\uFF0C "),_e=r("strong"),Pn=n("issue\u7684\u63CF\u8FF0\u4FE1\u606F"),Dn=n("\uFF0C\u4EE5\u53CA\u6253\u5F00issue\u7684GitHub \u7528\u6237\u7684\u4FE1\u606F\u3002"),ra=o(),f(K.$$.fragment),pa=o(),P=r("p"),Rn=n("\u5982 GitHub"),Ps=r("a"),In=n("\u6587\u6863"),On=n(" \u4E2D\u6240\u8FF0\uFF0C\u672A\u7ECF\u8EAB\u4EFD\u9A8C\u8BC1\u7684\u8BF7\u6C42\u9650\u5236\u4E3A\u6BCF\u5C0F\u65F6 60 \u4E2A\u8BF7\u6C42\u3002\u867D\u7136\u4F60\u53EF\u4EE5\u589E\u52A0 "),ce=r("strong"),An=n("per_page"),Sn=n(" \u67E5\u8BE2\u53C2\u6570\u4EE5\u51CF\u5C11\u60A8\u53D1\u51FA\u7684\u8BF7\u6C42\u6570\u91CF\uFF0C\u60A8\u4ECD\u7136\u4F1A\u906D\u5230\u4EFB\u4F55\u8D85\u8FC7\u51E0\u5343\u4E2Aissue\u7684\u5B58\u50A8\u5E93\u7684\u901F\u7387\u9650\u5236\u3002\u56E0\u6B64\uFF0C\u60A8\u5E94\u8BE5\u5173\u6CE8 GitHub \u7684"),Ds=r("a"),Fn=n("\u521B\u5EFA\u4E2A\u4EBA\u8EAB\u4EFD\u4EE4\u724C"),Un=n("\uFF0C\u521B\u5EFA\u4E00\u4E2A\u4E2A\u4EBA\u8BBF\u95EE\u4EE4\u724C\u8FD9\u6837\u60A8\u5C31\u53EF\u4EE5\u5C06\u901F\u7387\u9650\u5236\u63D0\u9AD8\u5230\u6BCF\u5C0F\u65F6 5,000 \u4E2A\u8BF7\u6C42\u3002\u83B7\u5F97\u4EE4\u724C\u540E\uFF0C\u60A8\u53EF\u4EE5\u5C06\u5176\u5305\u542B\u5728\u8BF7\u6C42\u6807\u5934\u4E2D\uFF1A"),ua=o(),f(Rs.$$.fragment),oa=o(),f(X.$$.fragment),ha=o(),Nt=r("p"),Ln=n("\u73B0\u5728\u6211\u4EEC\u6709\u4E86\u8BBF\u95EE\u4EE4\u724C\uFF0C\u8BA9\u6211\u4EEC\u521B\u5EFA\u4E00\u4E2A\u53EF\u4EE5\u4ECE GitHub \u5B58\u50A8\u5E93\u4E0B\u8F7D\u6240\u6709issue\u7684\u51FD\u6570\uFF1A"),ga=o(),f(Is.$$.fragment),_a=o(),W=r("p"),zn=n("\u73B0\u5728\u6211\u4EEC\u53EF\u4EE5\u8C03\u7528 "),fe=r("strong"),Mn=n("fetch_issues()"),Cn=n(" \u6279\u91CF\u4E0B\u8F7D\u6240\u6709issue\uFF0C\u907F\u514D\u8D85\u8FC7GitHub\u6BCF\u5C0F\u65F6\u7684\u8BF7\u6C42\u6570\u9650\u5236\uFF1B\u7ED3\u679C\u5C06\u5B58\u50A8\u5728repository_name-issues.jsonl\u6587\u4EF6\uFF0C\u5176\u4E2D\u6BCF\u4E00\u884C\u90FD\u662F\u4E00\u4E2A JSON \u5BF9\u8C61\uFF0C\u4EE3\u8868\u4E00\u4E2Aissue\u3002\u8BA9\u6211\u4EEC\u4F7F\u7528\u8FD9\u4E2A\u51FD\u6570\u4ECE \u{1F917} Datasets\u4E2D\u6293\u53D6\u6240\u6709issue\uFF1A"),ca=o(),f(Os.$$.fragment),fa=o(),Y=r("p"),Bn=n("\u4E0B\u8F7Dissue\u540E\uFF0C\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528\u6211\u4EEC "),Pt=r("a"),Qn=n("section 2"),Zn=n("\u65B0\u5B66\u4F1A\u7684\u65B9\u6CD5\u5728\u672C\u5730\u52A0\u8F7D\u5B83\u4EEC:"),ma=o(),f(As.$$.fragment),ba=o(),f(Ss.$$.fragment),da=o(),F=r("p"),Jn=n("\u592A\u597D\u4E86\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u4ECE\u5934\u5F00\u59CB\u521B\u5EFA\u4E86\u6211\u4EEC\u7684\u7B2C\u4E00\u4E2A\u6570\u636E\u96C6\uFF01\u4F46\u662F\u4E3A\u4EC0\u4E48\u4F1A\u6709\u51E0\u5343\u4E2Aissue\uFF0C\u800C\u{1F917} Datasets\u5B58\u50A8\u5E93\u4E2D\u7684"),Fs=r("a"),Vn=n("Issues \u9009\u9879\u5361"),Kn=n("\u603B\u5171\u5374\u53EA\u663E\u793A\u4E86\u5927\u7EA6 1,000 \u4E2Aissue\u{1F914}\uFF1F\u5982 GitHub "),Us=r("a"),Xn=n("\u6587\u6863"),Wn=n("\u4E2D\u6240\u8FF0\uFF0C\u90A3\u662F\u56E0\u4E3A\u6211\u4EEC\u4E5F\u4E0B\u8F7D\u4E86\u6240\u6709\u7684\u62C9\u53D6\u8BF7\u6C42\uFF1A"),xa=o(),Dt=r("blockquote"),me=r("p"),Yn=n("Git Hub\u7684REST API v3\u8BA4\u4E3A\u6BCF\u4E2Apull\u8BF7\u6C42\u90FD\u662F\u4E00\u4E2Aissue\uFF0C\u4F46\u5E76\u4E0D\u662F\u6BCF\u4E2Aissue\u90FD\u662F\u4E00\u4E2Apull\u8BF7\u6C42\u3002\u56E0\u6B64\uFF0C\u201CIssues\u201D\u8282\u70B9\u53EF\u80FD\u5728\u54CD\u5E94\u4E2D\u540C\u65F6\u8FD4\u56DEissue\u548C\u62C9\u53D6\u8BF7\u6C42\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7pull_request \u7684 key\u6765\u8FA8\u522Bpull\u8BF7\u6C42\u3002\u8BF7\u6CE8\u610F\uFF0C\u4ECE\u201CIssues\u201D\u8282\u70B9\u8FD4\u56DE\u7684pull\u8BF7\u6C42\u7684id\u5C06\u662F\u4E00\u4E2Aissue id\u3002"),ja=o(),Rt=r("p"),si=n("\u7531\u4E8Eissue\u548Cpull request\u7684\u5185\u5BB9\u6709\u5F88\u5927\u7684\u4E0D\u540C\uFF0C\u6211\u4EEC\u5148\u505A\u4E00\u4E9B\u5C0F\u7684\u9884\u5904\u7406\uFF0C\u8BA9\u6211\u4EEC\u80FD\u591F\u533A\u5206\u5B83\u4EEC\u3002"),$a=o(),Ls=r("h2"),ti=n("\u6E05\u7406\u6570\u636E"),va=o(),q=r("p"),ei=n("\u4E0A\u9762\u6765\u81EA GitHub \u6587\u6863\u7684\u7247\u6BB5\u544A\u8BC9\u6211\u4EEC\uFF0C "),be=r("strong"),ai=n("pull_request"),li=n(" \u5217\u53EF\u7528\u4E8E\u533A\u5206issue\u548C\u62C9\u53D6\u8BF7\u6C42\u3002\u8BA9\u6211\u4EEC\u968F\u673A\u6311\u9009\u4E00\u4E9B\u6837\u672C\uFF0C\u770B\u770B\u6709\u4EC0\u4E48\u4E0D\u540C\u3002\u6211\u4EEC\u5C06\u4F7F\u7528\u5728"),It=r("a"),ni=n("\u7B2C\u4E09\u8282"),ii=n(", \u5B66\u4E60\u7684\u65B9\u6CD5\uFF0C\u4F7F\u7528 "),de=r("strong"),ri=n("Dataset.shuffle()"),pi=n(" \u548C "),xe=r("strong"),ui=n("Dataset.select()"),oi=n(" \u62BD\u53D6\u4E00\u4E2A\u968F\u673A\u6837\u672C\uFF0C\u7136\u540E\u5C06 "),je=r("strong"),hi=n("html_url"),gi=n(" \u548C "),$e=r("strong"),_i=n("pull_request"),ci=n(" \u5217\u4F7F\u7528zip\u51FD\u6570\u6253\u5305\uFF0C\u4EE5\u4FBF\u6211\u4EEC\u53EF\u4EE5\u6BD4\u8F83\u5404\u79CD URL\uFF1A"),wa=o(),f(zs.$$.fragment),ya=o(),f(Ms.$$.fragment),ka=o(),Ot=r("p"),fi=n("\u8FD9\u91CC\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\uFF0C\u6BCF\u4E2Apull\u8BF7\u6C42\u90FD\u4E0E\u5404\u79CDurl\u76F8\u5173\u8054\uFF0C\u800C\u666E\u901Aissue\u53EA\u6709\u4E00\u4E2ANone\u6761\u76EE\u3002\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528\u8FD9\u4E00\u70B9\u4E0D\u540C\u6765\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684is_pull_request\u5217\u901A\u8FC7\u68C0\u67E5pull_request\u5B57\u6BB5\u662F\u5426\u4E3ANone\u6765\u533A\u5206\u5B83\u4EEC:"),Ea=o(),f(Cs.$$.fragment),qa=o(),f(ss.$$.fragment),Ha=o(),At=r("p"),mi=n("\u5C3D\u7BA1\u6211\u4EEC\u53EF\u4EE5\u901A\u8FC7\u5220\u9664\u6216\u91CD\u547D\u540D\u67D0\u4E9B\u5217\u6765\u8FDB\u4E00\u6B65\u6E05\u7406\u6570\u636E\u96C6\uFF0C\u4F46\u5728\u6B64\u9636\u6BB5\u5C3D\u53EF\u80FD\u4FDD\u6301\u6570\u636E\u96C6\u201C\u539F\u59CB\u201D\u72B6\u6001\u901A\u5E38\u662F\u4E00\u4E2A\u5F88\u597D\u7684\u505A\u6CD5\uFF0C\u4EE5\u4FBF\u5B83\u53EF\u4EE5\u5728\u591A\u4E2A\u5E94\u7528\u7A0B\u5E8F\u4E2D\u8F7B\u677E\u4F7F\u7528\u3002\u5728\u6211\u4EEC\u5C06\u6570\u636E\u96C6\u63A8\u9001\u5230 Hugging Face Hub \u4E4B\u524D\uFF0C\u8BA9\u6211\u4EEC\u518D\u6DFB\u52A0\u4E00\u4E9B\u7F3A\u5C11\u7684\u6570\u636E\uFF1A\u4E0E\u6BCF\u4E2Aissue\u548C\u62C9\u53D6\u8BF7\u6C42\u76F8\u5173\u7684\u8BC4\u8BBA\u3002\u6211\u4EEC\u63A5\u4E0B\u6765\u5C06\u6DFB\u52A0\u5B83\u4EEC\u2014\u2014\u4F60\u731C\u5BF9\u4E86\u2014\u2014\u6211\u4EEC\u5C06\u4F9D\u7136\u4F7F\u7528GitHub REST API\uFF01"),Ta=o(),Bs=r("h2"),bi=n("\u6269\u5145\u6570\u636E\u96C6"),Ga=o(),St=r("p"),di=n("\u5982\u4EE5\u4E0B\u5C4F\u5E55\u622A\u56FE\u6240\u793A\uFF0C\u4E0Eissue\u6216\u62C9\u53D6\u8BF7\u6C42\u76F8\u5173\u7684\u8BC4\u8BBA\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u4FE1\u606F\uFF0C\u7279\u522B\u662F\u5982\u679C\u6211\u4EEC\u6709\u5174\u8DA3\u6784\u5EFA\u641C\u7D22\u5F15\u64CE\u6765\u56DE\u7B54\u7528\u6237\u5BF9\u8FD9\u4E2A\u9879\u76EE\u7684\u7591\u95EE\u3002"),Na=o(),Qs=r("div"),Zs=r("img"),Pa=o(),ts=r("p"),xi=n("GitHub REST API \u63D0\u4F9B\u4E86\u4E00\u4E2A "),Js=r("a"),ji=n("\u8BC4\u8BBA\u8282\u70B9"),$i=n(" \u8FD4\u56DE\u4E0Eissue\u7F16\u53F7\u76F8\u5173\u7684\u6240\u6709\u8BC4\u8BBA\u3002\u8BA9\u6211\u4EEC\u6D4B\u8BD5\u8282\u70B9\u4EE5\u67E5\u770B\u5B83\u8FD4\u56DE\u7684\u5185\u5BB9\uFF1A"),Da=o(),f(Vs.$$.fragment),Ra=o(),f(Ks.$$.fragment),Ia=o(),Ft=r("p"),vi=n("\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\u6CE8\u91CA\u5B58\u50A8\u5728body\u5B57\u6BB5\u4E2D\uFF0C\u6240\u4EE5\u8BA9\u6211\u4EEC\u7F16\u5199\u4E00\u4E2A\u7B80\u5355\u7684\u51FD\u6570\uFF0C\u901A\u8FC7\u5728response.json()\u4E2D\u4E3A\u6BCF\u4E2A\u5143\u7D20\u6311\u9009body\u5185\u5BB9\u6765\u8FD4\u56DE\u4E0E\u67D0\u4E2Aissue\u76F8\u5173\u7684\u6240\u6709\u8BC4\u8BBA\uFF1A"),Oa=o(),f(Xs.$$.fragment),Aa=o(),f(Ws.$$.fragment),Sa=o(),U=r("p"),wi=n("\u8FD9\u770B\u8D77\u6765\u4E0D\u9519\uFF0C\u6240\u4EE5\u8BA9\u6211\u4EEC\u4F7F\u7528 "),ve=r("strong"),yi=n("Dataset.map()"),ki=n(" \u65B9\u6CD5\u5728\u6211\u4EEC\u6570\u636E\u96C6\u4E2D\u6BCF\u4E2Aissue\u7684\u6DFB\u52A0\u4E00\u4E2A"),we=r("strong"),Ei=n("comments"),qi=n("\u5217\uFF1A"),Fa=o(),f(Ys.$$.fragment),Ua=o(),Ut=r("p"),Hi=n("\u6700\u540E\u4E00\u6B65\u662F\u5C06\u589E\u5F3A\u6570\u636E\u96C6\u4E0E\u539F\u59CB\u6570\u636E\u4FDD\u5B58\u5728\u4E00\u8D77\uFF0C\u4EE5\u4FBF\u6211\u4EEC\u53EF\u4EE5\u5C06\u5B83\u4EEC\u90FD\u63A8\u9001\u5230 Hub\uFF1A"),La=o(),f(st.$$.fragment),za=o(),B=r("h2"),es=r("a"),ye=r("span"),f(tt.$$.fragment),Ti=o(),ke=r("span"),Gi=n("\u5C06\u6570\u636E\u96C6\u4E0A\u4F20\u5230 Hugging Face Hub"),Ma=o(),f(et.$$.fragment),Ca=o(),L=r("p"),Ni=n("\u73B0\u5728\u6211\u4EEC\u6709\u4E86\u6211\u4EEC\u7684\u589E\u5F3A\u6570\u636E\u96C6\uFF0C\u662F\u65F6\u5019\u5C06\u5B83\u63A8\u9001\u5230 Hub \u5E76\u4E14\u4E0E\u793E\u533A\u5171\u4EAB\u5B83\uFF01\u8981\u4E0A\u4F20\u6570\u636E\u96C6\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528"),at=r("a"),Pi=n("\u{1F917} Hub \u5E93"),Di=n("\uFF0C\u5B83\u5141\u8BB8\u6211\u4EEC\u901A\u8FC7 Python API \u4E0E Hugging Face Hub \u8FDB\u884C\u4EA4\u4E92\u3002 \u{1F917} Hub \u9884\u88C5\u4E86\u{1F917} Transformers\uFF0C\u6240\u4EE5\u6211\u4EEC\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u5B83\u3002\u4F8B\u5982\uFF0C\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528 "),Ee=r("strong"),Ri=n("list_datasets()"),Ii=n(" \u83B7\u53D6\u6709\u5173\u5F53\u524D\u6258\u7BA1\u5728 Hub \u4E0A\u7684\u6240\u6709\u516C\u5171\u6570\u636E\u96C6\u7684\u4FE1\u606F\u7684\u51FD\u6570\uFF1A"),Ba=o(),f(lt.$$.fragment),Qa=o(),f(nt.$$.fragment),Za=o(),as=r("p"),Oi=n("\u6211\u4EEC\u53EF\u4EE5\u770B\u5230 Hub \u4E0A\u76EE\u524D\u6709\u8FD1 1,500 \u4E2A\u6570\u636E\u96C6\uFF0C "),qe=r("strong"),Ai=n("list_datasets()"),Si=n(" \u51FD\u6570\u8FD8\u63D0\u4F9B\u4E86\u6709\u5173\u6BCF\u4E2A\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u7684\u4E00\u4E9B\u57FA\u672C\u5143\u6570\u636E\u3002"),Ja=o(),ls=r("p"),Fi=n("\u4E3A\u4E86\u4E0A\u4F20\u6211\u4EEC\u7684\u6570\u636E\u96C6\uFF0C\u6211\u4EEC\u9700\u8981\u505A\u7684\u7B2C\u4E00\u4EF6\u4E8B\u662F\u5728 Hub \u4E0A\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u3002\u4E3A\u6B64\uFF0C\u6211\u4EEC\u9700\u8981\u4E00\u4E2A\u8EAB\u4EFD\u9A8C\u8BC1\u4EE4\u724C\uFF0C\u53EF\u4EE5\u901A\u8FC7\u9996\u5148\u4F7F\u7528"),He=r("strong"),Ui=n("notebook_login()"),Li=n(" \u51FD\u6570\u767B\u5F55 Hugging Face Hub \u83B7\u5F97\uFF1A"),Va=o(),f(it.$$.fragment),Ka=o(),Lt=r("p"),zi=n("\u8FD9\u5C06\u521B\u5EFA\u4E00\u4E2A\u5C0F\u90E8\u4EF6\uFF0C\u60A8\u53EF\u4EE5\u5728\u5176\u4E2D\u8F93\u5165\u60A8\u7684\u7528\u6237\u540D\u548C\u5BC6\u7801\uFF0C API \u4EE4\u724C\u5C06\u4FDD\u5B58\u5728~/.huggingface/\u4EE4\u724C.\u5982\u679C\u60A8\u5728\u7EC8\u7AEF\u4E2D\u8FD0\u884C\u4EE3\u7801\uFF0C\u5219\u53EF\u4EE5\u6539\u4E3A\u901A\u8FC7 CLI \u767B\u5F55\uFF1A"),Xa=o(),f(rt.$$.fragment),Wa=o(),ns=r("p"),Mi=n("\u5B8C\u6210\u6B64\u64CD\u4F5C\u540E\uFF0C\u6211\u4EEC\u53EF\u4EE5\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u6570\u636E\u96C6\u5B58\u50A8\u5E93 "),Te=r("strong"),Ci=n("create_repo()"),Bi=n(" \u529F\u80FD\uFF1A"),Ya=o(),f(pt.$$.fragment),sl=o(),f(ut.$$.fragment),tl=o(),z=r("p"),Qi=n("\u5728\u6B64\u793A\u4F8B\u4E2D\uFF0C\u6211\u4EEC\u521B\u5EFA\u4E86\u4E00\u4E2A\u540D\u4E3A\u7684\u7A7A\u6570\u636E\u96C6\u5B58\u50A8\u5E93 "),Ge=r("strong"),Zi=n("github-issues"),Ji=n(" \u5728\u4E0B\u9762 "),Ne=r("strong"),Vi=n("lewtun"),Ki=n(" \u7528\u6237\u540D\uFF08\u5F53\u60A8\u8FD0\u884C\u6B64\u4EE3\u7801\u65F6\uFF0C\u7528\u6237\u540D\u5E94\u8BE5\u662F\u60A8\u7684 Hub \u7528\u6237\u540D\uFF01\uFF09\u3002"),el=o(),f(is.$$.fragment),al=o(),rs=r("p"),Xi=n("\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5C06\u5B58\u50A8\u5E93\u4ECE Hub \u514B\u9686\u5230\u6211\u4EEC\u7684\u672C\u5730\u673A\u5668\uFF0C\u5E76\u5C06\u6211\u4EEC\u7684\u6570\u636E\u96C6\u6587\u4EF6\u590D\u5236\u5230\u5176\u4E2D\u3002 \u{1F917} Hub \u63D0\u4F9B\u4E86\u4E00\u4E2A\u65B9\u4FBF\u7684 "),Pe=r("strong"),Wi=n("Repository"),Yi=n(" \u7C7B\uFF0C\u5B83\u5305\u542B\u8BB8\u591A\u5E38\u89C1 Git \u547D\u4EE4\u7684\u7C7B\uFF0C\u56E0\u6B64\u8981\u514B\u9686\u8FDC\u7A0B\u5B58\u50A8\u5E93\uFF0C\u6211\u4EEC\u53EA\u9700\u8981\u63D0\u4F9B\u6211\u4EEC\u8981\u514B\u9686\u7684 URL \u548C\u672C\u5730\u8DEF\u5F84\uFF1A"),ll=o(),f(ot.$$.fragment),nl=o(),zt=r("p"),sr=n("\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u4F7F\u7528Git LFS\u8DDF\u8E2A\u5404\u79CD\u6587\u4EF6\u6269\u5C55\u540D\uFF08\u5982.bin\u3001.gz\u548C.zip\uFF09\uFF0C\u4EE5\u4FBF\u5728\u540C\u4E00Git\u5DE5\u4F5C\u6D41\u4E2D\u5BF9\u5927\u578B\u6587\u4EF6\u8FDB\u884C\u7248\u672C\u63A7\u5236\u3002\u60A8\u53EF\u4EE5\u5728\u5B58\u50A8\u5E93\u7684.gitattributes\u6587\u4EF6\u627E\u5230\u8DDF\u8E2A\u6587\u4EF6\u6269\u5C55\u540D\u7684\u5217\u8868\u3002\u8981\u5728\u5217\u8868\u4E2D\u5305\u542BJSON\u884C\u683C\u5F0F\uFF0C\u6211\u4EEC\u53EF\u4EE5\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\uFF1A"),il=o(),f(ht.$$.fragment),rl=o(),ps=r("p"),tr=n("\u7136\u540E\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528 "),De=r("strong"),er=n("Repository.push_to_hub()"),ar=n(" \u5C06\u6570\u636E\u96C6\u63A8\u9001\u5230 Hub\uFF1A"),pl=o(),f(gt.$$.fragment),ul=o(),us=r("p"),lr=n("\u5982\u679C\u6211\u4EEC\u5BFC\u822A\u5230\u5305\u542B\u5728 "),Re=r("strong"),nr=n("repo_url"),ir=n(" \uFF0C\u6211\u4EEC\u73B0\u5728\u5E94\u8BE5\u770B\u5230\u6211\u4EEC\u7684\u6570\u636E\u96C6\u6587\u4EF6\u5DF2\u7ECF\u4E0A\u4F20\u3002"),ol=o(),_t=r("div"),ct=r("img"),hl=o(),M=r("p"),rr=n("\u4ECE\u8FD9\u91CC\uFF0C\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u901A\u8FC7\u7B80\u5355\u5730\u63D0\u4F9B\u6765\u4E0B\u8F7D\u6570\u636E\u96C6 "),Ie=r("strong"),pr=n("load_dataset()"),ur=n(" \u4EE5\u5B58\u50A8\u5E93 ID \u4F5C\u4E3A "),Oe=r("strong"),or=n("path"),hr=n(" \u4E89\u8BBA\uFF1A"),gl=o(),f(ft.$$.fragment),_l=o(),f(mt.$$.fragment),cl=o(),Mt=r("p"),gr=n("\u5F88\u9177\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u6211\u4EEC\u7684\u6570\u636E\u96C6\u63A8\u9001\u5230 Hub\uFF0C\u5176\u4ED6\u4EBA\u53EF\u4EE5\u4F7F\u7528\u5B83\uFF01\u53EA\u5269\u4E0B\u4E00\u4EF6\u91CD\u8981\u7684\u4E8B\u60C5\u8981\u505A\uFF1A\u6DFB\u52A0\u4E00\u4E2A\u6570\u636E\u5361\u8FD9\u89E3\u91CA\u4E86\u8BED\u6599\u5E93\u662F\u5982\u4F55\u521B\u5EFA\u7684\uFF0C\u5E76\u4E3A\u4F7F\u7528\u6570\u636E\u96C6\u7684\u5176\u4ED6\u63D0\u4F9B\u4E00\u4E9B\u5176\u4ED6\u6709\u7528\u7684\u4FE1\u606F\u3002"),fl=o(),f(os.$$.fragment),ml=o(),bt=r("h2"),_r=n("\u521B\u5EFA\u6570\u636E\u96C6\u5361\u7247"),bl=o(),Ct=r("p"),cr=n("\u6709\u636E\u53EF\u67E5\u7684\u6570\u636E\u96C6\u66F4\u6709\u53EF\u80FD\u5BF9\u5176\u4ED6\u4EBA\uFF08\u5305\u62EC\u4F60\u672A\u6765\u7684\u81EA\u5DF1\uFF01\uFF09\u6709\u7528\uFF0C\u56E0\u4E3A\u5B83\u4EEC\u63D0\u4F9B\u4E86\u4E0A\u4E0B\u6587\uFF0C\u4F7F\u7528\u6237\u80FD\u591F\u51B3\u5B9A\u6570\u636E\u96C6\u662F\u5426\u4E0E\u4ED6\u4EEC\u7684\u4EFB\u52A1\u76F8\u5173\uFF0C\u5E76\u8BC4\u4F30\u4EFB\u4F55\u6F5C\u5728\u7684\u504F\u89C1\u6216\u4E0E\u4F7F\u7528\u76F8\u5173\u7684\u98CE\u9669\u3002\u5728 Hugging Face Hub \u4E0A\uFF0C\u6B64\u4FE1\u606F\u5B58\u50A8\u5728\u6BCF\u4E2A\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u7684\u81EA\u8FF0\u6587\u4EF6\u6587\u4EF6\u3002\u5728\u521B\u5EFA\u6B64\u6587\u4EF6\u4E4B\u524D\uFF0C\u60A8\u5E94\u8BE5\u6267\u884C\u4E24\u4E2A\u4E3B\u8981\u6B65\u9AA4\uFF1A"),dl=o(),Bt=r("ol"),dt=r("li"),fr=n("\u4F7F\u7528"),xt=r("a"),mr=n("\u6570\u636E\u96C6\u6807\u7B7E\u5E94\u7528\u7A0B\u5E8F"),br=n(" \u521B\u5EFAYAML\u683C\u5F0F\u7684\u5143\u6570\u636E\u6807\u7B7E\u3002\u8FD9\u4E9B\u6807\u7B7E\u7528\u4E8E\u5404\u79CD\u5404\u6837\u7684\u641C\u7D22\u529F\u80FD\uFF0C\u5E76\u786E\u4FDD\u60A8\u7684\u6570\u636E\u96C6\u53EF\u4EE5\u5F88\u5BB9\u6613\u5730\u88AB\u793E\u533A\u6210\u5458\u627E\u5230\u3002\u56E0\u4E3A\u6211\u4EEC\u5DF2\u7ECF\u5728\u8FD9\u91CC\u521B\u5EFA\u4E86\u4E00\u4E2A\u81EA\u5B9A\u4E49\u6570\u636E\u96C6\uFF0C\u6240\u4EE5\u60A8\u9700\u8981\u514B\u9686\u6570\u636E\u96C6\u6807\u7B7E\u5B58\u50A8\u5E93\u5E76\u5728\u672C\u5730\u8FD0\u884C\u5E94\u7528\u7A0B\u5E8F\u3002\u5B83\u7684\u754C\u9762\u662F\u8FD9\u6837\u7684:"),xl=o(),jt=r("div"),$t=r("img"),jl=o(),hs=r("p"),dr=n("2.\u9605\u8BFB"),vt=r("a"),xr=n("\u{1F917} Datasets guide"),jr=n(" \u5173\u4E8E\u521B\u5EFA\u4FE1\u606F\u6027\u6570\u636E\u96C6\u5361\u7247\u7684\u6307\u5357\uFF0C\u5E76\u5C06\u5176\u4F5C\u4E3A\u6A21\u677F\u4F7F\u7528\u3002"),$l=o(),gs=r("p"),$r=n("\u60A8\u53EF\u4EE5\u521B\u5EFA\u81EA\u8FF0\u6587\u4EF6\u6587\u4EF6\u76F4\u63A5\u5728Hub\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u5728\u91CC\u9762\u627E\u5230\u6A21\u677F\u6570\u636E\u96C6\u5361\u7247 "),Ae=r("strong"),vr=n("lewtun/github-issues"),wr=n(" \u6570\u636E\u96C6\u5B58\u50A8\u5E93\u3002\u586B\u5199\u597D\u7684\u6570\u636E\u96C6\u5361\u7247\u7684\u5C4F\u5E55\u622A\u56FE\u5982\u4E0B\u6240\u793A\u3002!"),vl=o(),wt=r("div"),yt=r("img"),wl=o(),f(_s.$$.fragment),yl=o(),Qt=r("p"),yr=n("\u5F88\u597D! \u6211\u4EEC\u5728\u672C\u8282\u4E2D\u770B\u5230\uFF0C\u521B\u5EFA\u4E00\u4E2A\u597D\u7684\u6570\u636E\u96C6\u53EF\u80FD\u975E\u5E38\u590D\u6742\uFF0C\u4F46\u5E78\u8FD0\u7684\u662F\uFF0C\u5C06\u5176\u4E0A\u4F20\u5E76\u4E0E\u793E\u533A\u5171\u4EAB\u4F1A\u5F88\u5BB9\u6613\u5B9E\u73B0\u3002\u5728\u4E0B\u4E00\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528\u6211\u4EEC\u7684\u65B0\u6570\u636E\u96C6\u521B\u5EFA\u4E00\u4E2A\u5E26\u6709 \u{1F917} Datasets\u7684\u8BED\u4E49\u641C\u7D22\u5F15\u64CE\uFF0C\u8BE5\u6570\u636E\u96C6\u53EF\u4EE5\u5C06issue\u4E0E\u6700\u76F8\u5173\u7684issue\u548C\u8BC4\u8BBA\u8FDB\u884C\u5339\u914D\u3002"),kl=o(),f(cs.$$.fragment),this.h()},l(s){const a=tu('[data-svelte="svelte-1phssyn"]',document.head);_=p(a,"META",{name:!0,content:!0}),a.forEach(t),v=h(s),c=p(s,"H1",{id:!0});var Se=u(c);$=i(Se,"\u521B\u5EFA\u81EA\u5DF1\u7684\u6570\u636E\u96C6"),Se.forEach(t),T=h(s),m(y.$$.fragment,s),k=h(s),E=p(s,"P",{});var kt=u(E);R=i(kt,"\u6709\u65F6\uFF0C\u4E0D\u5B58\u5728\u5408\u9002\u7684\u6570\u636E\u96C6\u9002\u7528\u4E8E\u60A8\u6784\u5EFA NLP \u5E94\u7528\uFF0C\u56E0\u6B64\u60A8\u9700\u8981\u81EA\u5DF1\u521B\u5EFA\u3002\u5728\u672C\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u5411\u60A8\u5C55\u793A\u5982\u4F55\u521B\u5EFA\u4E00\u4E2A"),D=p(kt,"A",{href:!0,rel:!0});var Fe=u(D);Ht=i(Fe,"GitHub issues"),Fe.forEach(t),Ml=i(kt,"\u7684\u8BED\u6599\u5E93\uFF0CGitHub issues\u901A\u5E38\u7528\u4E8E\u8DDF\u8E2A GitHub \u5B58\u50A8\u5E93\u4E2D\u7684\u9519\u8BEF\u6216\u529F\u80FD\u3002\u8BE5\u8BED\u6599\u5E93\u53EF\u7528\u4E8E\u5404\u79CD\u76EE\u7684\uFF0C\u5305\u62EC\uFF1A"),kt.forEach(t),ze=h(s),I=p(s,"UL",{});var Q=u(I);ee=p(Q,"LI",{});var Ue=u(ee);Cl=i(Ue,"\u63A2\u7D22\u5173\u95ED\u672A\u89E3\u51B3\u7684issue\u6216\u62C9\u53D6\u8BF7\u6C42\u9700\u8981\u591A\u957F\u65F6\u95F4"),Ue.forEach(t),Bl=h(Q),ms=p(Q,"LI",{});var Et=u(ms);Ql=i(Et,"\u8BAD\u7EC3\u4E00\u4E2A"),ae=p(Et,"EM",{});var Le=u(ae);Zl=i(Le,"\u591A\u6807\u7B7E\u5206\u7C7B\u5668"),Le.forEach(t),Jl=i(Et,"\u53EF\u4EE5\u6839\u636Eissue\u7684\u63CF\u8FF0\uFF08\u4F8B\u5982\uFF0C\u201C\u9519\u8BEF\u201D\u3001\u201C\u589E\u5F3A\u201D\u6216\u201Cissue\u201D\uFF09\u7528\u5143\u6570\u636E\u6807\u8BB0issue"),Et.forEach(t),Vl=h(Q),le=p(Q,"LI",{});var Nr=u(le);Kl=i(Nr,"\u521B\u5EFA\u8BED\u4E49\u641C\u7D22\u5F15\u64CE\u4EE5\u67E5\u627E\u4E0E\u7528\u6237\u67E5\u8BE2\u5339\u914D\u7684issue"),Nr.forEach(t),Q.forEach(t),Me=h(s),Tt=p(s,"P",{});var Pr=u(Tt);Xl=i(Pr,"\u5728\u8FD9\u91CC\uFF0C\u6211\u4EEC\u5C06\u4E13\u6CE8\u4E8E\u521B\u5EFA\u8BED\u6599\u5E93\uFF0C\u5728\u4E0B\u4E00\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u63A2\u7D22\u8BED\u4E49\u641C\u7D22\u3002\u6211\u4EEC\u5C06\u4F7F\u7528\u4E0E\u6D41\u884C\u7684\u5F00\u6E90\u9879\u76EE\u76F8\u5173\u7684 GitHub issue\uFF1A\u{1F917} Datasets\uFF01\u63A5\u4E0B\u6765\u8BA9\u6211\u4EEC\u770B\u770B\u5982\u4F55\u83B7\u53D6\u6570\u636E\u5E76\u63A2\u7D22\u8FD9\u4E9Bissue\u4E2D\u5305\u542B\u7684\u4FE1\u606F\u3002"),Pr.forEach(t),Ce=h(s),bs=p(s,"H2",{id:!0});var Dr=u(bs);Wl=i(Dr,"\u83B7\u53D6\u6570\u636E"),Dr.forEach(t),Be=h(s),Z=p(s,"P",{});var ql=u(Z);Yl=i(ql,"\u60A8\u53EF\u4EE5\u6D4F\u89C8 \u{1F917} Datasets \u4E2D\u7684\u6240\u6709issue"),ds=p(ql,"A",{href:!0,rel:!0});var Rr=u(ds);sn=i(Rr,"Issues tab"),Rr.forEach(t),tn=i(ql,".\u5982\u4EE5\u4E0B\u5C4F\u5E55\u622A\u56FE\u6240\u793A\uFF0C\u5728\u64B0\u5199\u672C\u6587\u65F6\uFF0C\u6709 331 \u4E2A\u672A\u89E3\u51B3\u7684issue\u548C 668 \u4E2A\u5DF2\u5173\u95ED\u7684issue\u3002"),ql.forEach(t),Qe=h(s),xs=p(s,"DIV",{class:!0});var Ir=u(xs);js=p(Ir,"IMG",{src:!0,alt:!0,width:!0}),Ir.forEach(t),Ze=h(s),Gt=p(s,"P",{});var Or=u(Gt);en=i(Or,"\u5982\u679C\u60A8\u5355\u51FB\u5176\u4E2D\u4E00\u4E2Aissue\uFF0C\u60A8\u4F1A\u53D1\u73B0\u5B83\u5305\u542B\u4E00\u4E2A\u6807\u9898\u3001\u4E00\u4E2A\u63CF\u8FF0\u548C\u4E00\u7EC4\u8868\u5F81\u8BE5issue\u7684\u6807\u7B7E\u3002\u4E0B\u9762\u7684\u5C4F\u5E55\u622A\u56FE\u663E\u793A\u4E86\u4E00\u4E2A\u793A\u4F8B."),Or.forEach(t),Je=h(s),$s=p(s,"DIV",{class:!0});var Ar=u($s);vs=p(Ar,"IMG",{src:!0,alt:!0,width:!0}),Ar.forEach(t),Ve=h(s),O=p(s,"P",{});var Zt=u(O);an=i(Zt,"\u8981\u4E0B\u8F7D\u6240\u6709\u5B58\u50A8\u5E93\u7684issue\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528"),ws=p(Zt,"A",{href:!0,rel:!0});var Sr=u(ws);ln=i(Sr,"GitHub REST API"),Sr.forEach(t),nn=i(Zt,"\u6295\u7968"),ys=p(Zt,"A",{href:!0,rel:!0});var Fr=u(ys);rn=i(Fr,"Issues endpoint"),Fr.forEach(t),pn=i(Zt,".\u6B64\u8282\u70B9\u8FD4\u56DE\u4E00\u4E2A JSON \u5BF9\u8C61\u5217\u8868\uFF0C\u6BCF\u4E2A\u5BF9\u8C61\u5305\u542B\u5927\u91CF\u5B57\u6BB5\uFF0C\u5176\u4E2D\u5305\u62EC\u6807\u9898\u548C\u63CF\u8FF0\u4EE5\u53CA\u6709\u5173issue\u72B6\u6001\u7684\u5143\u6570\u636E\u7B49\u3002"),Zt.forEach(t),Ke=h(s),J=p(s,"P",{});var Hl=u(J);un=i(Hl,"\u4E0B\u8F7Dissue\u7684\u4E00\u79CD\u4FBF\u6377\u65B9\u5F0F\u662F\u901A\u8FC7 "),ne=p(Hl,"STRONG",{});var Ur=u(ne);on=i(Ur,"requests"),Ur.forEach(t),hn=i(Hl," \u5E93\uFF0C\u8FD9\u662F\u7528 Python \u4E2D\u53D1\u51FA HTTP \u8BF7\u6C42\u7684\u6807\u51C6\u65B9\u5F0F\u3002\u60A8\u53EF\u4EE5\u901A\u8FC7\u8FD0\u884C\u4EE5\u4E0B\u7684\u4EE3\u7801\u6765\u5B89\u88C5\u5E93\uFF1A"),Hl.forEach(t),Xe=h(s),m(ks.$$.fragment,s),We=h(s),A=p(s,"P",{});var Jt=u(A);gn=i(Jt,"\u5B89\u88C5\u5E93\u540E\uFF0C\u60A8\u901A\u8FC7\u8C03\u7528 "),ie=p(Jt,"STRONG",{});var Lr=u(ie);_n=i(Lr,"requests.get()"),Lr.forEach(t),cn=i(Jt," \u529F\u80FD\u6765\u83B7\u53D6"),re=p(Jt,"STRONG",{});var zr=u(re);fn=i(zr,"Issues"),zr.forEach(t),mn=i(Jt,"\u8282\u70B9\u3002\u4F8B\u5982\uFF0C\u60A8\u53EF\u4EE5\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u6765\u83B7\u53D6\u7B2C\u4E00\u9875\u4E0A\u7684\u7B2C\u4E00\u4E2AIssues\uFF1A"),Jt.forEach(t),Ye=h(s),m(Es.$$.fragment,s),sa=h(s),V=p(s,"P",{});var Tl=u(V);bn=i(Tl,"\u8FD9 "),pe=p(Tl,"STRONG",{});var Mr=u(pe);dn=i(Mr,"response"),Mr.forEach(t),xn=i(Tl," \u5BF9\u8C61\u5305\u542B\u5F88\u591A\u5173\u4E8E\u8BF7\u6C42\u7684\u6709\u7528\u4FE1\u606F\uFF0C\u5305\u62EC HTTP \u72B6\u6001\u7801\uFF1A"),Tl.forEach(t),ta=h(s),m(qs.$$.fragment,s),ea=h(s),m(Hs.$$.fragment,s),aa=h(s),S=p(s,"P",{});var Vt=u(S);jn=i(Vt,"\u5176\u4E2D\u4E00\u4E2A\u72B6\u6001\u7801 "),ue=p(Vt,"STRONG",{});var Cr=u(ue);$n=i(Cr,"200"),Cr.forEach(t),vn=i(Vt," \u8868\u793A\u8BF7\u6C42\u6210\u529F\uFF08\u60A8\u53EF\u4EE5"),Ts=p(Vt,"A",{href:!0,rel:!0});var Br=u(Ts);wn=i(Br,"\u5728\u8FD9\u91CC"),Br.forEach(t),yn=i(Vt,"\u627E\u5230\u53EF\u80FD\u7684 HTTP \u72B6\u6001\u4EE3\u7801\u5217\u8868\uFF09\u3002\u7136\u800C\uFF0C\u6211\u4EEC\u771F\u6B63\u611F\u5174\u8DA3\u7684\u662F\u6709\u6548\u7684\u4FE1\u606F\uFF0C\u7531\u4E8E\u6211\u4EEC\u77E5\u9053\u6211\u4EEC\u7684issues\u662F JSON \u683C\u5F0F\uFF0C\u8BA9\u6211\u4EEC\u6309\u5982\u4E0B\u65B9\u5F0F\u67E5\u770B\u6240\u6709\u7684\u4FE1\u606F\uFF1A"),Vt.forEach(t),la=h(s),m(Gs.$$.fragment,s),na=h(s),m(Ns.$$.fragment,s),ia=h(s),G=p(s,"P",{});var C=u(G);kn=i(C,"\u54C7\uFF0C\u8FD9\u662F\u5F88\u591A\u4FE1\u606F\uFF01\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\u6709\u7528\u7684\u5B57\u6BB5\uFF0C\u4F8B\u5982 "),oe=p(C,"STRONG",{});var Qr=u(oe);En=i(Qr,"\u6807\u9898"),Qr.forEach(t),qn=i(C," , "),he=p(C,"STRONG",{});var Zr=u(he);Hn=i(Zr,"\u5185\u5BB9"),Zr.forEach(t),Tn=i(C," \uFF0C  "),ge=p(C,"STRONG",{});var Jr=u(ge);Gn=i(Jr,"\u53C2\u4E0E\u7684\u6210\u5458"),Jr.forEach(t),Nn=i(C,"\uFF0C "),_e=p(C,"STRONG",{});var Vr=u(_e);Pn=i(Vr,"issue\u7684\u63CF\u8FF0\u4FE1\u606F"),Vr.forEach(t),Dn=i(C,"\uFF0C\u4EE5\u53CA\u6253\u5F00issue\u7684GitHub \u7528\u6237\u7684\u4FE1\u606F\u3002"),C.forEach(t),ra=h(s),m(K.$$.fragment,s),pa=h(s),P=p(s,"P",{});var fs=u(P);Rn=i(fs,"\u5982 GitHub"),Ps=p(fs,"A",{href:!0,rel:!0});var Kr=u(Ps);In=i(Kr,"\u6587\u6863"),Kr.forEach(t),On=i(fs," \u4E2D\u6240\u8FF0\uFF0C\u672A\u7ECF\u8EAB\u4EFD\u9A8C\u8BC1\u7684\u8BF7\u6C42\u9650\u5236\u4E3A\u6BCF\u5C0F\u65F6 60 \u4E2A\u8BF7\u6C42\u3002\u867D\u7136\u4F60\u53EF\u4EE5\u589E\u52A0 "),ce=p(fs,"STRONG",{});var Xr=u(ce);An=i(Xr,"per_page"),Xr.forEach(t),Sn=i(fs," \u67E5\u8BE2\u53C2\u6570\u4EE5\u51CF\u5C11\u60A8\u53D1\u51FA\u7684\u8BF7\u6C42\u6570\u91CF\uFF0C\u60A8\u4ECD\u7136\u4F1A\u906D\u5230\u4EFB\u4F55\u8D85\u8FC7\u51E0\u5343\u4E2Aissue\u7684\u5B58\u50A8\u5E93\u7684\u901F\u7387\u9650\u5236\u3002\u56E0\u6B64\uFF0C\u60A8\u5E94\u8BE5\u5173\u6CE8 GitHub \u7684"),Ds=p(fs,"A",{href:!0,rel:!0});var Wr=u(Ds);Fn=i(Wr,"\u521B\u5EFA\u4E2A\u4EBA\u8EAB\u4EFD\u4EE4\u724C"),Wr.forEach(t),Un=i(fs,"\uFF0C\u521B\u5EFA\u4E00\u4E2A\u4E2A\u4EBA\u8BBF\u95EE\u4EE4\u724C\u8FD9\u6837\u60A8\u5C31\u53EF\u4EE5\u5C06\u901F\u7387\u9650\u5236\u63D0\u9AD8\u5230\u6BCF\u5C0F\u65F6 5,000 \u4E2A\u8BF7\u6C42\u3002\u83B7\u5F97\u4EE4\u724C\u540E\uFF0C\u60A8\u53EF\u4EE5\u5C06\u5176\u5305\u542B\u5728\u8BF7\u6C42\u6807\u5934\u4E2D\uFF1A"),fs.forEach(t),ua=h(s),m(Rs.$$.fragment,s),oa=h(s),m(X.$$.fragment,s),ha=h(s),Nt=p(s,"P",{});var Yr=u(Nt);Ln=i(Yr,"\u73B0\u5728\u6211\u4EEC\u6709\u4E86\u8BBF\u95EE\u4EE4\u724C\uFF0C\u8BA9\u6211\u4EEC\u521B\u5EFA\u4E00\u4E2A\u53EF\u4EE5\u4ECE GitHub \u5B58\u50A8\u5E93\u4E0B\u8F7D\u6240\u6709issue\u7684\u51FD\u6570\uFF1A"),Yr.forEach(t),ga=h(s),m(Is.$$.fragment,s),_a=h(s),W=p(s,"P",{});var Gl=u(W);zn=i(Gl,"\u73B0\u5728\u6211\u4EEC\u53EF\u4EE5\u8C03\u7528 "),fe=p(Gl,"STRONG",{});var sp=u(fe);Mn=i(sp,"fetch_issues()"),sp.forEach(t),Cn=i(Gl," \u6279\u91CF\u4E0B\u8F7D\u6240\u6709issue\uFF0C\u907F\u514D\u8D85\u8FC7GitHub\u6BCF\u5C0F\u65F6\u7684\u8BF7\u6C42\u6570\u9650\u5236\uFF1B\u7ED3\u679C\u5C06\u5B58\u50A8\u5728repository_name-issues.jsonl\u6587\u4EF6\uFF0C\u5176\u4E2D\u6BCF\u4E00\u884C\u90FD\u662F\u4E00\u4E2A JSON \u5BF9\u8C61\uFF0C\u4EE3\u8868\u4E00\u4E2Aissue\u3002\u8BA9\u6211\u4EEC\u4F7F\u7528\u8FD9\u4E2A\u51FD\u6570\u4ECE \u{1F917} Datasets\u4E2D\u6293\u53D6\u6240\u6709issue\uFF1A"),Gl.forEach(t),ca=h(s),m(Os.$$.fragment,s),fa=h(s),Y=p(s,"P",{});var Nl=u(Y);Bn=i(Nl,"\u4E0B\u8F7Dissue\u540E\uFF0C\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528\u6211\u4EEC "),Pt=p(Nl,"A",{href:!0});var tp=u(Pt);Qn=i(tp,"section 2"),tp.forEach(t),Zn=i(Nl,"\u65B0\u5B66\u4F1A\u7684\u65B9\u6CD5\u5728\u672C\u5730\u52A0\u8F7D\u5B83\u4EEC:"),Nl.forEach(t),ma=h(s),m(As.$$.fragment,s),ba=h(s),m(Ss.$$.fragment,s),da=h(s),F=p(s,"P",{});var Kt=u(F);Jn=i(Kt,"\u592A\u597D\u4E86\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u4ECE\u5934\u5F00\u59CB\u521B\u5EFA\u4E86\u6211\u4EEC\u7684\u7B2C\u4E00\u4E2A\u6570\u636E\u96C6\uFF01\u4F46\u662F\u4E3A\u4EC0\u4E48\u4F1A\u6709\u51E0\u5343\u4E2Aissue\uFF0C\u800C\u{1F917} Datasets\u5B58\u50A8\u5E93\u4E2D\u7684"),Fs=p(Kt,"A",{href:!0,rel:!0});var ep=u(Fs);Vn=i(ep,"Issues \u9009\u9879\u5361"),ep.forEach(t),Kn=i(Kt,"\u603B\u5171\u5374\u53EA\u663E\u793A\u4E86\u5927\u7EA6 1,000 \u4E2Aissue\u{1F914}\uFF1F\u5982 GitHub "),Us=p(Kt,"A",{href:!0,rel:!0});var ap=u(Us);Xn=i(ap,"\u6587\u6863"),ap.forEach(t),Wn=i(Kt,"\u4E2D\u6240\u8FF0\uFF0C\u90A3\u662F\u56E0\u4E3A\u6211\u4EEC\u4E5F\u4E0B\u8F7D\u4E86\u6240\u6709\u7684\u62C9\u53D6\u8BF7\u6C42\uFF1A"),Kt.forEach(t),xa=h(s),Dt=p(s,"BLOCKQUOTE",{});var lp=u(Dt);me=p(lp,"P",{});var np=u(me);Yn=i(np,"Git Hub\u7684REST API v3\u8BA4\u4E3A\u6BCF\u4E2Apull\u8BF7\u6C42\u90FD\u662F\u4E00\u4E2Aissue\uFF0C\u4F46\u5E76\u4E0D\u662F\u6BCF\u4E2Aissue\u90FD\u662F\u4E00\u4E2Apull\u8BF7\u6C42\u3002\u56E0\u6B64\uFF0C\u201CIssues\u201D\u8282\u70B9\u53EF\u80FD\u5728\u54CD\u5E94\u4E2D\u540C\u65F6\u8FD4\u56DEissue\u548C\u62C9\u53D6\u8BF7\u6C42\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7pull_request \u7684 key\u6765\u8FA8\u522Bpull\u8BF7\u6C42\u3002\u8BF7\u6CE8\u610F\uFF0C\u4ECE\u201CIssues\u201D\u8282\u70B9\u8FD4\u56DE\u7684pull\u8BF7\u6C42\u7684id\u5C06\u662F\u4E00\u4E2Aissue id\u3002"),np.forEach(t),lp.forEach(t),ja=h(s),Rt=p(s,"P",{});var ip=u(Rt);si=i(ip,"\u7531\u4E8Eissue\u548Cpull request\u7684\u5185\u5BB9\u6709\u5F88\u5927\u7684\u4E0D\u540C\uFF0C\u6211\u4EEC\u5148\u505A\u4E00\u4E9B\u5C0F\u7684\u9884\u5904\u7406\uFF0C\u8BA9\u6211\u4EEC\u80FD\u591F\u533A\u5206\u5B83\u4EEC\u3002"),ip.forEach(t),$a=h(s),Ls=p(s,"H2",{id:!0});var rp=u(Ls);ti=i(rp,"\u6E05\u7406\u6570\u636E"),rp.forEach(t),va=h(s),q=p(s,"P",{});var N=u(q);ei=i(N,"\u4E0A\u9762\u6765\u81EA GitHub \u6587\u6863\u7684\u7247\u6BB5\u544A\u8BC9\u6211\u4EEC\uFF0C "),be=p(N,"STRONG",{});var pp=u(be);ai=i(pp,"pull_request"),pp.forEach(t),li=i(N," \u5217\u53EF\u7528\u4E8E\u533A\u5206issue\u548C\u62C9\u53D6\u8BF7\u6C42\u3002\u8BA9\u6211\u4EEC\u968F\u673A\u6311\u9009\u4E00\u4E9B\u6837\u672C\uFF0C\u770B\u770B\u6709\u4EC0\u4E48\u4E0D\u540C\u3002\u6211\u4EEC\u5C06\u4F7F\u7528\u5728"),It=p(N,"A",{href:!0});var up=u(It);ni=i(up,"\u7B2C\u4E09\u8282"),up.forEach(t),ii=i(N,", \u5B66\u4E60\u7684\u65B9\u6CD5\uFF0C\u4F7F\u7528 "),de=p(N,"STRONG",{});var op=u(de);ri=i(op,"Dataset.shuffle()"),op.forEach(t),pi=i(N," \u548C "),xe=p(N,"STRONG",{});var hp=u(xe);ui=i(hp,"Dataset.select()"),hp.forEach(t),oi=i(N," \u62BD\u53D6\u4E00\u4E2A\u968F\u673A\u6837\u672C\uFF0C\u7136\u540E\u5C06 "),je=p(N,"STRONG",{});var gp=u(je);hi=i(gp,"html_url"),gp.forEach(t),gi=i(N," \u548C "),$e=p(N,"STRONG",{});var _p=u($e);_i=i(_p,"pull_request"),_p.forEach(t),ci=i(N," \u5217\u4F7F\u7528zip\u51FD\u6570\u6253\u5305\uFF0C\u4EE5\u4FBF\u6211\u4EEC\u53EF\u4EE5\u6BD4\u8F83\u5404\u79CD URL\uFF1A"),N.forEach(t),wa=h(s),m(zs.$$.fragment,s),ya=h(s),m(Ms.$$.fragment,s),ka=h(s),Ot=p(s,"P",{});var cp=u(Ot);fi=i(cp,"\u8FD9\u91CC\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\uFF0C\u6BCF\u4E2Apull\u8BF7\u6C42\u90FD\u4E0E\u5404\u79CDurl\u76F8\u5173\u8054\uFF0C\u800C\u666E\u901Aissue\u53EA\u6709\u4E00\u4E2ANone\u6761\u76EE\u3002\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528\u8FD9\u4E00\u70B9\u4E0D\u540C\u6765\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684is_pull_request\u5217\u901A\u8FC7\u68C0\u67E5pull_request\u5B57\u6BB5\u662F\u5426\u4E3ANone\u6765\u533A\u5206\u5B83\u4EEC:"),cp.forEach(t),Ea=h(s),m(Cs.$$.fragment,s),qa=h(s),m(ss.$$.fragment,s),Ha=h(s),At=p(s,"P",{});var fp=u(At);mi=i(fp,"\u5C3D\u7BA1\u6211\u4EEC\u53EF\u4EE5\u901A\u8FC7\u5220\u9664\u6216\u91CD\u547D\u540D\u67D0\u4E9B\u5217\u6765\u8FDB\u4E00\u6B65\u6E05\u7406\u6570\u636E\u96C6\uFF0C\u4F46\u5728\u6B64\u9636\u6BB5\u5C3D\u53EF\u80FD\u4FDD\u6301\u6570\u636E\u96C6\u201C\u539F\u59CB\u201D\u72B6\u6001\u901A\u5E38\u662F\u4E00\u4E2A\u5F88\u597D\u7684\u505A\u6CD5\uFF0C\u4EE5\u4FBF\u5B83\u53EF\u4EE5\u5728\u591A\u4E2A\u5E94\u7528\u7A0B\u5E8F\u4E2D\u8F7B\u677E\u4F7F\u7528\u3002\u5728\u6211\u4EEC\u5C06\u6570\u636E\u96C6\u63A8\u9001\u5230 Hugging Face Hub \u4E4B\u524D\uFF0C\u8BA9\u6211\u4EEC\u518D\u6DFB\u52A0\u4E00\u4E9B\u7F3A\u5C11\u7684\u6570\u636E\uFF1A\u4E0E\u6BCF\u4E2Aissue\u548C\u62C9\u53D6\u8BF7\u6C42\u76F8\u5173\u7684\u8BC4\u8BBA\u3002\u6211\u4EEC\u63A5\u4E0B\u6765\u5C06\u6DFB\u52A0\u5B83\u4EEC\u2014\u2014\u4F60\u731C\u5BF9\u4E86\u2014\u2014\u6211\u4EEC\u5C06\u4F9D\u7136\u4F7F\u7528GitHub REST API\uFF01"),fp.forEach(t),Ta=h(s),Bs=p(s,"H2",{id:!0});var mp=u(Bs);bi=i(mp,"\u6269\u5145\u6570\u636E\u96C6"),mp.forEach(t),Ga=h(s),St=p(s,"P",{});var bp=u(St);di=i(bp,"\u5982\u4EE5\u4E0B\u5C4F\u5E55\u622A\u56FE\u6240\u793A\uFF0C\u4E0Eissue\u6216\u62C9\u53D6\u8BF7\u6C42\u76F8\u5173\u7684\u8BC4\u8BBA\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u4FE1\u606F\uFF0C\u7279\u522B\u662F\u5982\u679C\u6211\u4EEC\u6709\u5174\u8DA3\u6784\u5EFA\u641C\u7D22\u5F15\u64CE\u6765\u56DE\u7B54\u7528\u6237\u5BF9\u8FD9\u4E2A\u9879\u76EE\u7684\u7591\u95EE\u3002"),bp.forEach(t),Na=h(s),Qs=p(s,"DIV",{class:!0});var dp=u(Qs);Zs=p(dp,"IMG",{src:!0,alt:!0,width:!0}),dp.forEach(t),Pa=h(s),ts=p(s,"P",{});var Pl=u(ts);xi=i(Pl,"GitHub REST API \u63D0\u4F9B\u4E86\u4E00\u4E2A "),Js=p(Pl,"A",{href:!0,rel:!0});var xp=u(Js);ji=i(xp,"\u8BC4\u8BBA\u8282\u70B9"),xp.forEach(t),$i=i(Pl," \u8FD4\u56DE\u4E0Eissue\u7F16\u53F7\u76F8\u5173\u7684\u6240\u6709\u8BC4\u8BBA\u3002\u8BA9\u6211\u4EEC\u6D4B\u8BD5\u8282\u70B9\u4EE5\u67E5\u770B\u5B83\u8FD4\u56DE\u7684\u5185\u5BB9\uFF1A"),Pl.forEach(t),Da=h(s),m(Vs.$$.fragment,s),Ra=h(s),m(Ks.$$.fragment,s),Ia=h(s),Ft=p(s,"P",{});var jp=u(Ft);vi=i(jp,"\u6211\u4EEC\u53EF\u4EE5\u770B\u5230\u6CE8\u91CA\u5B58\u50A8\u5728body\u5B57\u6BB5\u4E2D\uFF0C\u6240\u4EE5\u8BA9\u6211\u4EEC\u7F16\u5199\u4E00\u4E2A\u7B80\u5355\u7684\u51FD\u6570\uFF0C\u901A\u8FC7\u5728response.json()\u4E2D\u4E3A\u6BCF\u4E2A\u5143\u7D20\u6311\u9009body\u5185\u5BB9\u6765\u8FD4\u56DE\u4E0E\u67D0\u4E2Aissue\u76F8\u5173\u7684\u6240\u6709\u8BC4\u8BBA\uFF1A"),jp.forEach(t),Oa=h(s),m(Xs.$$.fragment,s),Aa=h(s),m(Ws.$$.fragment,s),Sa=h(s),U=p(s,"P",{});var Xt=u(U);wi=i(Xt,"\u8FD9\u770B\u8D77\u6765\u4E0D\u9519\uFF0C\u6240\u4EE5\u8BA9\u6211\u4EEC\u4F7F\u7528 "),ve=p(Xt,"STRONG",{});var $p=u(ve);yi=i($p,"Dataset.map()"),$p.forEach(t),ki=i(Xt," \u65B9\u6CD5\u5728\u6211\u4EEC\u6570\u636E\u96C6\u4E2D\u6BCF\u4E2Aissue\u7684\u6DFB\u52A0\u4E00\u4E2A"),we=p(Xt,"STRONG",{});var vp=u(we);Ei=i(vp,"comments"),vp.forEach(t),qi=i(Xt,"\u5217\uFF1A"),Xt.forEach(t),Fa=h(s),m(Ys.$$.fragment,s),Ua=h(s),Ut=p(s,"P",{});var wp=u(Ut);Hi=i(wp,"\u6700\u540E\u4E00\u6B65\u662F\u5C06\u589E\u5F3A\u6570\u636E\u96C6\u4E0E\u539F\u59CB\u6570\u636E\u4FDD\u5B58\u5728\u4E00\u8D77\uFF0C\u4EE5\u4FBF\u6211\u4EEC\u53EF\u4EE5\u5C06\u5B83\u4EEC\u90FD\u63A8\u9001\u5230 Hub\uFF1A"),wp.forEach(t),La=h(s),m(st.$$.fragment,s),za=h(s),B=p(s,"H2",{class:!0});var Dl=u(B);es=p(Dl,"A",{id:!0,class:!0,href:!0});var yp=u(es);ye=p(yp,"SPAN",{});var kp=u(ye);m(tt.$$.fragment,kp),kp.forEach(t),yp.forEach(t),Ti=h(Dl),ke=p(Dl,"SPAN",{});var Ep=u(ke);Gi=i(Ep,"\u5C06\u6570\u636E\u96C6\u4E0A\u4F20\u5230 Hugging Face Hub"),Ep.forEach(t),Dl.forEach(t),Ma=h(s),m(et.$$.fragment,s),Ca=h(s),L=p(s,"P",{});var Wt=u(L);Ni=i(Wt,"\u73B0\u5728\u6211\u4EEC\u6709\u4E86\u6211\u4EEC\u7684\u589E\u5F3A\u6570\u636E\u96C6\uFF0C\u662F\u65F6\u5019\u5C06\u5B83\u63A8\u9001\u5230 Hub \u5E76\u4E14\u4E0E\u793E\u533A\u5171\u4EAB\u5B83\uFF01\u8981\u4E0A\u4F20\u6570\u636E\u96C6\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528"),at=p(Wt,"A",{href:!0,rel:!0});var qp=u(at);Pi=i(qp,"\u{1F917} Hub \u5E93"),qp.forEach(t),Di=i(Wt,"\uFF0C\u5B83\u5141\u8BB8\u6211\u4EEC\u901A\u8FC7 Python API \u4E0E Hugging Face Hub \u8FDB\u884C\u4EA4\u4E92\u3002 \u{1F917} Hub \u9884\u88C5\u4E86\u{1F917} Transformers\uFF0C\u6240\u4EE5\u6211\u4EEC\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u5B83\u3002\u4F8B\u5982\uFF0C\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528 "),Ee=p(Wt,"STRONG",{});var Hp=u(Ee);Ri=i(Hp,"list_datasets()"),Hp.forEach(t),Ii=i(Wt," \u83B7\u53D6\u6709\u5173\u5F53\u524D\u6258\u7BA1\u5728 Hub \u4E0A\u7684\u6240\u6709\u516C\u5171\u6570\u636E\u96C6\u7684\u4FE1\u606F\u7684\u51FD\u6570\uFF1A"),Wt.forEach(t),Ba=h(s),m(lt.$$.fragment,s),Qa=h(s),m(nt.$$.fragment,s),Za=h(s),as=p(s,"P",{});var Rl=u(as);Oi=i(Rl,"\u6211\u4EEC\u53EF\u4EE5\u770B\u5230 Hub \u4E0A\u76EE\u524D\u6709\u8FD1 1,500 \u4E2A\u6570\u636E\u96C6\uFF0C "),qe=p(Rl,"STRONG",{});var Tp=u(qe);Ai=i(Tp,"list_datasets()"),Tp.forEach(t),Si=i(Rl," \u51FD\u6570\u8FD8\u63D0\u4F9B\u4E86\u6709\u5173\u6BCF\u4E2A\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u7684\u4E00\u4E9B\u57FA\u672C\u5143\u6570\u636E\u3002"),Rl.forEach(t),Ja=h(s),ls=p(s,"P",{});var Il=u(ls);Fi=i(Il,"\u4E3A\u4E86\u4E0A\u4F20\u6211\u4EEC\u7684\u6570\u636E\u96C6\uFF0C\u6211\u4EEC\u9700\u8981\u505A\u7684\u7B2C\u4E00\u4EF6\u4E8B\u662F\u5728 Hub \u4E0A\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u3002\u4E3A\u6B64\uFF0C\u6211\u4EEC\u9700\u8981\u4E00\u4E2A\u8EAB\u4EFD\u9A8C\u8BC1\u4EE4\u724C\uFF0C\u53EF\u4EE5\u901A\u8FC7\u9996\u5148\u4F7F\u7528"),He=p(Il,"STRONG",{});var Gp=u(He);Ui=i(Gp,"notebook_login()"),Gp.forEach(t),Li=i(Il," \u51FD\u6570\u767B\u5F55 Hugging Face Hub \u83B7\u5F97\uFF1A"),Il.forEach(t),Va=h(s),m(it.$$.fragment,s),Ka=h(s),Lt=p(s,"P",{});var Np=u(Lt);zi=i(Np,"\u8FD9\u5C06\u521B\u5EFA\u4E00\u4E2A\u5C0F\u90E8\u4EF6\uFF0C\u60A8\u53EF\u4EE5\u5728\u5176\u4E2D\u8F93\u5165\u60A8\u7684\u7528\u6237\u540D\u548C\u5BC6\u7801\uFF0C API \u4EE4\u724C\u5C06\u4FDD\u5B58\u5728~/.huggingface/\u4EE4\u724C.\u5982\u679C\u60A8\u5728\u7EC8\u7AEF\u4E2D\u8FD0\u884C\u4EE3\u7801\uFF0C\u5219\u53EF\u4EE5\u6539\u4E3A\u901A\u8FC7 CLI \u767B\u5F55\uFF1A"),Np.forEach(t),Xa=h(s),m(rt.$$.fragment,s),Wa=h(s),ns=p(s,"P",{});var Ol=u(ns);Mi=i(Ol,"\u5B8C\u6210\u6B64\u64CD\u4F5C\u540E\uFF0C\u6211\u4EEC\u53EF\u4EE5\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u6570\u636E\u96C6\u5B58\u50A8\u5E93 "),Te=p(Ol,"STRONG",{});var Pp=u(Te);Ci=i(Pp,"create_repo()"),Pp.forEach(t),Bi=i(Ol," \u529F\u80FD\uFF1A"),Ol.forEach(t),Ya=h(s),m(pt.$$.fragment,s),sl=h(s),m(ut.$$.fragment,s),tl=h(s),z=p(s,"P",{});var Yt=u(z);Qi=i(Yt,"\u5728\u6B64\u793A\u4F8B\u4E2D\uFF0C\u6211\u4EEC\u521B\u5EFA\u4E86\u4E00\u4E2A\u540D\u4E3A\u7684\u7A7A\u6570\u636E\u96C6\u5B58\u50A8\u5E93 "),Ge=p(Yt,"STRONG",{});var Dp=u(Ge);Zi=i(Dp,"github-issues"),Dp.forEach(t),Ji=i(Yt," \u5728\u4E0B\u9762 "),Ne=p(Yt,"STRONG",{});var Rp=u(Ne);Vi=i(Rp,"lewtun"),Rp.forEach(t),Ki=i(Yt," \u7528\u6237\u540D\uFF08\u5F53\u60A8\u8FD0\u884C\u6B64\u4EE3\u7801\u65F6\uFF0C\u7528\u6237\u540D\u5E94\u8BE5\u662F\u60A8\u7684 Hub \u7528\u6237\u540D\uFF01\uFF09\u3002"),Yt.forEach(t),el=h(s),m(is.$$.fragment,s),al=h(s),rs=p(s,"P",{});var Al=u(rs);Xi=i(Al,"\u63A5\u4E0B\u6765\uFF0C\u8BA9\u6211\u4EEC\u5C06\u5B58\u50A8\u5E93\u4ECE Hub \u514B\u9686\u5230\u6211\u4EEC\u7684\u672C\u5730\u673A\u5668\uFF0C\u5E76\u5C06\u6211\u4EEC\u7684\u6570\u636E\u96C6\u6587\u4EF6\u590D\u5236\u5230\u5176\u4E2D\u3002 \u{1F917} Hub \u63D0\u4F9B\u4E86\u4E00\u4E2A\u65B9\u4FBF\u7684 "),Pe=p(Al,"STRONG",{});var Ip=u(Pe);Wi=i(Ip,"Repository"),Ip.forEach(t),Yi=i(Al," \u7C7B\uFF0C\u5B83\u5305\u542B\u8BB8\u591A\u5E38\u89C1 Git \u547D\u4EE4\u7684\u7C7B\uFF0C\u56E0\u6B64\u8981\u514B\u9686\u8FDC\u7A0B\u5B58\u50A8\u5E93\uFF0C\u6211\u4EEC\u53EA\u9700\u8981\u63D0\u4F9B\u6211\u4EEC\u8981\u514B\u9686\u7684 URL \u548C\u672C\u5730\u8DEF\u5F84\uFF1A"),Al.forEach(t),ll=h(s),m(ot.$$.fragment,s),nl=h(s),zt=p(s,"P",{});var Op=u(zt);sr=i(Op,"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u4F7F\u7528Git LFS\u8DDF\u8E2A\u5404\u79CD\u6587\u4EF6\u6269\u5C55\u540D\uFF08\u5982.bin\u3001.gz\u548C.zip\uFF09\uFF0C\u4EE5\u4FBF\u5728\u540C\u4E00Git\u5DE5\u4F5C\u6D41\u4E2D\u5BF9\u5927\u578B\u6587\u4EF6\u8FDB\u884C\u7248\u672C\u63A7\u5236\u3002\u60A8\u53EF\u4EE5\u5728\u5B58\u50A8\u5E93\u7684.gitattributes\u6587\u4EF6\u627E\u5230\u8DDF\u8E2A\u6587\u4EF6\u6269\u5C55\u540D\u7684\u5217\u8868\u3002\u8981\u5728\u5217\u8868\u4E2D\u5305\u542BJSON\u884C\u683C\u5F0F\uFF0C\u6211\u4EEC\u53EF\u4EE5\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\uFF1A"),Op.forEach(t),il=h(s),m(ht.$$.fragment,s),rl=h(s),ps=p(s,"P",{});var Sl=u(ps);tr=i(Sl,"\u7136\u540E\u6211\u4EEC\u53EF\u4EE5\u4F7F\u7528 "),De=p(Sl,"STRONG",{});var Ap=u(De);er=i(Ap,"Repository.push_to_hub()"),Ap.forEach(t),ar=i(Sl," \u5C06\u6570\u636E\u96C6\u63A8\u9001\u5230 Hub\uFF1A"),Sl.forEach(t),pl=h(s),m(gt.$$.fragment,s),ul=h(s),us=p(s,"P",{});var Fl=u(us);lr=i(Fl,"\u5982\u679C\u6211\u4EEC\u5BFC\u822A\u5230\u5305\u542B\u5728 "),Re=p(Fl,"STRONG",{});var Sp=u(Re);nr=i(Sp,"repo_url"),Sp.forEach(t),ir=i(Fl," \uFF0C\u6211\u4EEC\u73B0\u5728\u5E94\u8BE5\u770B\u5230\u6211\u4EEC\u7684\u6570\u636E\u96C6\u6587\u4EF6\u5DF2\u7ECF\u4E0A\u4F20\u3002"),Fl.forEach(t),ol=h(s),_t=p(s,"DIV",{class:!0});var Fp=u(_t);ct=p(Fp,"IMG",{src:!0,alt:!0,width:!0}),Fp.forEach(t),hl=h(s),M=p(s,"P",{});var se=u(M);rr=i(se,"\u4ECE\u8FD9\u91CC\uFF0C\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u901A\u8FC7\u7B80\u5355\u5730\u63D0\u4F9B\u6765\u4E0B\u8F7D\u6570\u636E\u96C6 "),Ie=p(se,"STRONG",{});var Up=u(Ie);pr=i(Up,"load_dataset()"),Up.forEach(t),ur=i(se," \u4EE5\u5B58\u50A8\u5E93 ID \u4F5C\u4E3A "),Oe=p(se,"STRONG",{});var Lp=u(Oe);or=i(Lp,"path"),Lp.forEach(t),hr=i(se," \u4E89\u8BBA\uFF1A"),se.forEach(t),gl=h(s),m(ft.$$.fragment,s),_l=h(s),m(mt.$$.fragment,s),cl=h(s),Mt=p(s,"P",{});var zp=u(Mt);gr=i(zp,"\u5F88\u9177\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u5C06\u6211\u4EEC\u7684\u6570\u636E\u96C6\u63A8\u9001\u5230 Hub\uFF0C\u5176\u4ED6\u4EBA\u53EF\u4EE5\u4F7F\u7528\u5B83\uFF01\u53EA\u5269\u4E0B\u4E00\u4EF6\u91CD\u8981\u7684\u4E8B\u60C5\u8981\u505A\uFF1A\u6DFB\u52A0\u4E00\u4E2A\u6570\u636E\u5361\u8FD9\u89E3\u91CA\u4E86\u8BED\u6599\u5E93\u662F\u5982\u4F55\u521B\u5EFA\u7684\uFF0C\u5E76\u4E3A\u4F7F\u7528\u6570\u636E\u96C6\u7684\u5176\u4ED6\u63D0\u4F9B\u4E00\u4E9B\u5176\u4ED6\u6709\u7528\u7684\u4FE1\u606F\u3002"),zp.forEach(t),fl=h(s),m(os.$$.fragment,s),ml=h(s),bt=p(s,"H2",{id:!0});var Mp=u(bt);_r=i(Mp,"\u521B\u5EFA\u6570\u636E\u96C6\u5361\u7247"),Mp.forEach(t),bl=h(s),Ct=p(s,"P",{});var Cp=u(Ct);cr=i(Cp,"\u6709\u636E\u53EF\u67E5\u7684\u6570\u636E\u96C6\u66F4\u6709\u53EF\u80FD\u5BF9\u5176\u4ED6\u4EBA\uFF08\u5305\u62EC\u4F60\u672A\u6765\u7684\u81EA\u5DF1\uFF01\uFF09\u6709\u7528\uFF0C\u56E0\u4E3A\u5B83\u4EEC\u63D0\u4F9B\u4E86\u4E0A\u4E0B\u6587\uFF0C\u4F7F\u7528\u6237\u80FD\u591F\u51B3\u5B9A\u6570\u636E\u96C6\u662F\u5426\u4E0E\u4ED6\u4EEC\u7684\u4EFB\u52A1\u76F8\u5173\uFF0C\u5E76\u8BC4\u4F30\u4EFB\u4F55\u6F5C\u5728\u7684\u504F\u89C1\u6216\u4E0E\u4F7F\u7528\u76F8\u5173\u7684\u98CE\u9669\u3002\u5728 Hugging Face Hub \u4E0A\uFF0C\u6B64\u4FE1\u606F\u5B58\u50A8\u5728\u6BCF\u4E2A\u6570\u636E\u96C6\u5B58\u50A8\u5E93\u7684\u81EA\u8FF0\u6587\u4EF6\u6587\u4EF6\u3002\u5728\u521B\u5EFA\u6B64\u6587\u4EF6\u4E4B\u524D\uFF0C\u60A8\u5E94\u8BE5\u6267\u884C\u4E24\u4E2A\u4E3B\u8981\u6B65\u9AA4\uFF1A"),Cp.forEach(t),dl=h(s),Bt=p(s,"OL",{});var Bp=u(Bt);dt=p(Bp,"LI",{});var Ul=u(dt);fr=i(Ul,"\u4F7F\u7528"),xt=p(Ul,"A",{href:!0,rel:!0});var Qp=u(xt);mr=i(Qp,"\u6570\u636E\u96C6\u6807\u7B7E\u5E94\u7528\u7A0B\u5E8F"),Qp.forEach(t),br=i(Ul," \u521B\u5EFAYAML\u683C\u5F0F\u7684\u5143\u6570\u636E\u6807\u7B7E\u3002\u8FD9\u4E9B\u6807\u7B7E\u7528\u4E8E\u5404\u79CD\u5404\u6837\u7684\u641C\u7D22\u529F\u80FD\uFF0C\u5E76\u786E\u4FDD\u60A8\u7684\u6570\u636E\u96C6\u53EF\u4EE5\u5F88\u5BB9\u6613\u5730\u88AB\u793E\u533A\u6210\u5458\u627E\u5230\u3002\u56E0\u4E3A\u6211\u4EEC\u5DF2\u7ECF\u5728\u8FD9\u91CC\u521B\u5EFA\u4E86\u4E00\u4E2A\u81EA\u5B9A\u4E49\u6570\u636E\u96C6\uFF0C\u6240\u4EE5\u60A8\u9700\u8981\u514B\u9686\u6570\u636E\u96C6\u6807\u7B7E\u5B58\u50A8\u5E93\u5E76\u5728\u672C\u5730\u8FD0\u884C\u5E94\u7528\u7A0B\u5E8F\u3002\u5B83\u7684\u754C\u9762\u662F\u8FD9\u6837\u7684:"),Ul.forEach(t),Bp.forEach(t),xl=h(s),jt=p(s,"DIV",{class:!0});var Zp=u(jt);$t=p(Zp,"IMG",{src:!0,alt:!0,width:!0}),Zp.forEach(t),jl=h(s),hs=p(s,"P",{});var Ll=u(hs);dr=i(Ll,"2.\u9605\u8BFB"),vt=p(Ll,"A",{href:!0,rel:!0});var Jp=u(vt);xr=i(Jp,"\u{1F917} Datasets guide"),Jp.forEach(t),jr=i(Ll," \u5173\u4E8E\u521B\u5EFA\u4FE1\u606F\u6027\u6570\u636E\u96C6\u5361\u7247\u7684\u6307\u5357\uFF0C\u5E76\u5C06\u5176\u4F5C\u4E3A\u6A21\u677F\u4F7F\u7528\u3002"),Ll.forEach(t),$l=h(s),gs=p(s,"P",{});var zl=u(gs);$r=i(zl,"\u60A8\u53EF\u4EE5\u521B\u5EFA\u81EA\u8FF0\u6587\u4EF6\u6587\u4EF6\u76F4\u63A5\u5728Hub\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u5728\u91CC\u9762\u627E\u5230\u6A21\u677F\u6570\u636E\u96C6\u5361\u7247 "),Ae=p(zl,"STRONG",{});var Vp=u(Ae);vr=i(Vp,"lewtun/github-issues"),Vp.forEach(t),wr=i(zl," \u6570\u636E\u96C6\u5B58\u50A8\u5E93\u3002\u586B\u5199\u597D\u7684\u6570\u636E\u96C6\u5361\u7247\u7684\u5C4F\u5E55\u622A\u56FE\u5982\u4E0B\u6240\u793A\u3002!"),zl.forEach(t),vl=h(s),wt=p(s,"DIV",{class:!0});var Kp=u(wt);yt=p(Kp,"IMG",{src:!0,alt:!0,width:!0}),Kp.forEach(t),wl=h(s),m(_s.$$.fragment,s),yl=h(s),Qt=p(s,"P",{});var Xp=u(Qt);yr=i(Xp,"\u5F88\u597D! \u6211\u4EEC\u5728\u672C\u8282\u4E2D\u770B\u5230\uFF0C\u521B\u5EFA\u4E00\u4E2A\u597D\u7684\u6570\u636E\u96C6\u53EF\u80FD\u975E\u5E38\u590D\u6742\uFF0C\u4F46\u5E78\u8FD0\u7684\u662F\uFF0C\u5C06\u5176\u4E0A\u4F20\u5E76\u4E0E\u793E\u533A\u5171\u4EAB\u4F1A\u5F88\u5BB9\u6613\u5B9E\u73B0\u3002\u5728\u4E0B\u4E00\u8282\u4E2D\uFF0C\u6211\u4EEC\u5C06\u4F7F\u7528\u6211\u4EEC\u7684\u65B0\u6570\u636E\u96C6\u521B\u5EFA\u4E00\u4E2A\u5E26\u6709 \u{1F917} Datasets\u7684\u8BED\u4E49\u641C\u7D22\u5F15\u64CE\uFF0C\u8BE5\u6570\u636E\u96C6\u53EF\u4EE5\u5C06issue\u4E0E\u6700\u76F8\u5173\u7684issue\u548C\u8BC4\u8BBA\u8FDB\u884C\u5339\u914D\u3002"),Xp.forEach(t),kl=h(s),m(cs.$$.fragment,s),this.h()},h(){g(_,"name","hf:doc:metadata"),g(_,"content",JSON.stringify(cu)),g(c,"id",""),g(D,"href","https://github.com/features/issues/"),g(D,"rel","nofollow"),g(bs,"id",""),g(ds,"href","https://github.com/huggingface/datasets/issues"),g(ds,"rel","nofollow"),te(js.src,kr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/datasets-issues.png")||g(js,"src",kr),g(js,"alt","The GitHub issues associated with \u{1F917} Datasets."),g(js,"width","80%"),g(xs,"class","flex justify-center"),te(vs.src,Er="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/datasets-issues-single.png")||g(vs,"src",Er),g(vs,"alt","A typical GitHub issue in the \u{1F917} Datasets repository."),g(vs,"width","80%"),g($s,"class","flex justify-center"),g(ws,"href","https://docs.github.com/en/rest"),g(ws,"rel","nofollow"),g(ys,"href","https://docs.github.com/en/rest/reference/issues#list-repository-issues"),g(ys,"rel","nofollow"),g(Ts,"href","https://en.wikipedia.org/wiki/List_of_HTTP_status_codes"),g(Ts,"rel","nofollow"),g(Ps,"href","https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting"),g(Ps,"rel","nofollow"),g(Ds,"href","https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token"),g(Ds,"rel","nofollow"),g(Pt,"href","/course/chaper5/2"),g(Fs,"href","https://github.com/huggingface/datasets/issues"),g(Fs,"rel","nofollow"),g(Us,"href","https://docs.github.com/en/rest/reference/issues#list-issues-assigned-to-the-authenticated-user"),g(Us,"rel","nofollow"),g(Ls,"id",""),g(It,"href","/course/chapter5/3"),g(Bs,"id",""),te(Zs.src,qr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/datasets-issues-comment.png")||g(Zs,"src",qr),g(Zs,"alt","Comments associated with an issue about \u{1F917} Datasets."),g(Zs,"width","80%"),g(Qs,"class","flex justify-center"),g(Js,"href","https://docs.github.com/en/rest/reference/issues#list-issue-comments"),g(Js,"rel","nofollow"),g(es,"id","hugging-face-hub"),g(es,"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"),g(es,"href","#hugging-face-hub"),g(B,"class","relative group"),g(at,"href","https://github.com/huggingface/huggingface_hub"),g(at,"rel","nofollow"),te(ct.src,Hr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/hub-repo.png")||g(ct,"src",Hr),g(ct,"alt","Our dataset repository on the Hugging Face Hub."),g(ct,"width","80%"),g(_t,"class","flex justify-center"),g(bt,"id",""),g(xt,"href","https://huggingface.co/datasets/tagging/"),g(xt,"rel","nofollow"),te($t.src,Tr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/datasets-tagger.png")||g($t,"src",Tr),g($t,"alt","The `datasets-tagging` interface."),g($t,"width","80%"),g(jt,"class","flex justify-center"),g(vt,"href","https://github.com/huggingface/datasets/blob/master/templates/README_guide.md"),g(vt,"rel","nofollow"),te(yt.src,Gr="https://huggingface.co/datasets/huggingface-course/documentation-images/resolve/main/en/chapter5/dataset-card.png")||g(yt,"src",Gr),g(yt,"alt","A dataset card."),g(yt,"width","80%"),g(wt,"class","flex justify-center")},m(s,a){e(document.head,_),l(s,v,a),l(s,c,a),e(c,$),l(s,T,a),b(y,s,a),l(s,k,a),l(s,E,a),e(E,R),e(E,D),e(D,Ht),e(E,Ml),l(s,ze,a),l(s,I,a),e(I,ee),e(ee,Cl),e(I,Bl),e(I,ms),e(ms,Ql),e(ms,ae),e(ae,Zl),e(ms,Jl),e(I,Vl),e(I,le),e(le,Kl),l(s,Me,a),l(s,Tt,a),e(Tt,Xl),l(s,Ce,a),l(s,bs,a),e(bs,Wl),l(s,Be,a),l(s,Z,a),e(Z,Yl),e(Z,ds),e(ds,sn),e(Z,tn),l(s,Qe,a),l(s,xs,a),e(xs,js),l(s,Ze,a),l(s,Gt,a),e(Gt,en),l(s,Je,a),l(s,$s,a),e($s,vs),l(s,Ve,a),l(s,O,a),e(O,an),e(O,ws),e(ws,ln),e(O,nn),e(O,ys),e(ys,rn),e(O,pn),l(s,Ke,a),l(s,J,a),e(J,un),e(J,ne),e(ne,on),e(J,hn),l(s,Xe,a),b(ks,s,a),l(s,We,a),l(s,A,a),e(A,gn),e(A,ie),e(ie,_n),e(A,cn),e(A,re),e(re,fn),e(A,mn),l(s,Ye,a),b(Es,s,a),l(s,sa,a),l(s,V,a),e(V,bn),e(V,pe),e(pe,dn),e(V,xn),l(s,ta,a),b(qs,s,a),l(s,ea,a),b(Hs,s,a),l(s,aa,a),l(s,S,a),e(S,jn),e(S,ue),e(ue,$n),e(S,vn),e(S,Ts),e(Ts,wn),e(S,yn),l(s,la,a),b(Gs,s,a),l(s,na,a),b(Ns,s,a),l(s,ia,a),l(s,G,a),e(G,kn),e(G,oe),e(oe,En),e(G,qn),e(G,he),e(he,Hn),e(G,Tn),e(G,ge),e(ge,Gn),e(G,Nn),e(G,_e),e(_e,Pn),e(G,Dn),l(s,ra,a),b(K,s,a),l(s,pa,a),l(s,P,a),e(P,Rn),e(P,Ps),e(Ps,In),e(P,On),e(P,ce),e(ce,An),e(P,Sn),e(P,Ds),e(Ds,Fn),e(P,Un),l(s,ua,a),b(Rs,s,a),l(s,oa,a),b(X,s,a),l(s,ha,a),l(s,Nt,a),e(Nt,Ln),l(s,ga,a),b(Is,s,a),l(s,_a,a),l(s,W,a),e(W,zn),e(W,fe),e(fe,Mn),e(W,Cn),l(s,ca,a),b(Os,s,a),l(s,fa,a),l(s,Y,a),e(Y,Bn),e(Y,Pt),e(Pt,Qn),e(Y,Zn),l(s,ma,a),b(As,s,a),l(s,ba,a),b(Ss,s,a),l(s,da,a),l(s,F,a),e(F,Jn),e(F,Fs),e(Fs,Vn),e(F,Kn),e(F,Us),e(Us,Xn),e(F,Wn),l(s,xa,a),l(s,Dt,a),e(Dt,me),e(me,Yn),l(s,ja,a),l(s,Rt,a),e(Rt,si),l(s,$a,a),l(s,Ls,a),e(Ls,ti),l(s,va,a),l(s,q,a),e(q,ei),e(q,be),e(be,ai),e(q,li),e(q,It),e(It,ni),e(q,ii),e(q,de),e(de,ri),e(q,pi),e(q,xe),e(xe,ui),e(q,oi),e(q,je),e(je,hi),e(q,gi),e(q,$e),e($e,_i),e(q,ci),l(s,wa,a),b(zs,s,a),l(s,ya,a),b(Ms,s,a),l(s,ka,a),l(s,Ot,a),e(Ot,fi),l(s,Ea,a),b(Cs,s,a),l(s,qa,a),b(ss,s,a),l(s,Ha,a),l(s,At,a),e(At,mi),l(s,Ta,a),l(s,Bs,a),e(Bs,bi),l(s,Ga,a),l(s,St,a),e(St,di),l(s,Na,a),l(s,Qs,a),e(Qs,Zs),l(s,Pa,a),l(s,ts,a),e(ts,xi),e(ts,Js),e(Js,ji),e(ts,$i),l(s,Da,a),b(Vs,s,a),l(s,Ra,a),b(Ks,s,a),l(s,Ia,a),l(s,Ft,a),e(Ft,vi),l(s,Oa,a),b(Xs,s,a),l(s,Aa,a),b(Ws,s,a),l(s,Sa,a),l(s,U,a),e(U,wi),e(U,ve),e(ve,yi),e(U,ki),e(U,we),e(we,Ei),e(U,qi),l(s,Fa,a),b(Ys,s,a),l(s,Ua,a),l(s,Ut,a),e(Ut,Hi),l(s,La,a),b(st,s,a),l(s,za,a),l(s,B,a),e(B,es),e(es,ye),b(tt,ye,null),e(B,Ti),e(B,ke),e(ke,Gi),l(s,Ma,a),b(et,s,a),l(s,Ca,a),l(s,L,a),e(L,Ni),e(L,at),e(at,Pi),e(L,Di),e(L,Ee),e(Ee,Ri),e(L,Ii),l(s,Ba,a),b(lt,s,a),l(s,Qa,a),b(nt,s,a),l(s,Za,a),l(s,as,a),e(as,Oi),e(as,qe),e(qe,Ai),e(as,Si),l(s,Ja,a),l(s,ls,a),e(ls,Fi),e(ls,He),e(He,Ui),e(ls,Li),l(s,Va,a),b(it,s,a),l(s,Ka,a),l(s,Lt,a),e(Lt,zi),l(s,Xa,a),b(rt,s,a),l(s,Wa,a),l(s,ns,a),e(ns,Mi),e(ns,Te),e(Te,Ci),e(ns,Bi),l(s,Ya,a),b(pt,s,a),l(s,sl,a),b(ut,s,a),l(s,tl,a),l(s,z,a),e(z,Qi),e(z,Ge),e(Ge,Zi),e(z,Ji),e(z,Ne),e(Ne,Vi),e(z,Ki),l(s,el,a),b(is,s,a),l(s,al,a),l(s,rs,a),e(rs,Xi),e(rs,Pe),e(Pe,Wi),e(rs,Yi),l(s,ll,a),b(ot,s,a),l(s,nl,a),l(s,zt,a),e(zt,sr),l(s,il,a),b(ht,s,a),l(s,rl,a),l(s,ps,a),e(ps,tr),e(ps,De),e(De,er),e(ps,ar),l(s,pl,a),b(gt,s,a),l(s,ul,a),l(s,us,a),e(us,lr),e(us,Re),e(Re,nr),e(us,ir),l(s,ol,a),l(s,_t,a),e(_t,ct),l(s,hl,a),l(s,M,a),e(M,rr),e(M,Ie),e(Ie,pr),e(M,ur),e(M,Oe),e(Oe,or),e(M,hr),l(s,gl,a),b(ft,s,a),l(s,_l,a),b(mt,s,a),l(s,cl,a),l(s,Mt,a),e(Mt,gr),l(s,fl,a),b(os,s,a),l(s,ml,a),l(s,bt,a),e(bt,_r),l(s,bl,a),l(s,Ct,a),e(Ct,cr),l(s,dl,a),l(s,Bt,a),e(Bt,dt),e(dt,fr),e(dt,xt),e(xt,mr),e(dt,br),l(s,xl,a),l(s,jt,a),e(jt,$t),l(s,jl,a),l(s,hs,a),e(hs,dr),e(hs,vt),e(vt,xr),e(hs,jr),l(s,$l,a),l(s,gs,a),e(gs,$r),e(gs,Ae),e(Ae,vr),e(gs,wr),l(s,vl,a),l(s,wt,a),e(wt,yt),l(s,wl,a),b(_s,s,a),l(s,yl,a),l(s,Qt,a),e(Qt,yr),l(s,kl,a),b(cs,s,a),El=!0},p(s,[a]){const Se={};a&2&&(Se.$$scope={dirty:a,ctx:s}),K.$set(Se);const kt={};a&2&&(kt.$$scope={dirty:a,ctx:s}),X.$set(kt);const Fe={};a&2&&(Fe.$$scope={dirty:a,ctx:s}),ss.$set(Fe);const Q={};a&2&&(Q.$$scope={dirty:a,ctx:s}),is.$set(Q);const Ue={};a&2&&(Ue.$$scope={dirty:a,ctx:s}),os.$set(Ue);const Et={};a&2&&(Et.$$scope={dirty:a,ctx:s}),_s.$set(Et);const Le={};a&2&&(Le.$$scope={dirty:a,ctx:s}),cs.$set(Le)},i(s){El||(d(y.$$.fragment,s),d(ks.$$.fragment,s),d(Es.$$.fragment,s),d(qs.$$.fragment,s),d(Hs.$$.fragment,s),d(Gs.$$.fragment,s),d(Ns.$$.fragment,s),d(K.$$.fragment,s),d(Rs.$$.fragment,s),d(X.$$.fragment,s),d(Is.$$.fragment,s),d(Os.$$.fragment,s),d(As.$$.fragment,s),d(Ss.$$.fragment,s),d(zs.$$.fragment,s),d(Ms.$$.fragment,s),d(Cs.$$.fragment,s),d(ss.$$.fragment,s),d(Vs.$$.fragment,s),d(Ks.$$.fragment,s),d(Xs.$$.fragment,s),d(Ws.$$.fragment,s),d(Ys.$$.fragment,s),d(st.$$.fragment,s),d(tt.$$.fragment,s),d(et.$$.fragment,s),d(lt.$$.fragment,s),d(nt.$$.fragment,s),d(it.$$.fragment,s),d(rt.$$.fragment,s),d(pt.$$.fragment,s),d(ut.$$.fragment,s),d(is.$$.fragment,s),d(ot.$$.fragment,s),d(ht.$$.fragment,s),d(gt.$$.fragment,s),d(ft.$$.fragment,s),d(mt.$$.fragment,s),d(os.$$.fragment,s),d(_s.$$.fragment,s),d(cs.$$.fragment,s),El=!0)},o(s){x(y.$$.fragment,s),x(ks.$$.fragment,s),x(Es.$$.fragment,s),x(qs.$$.fragment,s),x(Hs.$$.fragment,s),x(Gs.$$.fragment,s),x(Ns.$$.fragment,s),x(K.$$.fragment,s),x(Rs.$$.fragment,s),x(X.$$.fragment,s),x(Is.$$.fragment,s),x(Os.$$.fragment,s),x(As.$$.fragment,s),x(Ss.$$.fragment,s),x(zs.$$.fragment,s),x(Ms.$$.fragment,s),x(Cs.$$.fragment,s),x(ss.$$.fragment,s),x(Vs.$$.fragment,s),x(Ks.$$.fragment,s),x(Xs.$$.fragment,s),x(Ws.$$.fragment,s),x(Ys.$$.fragment,s),x(st.$$.fragment,s),x(tt.$$.fragment,s),x(et.$$.fragment,s),x(lt.$$.fragment,s),x(nt.$$.fragment,s),x(it.$$.fragment,s),x(rt.$$.fragment,s),x(pt.$$.fragment,s),x(ut.$$.fragment,s),x(is.$$.fragment,s),x(ot.$$.fragment,s),x(ht.$$.fragment,s),x(gt.$$.fragment,s),x(ft.$$.fragment,s),x(mt.$$.fragment,s),x(os.$$.fragment,s),x(_s.$$.fragment,s),x(cs.$$.fragment,s),El=!1},d(s){t(_),s&&t(v),s&&t(c),s&&t(T),j(y,s),s&&t(k),s&&t(E),s&&t(ze),s&&t(I),s&&t(Me),s&&t(Tt),s&&t(Ce),s&&t(bs),s&&t(Be),s&&t(Z),s&&t(Qe),s&&t(xs),s&&t(Ze),s&&t(Gt),s&&t(Je),s&&t($s),s&&t(Ve),s&&t(O),s&&t(Ke),s&&t(J),s&&t(Xe),j(ks,s),s&&t(We),s&&t(A),s&&t(Ye),j(Es,s),s&&t(sa),s&&t(V),s&&t(ta),j(qs,s),s&&t(ea),j(Hs,s),s&&t(aa),s&&t(S),s&&t(la),j(Gs,s),s&&t(na),j(Ns,s),s&&t(ia),s&&t(G),s&&t(ra),j(K,s),s&&t(pa),s&&t(P),s&&t(ua),j(Rs,s),s&&t(oa),j(X,s),s&&t(ha),s&&t(Nt),s&&t(ga),j(Is,s),s&&t(_a),s&&t(W),s&&t(ca),j(Os,s),s&&t(fa),s&&t(Y),s&&t(ma),j(As,s),s&&t(ba),j(Ss,s),s&&t(da),s&&t(F),s&&t(xa),s&&t(Dt),s&&t(ja),s&&t(Rt),s&&t($a),s&&t(Ls),s&&t(va),s&&t(q),s&&t(wa),j(zs,s),s&&t(ya),j(Ms,s),s&&t(ka),s&&t(Ot),s&&t(Ea),j(Cs,s),s&&t(qa),j(ss,s),s&&t(Ha),s&&t(At),s&&t(Ta),s&&t(Bs),s&&t(Ga),s&&t(St),s&&t(Na),s&&t(Qs),s&&t(Pa),s&&t(ts),s&&t(Da),j(Vs,s),s&&t(Ra),j(Ks,s),s&&t(Ia),s&&t(Ft),s&&t(Oa),j(Xs,s),s&&t(Aa),j(Ws,s),s&&t(Sa),s&&t(U),s&&t(Fa),j(Ys,s),s&&t(Ua),s&&t(Ut),s&&t(La),j(st,s),s&&t(za),s&&t(B),j(tt),s&&t(Ma),j(et,s),s&&t(Ca),s&&t(L),s&&t(Ba),j(lt,s),s&&t(Qa),j(nt,s),s&&t(Za),s&&t(as),s&&t(Ja),s&&t(ls),s&&t(Va),j(it,s),s&&t(Ka),s&&t(Lt),s&&t(Xa),j(rt,s),s&&t(Wa),s&&t(ns),s&&t(Ya),j(pt,s),s&&t(sl),j(ut,s),s&&t(tl),s&&t(z),s&&t(el),j(is,s),s&&t(al),s&&t(rs),s&&t(ll),j(ot,s),s&&t(nl),s&&t(zt),s&&t(il),j(ht,s),s&&t(rl),s&&t(ps),s&&t(pl),j(gt,s),s&&t(ul),s&&t(us),s&&t(ol),s&&t(_t),s&&t(hl),s&&t(M),s&&t(gl),j(ft,s),s&&t(_l),j(mt,s),s&&t(cl),s&&t(Mt),s&&t(fl),j(os,s),s&&t(ml),s&&t(bt),s&&t(bl),s&&t(Ct),s&&t(dl),s&&t(Bt),s&&t(xl),s&&t(jt),s&&t(jl),s&&t(hs),s&&t($l),s&&t(gs),s&&t(vl),s&&t(wt),s&&t(wl),j(_s,s),s&&t(yl),s&&t(Qt),s&&t(kl),j(cs,s)}}}const cu={local:"",sections:[{local:"",title:"\u83B7\u53D6\u6570\u636E"},{local:"",title:"\u6E05\u7406\u6570\u636E"},{local:"",title:"\u6269\u5145\u6570\u636E\u96C6"},{local:"hugging-face-hub",title:"\u5C06\u6570\u636E\u96C6\u4E0A\u4F20\u5230 Hugging Face Hub"},{local:"",title:"\u521B\u5EFA\u6570\u636E\u96C6\u5361\u7247"}],title:"\u521B\u5EFA\u81EA\u5DF1\u7684\u6570\u636E\u96C6"};function fu(H){return eu(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class wu extends Wp{constructor(_){super();Yp(this,_,fu,_u,su,{})}}export{wu as default,cu as metadata};
