Embedding Layer

Quick definition

A trainable lookup or projection layer that maps discrete input identifiers to continuous vectors.

A trainable lookup or projection layer that maps discrete input identifiers to continuous vectors.

Token embeddings are learned with the model and differ from precomputed external embeddings stored in a retrieval database.

Example: A language model maps each token ID to a dense vector before transformer processing.

Common use cases: Language modeling, categorical feature representation, and recommendation networks.

Examples

  • A language model maps each token ID to a dense vector before transformer processing.

Use cases

  • Language modeling, categorical feature representation, and recommendation networks.

Frequently asked questions

What is Embedding Layer?

A trainable lookup or projection layer that maps discrete input identifiers to continuous vectors.

What should I know about Embedding Layer?

Token embeddings are learned with the model and differ from precomputed external embeddings stored in a retrieval database.

Categories and tags