Instructions to use Skdarkdevil/LongCat-Flash-Omni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Skdarkdevil/LongCat-Flash-Omni with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Skdarkdevil/LongCat-Flash-Omni", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download audio/preprocessor_config.json from Skdarkdevil/LongCat-Flash-Omni: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/Skdarkdevil/LongCat-Flash-Omni/resolve/main/audio/preprocessor_config.json
- Command line
-
hf download hf://Skdarkdevil/LongCat-Flash-Omni/audio/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Skdarkdevil/LongCat-Flash-Omni/resolve/main/audio/preprocessor_config.json
511 Bytes
| { | |
| "fbank": { | |
| "dither": 0.0, | |
| "frame_length": 25, | |
| "frame_shift": 10, | |
| "preemphasis": 0.97, | |
| "freq": 16000, | |
| "high_freq": -200, | |
| "low_freq": 40, | |
| "num_mel_bins": 80 | |
| }, | |
| "delta": { | |
| "delta_order": 0, | |
| "window_size": 2 | |
| }, | |
| "cmvn": { | |
| "global_cmvn": "/path/to/audio/global_cmvn" | |
| }, | |
| "splice": { | |
| "left": 7, | |
| "right": 7, | |
| "stride": 8, | |
| "random_start": false, | |
| "seed": 0 | |
| } | |
| } | |