Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,677 karma · joined Jul 18, 2012 (14y ago) · 1,965 submissions

My email is at gmail using my username.

Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.

Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view

Submissions

comment 2y ago · link · parent

But, what if you could make an SAT that is equivalent to evaluating years of performance at work?

https://huggingface.co/papers/2306.05685

This paper makes the argument that...

"Our results reveal that strong LLM judges like GPT-4 can match both controlled and crowdsourced human preferences well, achieving over 80% agreement, the same level of agreement between humans. Hence, LLM-as-a-judge is a scalable and explainable way to approximate human preferences, which are otherwise very expensive to obtain."

So, the Arena could theoretically be automated and achieve similar outcomes. Or at least, it could quickly determine a predicted-ELO for every model, which would be interesting to compare against the human-rated outcomes.

comment 2y ago · link · parent

I wish that Arena included a few more "interesting" models like the new Phi-2 model and the current tinyllama model, which are trying to push the limits on small models. Solar-10.7B is another interesting model that seems to be missing, but I just learned about it yesterday, and it seems to have come out a week ago, so maybe it's too new. Solar supposedly outperforms Mixtral-8x7B with a fraction of the total parameters, although Solar seems optimized for single-turn conversation, so maybe it falls apart over multiple messages (I'm not sure).

comment 2y ago · link · parent

Dupe: https://news.ycombinator.com/item?id=38682631

comment 2y ago · link · parent

Two components do not make a product. The SBC market is a better litmus test for the real costs. There is plenty of competition making products of all kinds.

comment 2y ago · link · parent

If the recent revelations in the Epic vs Google court case are anything to go by, Motorola is likely getting paid by Google for every single Google search and Google Play Store transaction that occurs on that phone. It could even be sold at a loss. I don't think pointing at a low-cost smartphone is a very useful point of reference given that context.

However, I think there are plenty of Linux SBCs (single board computers) that have 4GB of RAM for around $50, just no screen, GPS, cellular modem, cameras, speakers... all sorts of things that add cost to a cell phone. $10 is a far-fetched claim, in my opinion, and citations are needed. The Pi Zero 2W is $15 and only has 512MB of RAM. So, sure, let's go with $50.

Have you considered how cheap printers are? I see multiple inkjet printers on Amazon that cost $59. Adding $50 would nearly double the price of the unit. Other manufacturers would eat their lunch, so you can see why no one is rushing to offer a $59 printer with an additional $50 worth of computer built in. Even if it were "only" $25 extra, that is still significant.

At the higher end, printers do start to include more of everything, but those aren't the printers the average consumer is buying.

comment 2y ago · link · parent

Of course most users don’t pick the 65W option. They want maximum performance, and the cost of electricity is largely negligible to most people buying a 7950X.

AMD isn’t going to offer a huge discount for a 65W 7950X for the reasons discussed elsewhere: they don’t need to.

comment 2y ago · link · parent

Every 7950X offers a 65W mode. It’s not a separate SKU.

It’s a choice each user can make if they care more about efficiency. Tasks take longer to complete, but the total energy consumed for the completion of the task is dramatically less.

comment 2y ago · link · parent

This page might be somewhat helpful: https://cloud.google.com/vertex-ai/docs/generative-ai/image/...

It also includes a link to the TTP form, although the form itself seems to make no reference to Imagen being part of the program anymore, confusingly. (Instead indicating that Imagen is GA.)

comment 2y ago · link · parent

> 96GB of weights. You won't be able to run this on your home GPU.

This seems like a non-sequitur. Doesn't MoE select an expert for each token? Presumably, the same expert would frequently be selected for a number of tokens in a row. At that point, you're only running a 7B model, which will easily fit on a GPU. It will be slower when "swapping" experts if you can't fit them all into VRAM at the same time, but it shouldn't be catastrophic for performance in the way that being unable to fit all layers of an LLM is. It's also easy to imagine caching the N most recent experts in VRAM, where N is the largest number that still fits into your VRAM.

comment 2y ago · link · parent

That row says lower is better. For "word error rate", lower is definitely better.

But they also used Large-v3, which I have not ever seen outperform Large-v2 in even a single case. I have no idea why OpenAI even released Large-v3.

comment 3y ago · link · parent

Do you have Bard history enabled?

comment 3y ago · link · parent

You must enable Bard history for these features to work, and you must go to the extensions page and make sure they’re turned on. Arguing with a model that doesn’t have access to the extensions won’t make it suddenly use the extensions.

