Update modeling_gpt2vision.py
Browse files- modeling_gpt2vision.py +1 -1
modeling_gpt2vision.py
CHANGED
@@ -65,7 +65,7 @@ class GPT2Vision(PreTrainedModel):
|
|
65 |
text,
|
66 |
padding='max_length',
|
67 |
truncation=True,
|
68 |
-
max_length=
|
69 |
return_tensors="pt",
|
70 |
).to(device)
|
71 |
|
|
|
65 |
text,
|
66 |
padding='max_length',
|
67 |
truncation=True,
|
68 |
+
max_length=768,
|
69 |
return_tensors="pt",
|
70 |
).to(device)
|
71 |
|