mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
5b3577e701
commit
20fe60de27
Binary file not shown.
@ -134,7 +134,7 @@ class LoRAHook():
|
|||||||
self.hook = module.register_forward_hook(self.hook_fn)
|
self.hook = module.register_forward_hook(self.hook_fn)
|
||||||
self.lora = LoRAModule(
|
self.lora = LoRAModule(
|
||||||
embedding_dim=768,
|
embedding_dim=768,
|
||||||
rank=4,
|
rank=2,
|
||||||
lora_alpha=10000.,
|
lora_alpha=10000.,
|
||||||
)
|
)
|
||||||
def hook_fn(self, module, input, output):
|
def hook_fn(self, module, input, output):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user