qigtyofhp
Re:The First Hedge Fund
on Monday June 24, 2024 @11:39PM (#40784224)
The story was interesting but the title is misleading. This wasn't the first hedge fund. Benjamin Graham started his first fund in the 1920s which would be what we call a hedge fund today. Graham's fund might not be the first hedge fund but it came before Jones'.
Re:Understanding and Coding the Self-Attention Mechanism of Large Lang...
on Friday February 10, 2023 @10:17PM (#34749235)
The attention mechanism started as a simple trick to not use recurrent neural networks.
Read the intro in the original paper "Attention is all you need paper" (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
Re:Storing OpenAI embeddings in Postgres with pgvector
on Tuesday February 07, 2023 @12:59AM (#34689275)
This will load the transformer models from Hugging Face (their models have a similar architecture to OpenAI embedding models):
https://www.sbert.net/docs/pretrained_models.html
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()
Re:Storing OpenAI embeddings in Postgres with pgvector
on Monday February 06, 2023 @09:05PM (#34687617)
This is an interesting feature. But you don't need to use just OpenAI's embeddings. You can generate your own embeddings with open source SOTA transformer models which would probably work just the same. You could generate a couple hundred thousand embeddings with a rented A100 for less than 2 dollars. And the point of converting text or other objects (like images) into embeddings is to compare a large number of documents to a source document very fast. It's more useful to put the embeddings in something like Redis. This pgvector data type would be good for an offline backup of vectors.
Re:Internal Amazon documents shed light on how company pressures out o...
on Monday June 21, 2021 @11:12PM (#27587533)
It's not. Managers lie about performance of their employees in order to either save themselves or save their favorites in the group. I'm a current Amazon employee.