Instructions to use mojealterego/mochi-1-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mojealterego/mochi-1-preview with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mojealterego/mochi-1-preview", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Genmo
How to use mojealterego/mochi-1-preview with Genmo:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download NOTICE from mojealterego/mochi-1-preview: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/mojealterego/mochi-1-preview/resolve/main/NOTICE
- Command line
-
hf download hf://mojealterego/mochi-1-preview/NOTICE
-
curl -L -o NOTICE https://huggingface.co/mojealterego/mochi-1-preview/resolve/main/NOTICE
413 Bytes
| Mochi 1 Preview | |
| Copyright 2024 Genmo, Inc. | |
| This repository is licensed under the Apache License, Version 2.0. See the LICENSE file. | |
| This repository includes third-party material: | |
| The files in text_encoder/ and tokenizer/ are an unmodified copy of Google's T5 v1.1 XXL text encoder and tokenizer (https://huggingface.co/google/t5-v1_1-xxl). Copyright Google LLC. Licensed under the Apache License, Version 2.0. | |