Buckets:

rtrm's picture
download
raw
7.84 kB
import{s as at,n as ot,o as pt}from"../chunks/scheduler.5c93273d.js";import{S as rt,i as ut,g as f,s as l,r as P,A as gt,h as a,f as s,c as n,j as nt,u as D,x as p,k as ft,y as mt,a as i,v as T,d as L,t as H,w as y}from"../chunks/index.e43dd92b.js";import{H as E,E as $t}from"../chunks/getInferenceSnippets.3559ff1c.js";function ht(W){let o,k,M,q,r,A,u,R,g,X='<a href="https://huggingface.co/docs/diffusers/index" rel="nofollow">Diffusers</a>不仅提供预训练的diffusion模型,还是一个模块化工具箱,支持推理和训练功能。',U,m,Y="鉴于该技术在实际场景中的应用及其可能对社会产生的负面影响,我们认为有必要制定项目伦理准则,以指导Diffusers库的开发、用户贡献和使用规范。",z,$,Z="该技术涉及的风险仍在持续评估中,主要包括但不限于:艺术家版权问题、深度伪造滥用、不当情境下的色情内容生成、非自愿的人物模仿、以及加剧边缘群体压迫的有害社会偏见。我们将持续追踪风险,并根据社区反馈动态调整本准则。",O,h,j,c,tt="Diffusers社区将在项目开发中贯彻以下伦理准则,并协调社区贡献的整合方式,特别是在涉及伦理敏感议题的技术决策时。",B,d,F,_,et="以下准则具有普遍适用性,但我们主要在处理涉及伦理敏感问题的技术决策时实施。同时,我们承诺将根据技术发展带来的新兴风险持续调整这些原则:",G,x,st="<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>",I,v,J,b,it="团队持续开发技术和非技术工具,以应对diffusion技术相关的伦理与社会风险。社区反馈对于功能实施和风险意识提升具有不可替代的价值:",K,w,lt='<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>',N,C,Q,S,V;return r=new E({props:{title:"🧨 Diffusers伦理准则",local:"-diffusers伦理准则",headingTag:"h1"}}),u=new E({props:{title:"前言",local:"前言",headingTag:"h2"}}),h=new E({props:{title:"适用范围",local:"适用范围",headingTag:"h2"}}),d=new E({props:{title:"伦理准则",local:"伦理准则",headingTag:"h2"}}),v=new E({props:{title:"实施案例:安全功能与机制",local:"实施案例安全功能与机制",headingTag:"h2"}}),C=new $t({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/zh/conceptual/ethical_guidelines.md"}}),{c(){o=f("meta"),k=l(),M=f("p"),q=l(),P(r.$$.fragment),A=l(),P(u.$$.fragment),R=l(),g=f("p"),g.innerHTML=X,U=l(),m=f("p"),m.textContent=Y,z=l(),$=f("p"),$.textContent=Z,O=l(),P(h.$$.fragment),j=l(),c=f("p"),c.textContent=tt,B=l(),P(d.$$.fragment),F=l(),_=f("p"),_.textContent=et,G=l(),x=f("ul"),x.innerHTML=st,I=l(),P(v.$$.fragment),J=l(),b=f("p"),b.textContent=it,K=l(),w=f("ul"),w.innerHTML=lt,N=l(),P(C.$$.fragment),Q=l(),S=f("p"),this.h()},l(t){const e=gt("svelte-u9bgzb",document.head);o=a(e,"META",{name:!0,content:!0}),e.forEach(s),k=n(t),M=a(t,"P",{}),nt(M).forEach(s),q=n(t),D(r.$$.fragment,t),A=n(t),D(u.$$.fragment,t),R=n(t),g=a(t,"P",{"data-svelte-h":!0}),p(g)!=="svelte-iksyhq"&&(g.innerHTML=X),U=n(t),m=a(t,"P",{"data-svelte-h":!0}),p(m)!=="svelte-1ttt3t1"&&(m.textContent=Y),z=n(t),$=a(t,"P",{"data-svelte-h":!0}),p($)!=="svelte-1vq3vrx"&&($.textContent=Z),O=n(t),D(h.$$.fragment,t),j=n(t),c=a(t,"P",{"data-svelte-h":!0}),p(c)!=="svelte-nw6ggi"&&(c.textContent=tt),B=n(t),D(d.$$.fragment,t),F=n(t),_=a(t,"P",{"data-svelte-h":!0}),p(_)!=="svelte-1lc8nar"&&(_.textContent=et),G=n(t),x=a(t,"UL",{"data-svelte-h":!0}),p(x)!=="svelte-mlkxk5"&&(x.innerHTML=st),I=n(t),D(v.$$.fragment,t),J=n(t),b=a(t,"P",{"data-svelte-h":!0}),p(b)!=="svelte-18prbob"&&(b.textContent=it),K=n(t),w=a(t,"UL",{"data-svelte-h":!0}),p(w)!=="svelte-ag8qsa"&&(w.innerHTML=lt),N=n(t),D(C.$$.fragment,t),Q=n(t),S=a(t,"P",{}),nt(S).forEach(s),this.h()},h(){ft(o,"name","hf:doc:metadata"),ft(o,"content",ct)},m(t,e){mt(document.head,o),i(t,k,e),i(t,M,e),i(t,q,e),T(r,t,e),i(t,A,e),T(u,t,e),i(t,R,e),i(t,g,e),i(t,U,e),i(t,m,e),i(t,z,e),i(t,$,e),i(t,O,e),T(h,t,e),i(t,j,e),i(t,c,e),i(t,B,e),T(d,t,e),i(t,F,e),i(t,_,e),i(t,G,e),i(t,x,e),i(t,I,e),T(v,t,e),i(t,J,e),i(t,b,e),i(t,K,e),i(t,w,e),i(t,N,e),T(C,t,e),i(t,Q,e),i(t,S,e),V=!0},p:ot,i(t){V||(L(r.$$.fragment,t),L(u.$$.fragment,t),L(h.$$.fragment,t),L(d.$$.fragment,t),L(v.$$.fragment,t),L(C.$$.fragment,t),V=!0)},o(t){H(r.$$.fragment,t),H(u.$$.fragment,t),H(h.$$.fragment,t),H(d.$$.fragment,t),H(v.$$.fragment,t),H(C.$$.fragment,t),V=!1},d(t){t&&(s(k),s(M),s(q),s(A),s(R),s(g),s(U),s(m),s(z),s($),s(O),s(j),s(c),s(B),s(F),s(_),s(G),s(x),s(I),s(J),s(b),s(K),s(w),s(N),s(Q),s(S)),s(o),y(r,t),y(u,t),y(h,t),y(d,t),y(v,t),y(C,t)}}}const ct='{"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 dt(W){return pt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class bt extends rt{constructor(o){super(),ut(this,o,dt,ht,at,{})}}export{bt as component};

Xet Storage Details

Size:
7.84 kB
·
Xet hash:
4fa9486a60ca4100670956c1834761c0288dd8483dd08e8a04b4e6f2ccc878af

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.