Model Templates for Seq2Seq (#9251)

* adapt cookie cutter

* fix copy past statement

* delete copy statements for now

* remove unused import from template

* make doc rst

* correct config docstring

* correct training

* correct inputs processing tf enc dec

* make style

* adapt templates

* clean tabs

* correct tensor -> Tensor naming

* correct indent

* correct templates

* fix the test

* break lines to avoid > 119

* Apply suggestions from code review
This commit is contained in:
Patrick von Platen
2020-12-22 23:41:20 +01:00
committed by GitHub
parent e6c1f1cad8
commit cbe63949d7
21 changed files with 3561 additions and 21 deletions

View File

@@ -6,5 +6,6 @@
"authors": "The HuggingFace Team",
"checkpoint_identifier": "brand-new-bert-base-cased",
"tokenizer_type": "Based on BERT",
"generate_tensorflow_and_pytorch": "PyTorch & TensorFlow"
"generate_tensorflow_and_pytorch": "PyTorch & TensorFlow",
"is_encoder_decoder_model": "False"
}

View File

@@ -6,5 +6,6 @@
"authors": "The HuggingFace Team",
"checkpoint_identifier": "brand-new-bert-base-cased",
"tokenizer_type": "Based on BERT",
"generate_tensorflow_and_pytorch": "PyTorch"
"generate_tensorflow_and_pytorch": "PyTorch",
"is_encoder_decoder_model": "False"
}

View File

@@ -0,0 +1,11 @@
{
"modelname": "NewENCDEC",
"uppercase_modelname": "NEW_ENC_DEC",
"lowercase_modelname": "new_enc_dec",
"camelcase_modelname": "NewEncDec",
"authors": "The HuggingFace Team",
"checkpoint_identifier": "new-enc-dec-base",
"tokenizer_type": "Based on BART",
"generate_tensorflow_and_pytorch": "PyTorch",
"is_encoder_decoder_model": "True"
}

View File

@@ -6,5 +6,6 @@
"authors": "The HuggingFace Team",
"checkpoint_identifier": "bi-brand-new-bert-base-cased",
"tokenizer_type": "Standalone",
"generate_tensorflow_and_pytorch": "PyTorch & TensorFlow"
"generate_tensorflow_and_pytorch": "PyTorch & TensorFlow",
"is_encoder_decoder_model": "False"
}

View File

@@ -6,5 +6,6 @@
"authors": "The HuggingFace Team",
"checkpoint_identifier": "brand-new-bert-base-cased",
"tokenizer_type": "Based on BERT",
"generate_tensorflow_and_pytorch": "TensorFlow"
"generate_tensorflow_and_pytorch": "TensorFlow",
"is_encoder_decoder_model": "False"
}

View File

@@ -0,0 +1,11 @@
{
"modelname": "NewTFENCDEC",
"uppercase_modelname": "NEW_TF_ENC_DEC",
"lowercase_modelname": "new_tf_enc_dec",
"camelcase_modelname": "NewTFEncDec",
"authors": "The HuggingFace Team",
"checkpoint_identifier": "new-tf-enc-dec-base",
"tokenizer_type": "Based on BART",
"generate_tensorflow_and_pytorch": "TensorFlow",
"is_encoder_decoder_model": "True"
}