One-Hot Encoding

One-Hot Encoding is a method of representing data where each item (e.g., a word) is represented by a vector consisting entirely of zeros, except for a single 1 at the index corresponding to that item.

Limitation in LLMs

While useful in some contexts, One-Hot Encoding fails to capture semantic relationships between words.

This limitation led to the development of Vector Embeddings, or dense vectors, which can encode these relationships.

In Classification Tasks

One-Hot Encoding is widely used to represent class targets in classification problems.

    Mike 3.0

    Send a message to start the chat!

    You can ask the bot anything about me and it will help to find the relevant information!

    Try asking: