speechbrain / speechbrain

A PyTorch-based Speech Toolkit
http://speechbrain.github.io
Apache License 2.0
8.97k stars 1.4k forks source link

Harmonize Adapters and MultiWOZ w/ QLoRA #2710

Open pplantinga opened 1 month ago

pplantinga commented 1 month ago

Describe the bug

The MultiWOZ + llama recipe currently uses QLoRA which isn't supported yet with our adapters. Let's add QLoRA support and then harmonize the recipe with our adapters implementation.

Expected behaviour

Being one with the universe

To Reproduce

No response

Environment Details

No response

Relevant Log Output

No response

Additional Context

No response

TParcollet commented 1 month ago

Hey Peter, this goes beyond just this recipe imho. Because we are not simply using an adapter from peft, but also another function preparing the model. I suspect that it might be hard to make it generic. A first step would be to externalise the call to peft as an interface from SB.