Any-to-Any
Transformers
Safetensors
lfm3_audio
automatic-speech-recognition
liquid
lfm3
audio
speech
edge
conversational
multilingual
custom_code
Instructions to use LiquidAI/LFM3-Audio-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiquidAI/LFM3-Audio-2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMultimodalLM model = AutoModelForMultimodalLM.from_pretrained("LiquidAI/LFM3-Audio-2B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from LiquidAI/LFM3-Audio-2B: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/LiquidAI/LFM3-Audio-2B/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://LiquidAI/LFM3-Audio-2B/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/LiquidAI/LFM3-Audio-2B/resolve/main/preprocessor_config.json
466 Bytes
| { | |
| "encoder_stride": 8, | |
| "feature_extractor_type": "Lfm3AudioFeatureExtractor", | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "log_floor": -12.0, | |
| "n_fft": 400, | |
| "normalization_divisor": 4.0, | |
| "normalization_offset": 4.0, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "win_length": 400, | |
| "auto_map": { | |
| "AutoFeatureExtractor": "feature_extraction_lfm3_audio.Lfm3AudioFeatureExtractor" | |
| } | |
| } | |