Image-Text-to-Text
PEFT
Safetensors
monarch-2
lora
multilingual
african-languages
world-development-indicators
text-generation
conversational
Instructions to use AfricaComputeFund/Monarch-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AfricaComputeFund/Monarch-2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B") model = PeftModel.from_pretrained(base_model, "AfricaComputeFund/Monarch-2") - Notebooks
- Google Colab
- Kaggle
Download video_preprocessor_config.json from AfricaComputeFund/Monarch-2: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/AfricaComputeFund/Monarch-2/resolve/main/video_preprocessor_config.json
- Command line
-
hf download hf://AfricaComputeFund/Monarch-2/video_preprocessor_config.json
-
curl -L -o video_preprocessor_config.json https://huggingface.co/AfricaComputeFund/Monarch-2/resolve/main/video_preprocessor_config.json
385 Bytes
| { | |
| "size": { | |
| "longest_edge": 25165824, | |
| "shortest_edge": 4096 | |
| }, | |
| "patch_size": 16, | |
| "temporal_patch_size": 2, | |
| "merge_size": 2, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "Qwen3VLProcessor", | |
| "video_processor_type": "Qwen3VLVideoProcessor" | |
| } |