Instructions to use WeiChow/EditMGT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WeiChow/EditMGT 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("WeiChow/EditMGT", 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
Commit History
-
Upload llm_encoder/tokenizer_config.json with huggingface_hub
Verified signature56e3f36 -
Upload llm_encoder/tokenizer.model with huggingface_hub
Verified signatureed54f95 -
Upload llm_encoder/tokenizer.json with huggingface_hub
Verified signature6bee3a2 -
Upload llm_encoder/special_tokens_map.json with huggingface_hub
Verified signature75b3365 -
Upload llm_encoder/model.safetensors.index.json with huggingface_hub
Verified signature5b2cea8 -
Upload llm_encoder/model-00002-of-00002.safetensors with huggingface_hub
Verified signature2016d99 -
Upload llm_encoder/model-00001-of-00002.safetensors with huggingface_hub
Verified signature883915c -
Upload llm_encoder/generation_config.json with huggingface_hub
Verified signature3d68213 -
Upload llm_encoder/config.json with huggingface_hub
Verified signature3d67f5a -
Upload llm_encoder/README.md with huggingface_hub
Verified signature34e1ad5