24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions
https://hnbadges.netlify.app/?user=quickthrower2
comment 3y ago · link · parent
> However, using an exact match approach for LLM caches is less effective due to the complexity and variability of LLM queries, resulting in a low cache hit rate. To address this issue, GPTCache adopt alternative strategies like semantic caching. Semantic caching identifies and stores similar or related queries, thereby increasing cache hit probability and enhancing overall caching efficiency.
> GPTCache employs embedding algorithms to convert queries into embeddings and uses a vector store for similarity search on these embeddings. This process allows GPTCache to identify and retrieve similar or related queries from the cache storage, as illustrated in the Modules section.
While I wont pretend to fully understand this I assume it means more cache hits for similar but not exactly the same queries?
comment 3y ago · link · parent
* Fast
* Works even with HN hug of death
* Useful for my daily flow (I mix chat gpt with google searches)
I tried “can $myname code typescript” and got a great answer.
Love it.
Concerns
* Will it stay around
* Who is paying. I don’t mind a monthly subscription model but >$20 might be hard to justify
* Privacy
Will trial for 14 days then may recommend to the team!
comment 3y ago · link · parent
Most other advert platforms try to say “hey mate over here, stop your trail of thought and look at this…”
TV and radio says “ha gotcha now let me force this ad down your throat”
comment 3y ago · link · parent
It depends what you are protecting, what the consequences are.
At one extreme raw ChatGPT let's you type anything. But the worst case is they lost 1c in compute cost and some weird text comes back. Maybe text that tells you how to do something you shouldn't do legally. So there is a risk there. Maybe they are happy with it.
Another extreme is a prompted-ChatGPT powered bot that opens a bank vault if it is convinced you are the bank manager. Then "two 99% prompts stuck together" is no where near good enough. In fact any prompt injection problem at all will be a problem (plus any problem in the judging powers of ChatGPT)
comment 3y ago · link · parent
A trope of this style is “{interesting half story} but more on that later”.
I don’t think it is a big deal and I don’t see much self promotion here other than vanilla blogging, i.e. sounds like this person is knowledgeable let’s check their bio.
comment 3y ago · link · parent
comment 3y ago · link · parent
One way around might be to take the untrusted text, escape quotes and put it in a quoted string. Then tell the LLM it is a quoted string. And in no uncertain terms not to follow any instructions given in the string.
But this might lose some fidelity in the task you try to achieve
comment 3y ago · link · parent
comment 3y ago · link · parent
If this takes off people will be inventivized to make lots of small dependencies that are likely to be needed in tier 1 (or tier 2).
The trick will be to find a bug in a first dep of webpack for example, fork it and fix some bugs there then convince webpack to switch to you.
Algorithmic decisions can be gamed.
I suggest instead the app lists the deps, and you choose how much to give each one.
comment 3y ago · link · parent
It is timely for me, because I am finding memory is probably the limiting factor for me learning about machine learning. So many concepts and names of things to remember. Once you get past 1-2 lectures the short term memory becomes overloaded and it gets muddled.
I also worry that chatgpt is going to make my memory worse, because I no longer have to remember stuff, and I can just remember what they asked chat gpt. I think there is value to even remembering APIs and syntax from heart.
So this post is counter "just get the computer to do it" which is a good thing.
I can imagine that just like people didn't need gyms when they had to hunt, gather and survive, but now we do, we will need mental gyms to make up for what technology has made too easy.
comment 3y ago · link · parent
Everyone is scrambling to learn AI using… free resources because they are:
Better than lectures
Faster learning rate
More current, learn last Wednesday’s state of the art
Fit into lifestyle
Ridiculous amount of choice
No BS you have to learn for the credits
And more!
All the universities have in their arsenal is the credential. It is a big gun but it will erode. Because you can test the knowledge at the interview. Or exams can be provided privately for a modest fee.
So much will become commoditised.
comment 3y ago · link · parent
These days laptop PCs are unreliable across most brands I have tried and supplied with crapware and the operating system is hostile and forces stuff like OneDrive on you and begs you not to install Chrome.
Last 2 years over 2 devices:
Broken screen (not due to external)
Touchscreen not working
Lid came apart
Audio stops working while windows uodates pending
Laptop stopped turning on
With the latest device I got all the extended warrantees and accidental damage coverage as the pot odds made it worth paying 33% of the device price over 3 years.
comment 3y ago · link · parent
Cofounder and I worked in industry X for Y years and were frustrated by time-consuming/imperfect/costly problem Z while trying to achieve important objective W. We talked to other people in this situation and found insights A B and C. And then they go on to describe the product.
The strategy is the product plus how you will get it to market, how will it evolve, what are the first features, what are the human elements to the product, do you need a flashy modern site, or a short email to a targeted list, etc.