Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
+
datasets:
|
4 |
+
- TempoFunk/tempofunk-sdance
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
pipeline_tag: text-to-video
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
# Model Card for TempoFunk
|
16 |
+
|
17 |
+
<!-- Provide a quick summary of what the model is/does. [Optional] -->
|
18 |
+
A community produced Text-To-Video model using Temporal Attention
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
# Table of Contents
|
24 |
+
|
25 |
+
- [Model Card for TempoFunk](#model-card-for--model_id-)
|
26 |
+
- [Table of Contents](#table-of-contents)
|
27 |
+
- [Table of Contents](#table-of-contents-1)
|
28 |
+
- [Model Details](#model-details)
|
29 |
+
- [Model Description](#model-description)
|
30 |
+
- [Uses](#uses)
|
31 |
+
- [Direct Use](#direct-use)
|
32 |
+
- [Downstream Use [Optional]](#downstream-use-optional)
|
33 |
+
- [Out-of-Scope Use](#out-of-scope-use)
|
34 |
+
- [Bias, Risks, and Limitations](#bias-risks-and-limitations)
|
35 |
+
- [Recommendations](#recommendations)
|
36 |
+
- [Training Details](#training-details)
|
37 |
+
- [Training Data](#training-data)
|
38 |
+
- [Environmental Impact](#environmental-impact)
|
39 |
+
- [Technical Specifications [optional]](#technical-specifications-optional)
|
40 |
+
- [Model Architecture and Objective](#model-architecture-and-objective)
|
41 |
+
- [Compute Infrastructure](#compute-infrastructure)
|
42 |
+
- [Hardware](#hardware)
|
43 |
+
- [Software](#software)
|
44 |
+
- [Model Card Authors [optional]](#model-card-authors-optional)
|
45 |
+
- [How to Get Started with the Model](#how-to-get-started-with-the-model)
|
46 |
+
|
47 |
+
|
48 |
+
# Model Details
|
49 |
+
|
50 |
+
## Model Description
|
51 |
+
|
52 |
+
<!-- Provide a longer summary of what this model is/does. -->
|
53 |
+
A community produced Text-To-Video model using Temporal Attention
|
54 |
+
|
55 |
+
- **Developed by:** Lopho, Chavez, Davut Emre, Julian Herrera
|
56 |
+
- **Shared by [Optional]:** More information needed
|
57 |
+
- **Model type:** Text-To-Video
|
58 |
+
- **Language(s) (NLP):** en
|
59 |
+
- **License:** creativeml-openrail-m
|
60 |
+
- **Resources for more information:** More information needed
|
61 |
+
- [GitHub Repo](https://github.com/lopho/makeavid-sd-tpu)
|
62 |
+
|
63 |
+
|
64 |
+
# Uses
|
65 |
+
|
66 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
67 |
+
|
68 |
+
The TempoFunk model is meant to be used as a Video Production Program.
|
69 |
+
|
70 |
+
## Direct Use
|
71 |
+
|
72 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
73 |
+
<!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
|
74 |
+
|
75 |
+
Produce Generative Video
|
76 |
+
|
77 |
+
|
78 |
+
## Downstream Use [Optional]
|
79 |
+
|
80 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
81 |
+
<!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
|
82 |
+
|
83 |
+
Meme production
|
84 |
+
Visualization
|
85 |
+
Personalized Text-To-Video
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
## Out-of-Scope Use
|
90 |
+
|
91 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
92 |
+
<!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
|
93 |
+
|
94 |
+
Produce Disinformation
|
95 |
+
Produce Gore
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
# Bias, Risks, and Limitations
|
100 |
+
|
101 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
102 |
+
|
103 |
+
During usage of TempoFunk, it may generate obscene or otherwise unpleasant to look imagery. This is because of both the VAE and the low amount of samples seen by the TempoFunk model. Video generated by TempoFunk may be uncanny.
|
104 |
+
|
105 |
+
## Recommendations
|
106 |
+
|
107 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
108 |
+
|
109 |
+
|
110 |
+
Use superres or other methods to clean up visuals before publishing or using.
|
111 |
+
|
112 |
+
|
113 |
+
# Training Details
|
114 |
+
|
115 |
+
## Training Data
|
116 |
+
|
117 |
+
<!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
118 |
+
|
119 |
+
TempoFunk was trained on movement data from dancing videos. These dancing videos were scrapped and encoded into Stable Diffusion Vae Latents. More information forthcoming.
|
120 |
+
|
121 |
+
|
122 |
+
<!-- ## Training Procedure -->
|
123 |
+
|
124 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
125 |
+
|
126 |
+
## Results
|
127 |
+
|
128 |
+
[https://huggingface.co/spaces/TempoFunk/makeavid-sd-jax]
|
129 |
+
|
130 |
+
# Environmental Impact
|
131 |
+
|
132 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
133 |
+
|
134 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
135 |
+
|
136 |
+
- **Hardware Type:** More information needed
|
137 |
+
- **Hours used:** More information needed
|
138 |
+
- **Cloud Provider:** More information needed
|
139 |
+
- **Compute Region:** More information needed
|
140 |
+
- **Carbon Emitted:** More information needed
|
141 |
+
|
142 |
+
# Technical Specifications [optional]
|
143 |
+
|
144 |
+
## Model Architecture and Objective
|
145 |
+
|
146 |
+
The temporal layers are a port of Make-A-Video PyTorch to FLAX.
|
147 |
+
The convolution is pseudo 3D and seperately convolves accross the spatial dimension in 2D and over the temporal dimension in 1D.
|
148 |
+
Temporal attention is purely self attention and also separately attends to time.
|
149 |
+
|
150 |
+
Only the new temporal layers have been fine tuned on a dataset of videos themed around dance.
|
151 |
+
The model has been trained for 80 epochs on a dataset of 18,000 Videos with 120 frames each, randomly selecting a 24 frame range from each sample.
|
152 |
+
|
153 |
+
## Compute Infrastructure
|
154 |
+
|
155 |
+
TPU_V4
|
156 |
+
|
157 |
+
### Hardware
|
158 |
+
|
159 |
+
TPU_V4
|
160 |
+
|
161 |
+
### Software
|
162 |
+
|
163 |
+
Google JAX
|
164 |
+
Google FLAX
|
165 |
+
|
166 |
+
# Model Card Authors [optional]
|
167 |
+
|
168 |
+
<!-- This section provides another layer of transparency and accountability. Whose views is this model card representing? How many voices were included in its construction? Etc. -->
|
169 |
+
Lopho, Chavez, Davut Emre, Julian Herrera
|
170 |
+
|
171 |
+
# How to Get Started with the Model
|
172 |
+
|
173 |
+
Use the space below to get started!
|
174 |
+
[https://huggingface.co/spaces/TempoFunk/makeavid-sd-jax]
|