-
Notifications
You must be signed in to change notification settings - Fork 29.5k
TF Examples Rewrite #18451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
TF Examples Rewrite #18451
Changes from 24 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d1cf71c
Finished QA example
Rocketknight1 58176d1
Dodge a merge conflict
Rocketknight1 78f5371
Update text classification and LM examples
Rocketknight1 70ec8f5
Update NER example
Rocketknight1 2bd4df9
New Keras metrics WIP, fix NER example
Rocketknight1 a6d6340
Update NER example
Rocketknight1 5945d38
Update MC, summarization and translation examples
Rocketknight1 4f92e88
Add XLA warnings when shapes are variable
Rocketknight1 69bef1a
Make sure batch_size is consistently scaled by num_replicas
Rocketknight1 b84bbbb
Add PushToHubCallback to all models
Rocketknight1 d300fb9
Add docs links for KerasMetricCallback
Rocketknight1 31e0dfa
Add docs links for prepare_tf_dataset and jit_compile
Rocketknight1 d98dd9b
Correct inferred model names
Rocketknight1 0560e76
Don't assume the dataset has 'lang'
Rocketknight1 1da5d9b
Don't assume the dataset has 'lang'
Rocketknight1 a1c4a2d
Write metrics in text classification
Rocketknight1 82047f8
Add 'framework' to TrainingArguments and TFTrainingArguments
Rocketknight1 d53ec42
Export metrics in all examples and add tests
Rocketknight1 91feab0
Fix training args for Flax
Rocketknight1 5ccafe6
Update command line args for translation test
Rocketknight1 5141255
make fixup
Rocketknight1 541e9f3
Fix accidentally running other tests in fp16
Rocketknight1 6f59c12
Remove do_train/do_eval from run_clm.py
Rocketknight1 8f72fa2
Remove do_train/do_eval from run_mlm.py
Rocketknight1 d1a95ce
Add tensorflow tests to circleci
Rocketknight1 77453fb
Fix circleci
Rocketknight1 46e1998
Update examples/tensorflow/language-modeling/run_mlm.py
Rocketknight1 0b0bb96
Update examples/tensorflow/test_tensorflow_examples.py
Rocketknight1 debcaed
Update examples/tensorflow/translation/run_translation.py
Rocketknight1 c8ca4bb
Update examples/tensorflow/token-classification/run_ner.py
Rocketknight1 fb238e8
Fix save path for tests
Rocketknight1 4922a22
Fix some model card kwargs
Rocketknight1 66a6b8b
Explain the magical -1000
Rocketknight1 25399bf
Actually enable tests this time
Rocketknight1 80654eb
Skip text classification PR until we fix shape inference
Rocketknight1 9e0b471
make fixup
Rocketknight1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.