hyperdimensional-computing / torchhd

Torchhd is a Python library for Hyperdimensional Computing and Vector Symbolic Architectures
https://torchhd.readthedocs.io
MIT License
233 stars 24 forks source link

Add embeddings for text data #10

Open mikeheddes opened 2 years ago

mikeheddes commented 2 years ago

Since text data is often used, we can add a wrapper around the Random embeddings to store a mapping of characters to random hypervectors (Text(chars, padding=" ")).