Skip to content

Commit

Permalink
Update: proofreading zh/ethics-diffusers.md (huggingface#1099)
Browse files Browse the repository at this point in the history
* update soc3-zn

* Update _blog.yml

Try to resolve conflicts

* Update: proofreading zh/ethics-soc-3.md

* add how-to-generate cn version

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* unity game in hf space translation completed

* Update: punctuations of how-to-generate.md

* hf-bitsandbytes-integration cn done

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* Proofread hf-bitsandbytes-integration.md

* Proofread: red-teaming.md

* Update: add red-teaming to zh/_blog.yml

* Update _blog.yml

* Update: add red-teaming to zh/_blog.yml

Fix: red-teaming title in zh/_blog.yml

* Fix: red-teaming PPLM translation

* deep-learning-with-proteins cn done

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* Add: stackllama.md

* if blog translation completed

* Update unity-in-spaces.md

Add a link for AI game

* Update if.md

Fix “普罗大众” to “普惠大众”

* deep-learning-with-proteins cn done

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* add starcoder cn

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

Update: formatting and punctuations of starcoder.md

* add starcoder cn

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* Update: proofreading zh/unity-in-spaces.md

* fix(annotated-diffusion.md): fix image shape desc in PIL and Tensor (huggingface#1080)

modifiy the comment after ToTensor with the correct image shape CHW

* Add text-to-video blog (huggingface#1058)

Adds an overview of text-to-video generative models, task specific challenges, datasets, and more.

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Fix broken link in text-to-video.md (huggingface#1083)

* Update: proofreading zh/unity-in-spaces.md

Fix: incorrect _blog.yml format

* Update: proofreading zh/deep-learning-with-proteins.md

* update ethics-diffusers-cn (#6)

* update ethics-diffusers

* update ethics-diffusers

---------

Co-authored-by: Zhongdong Yang <zhongdong_y@outlook.com>

* Update: proofreading zh/ethics-diffusers.md

* 1. introducing-csearch done (#11)

2. text-to-video done

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>

* Update: proofread zh/text-to-video.md

---------

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
Co-authored-by: innovation64 <liyang19991126@126.com>
Co-authored-by: Yao, Matrix <matrix.yao@intel.com>
Co-authored-by: SuSung-boy <872414318@qq.com>
Co-authored-by: Luke Cheng <2258420+chenglu@users.noreply.github.com>
Co-authored-by: yaoqih <40328311+yaoqih@users.noreply.github.com>
Co-authored-by: Shiliang Chen <36809537+csl122@users.noreply.github.com>
Co-authored-by: Alara Dirik <8944735+alaradirik@users.noreply.github.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Co-authored-by: 李洋 <45715979+innovation64@users.noreply.github.com>
Co-authored-by: Yao Matrix <yaoweifeng0301@126.com>
  • Loading branch information
12 people authored May 15, 2023
1 parent 3be0bce commit db743b3
Show file tree
Hide file tree
Showing 4 changed files with 777 additions and 1 deletion.
34 changes: 33 additions & 1 deletion zh/_blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@
- fine-tuning
- guide

- local: introducing-csearch
title: "在 Transformers 中使用对比搜索生成可媲美人类水平的文本🤗"
author: yxuansu
thumbnail: /blog/assets/115_introducing_contrastive_search/thumbnail.png
date: Nov 8, 2022
tags:
- nlp
- text generation
- research

- local: inference-update
title: "Hugging Face 提供的推理 (Inference) 解决方案"
author: julsimon
Expand Down Expand Up @@ -336,6 +346,15 @@
- safety
- alignment

- local: ethics-diffusers
title: "开发 Diffusers 库的道德行为指南"
author: giadap
thumbnail: /blog/assets/ethics-diffusers/thumbnail.png
date: March 2, 2023
tags:
- ethics
- diffusers

- local: controlnet
title: "使用 🧨 Diffusers 实现 ControlNet 高速推理"
author: sayakpaul
Expand Down Expand Up @@ -461,4 +480,17 @@
tags:
- nlp
- community
- research
- research

- local: text-to-video
title: "深入理解文生视频模型"
author: adirik
thumbnail: /blog/assets/140_text-to-video/thumbnail.png
date: May 8, 2023
tags:
- multi-modal
- cv
- guide
- diffusion
- text-to-image
- text-to-video
46 changes: 46 additions & 0 deletions zh/ethics-diffusers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "开发 Diffusers 库的道德行为指南"
thumbnail: /blog/assets/ethics-diffusers/thumbnail.png
authors:
- user: giadap
translators:
- user: innovation64
- user: zhongdongy
proofreader: true
---

# 开发 Diffusers 库的道德行为指南

<!-- {blog_metadata} -->
<!-- {authors} -->

我们正在努力让我们每次发布的库更加负责!

我们很荣幸宣布我们发布了 [道德守则](https://huggingface.co/docs/diffusers/main/en/conceptual/ethical_guidelines),并将作为一部分其放入 [ Diffusers 库的说明文档](https://huggingface.co/docs/diffusers/main/en/index)

由于扩散模型在现实世界上的实际应用例子会对社会造成潜在的负面影响,该守则旨在引导对于社区做出贡献的 Diffusers 库维护者进行技术决策。我们希望对于我们的决策进行更加透明,尤其是,我们想确认一些价值观来指导决策。

我们将道德准则作为一个引导价值,做出具体行动,然后持续适应新的条件的循环过程。基于此,我们致力于随着时间去不断更正我们的价值准则,不断跟进 Diffusers 项目的发展,并从社区持续收集反馈,使得准则始终保持有效。

# 道德守则

- **透明**: 我们致力于在管理 PR、向用户解释我们的选择以及做出技术决策方面保持透明。
- **一致性**: 我们致力于保证我们的用户在项目管理中得到同等程度的关注,保持技术上的稳定和一致。
- **简单性**: 为了让 Diffusers 库易于使用和利用,我们致力于保持项目目标的精简和连贯性。
- **可访问性**: Diffusers 项目帮助更多贡献者降低进入门槛即便没有专业技术也可以运行项目。这样做使得社区更容易获得研究成果。
- **可再现性**: 我们的目标是在使用 Diffusers 库时,使上游代码、模型和数据集的可再现性保持透明。
- **责任**: 作为一个社区,通过团队合作,我们通过预测和减轻该技术的潜在风险和危险来对我们的用户承担集体责任。

# 安全特性和机制

此外,我们提供了一个暂不全面的并希望不断扩展的列表,该列表是关于 Hugging Face 团队和更广泛的社区的实施的安全功能和机制。

- **[社区选项](https://huggingface.co/docs/hub/repositories-pull-requests-discussions)**: 它使社区能够讨论并更好地协作项目。
- **标签功能**: 仓库的作者可以将他们的内容标记为“不适合所有人”
- **偏差探索和评估**: Hugging Face 团队提供了一个 [Space](https://huggingface.co/spaces/society-ethics/DiffusionBiasExplorer) 以交互方式演示 Stable Diffusion 和 DALL-E 中的偏差。从这个意义上说,我们支持和鼓励有偏差的探索和评估。
- **鼓励安全部署**

- **[Safe Stable Diffusion](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion_safe)**: 它缓解了众所周知的问题,像 Stable Diffusion,在未经过滤的,网络抓取的数据集上训练的模型往往会遭受不当的退化。相关论文: [Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models](https://arxiv.org/abs/2211.05105).
- **在 Hub 上分阶段发布**: 特别在敏感的情况下,应限制对某些仓库的访问。这是发布阶段的一个中间步骤,允许仓库的作者对其使用有更多的控制权限。

- **许可**: [OpenRAILs](https://huggingface.co/blog/open_rail), 是一种新型许可,可让我们确保自由访问,同时拥有一组限制,以确保更多负责任的用途。
Loading

0 comments on commit db743b3

Please sign in to comment.