Buckets:
| import{s as ot,n as rt,o as ut}from"../chunks/scheduler.e4ff9b64.js";import{S as gt,i as mt,e as f,s as n,c as P,h as $t,a,d as i,b as s,f as at,g as T,j as o,k as pt,l as ht,m as l,n as D,t as y,o as M,p as H}from"../chunks/index.09f1bca0.js";import{C as ct,H as k,E as _t}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.be5a66d3.js";function dt(Y){let p,q,S,z,r,R,u,U,g,A,m,Z='<a href="https://huggingface.co/docs/diffusers/index" rel="nofollow">Diffusers</a>不仅提供预训练的diffusion模型,还是一个模块化工具箱,支持推理和训练功能。',O,$,tt="鉴于该技术在实际场景中的应用及其可能对社会产生的负面影响,我们认为有必要制定项目伦理准则,以指导Diffusers库的开发、用户贡献和使用规范。",j,h,et="该技术涉及的风险仍在持续评估中,主要包括但不限于:艺术家版权问题、深度伪造滥用、不当情境下的色情内容生成、非自愿的人物模仿、以及加剧边缘群体压迫的有害社会偏见。我们将持续追踪风险,并根据社区反馈动态调整本准则。",B,c,F,_,it="Diffusers社区将在项目开发中贯彻以下伦理准则,并协调社区贡献的整合方式,特别是在涉及伦理敏感议题的技术决策时。",G,d,I,x,lt="以下准则具有普遍适用性,但我们主要在处理涉及伦理敏感问题的技术决策时实施。同时,我们承诺将根据技术发展带来的新兴风险持续调整这些原则:",J,v,nt="<li><p><strong>透明度</strong>:我们承诺以透明方式管理PR(拉取请求),向用户解释决策依据,并公开技术选择过程。</p></li> <li><p><strong>一致性</strong>:我们承诺为用户提供统一标准的项目管理,保持技术稳定性和连贯性。</p></li> <li><p><strong>简洁性</strong>:为了让Diffusers库更易使用和开发,我们承诺保持项目目标精简且逻辑自洽。</p></li> <li><p><strong>可及性</strong>:本项目致力于降低贡献门槛,即使非技术人员也能参与运营,从而使研究资源更广泛地服务于社区。</p></li> <li><p><strong>可复现性</strong>:对于通过Diffusers库发布的上游代码、模型和数据集,我们将明确说明其可复现性。</p></li> <li><p><strong>责任性</strong>:作为社区和团队,我们共同承担用户责任,通过风险预判和缓解措施来应对技术潜在危害。</p></li>",K,b,N,C,st="团队持续开发技术和非技术工具,以应对diffusion技术相关的伦理与社会风险。社区反馈对于功能实施和风险意识提升具有不可替代的价值:",Q,w,ft='<li><p><a href="https://huggingface.co/docs/hub/repositories-pull-requests-discussions" rel="nofollow"><strong>社区讨论区</strong></a>:促进社区成员就项目开展协作讨论。</p></li> <li><p><strong>偏见探索与评估</strong>:Hugging Face团队提供<a href="https://huggingface.co/spaces/society-ethics/DiffusionBiasExplorer" rel="nofollow">交互空间</a>展示Stable Diffusion中的偏见。我们支持并鼓励此类偏见探索与评估工作。</p></li> <li><p><strong>部署安全强化</strong>:</p> <ul><li><p><a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_safe" rel="nofollow"><strong>Safe Stable Diffusion</strong></a>:解决Stable Diffusion等基于未过滤网络爬取数据训练的模型容易产生不当内容的问题。相关论文:<a href="https://huggingface.co/papers/2211.05105" rel="nofollow">Safe Latent Diffusion:缓解diffusion模型中的不当退化</a>。</p></li> <li><p><a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/safety_checker.py" rel="nofollow"><strong>安全检测器</strong></a>:通过比对图像生成后嵌入空间中硬编码有害概念集的类别概率进行检测。有害概念列表经特殊处理以防逆向工程。</p></li></ul></li> <li><p><strong>分阶段模型发布</strong>:对于高度敏感的仓库,采用分级访问控制。这种阶段性发布机制让作者能更好地管控使用场景。</p></li> <li><p><strong>许可证制度</strong>:采用新型<a href="https://huggingface.co/blog/open_rail" rel="nofollow">OpenRAILs</a>许可协议,在保障开放访问的同时设置使用限制以确保更负责任的应用。</p></li>',V,L,W,E,X;return r=new ct({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new k({props:{title:"🧨 Diffusers伦理准则",local:"-diffusers伦理准则",headingTag:"h1"}}),g=new k({props:{title:"前言",local:"前言",headingTag:"h2"}}),c=new k({props:{title:"适用范围",local:"适用范围",headingTag:"h2"}}),d=new k({props:{title:"伦理准则",local:"伦理准则",headingTag:"h2"}}),b=new k({props:{title:"实施案例:安全功能与机制",local:"实施案例安全功能与机制",headingTag:"h2"}}),L=new _t({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/zh/conceptual/ethical_guidelines.md"}}),{c(){p=f("meta"),q=n(),S=f("p"),z=n(),P(r.$$.fragment),R=n(),P(u.$$.fragment),U=n(),P(g.$$.fragment),A=n(),m=f("p"),m.innerHTML=Z,O=n(),$=f("p"),$.textContent=tt,j=n(),h=f("p"),h.textContent=et,B=n(),P(c.$$.fragment),F=n(),_=f("p"),_.textContent=it,G=n(),P(d.$$.fragment),I=n(),x=f("p"),x.textContent=lt,J=n(),v=f("ul"),v.innerHTML=nt,K=n(),P(b.$$.fragment),N=n(),C=f("p"),C.textContent=st,Q=n(),w=f("ul"),w.innerHTML=ft,V=n(),P(L.$$.fragment),W=n(),E=f("p"),this.h()},l(t){const e=$t("svelte-u9bgzb",document.head);p=a(e,"META",{name:!0,content:!0}),e.forEach(i),q=s(t),S=a(t,"P",{}),at(S).forEach(i),z=s(t),T(r.$$.fragment,t),R=s(t),T(u.$$.fragment,t),U=s(t),T(g.$$.fragment,t),A=s(t),m=a(t,"P",{"data-svelte-h":!0}),o(m)!=="svelte-iksyhq"&&(m.innerHTML=Z),O=s(t),$=a(t,"P",{"data-svelte-h":!0}),o($)!=="svelte-1ttt3t1"&&($.textContent=tt),j=s(t),h=a(t,"P",{"data-svelte-h":!0}),o(h)!=="svelte-1vq3vrx"&&(h.textContent=et),B=s(t),T(c.$$.fragment,t),F=s(t),_=a(t,"P",{"data-svelte-h":!0}),o(_)!=="svelte-nw6ggi"&&(_.textContent=it),G=s(t),T(d.$$.fragment,t),I=s(t),x=a(t,"P",{"data-svelte-h":!0}),o(x)!=="svelte-1lc8nar"&&(x.textContent=lt),J=s(t),v=a(t,"UL",{"data-svelte-h":!0}),o(v)!=="svelte-mlkxk5"&&(v.innerHTML=nt),K=s(t),T(b.$$.fragment,t),N=s(t),C=a(t,"P",{"data-svelte-h":!0}),o(C)!=="svelte-18prbob"&&(C.textContent=st),Q=s(t),w=a(t,"UL",{"data-svelte-h":!0}),o(w)!=="svelte-ag8qsa"&&(w.innerHTML=ft),V=s(t),T(L.$$.fragment,t),W=s(t),E=a(t,"P",{}),at(E).forEach(i),this.h()},h(){pt(p,"name","hf:doc:metadata"),pt(p,"content",xt)},m(t,e){ht(document.head,p),l(t,q,e),l(t,S,e),l(t,z,e),D(r,t,e),l(t,R,e),D(u,t,e),l(t,U,e),D(g,t,e),l(t,A,e),l(t,m,e),l(t,O,e),l(t,$,e),l(t,j,e),l(t,h,e),l(t,B,e),D(c,t,e),l(t,F,e),l(t,_,e),l(t,G,e),D(d,t,e),l(t,I,e),l(t,x,e),l(t,J,e),l(t,v,e),l(t,K,e),D(b,t,e),l(t,N,e),l(t,C,e),l(t,Q,e),l(t,w,e),l(t,V,e),D(L,t,e),l(t,W,e),l(t,E,e),X=!0},p:rt,i(t){X||(y(r.$$.fragment,t),y(u.$$.fragment,t),y(g.$$.fragment,t),y(c.$$.fragment,t),y(d.$$.fragment,t),y(b.$$.fragment,t),y(L.$$.fragment,t),X=!0)},o(t){M(r.$$.fragment,t),M(u.$$.fragment,t),M(g.$$.fragment,t),M(c.$$.fragment,t),M(d.$$.fragment,t),M(b.$$.fragment,t),M(L.$$.fragment,t),X=!1},d(t){t&&(i(q),i(S),i(z),i(R),i(U),i(A),i(m),i(O),i($),i(j),i(h),i(B),i(F),i(_),i(G),i(I),i(x),i(J),i(v),i(K),i(N),i(C),i(Q),i(w),i(V),i(W),i(E)),i(p),H(r,t),H(u,t),H(g,t),H(c,t),H(d,t),H(b,t),H(L,t)}}}const xt='{"title":"🧨 Diffusers伦理准则","local":"-diffusers伦理准则","sections":[{"title":"前言","local":"前言","sections":[],"depth":2},{"title":"适用范围","local":"适用范围","sections":[],"depth":2},{"title":"伦理准则","local":"伦理准则","sections":[],"depth":2},{"title":"实施案例:安全功能与机制","local":"实施案例安全功能与机制","sections":[],"depth":2}],"depth":1}';function vt(Y){return ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Lt extends gt{constructor(p){super(),mt(this,p,vt,dt,ot,{})}}export{Lt as component}; | |
Xet Storage Details
- Size:
- 8.12 kB
- Xet hash:
- c656c383d4e05ea8bd85ab540bd9e928b5b4a0d2c70a9051802365dda7804667
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.