Update configuration_MERT.py
Browse files- configuration_MERT.py +0 -9
configuration_MERT.py
CHANGED
|
@@ -7,20 +7,11 @@ Adapted from: https://github.com/yizhilll/MERT/blob/main/scripts/mert_hf/configu
|
|
| 7 |
import functools
|
| 8 |
import operator
|
| 9 |
|
| 10 |
-
# from ...configuration_utils import PretrainedConfig
|
| 11 |
-
# from ...utils import logging
|
| 12 |
from transformers.configuration_utils import PretrainedConfig
|
| 13 |
from transformers.utils import logging
|
| 14 |
|
| 15 |
logger = logging.get_logger(__name__)
|
| 16 |
|
| 17 |
-
# TODO: use this MAP while uploading to Huggingface
|
| 18 |
-
# HUBERT_PRETRAINED_CONFIG_ARCHIVE_MAP = {
|
| 19 |
-
# "facebook/hubert-base-ls960": "https://huggingface.co/facebook/hubert-base-ls960/resolve/main/config.json",
|
| 20 |
-
# # See all Hubert models at https://huggingface.co/models?filter=hubert
|
| 21 |
-
# }
|
| 22 |
-
|
| 23 |
-
|
| 24 |
class MERTConfig(PretrainedConfig):
|
| 25 |
r"""
|
| 26 |
"""
|
|
|
|
| 7 |
import functools
|
| 8 |
import operator
|
| 9 |
|
|
|
|
|
|
|
| 10 |
from transformers.configuration_utils import PretrainedConfig
|
| 11 |
from transformers.utils import logging
|
| 12 |
|
| 13 |
logger = logging.get_logger(__name__)
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
class MERTConfig(PretrainedConfig):
|
| 16 |
r"""
|
| 17 |
"""
|