Summarizing my last 5 emails worked just fine with bard using that query.

comment 3y ago · link · parent

Ok, that makes more sense, but if people haven't migrated away by now... the odds seem increasingly likely that they won't migrate in time to avoid that deadline.

comment 3y ago · link · parent

Was there actually a price increase recently and not 6 months ago?

If people just want to vent about Hashicorp/Terraform, it seems like a text-post would be sufficient for that.

comment 3y ago · link · parent

v3 only comes in one flavor: large.

I don’t think you’re going to have a good time running the large model on a Pi of any kind.

The large models are 32x slower than the tiny models, roughly.[0]

I just tested, and whisper.cpp on my Pi 4 can transcribe the 30-second a13.wav sample (“make samples” to fetch it) in 18.5 seconds.

You can do the math… 32x = 10 minutes transcribe 30 seconds of audio with the large model. Not a good time for most people.

The Pi 5 could be 2x to 3x faster.

[0]: https://github.com/openai/whisper/blob/main/README.md#availa...

comment 3y ago · link · parent

Real time transcription is not necessarily short snippets. In my experience, initial prompt is useless beyond the first 30 seconds if the words in the initial prompt aren’t used every 30 seconds, including the first 30.

It may be easy to rattle off a list of words, but it doesn’t work nearly as well as it should, so what’s the point? I also never said fine tuning would be easier than prompting. I said it would be better. It would just need to be easier than fine tuning currently is, not easier than prompting.

Fine tuning that I’m talking about would not be limited to only a few new words. You would only need one model, like we have today. It would just be your model that knows all the specific words and spellings you prefer. By analogy to other machine learning models, I would expect a lightweight LoRA approach would also work.

I just haven’t seen anyone working on these solutions that would actually be scalable, unlike the initial prompt.

Initial prompt works in extremely specific scenarios, but it has been so unreliable for long transcripts in my experience that I certainly don’t bother with it anymore. Someone mentioned Alexa-style home assistants, which would have short enough audio snippets that initial prompt would actually be useful.

comment 3y ago · link · parent

The submission link is weird. It has far fewer stars than the repo it is forked from, and could just be an ad for replicate.com?

It is missing the most recent commits from what appears to be the real source: https://github.com/Vaibhavs10/insanely-fast-whisper

The only added commit is adding a replicate.com example, whatever that means.

comment 3y ago · link · parent

“prompt” is arguably a misnomer. In other implementations, it is correctly called “initial-prompt”, and even the whisper.cpp help describes it as an initial prompt.

It only affects the first 30 second window of the transcription, as far as I’ve been able to tell. If the word in question appears in that window, then it will influence the next window, and so on… but as soon as it doesn’t exist in one 30 second window, it’s effectively gone, from what I’ve seen.

It’s “underused” precisely because this feature is pretty much useless if you’re transcribing anything other than quick snippets of speech.

It’s also hard to use since you have to know in advance what hard-to-transcribe words are going to be in the audio.

We need a better solution. It would be much better if there were an easy way to fine tune Whisper to learn new vocab.

comment 3y ago · link · parent

https://github.com/SpectralVectors/RightMouseNavigation

comment 3y ago · link · parent

The article links to their huggingface page[0], which offers both chat and non-chat models, and it appears that they come with the code necessary to be run, but I have not actually tried to run them.

[0]: https://huggingface.co/normalcomputing

comment 3y ago · link · parent

If you had actually read what it wrote:

"Remember, this is a probabilistic approach and works well if the lines in your file are roughly the same length. If the line lengths vary significantly, some lines will have a higher or lower chance of being selected."

It had already addressed "the real problem with its implementation" that you pointed out.

> PS in the case of dictionary words with a length limit of say 30 letters, there is still an O(k) general solution using rejection sampling.

Again, what ChatGPT wrote:

"In a typical scenario where lines can have variable lengths, true O(k) random sampling isn't feasible without some prior knowledge about the file."

Knowing that the limit is 30 characters without question counts as "some prior knowledge".

As an interviewer, it sounds like you're not hearing what the candidate is saying.

> And it definitely shows the limits of GPT here

I don't think anyone here is claiming that ChatGPT is limitless. The topic is "a coder considers the waning days of the craft", not "a coder considers the bygone days of the craft." ChatGPT is capable of solving many real world problems already. If it continues improving, some people are concerned about what that could mean, especially for less experienced developers.

