# Hugging News #0203: 3.3 MB 的文生图模型、RHLF 训练框架、手机上能跑的 Transformer

**URL:** <https://meta.101.dev/t/hugging-news-0203-3-3-mb-rhlf-transformer/854>\
**Category:** Hugging Face\
**Tags:** huggingnews\
**Created:** [2023 年2 月 8 日 06:04 UTC](https://meta.101.dev/t/hugging-news-0203-3-3-mb-rhlf-transformer/854 "2023-02-08T06:04:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![101](https://meta.101.dev/user_avatar/meta.101.dev/101/32/575_2.png) [@101](https://meta.101.dev/u/101)\
发布日期： [2023 年2 月 8 日 06:04 UTC](https://meta.101.dev/t/hugging-news-0203-3-3-mb-rhlf-transformer/854/1 "2023-02-08T06:04:37Z")

</div>

![](https://devrel.andfun.cn/devrel/posts/2023/02/TmFnKE.jpg)

每一周，我们的同事都会向社区的成员们发布一些关于 Hugging Face 相关的更新，包括我们的产品和平台更新、社区活动、学习资源和内容更新、开源库和模型更新等，我们将其称之为「Hugging News」。

下面是本期的 Hugging News 内容：

## HuggingFace hub webhook

![](https://www.101.dev/images/transparent.png)

想要写个程序自动抓取 HF 上模型或者数据集的更新，来个 bot 自动介入讨论区的互动？来玩 webhooks 吧～

> **[Webhooks · Hugging Face](https://huggingface.co/docs/hub/webhooks)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

## Hugging Face Competitions 平台

AI 时代的 OJ 是什么样子？来试试最新的 AI 比赛平台吧。AI 图片生成挑战赛已开幕，还有奖金哦～

![](https://www.101.dev/images/transparent.png)

> **[Aiornot - a Hugging Face Space by competitions](https://huggingface.co/spaces/competitions/aiornot)**
>
> Discover amazing ML apps made by the community

## Diffusers 0.12 发布

![](https://www.101.dev/images/transparent.png)

有了 InstructPix2Pix, LoRA, fast DEIS scheduler, DiT (Diffusion Transformers), customizable attention layers 你想做什么应用呢？评论区告诉我们吧。

## 微调过的文生图模型能有多小？

![](https://www.101.dev/images/transparent.png)

答案：3.3 MB

> **[Using LoRA for Efficient Stable Diffusion Fine-Tuning](https://huggingface.co/blog/lora)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

## KerasCV ↔ Diffusers

![](https://www.101.dev/images/transparent.png)

Keras CV 的 Stable Diffusion 模型也可以在 Diffusers 上部署啦！

[https://huggingface.co/docs/diffusers/main/en/using-diffusers/kerascv](https://huggingface.co/docs/diffusers/main/en/using-diffusers/kerascv)

## TRL 0.2.0 来啦

![](https://www.101.dev/images/transparent.png)

LLM + RL (RLHF) 用这个框架就好啦

## Fast GPT2

用 Rust 写的 GPT2，比 PyTorch 快三倍。

![](https://www.101.dev/images/transparent.png)

> **[GitHub - Narsil/fast\_gpt2](https://github.com/Narsil/fast_gpt2)**
>
> 通过在 GitHub 上创建帐户来为 Narsil/fast\_gpt2 开发做出贡献。

## 手机上能跑的 Transformer 来了

![](https://www.101.dev/images/transparent.png)

用这个用来做图像分类也太强了吧！

Model: [https://huggingface.co/docs/transformers/main/en/model\_doc/efficientformer](https://huggingface.co/docs/transformers/main/en/model_doc/efficientformer)

Demo: [https://huggingface.co/spaces/adirik/efficientformer](https://huggingface.co/spaces/adirik/efficientformer)

## 再次恭喜所有在 DreamBooth 微调竞赛中获奖的参赛者

![](https://devrel.andfun.cn/devrel/posts/2023/02/CjHFdQ.jpg)

上一篇文章我们向大家展示了 [来自全球参赛者的「AIGC」作品](https://mp.weixin.qq.com/s/qLQiWPKcblF2_oPLR_4RBw)，我们在国内做了竞赛的「分会场」，目标是希望将难度将至最低，让每个人都能体验一下当下这个最火热的概念。本次活动已经圆满落幕，下次活动见！
