Lurker News

Comments (118) 44 threads

Earlier comments
ryanlime#
One of the most insightful posts I’ve read recently. I especially enjoy the rationale behind the options you chose to reduce costs and going into detail on where you find the most savings.

I know the post primarily focuses on neural search, but I’m wondering you tried integrating hybrid BM-25 + embeddings search and if this led to any improvements. Also, what reranking models did you find most useful and cost efficient?

AndrewKemendo#
That stack element is amazing

I wish more people showed their whole exploded stack like that and in an elegant way
Really well done writeup!

1gn15#
This is incredibly, incredibly cool. Creating a search engine that beats Google in quality in just 2 months and less than a thousand dollars.

Really great idea about the federated search index too! YaCy has it but it's really heavy and never really gave good results for me.

arkmm3 replies#
"There was one surprise when I revisited costs: OpenAI charges an unusually low $0.0001 / 1M tokens for batch inference on their latest embedding model. Even conservatively assuming I had 1 billion crawled pages, each with 1K tokens (abnormally long), it would only cost $100 to generate embeddings for all of them. By comparison, running my own inference, even with cheap Runpod spot GPUs, would cost on the order of 100× more expensive, to say nothing of other APIs."

I wonder if OpenAI uses this as a honeypot to get domain-specific source data into its training corpus that it might otherwise not have access to.

cedws4 replies#
I don’t think OpenAI train on data processed via the API, unless there’s an exception specifically for this.
johnthescott#
i am too lazy to ask openai.
dannyw1 reply#
Can you truly trust them though?
cedws6 replies#
Yes, it would be disastrous for OpenAI if it got out they are training on B2B data despite saying they don’t.

Continue this thread — 6 replies

trhway#
i'd not rule out some approach like instead of training directly on the data, may be they would train on a very high dimensional embedding of such a data (or some other similarly "anonymized", yet still very semantically rich representation of the data)
dpoloncsak#
Maybe I misunderstand, but I'm pretty sure they offer an option for cheaper API costs (or maybe its credits?) if you allow them to train on your API requests.

To your point, pretty sure it's off by default, though
Edit: From https://platform.openai.com/settings/organization/data-contr...
Share inputs and outputs with OpenAI
"Turn on sharing with OpenAI for inputs and outputs from your organization to help us develop and improve our services, including for improving and training our models. Only traffic sent after turning this setting on will be shared. You can change your settings at any time to disable sharing inputs and outputs."
And I am 'enrolled for complimentary daily tokens.'

anothernewdude#
It'd be a way to put crap or poisoned data into their training data if that is the case. I wouldn't.
magicalhippo#
> OpenAI charges an unusually low $0.0001 / 1M tokens for batch inference on their latest embedding model.

Is this the drug dealer scheme? Get you hooked later jack up prices? After all, the alternative would be regenerating all your embeddings no?

Load more comments