Any-to-Any
Transformers
Safetensors
lfm3_audio
automatic-speech-recognition
liquid
lfm3
audio
speech
edge
conversational
multilingual
custom_code
Instructions to use eustlb/LFM3-Audio-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eustlb/LFM3-Audio-2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMultimodalLM model = AutoModelForMultimodalLM.from_pretrained("eustlb/LFM3-Audio-2B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from eustlb/LFM3-Audio-2B: direct link, hf CLI and curl.
- Browser
- Download file 667 Bytes
-
https://huggingface.co/eustlb/LFM3-Audio-2B/resolve/3e19d07c2d62e06c2c9f72b493e9d19375d121e1/processor_config.json
- Command line
-
hf download hf://eustlb/LFM3-Audio-2B@3e19d07c2d62e06c2c9f72b493e9d19375d121e1/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/eustlb/LFM3-Audio-2B/resolve/3e19d07c2d62e06c2c9f72b493e9d19375d121e1/processor_config.json
667 Bytes
| { | |
| "audio_out_token": "<|audio_out|>", | |
| "audio_token": "<|audio|>", | |
| "audio_tokenizer": { | |
| "audio_tokenizer_class": "LiquidCodecModel", | |
| "audio_tokenizer_name_or_path": "eustlb/LFM3-Audio-2B-codec" | |
| }, | |
| "feature_extractor": { | |
| "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 | |
| }, | |
| "processor_class": "Lfm3AudioProcessor" | |
| } | |