yangwang825
commited on
Commit
•
724ef83
1
Parent(s):
770976b
Update configuration_mert.py
Browse files- configuration_mert.py +7 -2
configuration_mert.py
CHANGED
@@ -5,10 +5,15 @@ from transformers.configuration_utils import PretrainedConfig
|
|
5 |
|
6 |
logger = logging.get_logger(__name__)
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
class MERTConfig(PretrainedConfig):
|
10 |
-
|
11 |
-
"""
|
12 |
model_type = "mert_model"
|
13 |
|
14 |
def __init__(
|
|
|
5 |
|
6 |
logger = logging.get_logger(__name__)
|
7 |
|
8 |
+
# TODO: use this MAP while uploading to Huggingface
|
9 |
+
# HUBERT_PRETRAINED_CONFIG_ARCHIVE_MAP = {
|
10 |
+
# "facebook/hubert-base-ls960": "https://huggingface.co/facebook/hubert-base-ls960/resolve/main/config.json",
|
11 |
+
# # See all Hubert models at https://huggingface.co/models?filter=hubert
|
12 |
+
# }
|
13 |
+
|
14 |
|
15 |
class MERTConfig(PretrainedConfig):
|
16 |
+
|
|
|
17 |
model_type = "mert_model"
|
18 |
|
19 |
def __init__(
|