Instructions to use selimc/turkish-colpali with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use selimc/turkish-colpali with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("vidore/colpali-v1.3-hf") model = PeftModel.from_pretrained(base_model, "selimc/turkish-colpali") - ColPali
How to use selimc/turkish-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
Download preprocessor_config.json from selimc/turkish-colpali: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/selimc/turkish-colpali/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://selimc/turkish-colpali/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/selimc/turkish-colpali/resolve/main/preprocessor_config.json
423 Bytes
| { | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "SiglipImageProcessor", | |
| "image_seq_length": 1024, | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "ColPaliProcessor", | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 448, | |
| "width": 448 | |
| } | |
| } | |