mirror of
https://github.com/bigscience-workshop/petals
synced 2024-10-31 09:20:41 +00:00
black
This commit is contained in:
parent
fced9a8f30
commit
1ea397a88b
@ -156,7 +156,7 @@ class BloomModel(BloomPreTrainedModel):
|
||||
self.n_head = config.n_head
|
||||
|
||||
# Embedding + LN Embedding
|
||||
self.word_embeddings = nn.Embedding(config.vocab_size, self.embed_dim)
|
||||
self.word_embeddings = nn.Embedding(config.vocab_size, self.embed_dim)
|
||||
self.word_embeddings_layernorm = LayerNorm(self.embed_dim, eps=config.layer_norm_epsilon)
|
||||
|
||||
# Transformer blocks
|
||||
|
Loading…
Reference in New Issue
Block a user