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 generation_config.json from FunAudioLLM/Fun-Audio-Chat-8B: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/generation_config.json
- Command line
-
hf download hf://FunAudioLLM/Fun-Audio-Chat-8B/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/generation_config.json
240 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.6, | |
| "top_k": 20, | |
| "top_p": 0.95, | |
| "max_new_tokens": 2048, | |
| "transformers_version": "4.52.3" | |
| } | |