Upload processor
Browse files- preprocessor_config.json +22 -0
- tokenizer.json +1 -6
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length_s": 10,
|
| 3 |
+
"feature_extractor_type": "ClapFeatureExtractor",
|
| 4 |
+
"feature_size": 64,
|
| 5 |
+
"fft_window_size": 1024,
|
| 6 |
+
"frequency_max": 14000,
|
| 7 |
+
"frequency_min": 50,
|
| 8 |
+
"hop_length": 480,
|
| 9 |
+
"max_length_s": 10,
|
| 10 |
+
"n_fft": 1024,
|
| 11 |
+
"nb_frequency_bins": 513,
|
| 12 |
+
"nb_max_frames": 1000,
|
| 13 |
+
"nb_max_samples": 480000,
|
| 14 |
+
"padding": "repeatpad",
|
| 15 |
+
"padding_side": "right",
|
| 16 |
+
"padding_value": 0.0,
|
| 17 |
+
"processor_class": "ClapProcessor",
|
| 18 |
+
"return_attention_mask": false,
|
| 19 |
+
"sampling_rate": 48000,
|
| 20 |
+
"top_db": null,
|
| 21 |
+
"truncation": "fusion"
|
| 22 |
+
}
|
tokenizer.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
"direction": "Right",
|
| 5 |
-
"max_length": 512,
|
| 6 |
-
"strategy": "LongestFirst",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
"padding": {
|
| 10 |
"strategy": "BatchLongest",
|
| 11 |
"direction": "Right",
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": {
|
| 5 |
"strategy": "BatchLongest",
|
| 6 |
"direction": "Right",
|