julianyi commited on
Commit
adab2c2
·
verified ·
1 Parent(s): 2cf530b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +233 -0
README.md CHANGED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1
3
+ # Doc / guide: https://huggingface.co/docs/hub/model-cards
4
+ {}
5
+ ---
6
+
7
+ # Model Card for Model ID
8
+
9
+ <!-- Provide a quick summary of what the model is/does. -->
10
+
11
+ This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
12
+
13
+ ## Model Details
14
+
15
+ ### Model Description
16
+
17
+ <!-- Provide a longer summary of what this model is. -->
18
+
19
+
20
+
21
+ - **Developed by:** [More Information Needed]
22
+ - **Funded by [optional]:** [More Information Needed]
23
+ - **Shared by [optional]:** [More Information Needed]
24
+ - **Model type:** [More Information Needed]
25
+ - **Language(s) (NLP):** [More Information Needed]
26
+ - **License:** [More Information Needed]
27
+ - **Finetuned from model [optional]:** [More Information Needed]
28
+
29
+ ### Model Sources [optional]
30
+
31
+ <!-- Provide the basic links for the model. -->
32
+
33
+ - **Repository:** [More Information Needed]
34
+ - **Paper [optional]:** [More Information Needed]
35
+ - **Demo [optional]:** [More Information Needed]
36
+
37
+ ## Uses
38
+
39
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
40
+
41
+ ### Direct Use
42
+
43
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
44
+
45
+ [More Information Needed]
46
+
47
+ ### Downstream Use [optional]
48
+
49
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Out-of-Scope Use
54
+
55
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
56
+
57
+ [More Information Needed]
58
+
59
+ ## Bias, Risks, and Limitations
60
+
61
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ### Recommendations
66
+
67
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
68
+
69
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
70
+
71
+ ## How to Get Started with the Model
72
+
73
+ ```python
74
+ import torch
75
+ from vocos import get_voco
76
+
77
+ mel_voco = get_voco("mel")
78
+ encodec_voco = get_voco("encodec")
79
+ dac_voco = get_voco("dac")
80
+ dac_vae_voco = get_voco("dacvae")
81
+ oobleck_voco = get_voco("oobleck")
82
+
83
+ audio = torch.randn(1, 44100, 2) # [batch, audio_length, audio_channels]
84
+ latents = oobleck_voco.encode(audio) # [batch, encoded_length, latent_dim]
85
+ recon = oobleck_voco.decode(latents) # [batch, recon_length, audio_channels]
86
+ ```
87
+
88
+ Sampling rate: `oobleck_voco.sampling_rate`
89
+ Audio channels: `oobleck_voco.channel`
90
+
91
+ Length conversion:
92
+
93
+ ```python
94
+ import torch
95
+ from vocos import get_voco
96
+
97
+ oobleck_voco = get_voco("oobleck")
98
+
99
+ audio_length = 44100
100
+ encode_length = oobleck_voco.encode_length(audio_length)
101
+ recon_length = oobleck_voco.decode_length(encode_length)
102
+
103
+ audio = torch.randn(1, audio_length, oobleck_voco.channel)
104
+ latent = oobleck_voco.encode(audio)
105
+ recon = oobleck_voco.decode(latent)
106
+
107
+ assert encode_length == latent.shape[1]
108
+ assert recon_length == recon.shape[1]
109
+ ```
110
+ ## Training Details
111
+
112
+ ### Training Data
113
+
114
+ <!-- This should link to a Dataset 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. -->
115
+
116
+ [More Information Needed]
117
+
118
+ ### Training Procedure
119
+
120
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
121
+
122
+ #### Preprocessing [optional]
123
+
124
+ [More Information Needed]
125
+
126
+
127
+ #### Training Hyperparameters
128
+
129
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
130
+
131
+ #### Speeds, Sizes, Times [optional]
132
+
133
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
134
+
135
+ [More Information Needed]
136
+
137
+ ## Evaluation
138
+
139
+ <!-- This section describes the evaluation protocols and provides the results. -->
140
+
141
+ ### Testing Data, Factors & Metrics
142
+
143
+ #### Testing Data
144
+
145
+ <!-- This should link to a Dataset Card if possible. -->
146
+
147
+ [More Information Needed]
148
+
149
+ #### Factors
150
+
151
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
152
+
153
+ [More Information Needed]
154
+
155
+ #### Metrics
156
+
157
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
158
+
159
+ [More Information Needed]
160
+
161
+ ### Results
162
+
163
+ [More Information Needed]
164
+
165
+ #### Summary
166
+
167
+
168
+
169
+ ## Model Examination [optional]
170
+
171
+ <!-- Relevant interpretability work for the model goes here -->
172
+
173
+ [More Information Needed]
174
+
175
+ ## Environmental Impact
176
+
177
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
178
+
179
+ 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).
180
+
181
+ - **Hardware Type:** [More Information Needed]
182
+ - **Hours used:** [More Information Needed]
183
+ - **Cloud Provider:** [More Information Needed]
184
+ - **Compute Region:** [More Information Needed]
185
+ - **Carbon Emitted:** [More Information Needed]
186
+
187
+ ## Technical Specifications [optional]
188
+
189
+ ### Model Architecture and Objective
190
+
191
+ [More Information Needed]
192
+
193
+ ### Compute Infrastructure
194
+
195
+ [More Information Needed]
196
+
197
+ #### Hardware
198
+
199
+ [More Information Needed]
200
+
201
+ #### Software
202
+
203
+ [More Information Needed]
204
+
205
+ ## Citation [optional]
206
+
207
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
208
+
209
+ **BibTeX:**
210
+
211
+ [More Information Needed]
212
+
213
+ **APA:**
214
+
215
+ [More Information Needed]
216
+
217
+ ## Glossary [optional]
218
+
219
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
220
+
221
+ [More Information Needed]
222
+
223
+ ## More Information [optional]
224
+
225
+ [More Information Needed]
226
+
227
+ ## Model Card Authors [optional]
228
+
229
+ [More Information Needed]
230
+
231
+ ## Model Card Contact
232
+
233
+ [More Information Needed]