Audio-Text-to-Text
Transformers
Safetensors
midashenglm_spatial
text-generation
spatial-audio-understanding
multimodal
audio-language-model
audio
dasheng
custom_code
Instructions to use mispeech/midashenglm-spatial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/midashenglm-spatial with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("mispeech/midashenglm-spatial", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from mispeech/midashenglm-spatial: direct link, hf CLI and curl.
- Browser
- Download file 166 Bytes
-
https://huggingface.co/mispeech/midashenglm-spatial/resolve/main/generation_config.json
- Command line
-
hf download hf://mispeech/midashenglm-spatial/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/mispeech/midashenglm-spatial/resolve/main/generation_config.json
166 Bytes
| { | |
| "eos_token_id": [ | |
| 151643, | |
| 151645 | |
| ], | |
| "max_length": 32768, | |
| "pad_token_id": 151643, | |
| "repetition_penalty": 1.05, | |
| "transformers_version": "4.57.6" | |
| } | |