Instructions to use OSTswiss/ReGeo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OSTswiss/ReGeo with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="OSTswiss/ReGeo")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OSTswiss/ReGeo", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -50,7 +50,6 @@
|
|
| 50 |
"prefetch_factor": 20
|
| 51 |
}
|
| 52 |
},
|
| 53 |
-
"model_type": "clip",
|
| 54 |
"ModelConfig": {
|
| 55 |
"use_location_head": true,
|
| 56 |
"use_similarity_head": false,
|
|
|
|
| 50 |
"prefetch_factor": 20
|
| 51 |
}
|
| 52 |
},
|
|
|
|
| 53 |
"ModelConfig": {
|
| 54 |
"use_location_head": true,
|
| 55 |
"use_similarity_head": false,
|