You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/en/api/pipelines/lumina2.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,8 +80,53 @@ image = pipe(
80
80
image.save("lumina-gguf.png")
81
81
```
82
82
83
+
## Lumina Accessory
84
+
85
+
Lumina-Accessory is a multi-task instruction fine-tuning framework designed for the Lumina series. The official repository is from [Alpha-VLLM/Lumina-Accessory](https://github.com/Alpha-VLLM/Lumina-Accessory)
86
+
87
+
```python
88
+
import torch
89
+
from diffusers import Lumina2AccessoryPipeline, Lumina2AccessoryTransformer2DModel
prompt ="A classical oil painting of a young woman dressed in a modern DARK BLACK leather jacket."
103
+
system_prompt ="You are an assistant designed to generate superior images with the highest degree of image-text alignment based on textual prompts and a partially masked image."
0 commit comments