uglysonic3121
commited on
Commit
•
f9390ae
1
Parent(s):
74bc701
Upload folder using huggingface_hub
Browse files- README.md +63 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- replicate
|
11 |
+
- mochi-1-preview
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# Mochi-1 Preview LoRA Finetune
|
18 |
+
|
19 |
+
This is a LoRA fine-tune of the Mochi-1 preview model. The model was trained using custom training data.
|
20 |
+
|
21 |
+
## Usage
|
22 |
+
|
23 |
+
```python
|
24 |
+
from diffusers import MochiPipeline
|
25 |
+
from diffusers.utils import export_to_video
|
26 |
+
import torch
|
27 |
+
|
28 |
+
pipe = MochiPipeline.from_pretrained("genmo/mochi-1-preview")
|
29 |
+
pipe.load_lora_weights("uglysonic3121/animationtest2.0")
|
30 |
+
pipe.enable_model_cpu_offload()
|
31 |
+
|
32 |
+
video = pipe(
|
33 |
+
prompt="your prompt here",
|
34 |
+
guidance_scale=6.0,
|
35 |
+
num_inference_steps=64,
|
36 |
+
height=480,
|
37 |
+
width=848,
|
38 |
+
max_sequence_length=256,
|
39 |
+
).frames[0]
|
40 |
+
|
41 |
+
export_to_video(video, "output.mp4", fps=30)
|
42 |
+
```
|
43 |
+
|
44 |
+
## Training details
|
45 |
+
|
46 |
+
Trained on Replicate using: [lucataco/mochi-1-lora-trainer](https://replicate.com/lucataco/mochi-1-lora-trainer)
|
47 |
+
|
48 |
+
|
49 |
+
## Intended uses & limitations
|
50 |
+
|
51 |
+
#### How to use
|
52 |
+
|
53 |
+
```python
|
54 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
55 |
+
```
|
56 |
+
|
57 |
+
#### Limitations and bias
|
58 |
+
|
59 |
+
[TODO: provide examples of latent issues and potential remediations]
|
60 |
+
|
61 |
+
## Training details
|
62 |
+
|
63 |
+
[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:03ed09978d7aa6a66de91f2c97b8bbfc00a0a43b058cf3ba5f228414aa34273a
|
3 |
+
size 76072152
|