qigtyofhp | 1 year ago | on: The First Hedge Fund
qigtyofhp's comments
qigtyofhp | 3 years ago | on: Understanding and coding the self-attention mechanism of large language models
Read the intro in the original paper "Attention is all you need" (https://arxiv.org/abs/1706.03762)
This video explains the drawbacks to RNNs and how transformers solve that: https://youtu.be/S27pHKBEp30?t=394
Andrej Karpathy explains attention here: https://youtu.be/kCc8FmEb1nY?t=3719
He explains how attention is seen as a communication network: https://youtu.be/kCc8FmEb1nY?t=4298
qigtyofhp | 3 years ago | on: Storing OpenAI embeddings in Postgres with pgvector
Redis has approximate nearest-neighbors vector similarity search: https://redis-py.readthedocs.io/en/stable/examples/search_ve...
Generate the embeddings on a rented GPU, push to Redis then do a similarity search. Store vectors in Redis using ndarray.tobytes()
qigtyofhp | 3 years ago | on: Storing OpenAI embeddings in Postgres with pgvector
qigtyofhp | 4 years ago | on: Internal Amazon documents shed light on how company pressures out office workers