Any-to-Any
Transformers
Safetensors
English
Chinese
funaudiochat
text-generation
audio-language-model
speech-to-speech
Instructions to use FunAudioLLM/Fun-Audio-Chat-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FunAudioLLM/Fun-Audio-Chat-8B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("FunAudioLLM/Fun-Audio-Chat-8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from FunAudioLLM/Fun-Audio-Chat-8B: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://FunAudioLLM/Fun-Audio-Chat-8B/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/preprocessor_config.json
364 Bytes
| { | |
| "chunk_length": 300, | |
| "dither": 0.0, | |
| "feature_extractor_type": "WhisperFeatureExtractor", | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "n_fft": 400, | |
| "n_samples": 4800000, | |
| "nb_max_frames": 30000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "processor_class": "FunAudioChatProcessor", | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| } | |