damerajee commited on
Commit
5b8f163
·
verified ·
1 Parent(s): 049b7aa

Update modeling_gpt2vision.py

Browse files
Files changed (1) hide show
  1. 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=384,
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