Markus28 commited on
Commit
6546b2c
1 Parent(s): 559b3ae

removed num_tasks from config

Browse files
Files changed (1) hide show
  1. configuration_bert.py +0 -2
configuration_bert.py CHANGED
@@ -81,7 +81,6 @@ class JinaBertConfig(PretrainedConfig):
81
  fused_dropout_add_ln=False,
82
  fused_bias_fc=False,
83
  pad_vocab_size_multiple=1,
84
- num_tasks=0,
85
  use_flash_attn=True,
86
  use_qk_norm=True,
87
  emb_pooler=None,
@@ -115,7 +114,6 @@ class JinaBertConfig(PretrainedConfig):
115
  self.fused_dropout_add_ln = fused_dropout_add_ln
116
  self.fused_bias_fc = fused_bias_fc
117
  self.pad_vocab_size_multiple = pad_vocab_size_multiple
118
- self.num_tasks = num_tasks
119
  self.use_flash_attn = use_flash_attn
120
  self.use_qk_norm = use_qk_norm
121
  self.emb_pooler = emb_pooler
 
81
  fused_dropout_add_ln=False,
82
  fused_bias_fc=False,
83
  pad_vocab_size_multiple=1,
 
84
  use_flash_attn=True,
85
  use_qk_norm=True,
86
  emb_pooler=None,
 
114
  self.fused_dropout_add_ln = fused_dropout_add_ln
115
  self.fused_bias_fc = fused_bias_fc
116
  self.pad_vocab_size_multiple = pad_vocab_size_multiple
 
117
  self.use_flash_attn = use_flash_attn
118
  self.use_qk_norm = use_qk_norm
119
  self.emb_pooler = emb_pooler