Any-to-Any
Transformers
ONNX
Safetensors
minicpmo
feature-extraction
multimodal
full-duplex
streaming
task-delegation
custom_code
Instructions to use internlm/Sage-Interaction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internlm/Sage-Interaction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/Sage-Interaction", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from internlm/Sage-Interaction: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/internlm/Sage-Interaction/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://internlm/Sage-Interaction/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/internlm/Sage-Interaction/resolve/main/preprocessor_config.json
1.18 kB
| { | |
| "audio_pool_step": 5, | |
| "auto_map": { | |
| "AutoFeatureExtractor": "processing_minicpmo.MiniCPMAAudioProcessor", | |
| "AutoImageProcessor": "processing_minicpmo.MiniCPMVImageProcessor", | |
| "AutoProcessor": "processing_minicpmo.MiniCPMOProcessor" | |
| }, | |
| "chunk_length": 30, | |
| "dither": 0.0, | |
| "dynamic_log_norm": true, | |
| "dynamic_range_db": 8.0, | |
| "feature_extractor_type": "MiniCPMAAudioProcessor", | |
| "feature_size": 80, | |
| "hop_length": 160, | |
| "im_end": "</image>", | |
| "im_id_end": "</image_id>", | |
| "im_id_start": "<image_id>", | |
| "im_start": "<image>", | |
| "image_feature_size": 64, | |
| "image_processor_type": "MiniCPMVImageProcessor", | |
| "log_floor_db": -10.0, | |
| "max_slice_nums": 9, | |
| "n_fft": 400, | |
| "n_samples": 480000, | |
| "nb_max_frames": 3000, | |
| "norm_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "norm_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "patch_size": 14, | |
| "processor_class": "MiniCPMOProcessor", | |
| "return_attention_mask": false, | |
| "sampling_rate": 16000, | |
| "scale_resolution": 448, | |
| "slice_end": "</slice>", | |
| "slice_mode": true, | |
| "slice_start": "<slice>", | |
| "unk": "<unk>", | |
| "use_image_id": true, | |
| "version": 4.5 | |
| } | |