Feature Extraction
Transformers
Safetensors
valen_qwen
valen
decision-making
shared-state
qwen3.5
custom-code
custom_code
Instructions to use Valen-Team/Valen-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Valen-Team/Valen-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Valen-Team/Valen-4B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Valen-Team/Valen-4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from Valen-Team/Valen-4B: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/Valen-Team/Valen-4B/resolve/main/processor_config.json
- Command line
-
hf download hf://Valen-Team/Valen-4B/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/Valen-Team/Valen-4B/resolve/main/processor_config.json
1.19 kB
| { | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "Qwen2VLImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "merge_size": 2, | |
| "patch_size": 16, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "longest_edge": 16777216, | |
| "shortest_edge": 65536 | |
| }, | |
| "temporal_patch_size": 2 | |
| }, | |
| "processor_class": "Qwen3VLProcessor", | |
| "video_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_sample_frames": true, | |
| "fps": 2, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_frames": 768, | |
| "merge_size": 2, | |
| "min_frames": 4, | |
| "patch_size": 16, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_metadata": false, | |
| "size": { | |
| "longest_edge": 25165824, | |
| "shortest_edge": 4096 | |
| }, | |
| "temporal_patch_size": 2, | |
| "video_processor_type": "Qwen3VLVideoProcessor" | |
| } | |
| } | |