Skip to content

Commit fe76f35

Browse files
authored
Update README.md
1 parent 90c6926 commit fe76f35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ torchhd.cos_similarity(usd_of_mex, memory)
8484

8585
This example is from the paper [What We Mean When We Say "What's the Dollar of Mexico?": Prototypes and Mapping in Concept Space](https://redwood.berkeley.edu/wp-content/uploads/2020/05/kanerva2010what.pdf) by Kanerva. It first creates hypervectors for all the symbols that are used in the computation, i.e., the variables for `country`, `capital`, and `currency` and their values for both countries. These hypervectors are then combined to make a single hypervector for each country using a hash table structure. A hash table encodes key-value pairs as: `k1 * v1 + k2 * v2 + ... + kn * vn`. The hash tables are then bound together to form their combined representation which is finally queried by binding with the Dollar hypervector to obtain the approximate Mexican Peso hypervector. The similarity output shows that the Mexican Peso hypervector is indeed the most similar one.
8686

87+
## Supported HDC/VSA models
88+
Currently, the library supports the following HDC/VSA models:
89+
90+
- [Multiply-Add-Permute](https://torchhd.readthedocs.io/en/stable/generated/torchhd.MAP.html)
91+
- [Binary Spatter Codes](https://torchhd.readthedocs.io/en/stable/generated/torchhd.BSC.html)
92+
- [Holographic Reduced Representations](https://torchhd.readthedocs.io/en/stable/generated/torchhd.HRR.html)
93+
- [Fourier Holographic Reduced Representations](https://torchhd.readthedocs.io/en/stable/generated/torchhd.FHRR.html)
94+
95+
We welcome anyone to help with contributing more models to the library!
8796

8897
## About
8998

0 commit comments

Comments
 (0)