Update configuration_gpt2vision.py
Browse files
configuration_gpt2vision.py
CHANGED
@@ -136,7 +136,7 @@ class GPT2Config(PretrainedConfig):
|
|
136 |
|
137 |
def __init__(
|
138 |
self,
|
139 |
-
vocab_size=
|
140 |
n_positions=1024,
|
141 |
n_embd=768,
|
142 |
n_layer=12,
|
@@ -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)
|
|
|
136 |
|
137 |
def __init__(
|
138 |
self,
|
139 |
+
vocab_size=50259,
|
140 |
n_positions=1024,
|
141 |
n_embd=768,
|
142 |
n_layer=12,
|
|
|
273 |
return 13
|
274 |
|
275 |
class GPT2VisionConfig(PretrainedConfig):
|
276 |
+
model_type = "gpt2vision"
|
277 |
|
278 |
def __init__(self, **kwargs):
|
279 |
super().__init__(**kwargs)
|