Upload folder using huggingface_hub
Browse files- README.md +58 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mochi-1-preview
|
3 |
+
library_name: diffusers
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- text-to-video
|
7 |
+
- diffusers-training
|
8 |
+
- diffusers
|
9 |
+
- lora
|
10 |
+
- mochi-1-preview
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# Mochi-1 Preview LoRA Finetune
|
17 |
+
|
18 |
+
This is a LoRA fine-tune of the Mochi-1 preview model. The model was trained using custom training data.
|
19 |
+
|
20 |
+
## Usage
|
21 |
+
|
22 |
+
```python
|
23 |
+
from diffusers import MochiPipeline
|
24 |
+
from diffusers.utils import export_to_video
|
25 |
+
import torch
|
26 |
+
|
27 |
+
pipe = MochiPipeline.from_pretrained("genmo/mochi-1-preview")
|
28 |
+
pipe.load_lora_weights("lucataco/mochi-lora-vhs")
|
29 |
+
pipe.enable_model_cpu_offload()
|
30 |
+
|
31 |
+
video = pipe(
|
32 |
+
prompt="your prompt here",
|
33 |
+
guidance_scale=6.0,
|
34 |
+
num_inference_steps=64,
|
35 |
+
height=480,
|
36 |
+
width=848,
|
37 |
+
max_sequence_length=256,
|
38 |
+
).frames[0]
|
39 |
+
|
40 |
+
export_to_video(video, "output.mp4", fps=30)
|
41 |
+
```
|
42 |
+
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
#### How to use
|
47 |
+
|
48 |
+
```python
|
49 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
50 |
+
```
|
51 |
+
|
52 |
+
#### Limitations and bias
|
53 |
+
|
54 |
+
[TODO: provide examples of latent issues and potential remediations]
|
55 |
+
|
56 |
+
## Training details
|
57 |
+
|
58 |
+
[TODO: describe the data used to train the model]
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f95d73e376472ff00aeb3b4bcabf63ce1b9c7715775f666c79e4d7f7b5e7dd7c
|
3 |
+
size 76072152
|