Feature Extraction
Transformers
Safetensors
liquid_codec
liquid
lfm3
audio
audio-codec
speech
streaming
edge
multilingual
custom_code
Instructions to use LiquidAI/Liquid-Codec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiquidAI/Liquid-Codec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="LiquidAI/Liquid-Codec", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoFeatureExtractor, AutoModel extractor = AutoFeatureExtractor.from_pretrained("LiquidAI/Liquid-Codec", trust_remote_code=True) model = AutoModel.from_pretrained("LiquidAI/Liquid-Codec", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 283 Bytes
34e3004 c8bba24 34e3004 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"feature_extractor_type": "LiquidCodecFeatureExtractor",
"feature_size": 1923,
"hop_length": 320,
"n_fft": 1280,
"padding_side": "right",
"padding_value": 0.0,
"return_attention_mask": true,
"sampling_rate": 24000,
"subsampling_factor": 6,
"win_length": 1280
}
|