Instructions to use vidore/colpali with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ColPali
How to use vidore/colpali with ColPali:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Normalize line endings to LF
Browse files- 1_Dense/config.json +8 -8
- preprocessor_config.json +40 -40
- tokenizer_config.json +0 -0
1_Dense/config.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
{
|
| 2 |
-
"in_features": 2048,
|
| 3 |
-
"out_features": 128,
|
| 4 |
-
"bias": true,
|
| 5 |
-
"activation_function": "torch.nn.modules.linear.Identity",
|
| 6 |
-
"module_input_name": "token_embeddings",
|
| 7 |
-
"module_output_name": "token_embeddings",
|
| 8 |
-
"use_residual": false
|
| 9 |
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"in_features": 2048,
|
| 3 |
+
"out_features": 128,
|
| 4 |
+
"bias": true,
|
| 5 |
+
"activation_function": "torch.nn.modules.linear.Identity",
|
| 6 |
+
"module_input_name": "token_embeddings",
|
| 7 |
+
"module_output_name": "token_embeddings",
|
| 8 |
+
"use_residual": false
|
| 9 |
}
|
preprocessor_config.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_valid_processor_keys": [
|
| 3 |
-
"images",
|
| 4 |
-
"do_resize",
|
| 5 |
-
"size",
|
| 6 |
-
"resample",
|
| 7 |
-
"do_rescale",
|
| 8 |
-
"rescale_factor",
|
| 9 |
-
"do_normalize",
|
| 10 |
-
"image_mean",
|
| 11 |
-
"image_std",
|
| 12 |
-
"return_tensors",
|
| 13 |
-
"data_format",
|
| 14 |
-
"input_data_format",
|
| 15 |
-
"do_convert_rgb"
|
| 16 |
-
],
|
| 17 |
-
"do_convert_rgb": true,
|
| 18 |
-
"do_normalize": true,
|
| 19 |
-
"do_rescale": true,
|
| 20 |
-
"do_resize": true,
|
| 21 |
-
"image_mean": [
|
| 22 |
-
0.5,
|
| 23 |
-
0.5,
|
| 24 |
-
0.5
|
| 25 |
-
],
|
| 26 |
-
"image_processor_type": "SiglipImageProcessor",
|
| 27 |
-
"image_seq_length": 1024,
|
| 28 |
-
"image_std": [
|
| 29 |
-
0.5,
|
| 30 |
-
0.5,
|
| 31 |
-
0.5
|
| 32 |
-
],
|
| 33 |
-
"processor_class": "PaliGemmaProcessor",
|
| 34 |
-
"resample": 3,
|
| 35 |
-
"rescale_factor": 0.00392156862745098,
|
| 36 |
-
"size": {
|
| 37 |
-
"height": 448,
|
| 38 |
-
"width": 448
|
| 39 |
-
}
|
| 40 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_valid_processor_keys": [
|
| 3 |
+
"images",
|
| 4 |
+
"do_resize",
|
| 5 |
+
"size",
|
| 6 |
+
"resample",
|
| 7 |
+
"do_rescale",
|
| 8 |
+
"rescale_factor",
|
| 9 |
+
"do_normalize",
|
| 10 |
+
"image_mean",
|
| 11 |
+
"image_std",
|
| 12 |
+
"return_tensors",
|
| 13 |
+
"data_format",
|
| 14 |
+
"input_data_format",
|
| 15 |
+
"do_convert_rgb"
|
| 16 |
+
],
|
| 17 |
+
"do_convert_rgb": true,
|
| 18 |
+
"do_normalize": true,
|
| 19 |
+
"do_rescale": true,
|
| 20 |
+
"do_resize": true,
|
| 21 |
+
"image_mean": [
|
| 22 |
+
0.5,
|
| 23 |
+
0.5,
|
| 24 |
+
0.5
|
| 25 |
+
],
|
| 26 |
+
"image_processor_type": "SiglipImageProcessor",
|
| 27 |
+
"image_seq_length": 1024,
|
| 28 |
+
"image_std": [
|
| 29 |
+
0.5,
|
| 30 |
+
0.5,
|
| 31 |
+
0.5
|
| 32 |
+
],
|
| 33 |
+
"processor_class": "PaliGemmaProcessor",
|
| 34 |
+
"resample": 3,
|
| 35 |
+
"rescale_factor": 0.00392156862745098,
|
| 36 |
+
"size": {
|
| 37 |
+
"height": 448,
|
| 38 |
+
"width": 448
|
| 39 |
+
}
|
| 40 |
+
}
|
tokenizer_config.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|