Instructions to use pytorch/gemma-3-27b-it-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pytorch/gemma-3-27b-it-INT4 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pytorch/gemma-3-27b-it-INT4", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files- processor_config.json +0 -25
processor_config.json
CHANGED
|
@@ -1,29 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"image_processor": {
|
| 3 |
-
"data_format": "channels_first",
|
| 4 |
-
"do_convert_rgb": null,
|
| 5 |
-
"do_normalize": true,
|
| 6 |
-
"do_rescale": true,
|
| 7 |
-
"do_resize": true,
|
| 8 |
-
"image_mean": [
|
| 9 |
-
0.5,
|
| 10 |
-
0.5,
|
| 11 |
-
0.5
|
| 12 |
-
],
|
| 13 |
-
"image_processor_type": "Gemma3ImageProcessorFast",
|
| 14 |
-
"image_seq_length": 256,
|
| 15 |
-
"image_std": [
|
| 16 |
-
0.5,
|
| 17 |
-
0.5,
|
| 18 |
-
0.5
|
| 19 |
-
],
|
| 20 |
-
"resample": 2,
|
| 21 |
-
"rescale_factor": 0.00392156862745098,
|
| 22 |
-
"size": {
|
| 23 |
-
"height": 896,
|
| 24 |
-
"width": 896
|
| 25 |
-
}
|
| 26 |
-
},
|
| 27 |
"image_seq_length": 256,
|
| 28 |
"processor_class": "Gemma3Processor"
|
| 29 |
}
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"image_seq_length": 256,
|
| 3 |
"processor_class": "Gemma3Processor"
|
| 4 |
}
|