Text-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
bilingual
Chinese
en
English
Instructions to use BAAI/AltDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BAAI/AltDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BAAI/AltDiffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,6 +46,24 @@ AltDiffusion model is backed by a bilingual CLIP model named AltCLIP, which is a
|
|
| 46 |
|
| 47 |
AltDiffusion now supports online demo, try out it by clicking [here](https://huggingface.co/spaces/BAAI/FlagStudio)!
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
# 模型权重 Model Weights
|
| 50 |
|
| 51 |
第一次运行AltDiffusion模型时会自动从 [这里](https://model.baai.ac.cn/model-detail/100076) 下载如下权重,
|
|
|
|
| 46 |
|
| 47 |
AltDiffusion now supports online demo, try out it by clicking [here](https://huggingface.co/spaces/BAAI/FlagStudio)!
|
| 48 |
|
| 49 |
+
|
| 50 |
+
## 引用
|
| 51 |
+
关于AltCLIP,我们已经推出了相关报告,有更多细节可以查阅,如对您的工作有帮助,欢迎引用。
|
| 52 |
+
|
| 53 |
+
If you find this work helpful, please consider to cite
|
| 54 |
+
```
|
| 55 |
+
@article{https://doi.org/10.48550/arxiv.2211.06679,
|
| 56 |
+
doi = {10.48550/ARXIV.2211.06679},
|
| 57 |
+
url = {https://arxiv.org/abs/2211.06679},
|
| 58 |
+
author = {Chen, Zhongzhi and Liu, Guang and Zhang, Bo-Wen and Ye, Fulong and Yang, Qinghong and Wu, Ledell},
|
| 59 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences},
|
| 60 |
+
title = {AltCLIP: Altering the Language Encoder in CLIP for Extended Language Capabilities},
|
| 61 |
+
publisher = {arXiv},
|
| 62 |
+
year = {2022},
|
| 63 |
+
copyright = {arXiv.org perpetual, non-exclusive license}
|
| 64 |
+
}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
# 模型权重 Model Weights
|
| 68 |
|
| 69 |
第一次运行AltDiffusion模型时会自动从 [这里](https://model.baai.ac.cn/model-detail/100076) 下载如下权重,
|