Instructions to use codedrainer/uae-license-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codedrainer/uae-license-detection 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="codedrainer/uae-license-detection")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("codedrainer/uae-license-detection") model = AutoModel.from_pretrained("codedrainer/uae-license-detection") - Notebooks
- Google Colab
- Kaggle
Commit ·
da2f928
1
Parent(s): 141da8d
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
],
|
| 18 |
"max_length": 768,
|
| 19 |
"max_position_embeddings": 768,
|
| 20 |
-
"model_type": "
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
"transformers_version": "4.25.1",
|
| 23 |
"window_size": 10
|
|
|
|
| 17 |
],
|
| 18 |
"max_length": 768,
|
| 19 |
"max_position_embeddings": 768,
|
| 20 |
+
"model_type": "vision-encoder-decoder",
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
"transformers_version": "4.25.1",
|
| 23 |
"window_size": 10
|