import{S as Ea,i as Pa,s as ja,e as i,k as u,w as y,t as l,M as Ta,c as s,d as t,m as p,a as n,x as d,h,b as f,G as o,g as r,y as g,q as b,o as w,B as v,v as Aa}from"../../chunks/vendor-hf-doc-builder.js";import{T as Ia}from"../../chunks/Tip-hf-doc-builder.js";import{Y as Ca}from"../../chunks/Youtube-hf-doc-builder.js";import{I as J}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as No}from"../../chunks/CodeBlock-hf-doc-builder.js";import{C as Ha}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";function Ua(We){let c,I;return{c(){c=i("p"),I=l("\u{1F6A8} Many issues in the \u{1F917} Transformers repository are unsolved because the data used to reproduce them is not accessible.")},l(m){c=s(m,"P",{});var k=n(c);I=h(k,"\u{1F6A8} Many issues in the \u{1F917} Transformers repository are unsolved because the data used to reproduce them is not accessible."),k.forEach(t)},m(m,k){r(m,c,k),o(c,I)},d(m){m&&t(c)}}}function Na(We){let c,I,m,k,$e,z,Gt,_e,Ot,Ye,B,Je,C,Ft,R,Lt,qt,ze,V,Be,he,Dt,Re,_,H,xe,K,Mt,Ee,Wt,Ve,ue,Yt,Ke,U,Qe,N,Jt,Pe,zt,Bt,Xe,pe,Rt,Ze,x,S,je,Q,Vt,Te,Kt,et,G,Qt,X,Xt,Zt,tt,O,eo,Z,to,oo,ot,E,F,Ae,ee,ao,Ie,io,at,fe,so,it,te,st,ce,ro,rt,oe,nt,$,no,Ce,lo,ho,He,uo,po,lt,P,L,Ue,ae,fo,Ne,co,ht,q,mo,Se,yo,go,ut,me,bo,pt,j,D,Ge,ie,wo,Oe,vo,ft,M,ko,Fe,$o,_o,ct,se,mt,ye,xo,yt,de,Eo,dt,ge,Po,gt,T,W,Le,re,jo,qe,To,bt,be,Ao,wt,A,Y,De,ne,Io,Me,Co,vt,we,Ho,kt,ve,Uo,$t;return z=new J({}),B=new Ha({props:{chapter:8,classNames:"absolute z-10 right-0 top-0",notebooks:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/en/chapter8/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/en/chapter8/section5.ipynb"}]}}),V=new Ca({props:{id:"_PAli-V4wj0"}}),K=new J({}),U=new Ia({props:{$$slots:{default:[Ua]},$$scope:{ctx:We}}}),Q=new J({}),ee=new J({}),te=new No({props:{code:"transformers-cli env",highlighted:'transformers-<span class="hljs-keyword">cli</span> env'}}),oe=new No({props:{code:`Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.

- \`transformers\` version: 4.12.0.dev0
- Platform: Linux-5.10.61-1-MANJARO-x86_64-with-arch-Manjaro-Linux
- Python version: 3.7.9
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu)
- Jax version: 0.2.13
- JaxLib version: 0.1.65
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>`,highlighted:`<span class="hljs-keyword">Copy</span>-<span class="hljs-keyword">and</span>-paste the <span class="hljs-type">text</span> below <span class="hljs-keyword">in</span> your GitHub issue <span class="hljs-keyword">and</span> FILL <span class="hljs-keyword">OUT</span> the two last points.

- \`transformers\` <span class="hljs-keyword">version</span>: <span class="hljs-number">4.12</span><span class="hljs-number">.0</span>.dev0
- Platform: Linux<span class="hljs-number">-5.10</span><span class="hljs-number">.61</span><span class="hljs-number">-1</span>-MANJARO-x86_64-<span class="hljs-keyword">with</span>-arch-Manjaro-Linux
- Python <span class="hljs-keyword">version</span>: <span class="hljs-number">3.7</span><span class="hljs-number">.9</span>
- PyTorch version (GPU?): <span class="hljs-number">1.8</span><span class="hljs-number">.1</span>+cu111 (<span class="hljs-keyword">True</span>)
- Tensorflow version (GPU?): <span class="hljs-number">2.5</span><span class="hljs-number">.0</span> (<span class="hljs-keyword">True</span>)
- Flax version (CPU?/GPU?/TPU?): <span class="hljs-number">0.3</span><span class="hljs-number">.4</span> (cpu)
- Jax <span class="hljs-keyword">version</span>: <span class="hljs-number">0.2</span><span class="hljs-number">.13</span>
- JaxLib <span class="hljs-keyword">version</span>: <span class="hljs-number">0.1</span><span class="hljs-number">.65</span>
- <span class="hljs-keyword">Using</span> GPU <span class="hljs-keyword">in</span> script?: &lt;fill <span class="hljs-keyword">in</span>&gt;
- <span class="hljs-keyword">Using</span> distributed <span class="hljs-keyword">or</span> parallel <span class="hljs-keyword">set</span>-up <span class="hljs-keyword">in</span> script?: &lt;fill <span class="hljs-keyword">in</span>&gt;`}}),ae=new J({}),ie=new J({}),se=new No({props:{code:"```python",highlighted:"```python"}}),re=new J({}),ne=new J({}),{c(){c=i("meta"),I=u(),m=i("h1"),k=i("a"),$e=i("span"),y(z.$$.fragment),Gt=u(),_e=i("span"),Ot=l("How to write a good issue"),Ye=u(),y(B.$$.fragment),Je=u(),C=i("p"),Ft=l("When you encounter something that doesn\u2019t seem right with one of the Hugging Face libraries, you should definitely let us know so we can fix it (the same goes for any open source library, for that matter). If you are not completely certain whether the bug lies in your own code or one of our libraries, the first place to check is the "),R=i("a"),Lt=l("forums"),qt=l(". The community will help you figure this out, and the Hugging Face team also closely watches the discussions there."),ze=u(),y(V.$$.fragment),Be=u(),he=i("p"),Dt=l("When you are sure you have a bug in your hand, the first step is to build a minimal reproducible example."),Re=u(),_=i("h2"),H=i("a"),xe=i("span"),y(K.$$.fragment),Mt=u(),Ee=i("span"),Wt=l("Creating a minimal reproducible example"),Ve=u(),ue=i("p"),Yt=l("It\u2019s very important to isolate the piece of code that produces the bug, as no one in the Hugging Face team is a magician (yet), and they can\u2019t fix what they can\u2019t see. A minimal reproducible example should, as the name indicates, be reproducible. This means that it should not rely on any external files or data you may have. Try to replace the data you are using with some dummy values that look like your real ones and still produce the same error."),Ke=u(),y(U.$$.fragment),Qe=u(),N=i("p"),Jt=l("Once you have something that is self-contained, you can try to reduce it into even less lines of code, building what we call a "),Pe=i("em"),zt=l("minimal reproducible example"),Bt=l(". While this requires a bit more work on your side, you will almost be guaranteed to get help and a fix if you provide a nice, short bug reproducer."),Xe=u(),pe=i("p"),Rt=l("If you feel comfortable enough, go inspect the source code where your bug happens. You might find a solution to your problem (in which case you can even suggest a pull request to fix it), but more generally, this can help the maintainers better understand the source when they read your report."),Ze=u(),x=i("h2"),S=i("a"),je=i("span"),y(Q.$$.fragment),Vt=u(),Te=i("span"),Kt=l("Filling out the issue template"),et=u(),G=i("p"),Qt=l("When you file your issue, you will notice there is a template to fill out. We will follow the one for "),X=i("a"),Xt=l("\u{1F917} Transformers issues"),Zt=l(" here, but the same kind of information will be required if you report an issue in another repository. Don\u2019t leave the template blank: taking the time to fill it in will maximize your chances of getting an answer and solving your problem."),tt=u(),O=i("p"),eo=l("In general, when filing an issue, always stay courteous. This is an open source project, so you are using free software, and no one has any obligation to help you. You may include what you feel is justified criticism in your issue, but then the maintainers may very well take it badly and not be in a rush help you. Make sure you read the "),Z=i("a"),to=l("code of conduct"),oo=l(" of the project."),ot=u(),E=i("h3"),F=i("a"),Ae=i("span"),y(ee.$$.fragment),ao=u(),Ie=i("span"),io=l("Including your environment information"),at=u(),fe=i("p"),so=l("\u{1F917} Transformers provides a utility to get all the information we need about your environment. Just type the following in your terminal:"),it=u(),y(te.$$.fragment),st=u(),ce=i("p"),ro=l("and you should get something like this:"),rt=u(),y(oe.$$.fragment),nt=u(),$=i("p"),no=l("You can also add a "),Ce=i("code"),lo=l("!"),ho=l(" at the beginning of the "),He=i("code"),uo=l("transformers-cli env"),po=l(" command to execute it from a notebook cell, and then copy and paste the result at the beginning of your issue."),lt=u(),P=i("h3"),L=i("a"),Ue=i("span"),y(ae.$$.fragment),fo=u(),Ne=i("span"),co=l("Tagging people"),ht=u(),q=i("p"),mo=l("Tagging people by typing an "),Se=i("code"),yo=l("@"),go=l(" followed by their GitHub handle will send them a notification so they will see your issue and might reply quicker. Use this with moderation, because the people you tag might not appreciate being notified if it\u2019s something they have no direct link to. If you have looked at the source files related to your bug, you should tag the last person that made changes at the line you think is responsible for your problem (you can find this information by looking at said line on GitHub, selecting it, then clicking \u201CView git blame\u201D)."),ut=u(),me=i("p"),bo=l("Otherwise, the template offers suggestions of people to tag. In general, never tag more than three people!"),pt=u(),j=i("h3"),D=i("a"),Ge=i("span"),y(ie.$$.fragment),wo=u(),Oe=i("span"),vo=l("Including a reproducible example"),ft=u(),M=i("p"),ko=l("If you have managed to create a self-contained example that produces the bug, now is the time to include it! Type a line with three backticks followed by "),Fe=i("code"),$o=l("python"),_o=l(", like this:"),ct=u(),y(se.$$.fragment),mt=u(),ye=i("p"),xo=l("then paste in your minimal reproducible example and type a new line with three backticks. This will ensure your code is properly formatted."),yt=u(),de=i("p"),Eo=l("If you didn\u2019t manage to create a reproducible example, explain in clear steps how you got to your issue. Include a link to a Google Colab notebook where you got the error if you can. The more information you share, the better able the maintainers will be to reply to you."),dt=u(),ge=i("p"),Po=l("In all cases, you should copy and paste the whole error message you are getting. If you\u2019re working in Colab, remember that some of the frames may be automatically collapsed in the stack trace, so make sure you expand them before copying. Like with the code sample, put that error message between two lines with three backticks, so it\u2019s properly formatted."),gt=u(),T=i("h3"),W=i("a"),Le=i("span"),y(re.$$.fragment),jo=u(),qe=i("span"),To=l("Describing the expected behavior[[describing-the-expected-behavior]]"),bt=u(),be=i("p"),Ao=l("Explain in a few lines what you expected to get, so that the maintainers get a full grasp of the problem. This part is generally pretty obvious, so it should fit in one sentence, but in some cases you may have a lot to say."),wt=u(),A=i("h2"),Y=i("a"),De=i("span"),y(ne.$$.fragment),Io=u(),Me=i("span"),Co=l("And then what?[[and-then-what]]"),vt=u(),we=i("p"),Ho=l("Once your issue is filed, make sure to quickly check everything looks okay. You can edit the issue if you made a mistake, or even change its title if you realize the problem is different from what you initially thought."),kt=u(),ve=i("p"),Uo=l("There is no point pinging people if you don\u2019t get an answer. If no one helps you in a few days, it\u2019s likely that no one could make sense of your problem. Don\u2019t hesitate to go back to the reproducible example. Can you make it shorter and more to the point? If you don\u2019t get an answer in a week, you can leave a message gently asking for help, especially if you\u2019ve edited your issue to include more information on the problem."),this.h()},l(e){const a=Ta('[data-svelte="svelte-1phssyn"]',document.head);c=s(a,"META",{name:!0,content:!0}),a.forEach(t),I=p(e),m=s(e,"H1",{class:!0});var le=n(m);k=s(le,"A",{id:!0,class:!0,href:!0});var So=n(k);$e=s(So,"SPAN",{});var Go=n($e);d(z.$$.fragment,Go),Go.forEach(t),So.forEach(t),Gt=p(le),_e=s(le,"SPAN",{});var Oo=n(_e);Ot=h(Oo,"How to write a good issue"),Oo.forEach(t),le.forEach(t),Ye=p(e),d(B.$$.fragment,e),Je=p(e),C=s(e,"P",{});var _t=n(C);Ft=h(_t,"When you encounter something that doesn\u2019t seem right with one of the Hugging Face libraries, you should definitely let us know so we can fix it (the same goes for any open source library, for that matter). If you are not completely certain whether the bug lies in your own code or one of our libraries, the first place to check is the "),R=s(_t,"A",{href:!0,rel:!0});var Fo=n(R);Lt=h(Fo,"forums"),Fo.forEach(t),qt=h(_t,". The community will help you figure this out, and the Hugging Face team also closely watches the discussions there."),_t.forEach(t),ze=p(e),d(V.$$.fragment,e),Be=p(e),he=s(e,"P",{});var Lo=n(he);Dt=h(Lo,"When you are sure you have a bug in your hand, the first step is to build a minimal reproducible example."),Lo.forEach(t),Re=p(e),_=s(e,"H2",{class:!0});var xt=n(_);H=s(xt,"A",{id:!0,class:!0,href:!0});var qo=n(H);xe=s(qo,"SPAN",{});var Do=n(xe);d(K.$$.fragment,Do),Do.forEach(t),qo.forEach(t),Mt=p(xt),Ee=s(xt,"SPAN",{});var Mo=n(Ee);Wt=h(Mo,"Creating a minimal reproducible example"),Mo.forEach(t),xt.forEach(t),Ve=p(e),ue=s(e,"P",{});var Wo=n(ue);Yt=h(Wo,"It\u2019s very important to isolate the piece of code that produces the bug, as no one in the Hugging Face team is a magician (yet), and they can\u2019t fix what they can\u2019t see. A minimal reproducible example should, as the name indicates, be reproducible. This means that it should not rely on any external files or data you may have. Try to replace the data you are using with some dummy values that look like your real ones and still produce the same error."),Wo.forEach(t),Ke=p(e),d(U.$$.fragment,e),Qe=p(e),N=s(e,"P",{});var Et=n(N);Jt=h(Et,"Once you have something that is self-contained, you can try to reduce it into even less lines of code, building what we call a "),Pe=s(Et,"EM",{});var Yo=n(Pe);zt=h(Yo,"minimal reproducible example"),Yo.forEach(t),Bt=h(Et,". While this requires a bit more work on your side, you will almost be guaranteed to get help and a fix if you provide a nice, short bug reproducer."),Et.forEach(t),Xe=p(e),pe=s(e,"P",{});var Jo=n(pe);Rt=h(Jo,"If you feel comfortable enough, go inspect the source code where your bug happens. You might find a solution to your problem (in which case you can even suggest a pull request to fix it), but more generally, this can help the maintainers better understand the source when they read your report."),Jo.forEach(t),Ze=p(e),x=s(e,"H2",{class:!0});var Pt=n(x);S=s(Pt,"A",{id:!0,class:!0,href:!0});var zo=n(S);je=s(zo,"SPAN",{});var Bo=n(je);d(Q.$$.fragment,Bo),Bo.forEach(t),zo.forEach(t),Vt=p(Pt),Te=s(Pt,"SPAN",{});var Ro=n(Te);Kt=h(Ro,"Filling out the issue template"),Ro.forEach(t),Pt.forEach(t),et=p(e),G=s(e,"P",{});var jt=n(G);Qt=h(jt,"When you file your issue, you will notice there is a template to fill out. We will follow the one for "),X=s(jt,"A",{href:!0,rel:!0});var Vo=n(X);Xt=h(Vo,"\u{1F917} Transformers issues"),Vo.forEach(t),Zt=h(jt," here, but the same kind of information will be required if you report an issue in another repository. Don\u2019t leave the template blank: taking the time to fill it in will maximize your chances of getting an answer and solving your problem."),jt.forEach(t),tt=p(e),O=s(e,"P",{});var Tt=n(O);eo=h(Tt,"In general, when filing an issue, always stay courteous. This is an open source project, so you are using free software, and no one has any obligation to help you. You may include what you feel is justified criticism in your issue, but then the maintainers may very well take it badly and not be in a rush help you. Make sure you read the "),Z=s(Tt,"A",{href:!0,rel:!0});var Ko=n(Z);to=h(Ko,"code of conduct"),Ko.forEach(t),oo=h(Tt," of the project."),Tt.forEach(t),ot=p(e),E=s(e,"H3",{class:!0});var At=n(E);F=s(At,"A",{id:!0,class:!0,href:!0});var Qo=n(F);Ae=s(Qo,"SPAN",{});var Xo=n(Ae);d(ee.$$.fragment,Xo),Xo.forEach(t),Qo.forEach(t),ao=p(At),Ie=s(At,"SPAN",{});var Zo=n(Ie);io=h(Zo,"Including your environment information"),Zo.forEach(t),At.forEach(t),at=p(e),fe=s(e,"P",{});var ea=n(fe);so=h(ea,"\u{1F917} Transformers provides a utility to get all the information we need about your environment. Just type the following in your terminal:"),ea.forEach(t),it=p(e),d(te.$$.fragment,e),st=p(e),ce=s(e,"P",{});var ta=n(ce);ro=h(ta,"and you should get something like this:"),ta.forEach(t),rt=p(e),d(oe.$$.fragment,e),nt=p(e),$=s(e,"P",{});var ke=n($);no=h(ke,"You can also add a "),Ce=s(ke,"CODE",{});var oa=n(Ce);lo=h(oa,"!"),oa.forEach(t),ho=h(ke," at the beginning of the "),He=s(ke,"CODE",{});var aa=n(He);uo=h(aa,"transformers-cli env"),aa.forEach(t),po=h(ke," command to execute it from a notebook cell, and then copy and paste the result at the beginning of your issue."),ke.forEach(t),lt=p(e),P=s(e,"H3",{class:!0});var It=n(P);L=s(It,"A",{id:!0,class:!0,href:!0});var ia=n(L);Ue=s(ia,"SPAN",{});var sa=n(Ue);d(ae.$$.fragment,sa),sa.forEach(t),ia.forEach(t),fo=p(It),Ne=s(It,"SPAN",{});var ra=n(Ne);co=h(ra,"Tagging people"),ra.forEach(t),It.forEach(t),ht=p(e),q=s(e,"P",{});var Ct=n(q);mo=h(Ct,"Tagging people by typing an "),Se=s(Ct,"CODE",{});var na=n(Se);yo=h(na,"@"),na.forEach(t),go=h(Ct," followed by their GitHub handle will send them a notification so they will see your issue and might reply quicker. Use this with moderation, because the people you tag might not appreciate being notified if it\u2019s something they have no direct link to. If you have looked at the source files related to your bug, you should tag the last person that made changes at the line you think is responsible for your problem (you can find this information by looking at said line on GitHub, selecting it, then clicking \u201CView git blame\u201D)."),Ct.forEach(t),ut=p(e),me=s(e,"P",{});var la=n(me);bo=h(la,"Otherwise, the template offers suggestions of people to tag. In general, never tag more than three people!"),la.forEach(t),pt=p(e),j=s(e,"H3",{class:!0});var Ht=n(j);D=s(Ht,"A",{id:!0,class:!0,href:!0});var ha=n(D);Ge=s(ha,"SPAN",{});var ua=n(Ge);d(ie.$$.fragment,ua),ua.forEach(t),ha.forEach(t),wo=p(Ht),Oe=s(Ht,"SPAN",{});var pa=n(Oe);vo=h(pa,"Including a reproducible example"),pa.forEach(t),Ht.forEach(t),ft=p(e),M=s(e,"P",{});var Ut=n(M);ko=h(Ut,"If you have managed to create a self-contained example that produces the bug, now is the time to include it! Type a line with three backticks followed by "),Fe=s(Ut,"CODE",{});var fa=n(Fe);$o=h(fa,"python"),fa.forEach(t),_o=h(Ut,", like this:"),Ut.forEach(t),ct=p(e),d(se.$$.fragment,e),mt=p(e),ye=s(e,"P",{});var ca=n(ye);xo=h(ca,"then paste in your minimal reproducible example and type a new line with three backticks. This will ensure your code is properly formatted."),ca.forEach(t),yt=p(e),de=s(e,"P",{});var ma=n(de);Eo=h(ma,"If you didn\u2019t manage to create a reproducible example, explain in clear steps how you got to your issue. Include a link to a Google Colab notebook where you got the error if you can. The more information you share, the better able the maintainers will be to reply to you."),ma.forEach(t),dt=p(e),ge=s(e,"P",{});var ya=n(ge);Po=h(ya,"In all cases, you should copy and paste the whole error message you are getting. If you\u2019re working in Colab, remember that some of the frames may be automatically collapsed in the stack trace, so make sure you expand them before copying. Like with the code sample, put that error message between two lines with three backticks, so it\u2019s properly formatted."),ya.forEach(t),gt=p(e),T=s(e,"H3",{class:!0});var Nt=n(T);W=s(Nt,"A",{id:!0,class:!0,href:!0});var da=n(W);Le=s(da,"SPAN",{});var ga=n(Le);d(re.$$.fragment,ga),ga.forEach(t),da.forEach(t),jo=p(Nt),qe=s(Nt,"SPAN",{});var ba=n(qe);To=h(ba,"Describing the expected behavior[[describing-the-expected-behavior]]"),ba.forEach(t),Nt.forEach(t),bt=p(e),be=s(e,"P",{});var wa=n(be);Ao=h(wa,"Explain in a few lines what you expected to get, so that the maintainers get a full grasp of the problem. This part is generally pretty obvious, so it should fit in one sentence, but in some cases you may have a lot to say."),wa.forEach(t),wt=p(e),A=s(e,"H2",{class:!0});var St=n(A);Y=s(St,"A",{id:!0,class:!0,href:!0});var va=n(Y);De=s(va,"SPAN",{});var ka=n(De);d(ne.$$.fragment,ka),ka.forEach(t),va.forEach(t),Io=p(St),Me=s(St,"SPAN",{});var $a=n(Me);Co=h($a,"And then what?[[and-then-what]]"),$a.forEach(t),St.forEach(t),vt=p(e),we=s(e,"P",{});var _a=n(we);Ho=h(_a,"Once your issue is filed, make sure to quickly check everything looks okay. You can edit the issue if you made a mistake, or even change its title if you realize the problem is different from what you initially thought."),_a.forEach(t),kt=p(e),ve=s(e,"P",{});var xa=n(ve);Uo=h(xa,"There is no point pinging people if you don\u2019t get an answer. If no one helps you in a few days, it\u2019s likely that no one could make sense of your problem. Don\u2019t hesitate to go back to the reproducible example. Can you make it shorter and more to the point? If you don\u2019t get an answer in a week, you can leave a message gently asking for help, especially if you\u2019ve edited your issue to include more information on the problem."),xa.forEach(t),this.h()},h(){f(c,"name","hf:doc:metadata"),f(c,"content",JSON.stringify(Sa)),f(k,"id","how-to-write-a-good-issue"),f(k,"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"),f(k,"href","#how-to-write-a-good-issue"),f(m,"class","relative group"),f(R,"href","https://discuss.huggingface.co/"),f(R,"rel","nofollow"),f(H,"id","creating-a-minimal-reproducible-example"),f(H,"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"),f(H,"href","#creating-a-minimal-reproducible-example"),f(_,"class","relative group"),f(S,"id","filling-out-the-issue-template"),f(S,"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"),f(S,"href","#filling-out-the-issue-template"),f(x,"class","relative group"),f(X,"href","https://github.com/huggingface/transformers/issues/new/choose"),f(X,"rel","nofollow"),f(Z,"href","https://github.com/huggingface/transformers/blob/master/CODE_OF_CONDUCT.md"),f(Z,"rel","nofollow"),f(F,"id","including-your-environment-information"),f(F,"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"),f(F,"href","#including-your-environment-information"),f(E,"class","relative group"),f(L,"id","tagging-people"),f(L,"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"),f(L,"href","#tagging-people"),f(P,"class","relative group"),f(D,"id","including-a-reproducible-example"),f(D,"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"),f(D,"href","#including-a-reproducible-example"),f(j,"class","relative group"),f(W,"id","describing-the-expected-behavior[[describing-the-expected-behavior]]"),f(W,"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"),f(W,"href","#describing-the-expected-behavior[[describing-the-expected-behavior]]"),f(T,"class","relative group"),f(Y,"id","and-then-what?[[and-then-what]]"),f(Y,"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"),f(Y,"href","#and-then-what?[[and-then-what]]"),f(A,"class","relative group")},m(e,a){o(document.head,c),r(e,I,a),r(e,m,a),o(m,k),o(k,$e),g(z,$e,null),o(m,Gt),o(m,_e),o(_e,Ot),r(e,Ye,a),g(B,e,a),r(e,Je,a),r(e,C,a),o(C,Ft),o(C,R),o(R,Lt),o(C,qt),r(e,ze,a),g(V,e,a),r(e,Be,a),r(e,he,a),o(he,Dt),r(e,Re,a),r(e,_,a),o(_,H),o(H,xe),g(K,xe,null),o(_,Mt),o(_,Ee),o(Ee,Wt),r(e,Ve,a),r(e,ue,a),o(ue,Yt),r(e,Ke,a),g(U,e,a),r(e,Qe,a),r(e,N,a),o(N,Jt),o(N,Pe),o(Pe,zt),o(N,Bt),r(e,Xe,a),r(e,pe,a),o(pe,Rt),r(e,Ze,a),r(e,x,a),o(x,S),o(S,je),g(Q,je,null),o(x,Vt),o(x,Te),o(Te,Kt),r(e,et,a),r(e,G,a),o(G,Qt),o(G,X),o(X,Xt),o(G,Zt),r(e,tt,a),r(e,O,a),o(O,eo),o(O,Z),o(Z,to),o(O,oo),r(e,ot,a),r(e,E,a),o(E,F),o(F,Ae),g(ee,Ae,null),o(E,ao),o(E,Ie),o(Ie,io),r(e,at,a),r(e,fe,a),o(fe,so),r(e,it,a),g(te,e,a),r(e,st,a),r(e,ce,a),o(ce,ro),r(e,rt,a),g(oe,e,a),r(e,nt,a),r(e,$,a),o($,no),o($,Ce),o(Ce,lo),o($,ho),o($,He),o(He,uo),o($,po),r(e,lt,a),r(e,P,a),o(P,L),o(L,Ue),g(ae,Ue,null),o(P,fo),o(P,Ne),o(Ne,co),r(e,ht,a),r(e,q,a),o(q,mo),o(q,Se),o(Se,yo),o(q,go),r(e,ut,a),r(e,me,a),o(me,bo),r(e,pt,a),r(e,j,a),o(j,D),o(D,Ge),g(ie,Ge,null),o(j,wo),o(j,Oe),o(Oe,vo),r(e,ft,a),r(e,M,a),o(M,ko),o(M,Fe),o(Fe,$o),o(M,_o),r(e,ct,a),g(se,e,a),r(e,mt,a),r(e,ye,a),o(ye,xo),r(e,yt,a),r(e,de,a),o(de,Eo),r(e,dt,a),r(e,ge,a),o(ge,Po),r(e,gt,a),r(e,T,a),o(T,W),o(W,Le),g(re,Le,null),o(T,jo),o(T,qe),o(qe,To),r(e,bt,a),r(e,be,a),o(be,Ao),r(e,wt,a),r(e,A,a),o(A,Y),o(Y,De),g(ne,De,null),o(A,Io),o(A,Me),o(Me,Co),r(e,vt,a),r(e,we,a),o(we,Ho),r(e,kt,a),r(e,ve,a),o(ve,Uo),$t=!0},p(e,[a]){const le={};a&2&&(le.$$scope={dirty:a,ctx:e}),U.$set(le)},i(e){$t||(b(z.$$.fragment,e),b(B.$$.fragment,e),b(V.$$.fragment,e),b(K.$$.fragment,e),b(U.$$.fragment,e),b(Q.$$.fragment,e),b(ee.$$.fragment,e),b(te.$$.fragment,e),b(oe.$$.fragment,e),b(ae.$$.fragment,e),b(ie.$$.fragment,e),b(se.$$.fragment,e),b(re.$$.fragment,e),b(ne.$$.fragment,e),$t=!0)},o(e){w(z.$$.fragment,e),w(B.$$.fragment,e),w(V.$$.fragment,e),w(K.$$.fragment,e),w(U.$$.fragment,e),w(Q.$$.fragment,e),w(ee.$$.fragment,e),w(te.$$.fragment,e),w(oe.$$.fragment,e),w(ae.$$.fragment,e),w(ie.$$.fragment,e),w(se.$$.fragment,e),w(re.$$.fragment,e),w(ne.$$.fragment,e),$t=!1},d(e){t(c),e&&t(I),e&&t(m),v(z),e&&t(Ye),v(B,e),e&&t(Je),e&&t(C),e&&t(ze),v(V,e),e&&t(Be),e&&t(he),e&&t(Re),e&&t(_),v(K),e&&t(Ve),e&&t(ue),e&&t(Ke),v(U,e),e&&t(Qe),e&&t(N),e&&t(Xe),e&&t(pe),e&&t(Ze),e&&t(x),v(Q),e&&t(et),e&&t(G),e&&t(tt),e&&t(O),e&&t(ot),e&&t(E),v(ee),e&&t(at),e&&t(fe),e&&t(it),v(te,e),e&&t(st),e&&t(ce),e&&t(rt),v(oe,e),e&&t(nt),e&&t($),e&&t(lt),e&&t(P),v(ae),e&&t(ht),e&&t(q),e&&t(ut),e&&t(me),e&&t(pt),e&&t(j),v(ie),e&&t(ft),e&&t(M),e&&t(ct),v(se,e),e&&t(mt),e&&t(ye),e&&t(yt),e&&t(de),e&&t(dt),e&&t(ge),e&&t(gt),e&&t(T),v(re),e&&t(bt),e&&t(be),e&&t(wt),e&&t(A),v(ne),e&&t(vt),e&&t(we),e&&t(kt),e&&t(ve)}}}const Sa={local:"how-to-write-a-good-issue",sections:[{local:"creating-a-minimal-reproducible-example",title:"Creating a minimal reproducible example"},{local:"filling-out-the-issue-template",sections:[{local:"including-your-environment-information",title:"Including your environment information"},{local:"tagging-people",title:"Tagging people"},{local:"including-a-reproducible-example",title:"Including a reproducible example"}],title:"Filling out the issue template"}],title:"How to write a good issue"};function Ga(We){return Aa(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Wa extends Ea{constructor(c){super();Pa(this,c,Ga,Na,ja,{})}}export{Wa as default,Sa as metadata};
