Live data from Hacker News

PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

github.com

81–90 of 143 posts

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#81

Is it going to send my personal data to OpenAI? Isn't that a serious problem? Does not sound like a wise thing to do, not at least without redacting all sensitive personal data from the data. Am I missing something?

This is my question as well. Is there a more nuanced way to tell how personal data is used other than confirming that an OpenAI key is or is not needed?

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#82
post #64

Earlier quoted context omitted.

It's difficult to compete. A small business might answer 10,000 requests to their chat bot. The options are - Pay openai less than $50mo - Manage cloud gpus, hire ml engineers > $1000/mo - Buy a local 4090 and put it under someone's desk, $no reliability +$1500 fixed Any larger business will need scalability and you still can't compete with openai pricing. Maybe one of you startup inclined people can make an openllam…

I’ve got an expensive GPU at home I’m not even using because there aren’t that many things to do with it. Give me more local options.

Let other people pay you to run their stuff on your hardware with Vast.ai.

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#83
post #39

Earlier quoted context omitted.

Do you have citations on OpenAI embeddings being some of the cheapest and best? The signs I've seen points almost in the opposite direction?

The only embeddings I currently see listed on https://openai.com/pricing are Ada v2, at $0.1/million tokens. Even if the alternative is free, how much do you value your time, how long will it take to set up an alternative, and how much use will you get out of it? If you're getting less than a million tokens and it takes half an hour longer to set up, you'd better be a student with zero literally income because that c…

Running models on your own hardware isn't just about cost, there are privacy concerns too.

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#84

Am I the only one who doesn't need to search across my data? What are the use cases here

Sometimes I have the data, but I'm not sure where it is.

Sometimes I know where the data is, but there's a lot of it and all I'm looking for is a quick explanation of something.

Sometimes I have a lot of data from a lot of sources, but what I want in the end is a summary based on what most/all of them agree on, or possibly a summary of how they differ.

There's a lot of use-cases here, many of which I think people don't get a "lightbulb moment" about their usefulness until they've dug in and seen what is possible, because we are so used to how we approach these tasks normally.

But the range of uses is quite broad. A project I'm working on for myself is a variation of this, where I've ingested years and years of my own notes and journals, and make queries for the purposes of my own introspection and personal growth. (I think there's a lot of of potential in this arena in general)

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#85

Is it going to send my personal data to OpenAI? Isn't that a serious problem? Does not sound like a wise thing to do, not at least without redacting all sensitive personal data from the data. Am I missing something?

By default, data sent to the OpenAI API is never used for training and is deleted after a maximum of 30 days (mostly).

Data usage policies: https://openai.com/policies/api-data-usage-policies

Data usage policies by model: https://platform.openai.com/docs/models/how-we-use-your-data

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#86

Don't build a personal ChatGPT, and don't let OpenAI, Microsoft and their business partners (and probably the US government) have a bunch of your personal and private information.

By default, data sent to the OpenAI API is never used for training and is deleted after a maximum of 30 days (mostly).

Data usage policies: https://openai.com/policies/api-data-usage-policies

Data usage policies by model: https://platform.openai.com/docs/models/how-we-use-your-data

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#87
post #72

Earlier quoted context omitted.

What do you (or anyone else, feel free to chime in) do with other LLMs that makes them useable for anything that is not strictly tinkering? Here is my premise: We are past the wonder stage. I want to actually get stuff done efficiently. From what I have tested so far, the only model that allows me to do that halfway reliably is GPT-4. Am I incompetent or are we really just wishfully thinking in HN spirit that other L…

I still wonder what makes GPT-4 so much better than its contemporaries. That's why I saw tons of people trying to explain how GPT-4 works starting from simple neural network distasteful, tons of people already knew and do that but none of them is nearly close to GPT-4.l

From my understanding. GPT-4 is the biggest, or one of the biggest. It was trained on low quality internet datasets, like the others. What makes it different is post-training on custom data with human supervision. We know they even outsourced that to Africa. Second, they integrated it with external tools. Like Python interpreter, internet browser. But the first is most important. Also most likely they have experimented and found some tricks which make it bit better.

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#88
post #72

Earlier quoted context omitted.

What do you (or anyone else, feel free to chime in) do with other LLMs that makes them useable for anything that is not strictly tinkering? Here is my premise: We are past the wonder stage. I want to actually get stuff done efficiently. From what I have tested so far, the only model that allows me to do that halfway reliably is GPT-4. Am I incompetent or are we really just wishfully thinking in HN spirit that other L…

I still wonder what makes GPT-4 so much better than its contemporaries. That's why I saw tons of people trying to explain how GPT-4 works starting from simple neural network distasteful, tons of people already knew and do that but none of them is nearly close to GPT-4.l

> I still wonder what makes GPT-4 so much better than its contemporaries.

OpenAI have had many years to craft their dataset down from the noisy public datasets, and GPT4 is (supposedly) a mixture of 8 "expert models" each of which is 220B (5x+ larger than the Falcon 40B) with a total of 1.7B parameters (3x+ Google's huge 540B PaLM). The hardware and software to train networks of that scale is also a deep moat. Relatively speaking, the model architecture ("gpt from scratch") is the easiest piece.

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#89
post #5

Keep your data private and don't leak it to third parties. Use something like privateGPT (32k stars). Not your keys, not your data. "Interact privately with your documents using the power of GPT, 100% privately, no data leaks"[0] [0] https://github.com/imartinez/privateGPT

100% private? Hmm. I think with the amount of paranoia that the folks in power have about local LLM’s, I wouldn’t be in the slightest surprised that the Windows telemetry will be reporting back what people are doing with them. And anyone who thinks otherwise is in my view just absolutely naive beyond hope.

Don't have so much pride in yourself. Nobody actually cares what you're doing. Well, China might.

And this is probably illegal in several countries besides that since queries might have medical information or other protected data.

Re: PdfGptIndexer: Indexing and searching PDF text data using GPT-2 and FAISS

#90
post #34

I don't get it, GPT-2 is (one of the few) open models from OpenAI, you can just run it locally, why would you use their API for this? https://github.com/openai/gpt-2

I am assuming GPT 4 will provide better answers to your queries compared to GPT 2.
Post reply on HN