mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-30 01:32:23 +06:00
![]() * Better None gradients handling * Apply Style * Apply Style * Create a loss class per task to compute its respective loss * Add loss classes to the ALBERT TF models * Add loss classes to the BERT TF models * Add question answering and multiple choice to TF Camembert * Remove prints * Add multiple choice model to TF DistilBERT + loss computation * Add question answering model to TF Electra + loss computation * Add token classification, question answering and multiple choice models to TF Flaubert * Add multiple choice model to TF Roberta + loss computation * Add multiple choice model to TF XLM + loss computation * Add multiple choice and question answering models to TF XLM-Roberta * Add multiple choice model to TF XLNet + loss computation * Remove unused parameters * Add task loss classes * Reorder TF imports + add new model classes * Add new model classes * Bugfix in TF T5 model * Bugfix for TF T5 tests * Bugfix in TF T5 model * Fix TF T5 model tests * Fix T5 tests + some renaming * Fix inheritance issue in the AutoX tests * Add tests for TF Flaubert and TF XLM Roberta * Add tests for TF Flaubert and TF XLM Roberta * Remove unused piece of code in the TF trainer * bugfix and remove unused code * Bugfix for TF 2.2 * Apply Style * Divide TFSequenceClassificationAndMultipleChoiceLoss into their two respective name * Apply style * Mirror the PT Trainer in the TF one: fp16, optimizers and tb_writer as class parameter and better dataset handling * Fix TF optimizations tests and apply style * Remove useless parameter * Bugfix and apply style * Fix TF Trainer prediction * Now the TF models return the loss such as their PyTorch couterparts * Apply Style * Ignore some tests output * Take into account the SQuAD cls_index, p_mask and is_impossible parameters for the QuestionAnswering task models. * Fix names for SQuAD data * Apply Style * Fix conflicts with 2.11 release * Fix conflicts with 2.11 * Fix wrongname * Add better documentation on the new create_optimizer function * Fix isort * logging_dir: use same default as PyTorch Co-authored-by: Julien Chaumond <chaumond@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
test_activations.py | ||
test_benchmark.py | ||
test_configuration_auto.py | ||
test_configuration_common.py | ||
test_doc_samples.py | ||
test_hf_api.py | ||
test_hf_argparser.py | ||
test_model_card.py | ||
test_modeling_albert.py | ||
test_modeling_auto.py | ||
test_modeling_bart.py | ||
test_modeling_bert.py | ||
test_modeling_camembert.py | ||
test_modeling_common.py | ||
test_modeling_ctrl.py | ||
test_modeling_distilbert.py | ||
test_modeling_electra.py | ||
test_modeling_encoder_decoder.py | ||
test_modeling_flaubert.py | ||
test_modeling_gpt2.py | ||
test_modeling_longformer.py | ||
test_modeling_marian.py | ||
test_modeling_openai.py | ||
test_modeling_reformer.py | ||
test_modeling_roberta.py | ||
test_modeling_t5.py | ||
test_modeling_tf_albert.py | ||
test_modeling_tf_auto.py | ||
test_modeling_tf_bert.py | ||
test_modeling_tf_camembert.py | ||
test_modeling_tf_common.py | ||
test_modeling_tf_ctrl.py | ||
test_modeling_tf_distilbert.py | ||
test_modeling_tf_electra.py | ||
test_modeling_tf_flaubert.py | ||
test_modeling_tf_gpt2.py | ||
test_modeling_tf_openai_gpt.py | ||
test_modeling_tf_roberta.py | ||
test_modeling_tf_t5.py | ||
test_modeling_tf_transfo_xl.py | ||
test_modeling_tf_xlm_roberta.py | ||
test_modeling_tf_xlm.py | ||
test_modeling_tf_xlnet.py | ||
test_modeling_transfo_xl.py | ||
test_modeling_xlm_roberta.py | ||
test_modeling_xlm.py | ||
test_modeling_xlnet.py | ||
test_onnx.py | ||
test_optimization_tf.py | ||
test_optimization.py | ||
test_pipelines.py | ||
test_tokenization_albert.py | ||
test_tokenization_auto.py | ||
test_tokenization_bert_japanese.py | ||
test_tokenization_bert.py | ||
test_tokenization_common.py | ||
test_tokenization_ctrl.py | ||
test_tokenization_distilbert.py | ||
test_tokenization_fast.py | ||
test_tokenization_gpt2.py | ||
test_tokenization_marian.py | ||
test_tokenization_openai.py | ||
test_tokenization_roberta.py | ||
test_tokenization_t5.py | ||
test_tokenization_transfo_xl.py | ||
test_tokenization_utils.py | ||
test_tokenization_xlm_roberta.py | ||
test_tokenization_xlm.py | ||
test_tokenization_xlnet.py | ||
test_trainer_distributed.py | ||
test_trainer.py | ||
utils.py |