permutans commited on
Commit
b6a144b
·
verified ·
1 Parent(s): ac548c3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_havelock.py +4 -1
modeling_havelock.py CHANGED
@@ -88,7 +88,10 @@ class HavelockTokenConfig(PretrainedConfig):
88
 
89
  model_type = "havelock_token_classifier"
90
  _tied_weights_keys = []
91
- all_tied_weights_keys = {}
 
 
 
92
 
93
  def __init__(self, num_types: int = 1, use_crf: bool = False, **kwargs):
94
  super().__init__(**kwargs)
 
88
 
89
  model_type = "havelock_token_classifier"
90
  _tied_weights_keys = []
91
+
92
+ def mark_tied_weights_as_initialized(self):
93
+ """No tied weights in this model."""
94
+ pass
95
 
96
  def __init__(self, num_types: int = 1, use_crf: bool = False, **kwargs):
97
  super().__init__(**kwargs)