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