Instructions to use damerajee/GPT-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use damerajee/GPT-Vision with Transformers:
# Load model directly from transformers import GPTVision model = GPTVision.from_pretrained("damerajee/GPT-Vision", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update configuration_gpt2vision.py
Browse files
configuration_gpt2vision.py
CHANGED
|
@@ -273,7 +273,7 @@ class GPT2OnnxConfig(OnnxConfigWithPast):
|
|
| 273 |
return 13
|
| 274 |
|
| 275 |
class GPT2VisionConfig(PretrainedConfig):
|
| 276 |
-
model_type = "
|
| 277 |
|
| 278 |
def __init__(self, **kwargs):
|
| 279 |
super().__init__(**kwargs)
|
|
|
|
| 273 |
return 13
|
| 274 |
|
| 275 |
class GPT2VisionConfig(PretrainedConfig):
|
| 276 |
+
model_type = "gptvision"
|
| 277 |
|
| 278 |
def __init__(self, **kwargs):
|
| 279 |
super().__init__(**kwargs)
|