v2.1.7 Hugging Face Hub integration
This release bring the integration of the Hugging Face Hub, along with a few important fixes and improvements!
What's Changed
- #87 Hugging Face hub integration! You can now push and load MidiTok tokenizers from the Hugging Face hub, using the
.from_pretrained
andpush_to_hub
methods as you would do for your models! Special thanks to @Wauplin and @julien-c for the help and support! 🤗🤗 - #80 (#78 @leleogere) Adding
func_to_get_labels
argument toDatasetTok
allowing to use it to retrieve labels when loading data; - #81 (#74 @Chunyuan-Li) Fixing multi-stream decoding with several identical programs + fixes with the encoding / decoding of time signatures for Bar-based tokenizers;
- #84 (#77 @VDT5702) Fix in
detect_chords
when checking whether to use unknown chords; - #82 (#79 @leleogere)
tokenize_midi_dataset
now reproduces the file tree of the source files. This change fixes issues when files with the same name were overwritten in the previous method. You can also specify wether to overwrite files in the destination directory or not.
Full Changelog: v2.1.6...v2.1.7