Matt
Matt
This PR is a rewrite of the TF examples, including several modern methods. I'm focusing on updating everything to use modern methods like `prepare_tf_dataset` and the `evaluate` library as well...
`tf.data` needs to know the shape of tensors emitted from a `tf.data.Dataset`. Although `None` dimensions are possible, overusing them can cause problems - Keras uses the dataset tensor spec at...
This PR makes some changes to label renaming in `to_tf_dataset()`, both to fix some issues when users input something we weren't expecting, and also to make it easier to deprecate...
**Short Description** At Hugging Face we've seen a few PyTorch vision transformer models using `AdaptiveAvgPool2D`. In a lot of cases these are just resizing to `(1,)` or `(1, 1)`, in...
This is a rebase and rework of the ESM PR at #13662. The old PR predates the `master -> main` rename and the conversion from `.rst` to `.mdx` documentation. As...
### This issue is part of our **Great Code Cleanup 2022**. If you're interested in helping out, take a look at [this thread](https://twitter.com/carrigmat/status/1502319813510766599), or come [join us on Discord](https://t.co/kS42XBvpWH) and...
Work in progress right now, will update this when it's closer to being ready!
cc @gante @amyeroberts @ydshieh @sayakpaul This is the preliminary result of auto-translating an entire module to TensorFlow using GPT-4. The prompt I used was: > > Hi GPT, can you...
This is a first draft of the SAM port - will update this PR as I port tests and make sure everything is working okay. It's also a first proof-of-concept...
This PR adds the Falcon model to the main library. It's still a work in progress, and integration tests / model checkpoints still need to be added! TODO: - [x]...