From 8b5629b55c0e1c6be158a2f7a1174573feefc29a Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Fri, 26 May 2023 12:16:39 +0900 Subject: [PATCH] from local --- egs/librispeech/ASR/.lora.sh.swp | Bin 12288 -> 12288 bytes .../.data2vec_audio.py.swp | Bin 40960 -> 45056 bytes .../data2vec_audio.py | 8 ++++---- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/egs/librispeech/ASR/.lora.sh.swp b/egs/librispeech/ASR/.lora.sh.swp index 48114270640733d2b983c5e88b32a0da3ce42b85..5e9a6ee19e04e34e5690165e8f529592a9ab5627 100644 GIT binary patch delta 31 lcmZojXh;xCG6?hZRj|}EU;qLE28KA5f|P&08^vDf0|0<(2%P`` delta 31 lcmZojXh;xCG6?hZRj|}EU;qLE28KB^^HX9(H;TQ|2LOTx2z3Ae diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp index 348b8271849cd9d3b06b1657831cca30acac0288..ccfae82a5be0c5e19ef72354aab4ef7a633a22af 100644 GIT binary patch delta 474 zcmYMwKS)AR6vy%N%$L2=d=6pQBE0Ai{ejvtq9t0QqQ67YP#6sn*bp?O(G~>arJ;v| zO>PyvsTvZ@p)skJAetJ27NI7GzNXQE59b~(_rU!na<0Ui>%wJfhN?6Bv>r8J1_O;! zt%+LCIzwjGe;Ibid?iEVx^i!d^r%4cT(3-rP9a$^jBu?imA5>#HfNm7`Y2Oj!-8coI@mcFS+yvxAzYj_r;g DUqDmQ delta 83 zcmZp8z|?SnX#rn==Gv@K1c8ut|ZXfR_OXzAyp_0S1P$$$}Hs nv+m|%VCda^biz^2$>-K{PrkKYZSsQk0+S!D7v6ktmJ%xfAbcFY diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py index 5521c56c8..73efd17d2 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/data2vec_audio.py @@ -162,10 +162,10 @@ class LoRAModule(nn.Module): self.reset_parameters() def reset_parameters(self): - nn.init.zeros_(self.lora_B.weight.data) - nn.init.zeros_(self.lora_B.bias.data) - #nn.init.normal_(self.lora_B.weight.data) - #nn.init.normal_(self.lora_B.bias.data) + #nn.init.zeros_(self.lora_B.weight.data) + #nn.init.zeros_(self.lora_B.bias.data) + nn.init.normal_(self.lora_B.weight.data) + nn.init.normal_(self.lora_B.bias.data) nn.init.normal_(self.lora_A.weight.data) nn.init.normal_(self.lora_A.bias.data)