mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-20 21:18:21 +06:00
Fix E302 flake8 warning (x3).
This commit is contained in:
parent
b1de7ae08a
commit
eed46f38b7
@ -49,6 +49,7 @@ TF_XXX_PRETRAINED_MODEL_ARCHIVE_MAP = {
|
|||||||
"xxx-large-uncased": "https://s3.amazonaws.com/models.huggingface.co/bert/xxx-large-uncased-tf_model.h5",
|
"xxx-large-uncased": "https://s3.amazonaws.com/models.huggingface.co/bert/xxx-large-uncased-tf_model.h5",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
# TF 2.0 Models are constructed using Keras imperative API by sub-classing
|
# TF 2.0 Models are constructed using Keras imperative API by sub-classing
|
||||||
# - tf.keras.layers.Layer for the layers and
|
# - tf.keras.layers.Layer for the layers and
|
||||||
|
@ -49,6 +49,7 @@ XXX_PRETRAINED_MODEL_ARCHIVE_MAP = {
|
|||||||
"xxx-large-uncased": "https://s3.amazonaws.com/models.huggingface.co/bert/xxx-large-uncased-pytorch_model.bin",
|
"xxx-large-uncased": "https://s3.amazonaws.com/models.huggingface.co/bert/xxx-large-uncased-pytorch_model.bin",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
# This is a conversion method from TF 1.0 to PyTorch
|
# This is a conversion method from TF 1.0 to PyTorch
|
||||||
# More details: https://medium.com/huggingface/from-tensorflow-to-pytorch-265f40ef2a28
|
# More details: https://medium.com/huggingface/from-tensorflow-to-pytorch-265f40ef2a28
|
||||||
|
@ -49,6 +49,7 @@ T5_PRETRAINED_MODEL_ARCHIVE_MAP = {
|
|||||||
"t5-11b": "https://s3.amazonaws.com/models.huggingface.co/bert/t5-11b-pytorch_model.bin",
|
"t5-11b": "https://s3.amazonaws.com/models.huggingface.co/bert/t5-11b-pytorch_model.bin",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
# This is a conversion method from TF 1.0 to PyTorch
|
# This is a conversion method from TF 1.0 to PyTorch
|
||||||
# More details: https://medium.com/huggingface/from-tensorflow-to-pytorch-265f40ef2a28
|
# More details: https://medium.com/huggingface/from-tensorflow-to-pytorch-265f40ef2a28
|
||||||
|
Loading…
Reference in New Issue
Block a user