Instructions to use 0x6e676e/generate-context with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use 0x6e676e/generate-context with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("0x6e676e/generate-context", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- fka/awesome-chatgpt-prompts
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
- vi
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
base_model:
|
| 10 |
+
- deepseek-ai/DeepSeek-R1
|
| 11 |
+
new_version: deepseek-ai/DeepSeek-R1
|
| 12 |
+
pipeline_tag: image-to-image
|
| 13 |
+
library_name: diffusers
|
| 14 |
+
tags:
|
| 15 |
+
- art
|
| 16 |
+
---
|