mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
fix: change embeddings to embedding
This commit is contained in:
parent
97f7a22f0b
commit
9fc8adbc81
@ -212,7 +212,7 @@ class MambaModel(nn.Module):
|
|||||||
try:
|
try:
|
||||||
self.lm_head = SpeculativeHead.load(config, f"{prefix}.embeddings", weights)
|
self.lm_head = SpeculativeHead.load(config, f"{prefix}.embeddings", weights)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
self.lm_head = SpeculativeHead.load(config, f"{prefix}.embeddings", weights)
|
self.lm_head = SpeculativeHead.load(config, f"{prefix}.embedding", weights)
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
|
Loading…
Reference in New Issue
Block a user