huggingface / dataspeech

MIT License
281 stars 37 forks source link

Add load/save logic for bins computations #9

Closed ylacombe closed 5 months ago

ylacombe commented 5 months ago

In order to make fine-tuning easier, I implemented a mechanism to easily save and load from edges bins that have already been computed. What does it mean in practice: You just have to run a command like the one in examples/tags_to_annotations/run_metadata_to_text_for_finetuning.sh to compute text bins from a new dataset that you want to fine-tune your model on.

What's here:

Additionaly, I've improvedmain.py:

cc @sanchit-gandhi