Skip to content

Commit

Permalink
Add Keras 3 example for "Transformer model for MIDI music generation" (
Browse files Browse the repository at this point in the history
…#1992)

* Pre-PR review: base script file working in tf

* Fix too slow inference on jax

* Refactor MIDI generation script: PR feedback.
- Update import statement for keras_hub
- Fix documentation for audio dependencies
- Remove unnecessary markdown annotation

Other changes:
- Update last modified date in MIDI generation example
- Fix: Increase training epochs from 1 to 20 in MIDI generation example
- Fix: use flip for unsupported negative step in torch
- Fix: Remove unused learning rate

* Torch backend fixes: add cast on generate, change learning rate scale

* Compact script

* Add auto generated files
  • Loading branch information
johacks authored Nov 27, 2024
1 parent 8a55f0a commit 275300a
Show file tree
Hide file tree
Showing 3 changed files with 2,797 additions and 0 deletions.
Loading

0 comments on commit 275300a

Please sign in to comment.