(I never added text-embedding-3 to it)
2,084 karma · joined March 2, 2010
(I never added text-embedding-3 to it)
I do have a notebook that does a PCA reduction to plot a similarity space: https://github.com/pamelafox/vector-embeddings-demos/blob/ma...
But as I noted in another comment, I think it loses so much information as to be deceiving.
I also find this 3d visualization to be fun: https://projector.tensorflow.org/
But once again, huge loss in information.
I personally learn more by actually seeing the relative similarity ranking and scores within a dataset, versus trying to visualize all of the nodes on the same graph with a massive dimension simplification.
That 3d visualization is what originally intrigued me though, to see how else I could visualize. :)
Here's where I calculate cosine without numpy: https://github.com/pamelafox/vector-embeddings-demos/blob/ma...
And in the distance notebook, I calculate with numpy: https://github.com/pamelafox/vector-embeddings-demos/blob/ma... I didn't use the @ operator! TIL.
I forget where I originally got the Disney movie titles, but it is notably just the titles. A better ranking would be based off a movie synopsis as well. Here's where I calculated their embeddings using OpenAI: https://github.com/pamelafox/vector-embeddings-demos/blob/ma...
Maybe I can submit a poster to Pytorch that would include the Python code as well.
I think the other graphs I included aren't deceiving, they're just not quite as fun as an attempt to visualize the similarity space.
The team is very receptive to feedback, in my experience.
Here's the talk where I used it: https://www.youtube.com/watch?v=k6Vm2hakkV4
I also did a theater session at our MSFT booth, but the recording isn't up yet. You can follow the steps in this repo to check out all the features that I demo'd, however: https://github.com/Azure-Samples/postgresql-extension-playgr...
Let the team know about any issues here: https://github.com/microsoft/vscode-pgsql/issues
Both teams seem to very much want developers to enjoy their tools, so please do send them feedback on what you need out of the tools.
Follow Carlos Robles if you want SQL server extension news: https://www.linkedin.com/in/croblesm/
Follow Joshua Johnson for PostgreSQL server extension news: https://www.linkedin.com/in/johnsonjoshuae/
I actually worked on a similar tree viewer as part of an NLP project back in 2005, in college, but that was for rule-based machine translation systems. Chapter 4 in the final report: https://www.researchgate.net/profile/Declan-Groves/publicati...
In the past year, I’ve added gutter guards, removed trees in zone zero (especially fire-prone cypress), and hardscaped zone zero. I need to look into whether we can do more sealing like this passive house- bit tricky with 1950s construction.
There's an example in the pgvector-python that uses a cross-encoder model for re-ranking: https://github.com/pgvector/pgvector-python/blob/master/exam...
You can even use a language model for re-ranking, though it may not be as good as a model trained specifically for re-ranking purposes.
In our Azure RAG approaches, we use the AI Search semantic ranker, which uses the same model that Bing uses for re-ranking search results.
Great to see Slack using a similar combo!
I do think that remote work is great for mothers though, as it makes pumping/nursing more doable, whether we are working or not.
Perhaps the government can provide more subsidies for quality childcare.
I'm just pointing this out because I hear "4 day workweek" talked about a lot, but it's never clear to me if folks mean that everyone is getting those 4 days, including childcare providers or teachers, and if that's actually what folks want. People in this thread talk about getting chores done, but I'm not getting any chores done if I'm taking care of my lil kids, I'm just getting an even messier house. :D
This is really nice, this was the option that I wanted for my first kid. I would want this from the day they were born though, not just grades 1-3. It helps with breastfeeding scheduling.
https://github.com/Azure-Samples/rag-postgres-openai-python
I’d like to make that version when I have the time, probably just using Llamaindex for the ingestion.
My tips for getting SLMs working well for RAG: http://blog.pamelafox.org/2024/08/making-ollama-compatible-r...