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 audio_tokenizer/config.json from LiquidAI/LFM3-Audio-2B: direct link, hf CLI and curl.
- Browser
- Download file 801 Bytes
-
https://huggingface.co/LiquidAI/LFM3-Audio-2B/resolve/main/audio_tokenizer/config.json
- Command line
-
hf download hf://LiquidAI/LFM3-Audio-2B/audio_tokenizer/config.json
-
curl -L -o config.json https://huggingface.co/LiquidAI/LFM3-Audio-2B/resolve/main/audio_tokenizer/config.json
801 Bytes
| { | |
| "transformers_version": "5.19.0.dev0", | |
| "architectures": [ | |
| "LiquidCodecModel" | |
| ], | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "bfloat16", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "encoder_dim": 512, | |
| "encoder_conv_dim": 256, | |
| "stft_n_fft": 1280, | |
| "stft_hop_length": 320, | |
| "stft_win_length": 1280, | |
| "stft_frame_stack": 6, | |
| "quantizer_dim": 256, | |
| "fsq_levels": [ | |
| 8, | |
| 7, | |
| 6, | |
| 6 | |
| ], | |
| "n_q": 12, | |
| "decoder_window": 30, | |
| "sampling_rate": 24000, | |
| "initializer_range": 0.02, | |
| "model_type": "liquid_codec", | |
| "sample_rate": 24000, | |
| "frame_samples": 1920, | |
| "output_attentions": false | |
| } | |