Any-to-Any
MLX
Safetensors
English
gemma4
quantized
apple-silicon
vision
audio
multimodal
4bit
4-bit precision
Instructions to use OsaurusAI/gemma-4-E4B-it-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/gemma-4-E4B-it-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download OsaurusAI/gemma-4-E4B-it-4bit --local-dir gemma-4-E4B-it-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download processor_config.json from OsaurusAI/gemma-4-E4B-it-4bit: direct link, hf CLI and curl.
- Browser
- Download file 902 Bytes
-
https://huggingface.co/OsaurusAI/gemma-4-E4B-it-4bit/resolve/main/processor_config.json
- Command line
-
hf download hf://OsaurusAI/gemma-4-E4B-it-4bit/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/OsaurusAI/gemma-4-E4B-it-4bit/resolve/main/processor_config.json
902 Bytes
| { | |
| "audio_seq_length": 750, | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.0, | |
| 0.0, | |
| 0.0 | |
| ], | |
| "image_processor_type": "Gemma4ImageProcessor", | |
| "image_seq_length": 280, | |
| "image_std": [ | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "max_soft_tokens": 280, | |
| "patch_size": 16, | |
| "pooling_kernel_size": 3, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| }, | |
| "image_seq_length": 280, | |
| "processor_class": "Gemma4Processor", | |
| "feature_extractor": { | |
| "feature_extractor_type": "Gemma4AudioFeatureExtractor", | |
| "sampling_rate": 16000, | |
| "num_mel_filters": 128, | |
| "fft_length": 512, | |
| "hop_length": 160, | |
| "chunk_duration": 8.0, | |
| "overlap_duration": 1.0 | |
| }, | |
| "audio_ms_per_token": 40 | |
| } |