facebookresearch / facebookresearch/blt

Hash embeddings abusing

Open
#64 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I think you're taking advantage of the fact that embeddings are essentially 0-flop lookup tables. Your hash embeddings have 6 * 500k * 1024 = 3 billion parameters, which adds additional capacity to the model, but in terms of raw FLOPs, it contributes nothing. So, I think it would be more fair to compare this setup with a BPE model that also has a similarly large embedding matrix

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.