Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-grella committed Dec 30, 2020
1 parent dfb98c9 commit edfd2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nlp/transformers/bert/embeddings.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewEmbeddings(config EmbeddingsConfig) *Embeddings {
}
}

// InitProcessors initializes the unknown embeddings.
// InitProcessor initializes the unknown embeddings.
func (m *Embeddings) InitProcessor() {
m.UnknownEmbedding = m.Graph().NewWrap(m.Words.GetStoredEmbedding(wordpiecetokenizer.DefaultUnknownToken))
}
Expand Down

0 comments on commit edfd2bd

Please sign in to comment.