eustlb HF Staff commited on
Commit
bd2e80b
·
verified ·
1 Parent(s): 861fb3a

Add the codec feature extractor to the processor config

Browse files
Files changed (1) hide show
  1. processor_config.json +14 -2
processor_config.json CHANGED
@@ -5,6 +5,18 @@
5
  "audio_tokenizer_class": "LiquidCodecModel",
6
  "audio_tokenizer_name_or_path": "eustlb/LFM3-Audio-2B-codec"
7
  },
 
 
 
 
 
 
 
 
 
 
 
 
8
  "feature_extractor": {
9
  "encoder_stride": 8,
10
  "feature_extractor_type": "Lfm3AudioFeatureExtractor",
@@ -20,7 +32,7 @@
20
  "sampling_rate": 16000,
21
  "win_length": 400
22
  },
23
- "processor_class": "Lfm3AudioProcessor",
24
  "num_audio_tokens_per_chunk": 12,
25
- "max_audio_chunks_per_context": 31
26
  }
 
5
  "audio_tokenizer_class": "LiquidCodecModel",
6
  "audio_tokenizer_name_or_path": "eustlb/LFM3-Audio-2B-codec"
7
  },
8
+ "codec_feature_extractor": {
9
+ "feature_extractor_type": "LiquidCodecFeatureExtractor",
10
+ "feature_size": 1923,
11
+ "frame_stack": 6,
12
+ "hop_length": 320,
13
+ "n_fft": 1280,
14
+ "padding_side": "right",
15
+ "padding_value": 0.0,
16
+ "return_attention_mask": true,
17
+ "sampling_rate": 24000,
18
+ "win_length": 1280
19
+ },
20
  "feature_extractor": {
21
  "encoder_stride": 8,
22
  "feature_extractor_type": "Lfm3AudioFeatureExtractor",
 
32
  "sampling_rate": 16000,
33
  "win_length": 400
34
  },
35
+ "max_audio_chunks_per_context": 31,
36
  "num_audio_tokens_per_chunk": 12,
37
+ "processor_class": "Lfm3AudioProcessor"
38
  }