* finalize convbert * finalize convbert * fix * fix * fix * push * fix * tf image patches * fix torch model * tf tests * conversion * everything aligned * remove print * tf tests * fix tf * make tf tests pass * everything works * fix init * fix * special treatment for sepconv1d * style * 🙏🏽 * add doc and cleanup * add electra test again * fix doc * fix doc again * fix doc again * Update src/transformers/modeling_tf_pytorch_utils.py Co-authored-by: Lysandre Debut <lysandre@huggingface.co> * Update src/transformers/models/conv_bert/configuration_conv_bert.py Co-authored-by: Lysandre Debut <lysandre@huggingface.co> * Update docs/source/model_doc/conv_bert.rst Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/auto/configuration_auto.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Update src/transformers/models/conv_bert/configuration_conv_bert.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * conv_bert -> convbert * more fixes from review * add conversion script * dont use pretrained embed * unused config * suggestions from julien * some more fixes * p -> param * fix copyright * fix doc * Update src/transformers/models/convbert/configuration_convbert.py Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> * comments from reviews * fix-copies * fix style * revert shape_list Co-authored-by: Lysandre Debut <lysandre@huggingface.co> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
70 lines
1.4 KiB
Python
70 lines
1.4 KiB
Python
# flake8: noqa
|
|
# There's no way to ignore "F401 '...' imported but unused" warnings in this
|
|
# module, but to preserve other warnings. So, don't check this module at all.
|
|
|
|
# Copyright 2020 The HuggingFace Team. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from . import (
|
|
albert,
|
|
auto,
|
|
bart,
|
|
barthez,
|
|
bert,
|
|
bert_generation,
|
|
bert_japanese,
|
|
bertweet,
|
|
blenderbot,
|
|
blenderbot_small,
|
|
camembert,
|
|
convbert,
|
|
ctrl,
|
|
deberta,
|
|
dialogpt,
|
|
distilbert,
|
|
dpr,
|
|
electra,
|
|
encoder_decoder,
|
|
flaubert,
|
|
fsmt,
|
|
funnel,
|
|
gpt2,
|
|
herbert,
|
|
layoutlm,
|
|
led,
|
|
longformer,
|
|
lxmert,
|
|
marian,
|
|
mbart,
|
|
mmbt,
|
|
mobilebert,
|
|
mpnet,
|
|
mt5,
|
|
openai,
|
|
pegasus,
|
|
phobert,
|
|
prophetnet,
|
|
rag,
|
|
reformer,
|
|
retribert,
|
|
roberta,
|
|
squeezebert,
|
|
t5,
|
|
tapas,
|
|
transfo_xl,
|
|
xlm,
|
|
xlm_roberta,
|
|
xlnet,
|
|
)
|