Other
Transformers
Safetensors
English
qwen2_5_omni_composite
text-generation
multimodal
qwen2.5-omni
remote-sensing
earth-observation
ecg
cardiac-mri
speech-recognition
lipreading
custom_code
Instructions to use dvps/dvps-fm-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dvps/dvps-fm-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("dvps/dvps-fm-v1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from dvps/dvps-fm-v1: direct link, hf CLI and curl.
- Browser
- Download file 5.98 kB
-
https://huggingface.co/dvps/dvps-fm-v1/resolve/main/processor_config.json
- Command line
-
hf download hf://dvps/dvps-fm-v1/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/dvps/dvps-fm-v1/resolve/main/processor_config.json
5.98 kB
| { | |
| "auto_map": { | |
| "AutoProcessor": "processor_omni.QwenOmniProcessor" | |
| }, | |
| "encoder_specs": [ | |
| { | |
| "extra": { | |
| "concat_modalities_as_tokens": true, | |
| "input_size": 128, | |
| "mask_token_path": "terramind_mask_token.pt", | |
| "min_modalities": 1, | |
| "modalities": [ | |
| "S1GRD", | |
| "S2L2A" | |
| ], | |
| "patch_size": 16, | |
| "representation": "encoder", | |
| "variant": "terramind_v1_large" | |
| }, | |
| "frozen": true, | |
| "hidden_dim": 1024, | |
| "hidden_mult": 4, | |
| "marker": "<terramind>", | |
| "name": "terramind", | |
| "num_tokens": 128, | |
| "placeholder_token": "<|terramind|>", | |
| "type": "terramind" | |
| }, | |
| { | |
| "extra": { | |
| "hidden_dim": 1152, | |
| "image_size": 896, | |
| "model_name": "convaiinnovations/medgemma-4b-ecginstruct", | |
| "patch_size": 14, | |
| "tokens_per_image": 256, | |
| "vision_config": { | |
| "_name_or_path": "", | |
| "architectures": null, | |
| "attention_dropout": 0.0, | |
| "chunk_size_feed_forward": 0, | |
| "dtype": "bfloat16", | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1152, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "image_size": 896, | |
| "intermediate_size": 4304, | |
| "is_encoder_decoder": false, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "layer_norm_eps": 1e-06, | |
| "model_type": "siglip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 27, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "patch_size": 14, | |
| "problem_type": null, | |
| "return_dict": true, | |
| "transformers_version": "5.8.0", | |
| "vision_use_head": false | |
| } | |
| }, | |
| "frozen": true, | |
| "hidden_dim": 1152, | |
| "hidden_mult": 4, | |
| "marker": "<medgemma>", | |
| "name": "medgemma", | |
| "num_tokens": 256, | |
| "placeholder_token": "<|medgemma|>", | |
| "type": "medgemma" | |
| }, | |
| { | |
| "extra": { | |
| "downsample_ratio_audio": 5, | |
| "downsample_ratio_video": 5, | |
| "mouth_roi_size": 88, | |
| "repo_path": "auto_avsr", | |
| "stream": "audio", | |
| "window_seconds": 16.0 | |
| }, | |
| "frozen": true, | |
| "hidden_dim": 768, | |
| "hidden_mult": 4, | |
| "marker": "<autoavsr_audio>", | |
| "name": "autoavsr_audio", | |
| "num_tokens": 80, | |
| "placeholder_token": "<|autoavsr_audio|>", | |
| "type": "autoavsr" | |
| }, | |
| { | |
| "extra": { | |
| "column_aliases": [ | |
| "lipread" | |
| ], | |
| "downsample_ratio_audio": 5, | |
| "downsample_ratio_video": 5, | |
| "marker_aliases": [ | |
| "<lipread>" | |
| ], | |
| "mouth_roi_size": 88, | |
| "repo_path": "auto_avsr", | |
| "stream": "video", | |
| "window_seconds": 16.0 | |
| }, | |
| "frozen": true, | |
| "hidden_dim": 768, | |
| "hidden_mult": 4, | |
| "marker": "<autoavsr_video>", | |
| "name": "autoavsr_video", | |
| "num_tokens": 80, | |
| "placeholder_token": "<|autoavsr_video|>", | |
| "type": "autoavsr" | |
| } | |
| ], | |
| "feature_extractor": { | |
| "auto_map": { | |
| "AutoProcessor": "processor_omni.QwenOmniProcessor" | |
| }, | |
| "chunk_length": 300, | |
| "dither": 0.0, | |
| "feature_extractor_type": "WhisperFeatureExtractor", | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_processor_type": "Qwen2VLImageProcessor", | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "max_pixels": 12845056, | |
| "merge_size": 2, | |
| "min_pixels": 3136, | |
| "n_fft": 400, | |
| "n_samples": 4800000, | |
| "nb_max_frames": 30000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "patch_size": 14, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "temporal_patch_size": 2 | |
| }, | |
| "image_processor": { | |
| "auto_map": { | |
| "AutoProcessor": "processor_omni.QwenOmniProcessor" | |
| }, | |
| "chunk_length": 300, | |
| "dither": 0.0, | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_processor_type": "Qwen2VLImageProcessor", | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "merge_size": 2, | |
| "n_fft": 400, | |
| "n_samples": 4800000, | |
| "nb_max_frames": 30000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "patch_size": 14, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "size": { | |
| "longest_edge": 12845056, | |
| "shortest_edge": 3136 | |
| }, | |
| "temporal_patch_size": 2 | |
| }, | |
| "processor_class": "QwenOmniProcessor", | |
| "video_processor": { | |
| "auto_map": { | |
| "AutoProcessor": "processor_omni.QwenOmniProcessor" | |
| }, | |
| "chunk_length": 300, | |
| "dither": 0.0, | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_sample_frames": false, | |
| "feature_size": 128, | |
| "hop_length": 160, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "max_frames": 768, | |
| "merge_size": 2, | |
| "min_frames": 4, | |
| "n_fft": 400, | |
| "n_samples": 4800000, | |
| "nb_max_frames": 30000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "patch_size": 14, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_attention_mask": true, | |
| "return_metadata": false, | |
| "sampling_rate": 16000, | |
| "size": { | |
| "longest_edge": 12845056, | |
| "shortest_edge": 3136 | |
| }, | |
| "temporal_patch_size": 2, | |
| "video_processor_type": "Qwen2VLVideoProcessor" | |
| } | |
| } | |