Hacker Newsnew | past | comments | ask | show | jobs | submit | thesehands's commentslogin

This is very much what dspy aims to address. Learning the incantations necessary to prompt well can be replaced by an algorithmic loop and example labelled cases.


This paper is always useful to remember when someone tells you to just use the cosine similarity: https://arxiv.org/abs/2403.05440

Sure, it’s useful but make sure it’s appropriate for your embeddings and remember to run evals to check that things are ‘similar’ in the way that you want them to appear similar.

Eg is red similar to green just because they are colors


Created by Steve Ruiz, his timeline is full of little interesting thoughts played out in the development of this, a fascinating insight into the minutiae that users take for granted but that make the difference: https://twitter.com/steveruizok


My guess is something very similar to U2Net https://github.com/xuebinqin/U-2-Net


Matthieu here, ML engineer at PhotoRoom. We use a custom UNet model. We work with PyTorch for research and use Tensor RT and CoreML to deploy models.


systems also need noisy labels..


Transformers suffer from a quadratic bottleneck when calculating attention. Much work has been done investigating where memory can be saved by being more explicit on which attentions to calculate. This repo implements transformers with noted improvements


ha! no way - I just cited your paper in the comments without noticing you already had.


for all common models (GloVe, fastText, word2vec) the means across word embeddings are tightly concentrated around zero (relative to their dimensions), thus making the widely used cosine similarity practically equivalent to Pearson correlation https://www.aclweb.org/anthology/N19-1100/


The author of FastAPI https://twitter.com/tiangolo is a Spacy employee


Yep, that's me, I work at Explosion (spaCy's home)!


Big fan my dude! While FastAPI is amazing, the docs for it are a work of art. I know a few people that have just used the FastAPI docs to learn what API's are and how they work, nevermind how use FastAPI itself.


Thanks for saying that! :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: