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 speech_tokenizer/special_tokens_map.json from FunAudioLLM/Fun-Audio-Chat-8B: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/speech_tokenizer/special_tokens_map.json
- Command line
-
hf download hf://FunAudioLLM/Fun-Audio-Chat-8B/speech_tokenizer/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/FunAudioLLM/Fun-Audio-Chat-8B/resolve/main/speech_tokenizer/special_tokens_map.json
499 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|endoftext|>" | |
| ], | |
| "bos_token": { | |
| "content": "<|audio_bos|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|audio_eos|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|audio_pad|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |