mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
![]() * Copy inputs to train and test step before modifying them, as this breaks things * Add XLA tests, fix our loss functions to be XLA-compatible * make fixup * Update loss computation test to expect vector of per-sample losses * Patch loss for TFLED * Patch loss for TFAlbert * Add a tf_legacy_loss config flag that enables old loss functions * Stop using config.get() because it's not a dict * Skip loss computation test for RAG because its loss is very strange and I'm afraid to rewrite it * make fixup * Add XLA-compatible RAG loss * Fix dtype of loss mask for TFAlbert * Fix test for XLNet too because it overrides the default one * make fixup * Fix config test * No more depending on GPU NaN behaviour * Add test, avoid potential zero division * Fix test item assignment * Fix loss computation masking test * make fixup * Fix dtype bugs |
||
---|---|---|
.. | ||
__init__.py | ||
test_activations_tf.py | ||
test_activations.py | ||
test_add_new_model_like.py | ||
test_cli.py | ||
test_convert_slow_tokenizer.py | ||
test_doc_samples.py | ||
test_file_utils.py | ||
test_generic.py | ||
test_hf_argparser.py | ||
test_image_utils.py | ||
test_logging.py | ||
test_model_card.py | ||
test_model_output.py | ||
test_modeling_tf_core.py | ||
test_offline.py | ||
test_skip_decorators.py | ||
test_utils_check_copies.py | ||
test_versions_utils.py |