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

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_havelock.py +0 -5
modeling_havelock.py CHANGED
@@ -87,11 +87,6 @@ class HavelockTokenConfig(PretrainedConfig):
87
  """Config that wraps any backbone config + our custom fields."""
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)
 
87
  """Config that wraps any backbone config + our custom fields."""
88
 
89
  model_type = "havelock_token_classifier"
 
 
 
 
 
90
 
91
  def __init__(self, num_types: int = 1, use_crf: bool = False, **kwargs):
92
  super().__init__(**kwargs)