Update configuration_ltgbert.py
Browse files- configuration_ltgbert.py +0 -24
configuration_ltgbert.py
CHANGED
|
@@ -19,30 +19,6 @@
|
|
| 19 |
from transformers.configuration_utils import PretrainedConfig
|
| 20 |
|
| 21 |
|
| 22 |
-
LTG_BERT_PRETRAINED_CONFIG_ARCHIVE_MAP = {
|
| 23 |
-
"bnc-bert-span": "https://huggingface.co/ltg/bnc-bert-span",
|
| 24 |
-
"bnc-bert-span-2x": "https://huggingface.co/ltg/bnc-bert-span-2x",
|
| 25 |
-
"bnc-bert-span-0.5x": "https://huggingface.co/ltg/bnc-bert-span-0.5x",
|
| 26 |
-
"bnc-bert-span-0.25x": "https://huggingface.co/ltg/bnc-bert-span-0.25x",
|
| 27 |
-
"bnc-bert-span-order": "https://huggingface.co/ltg/bnc-bert-span-order",
|
| 28 |
-
"bnc-bert-span-document": "https://huggingface.co/ltg/bnc-bert-span-document",
|
| 29 |
-
"bnc-bert-span-word": "https://huggingface.co/ltg/bnc-bert-span-word",
|
| 30 |
-
"bnc-bert-span-subword": "https://huggingface.co/ltg/bnc-bert-span-subword",
|
| 31 |
-
|
| 32 |
-
"norbert3-xs": "https://huggingface.co/ltg/norbert3-xs/config.json",
|
| 33 |
-
"norbert3-small": "https://huggingface.co/ltg/norbert3-small/config.json",
|
| 34 |
-
"norbert3-base": "https://huggingface.co/ltg/norbert3-base/config.json",
|
| 35 |
-
"norbert3-large": "https://huggingface.co/ltg/norbert3-large/config.json",
|
| 36 |
-
|
| 37 |
-
"norbert3-oversampled-base": "https://huggingface.co/ltg/norbert3-oversampled-base/config.json",
|
| 38 |
-
"norbert3-ncc-base": "https://huggingface.co/ltg/norbert3-ncc-base/config.json",
|
| 39 |
-
"norbert3-nak-base": "https://huggingface.co/ltg/norbert3-nak-base/config.json",
|
| 40 |
-
"norbert3-nb-base": "https://huggingface.co/ltg/norbert3-nb-base/config.json",
|
| 41 |
-
"norbert3-wiki-base": "https://huggingface.co/ltg/norbert3-wiki-base/config.json",
|
| 42 |
-
"norbert3-c4-base": "https://huggingface.co/ltg/norbert3-c4-base/config.json"
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
|
| 46 |
class LtgBertConfig(PretrainedConfig):
|
| 47 |
r"""
|
| 48 |
This is the configuration class to store the configuration of a [`LtgBertModel`]. It is used to
|
|
|
|
| 19 |
from transformers.configuration_utils import PretrainedConfig
|
| 20 |
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
class LtgBertConfig(PretrainedConfig):
|
| 23 |
r"""
|
| 24 |
This is the configuration class to store the configuration of a [`LtgBertModel`]. It is used to
|