How many people have you interviewed with that brainteaser that have actually provided the complete solution you're looking for? Vanishingly few, I would imagine, unless you were dropping some serious hints. It's not a real world problem. Most brainteasers have solutions that are "conceptually simple" once you already know the solution.

> I'd prefer to think it's more like a real engineering problem, and less like a simple interview question

It's absolutely not, though. It's exactly like the infamous trick questions that many tech interviews are known for, which have nothing to do with real engineering that you would encounter on the job.

You might as well have someone invert a binary tree for all the value that it provides.

comment 3y ago · link · parent

That is a problematic request for multiple obvious reasons, and for those same reasons, ChatGPT resisted providing an implementation that didn't require indexing the file. By telling it "no indexing is allowed, provide a best effort solution" it relented and provided a best effort solution.

Here is the provided solution and some discussion of the problems with the problem itself: https://chat.openai.com/share/54807663-17ca-4e7d-bc76-cd3cf3...

comment 3y ago · link · parent

Similarly: https://chat.openai.com/share/bc4a533e-c007-48ea-9232-0e548b...

The "<" is actually an unnecessary additional character to type.

comment 3y ago · link · parent

Sure: https://chat.openai.com/share/0a3e52c6-1db8-422a-a98c-cb3500...

I laid out the constraints, but I did not mention reservoir sampling at all. The script seems to work as expected when I run it against a dictionary file.

comment 3y ago · link · parent

For 128k context (even with a 7B model), I don't think 8GB is nearly enough. I've heard there might be tricks to get it under 24GB... but I haven't personally seen it under about 28GB, IIRC. Definitely not heard of it being possible with 8GB.

comment 3y ago · link · parent

No... TBW scales with the size of the disk. The 870 EVO is not uniformly rated for 2400TBW. Different technologies will have different TBW per GB of storage, but for a line of SSDs with the same technology, it almost always scales linearly by the amount of storage.

The 250GB model of the 870 EVO is warrantied for 150TBW. Many of the laptops Apple sells with 8GB of RAM only come with a 256GB SSD. Surely nobody is buying an Apple laptop with 8GB of RAM and a 4TB SSD.

Is 5 months a good enough lifespan for a computer?

I am personally skeptical that most people would be seeing 1TBW per day, but I firmly believe that 8GB is unjustifiably low. Apple offers 24GB as an option, so they could (and should) offer 12GB as the base spec if they're unwilling to make 16GB the base spec.

"Warrantied TBW for 870 EVO: 150 TBW for 250 GB model, 300 TBW for 500 GB model, 600 TBW for 1 TB model, 1,200 TBW for 2 TB model and 2,400 TBW for 4 TB model"[0]

[0]: https://semiconductor.samsung.com/us/consumer-storage/intern...

comment 3y ago · link · parent

What prompt did you use? (Besides the transcript itself)

comment 3y ago · link · parent

> The author didn't say it is a bug.

The author's title literally refers to it as a bug.

comment 3y ago · link · parent

The person I replied to had decided to compare Mistral to what was launched, so I went along with their comparison and showed how I have been unsatisfied with it. But, these open models can certainly be fun to play with.

Regardless, where did you find 1.8T for GPT-4 Turbo? The Turbo model is the one with the 128K context size, and the Turbo models tend to have a much lower parameter count from what people can tell. Nobody outside of OpenAI even knows how many parameters regular GPT-4 has. 1.8T is one of several guesses I have seen people make, but the guesses vary significantly.

I’m also not convinced that parameter counts are everything, as your comment clearly implies, or that chinchilla scaling is fully understood. More research seems required to find the right balance: https://espadrine.github.io/blog/posts/chinchilla-s-death.ht...

comment 3y ago · link · parent

OpenAI offering 128k context is very appealing, however.

I tried some Mistral variants with larger context windows, and had very poor results… the model would often offer either an empty completion or a nonsensical completion, even though the content fit comfortably within the context window, and I was placing a direct question either at the beginning or end, and either with or without an explanation of the task and the content. Large contexts just felt broken. There are so many ways that we are more than “two weeks” from the open source solutions matching what OpenAI offers.

And that’s to say nothing of how far behind these smaller models are in terms of accuracy or instruction following.

For now, 6-12 months behind also isn’t good enough. In the uncertain case that this stays true, then a year from now the open models could be perfectly adequate for many use cases… but it’s very hard to predict the progression of these technologies.

1
192021
66