hidehisa-arai commited on
Commit
e7036b0
1 Parent(s): f68c08c

update model

Browse files
Files changed (1) hide show
  1. modeling_japanese_clip.py +1 -0
modeling_japanese_clip.py CHANGED
@@ -229,6 +229,7 @@ class JapaneseCLIPVisionTransformer(PreTrainedModel):
229
  act_layer: Callable = nn.GELU,
230
  norm_layer: Callable = LayerNorm,
231
  output_tokens: bool = False,
 
232
  ):
233
  super().__init__()
234
  assert pool_type in ('tok', 'avg', 'none')
 
229
  act_layer: Callable = nn.GELU,
230
  norm_layer: Callable = LayerNorm,
231
  output_tokens: bool = False,
232
+ **kwargs,
233
  ):
234
  super().__init__()
235
  assert pool_type in ('tok', 'avg', 'none')