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

Human preference data from side by side, anonymous comparisons of models: https://leaderboard.lmsys.org/

Llama3 8B significantly outperforms ChatGPT-3.5, and LLama3 70B is significantly better than that. These are ELO ratings, so it would not be accurate to try to say X is 10% better than Y because the score is 10% higher.

Obviously Falcon 2 is too new to be on the leaderboard yet.

Honestly, I don't think anybody should be using ChatGPT-3.5 as a chatbot at this point. Google and Meta both offer free chatbots that are significantly better than ChatGPT-3.5, among other options.

comment 2y ago · link · parent

Keep in mind that this is a comparison of base models, not chat tuned models, since Falcon-11B does not have a chat tuned model at this time. The chat tuning that Meta did seems better than the chat tuning on Gemma.

Regardless, the Gemma 1.1 chat models have been fairly good in my experience, even if I think the Llama3 8B chat model is definitely better.

CodeGemma 1.1 7B is especially underrated compared to my testing of other relevant coding models. The base CodeGemma 7B base model is one of the best models I’ve tested for code completion, and the chat model is one of the best models I’ve tested for writing code. Some other models seem to game the benchmarks better, but in real world use, don’t hold up as well as CodeGemma for me. I look forward to seeing how CodeLlama3 does, but it doesn't exist yet.

comment 2y ago · link · parent

This blog post I saw recently might be relevant: https://refact.ai/blog/2024/fine-tuning-on-htmlx-making-web-...

comment 2y ago · link · parent

Since the images in the article are from infrared cameras, blue-shifting the light might just land the view from those IR images into the visible spectrum for the observer! Just need to tune the speed correctly.

comment 2y ago · link · parent

> As far as I know, the most RAM you can get in a MacBook Pro (which is what you said you're shopping for) is 48G

Huh? They have options up to 128GB…

https://www.apple.com/shop/buy-mac/macbook-pro/14-inch-space...

comment 2y ago · link · parent

By ChatGPT, do you mean ChatGPT-3.5 or ChatGPT-4? No one should be using ChatGPT-3.5 in an interactive chat session at this point, and I wish OpenAI would recognize that their free ChatGPT-3.5 service seems like it is more harmful to ChatGPT-4 and OpenAI's reputation than it is helpful, just due to how unimpressive ChatGPT-3.5 is compared to the rest of the industry. You're much better off using Google's free Gemini or Meta's Llama-3-powered chat site or just about anything else at this point, if you're unwilling to pay for ChatGPT-4.

I am skeptical that ChatGPT-4 would have done what you described, based on my own extensive experience with it.

comment 2y ago · link · parent

Phi 3 in particular had some issues with the end-of-text token not being handled correctly at launch, as I recall, but I could be remembering incorrectly.

comment 2y ago · link · parent

I agree HumanEval isn't great, but I've found that it is better than not having anything. Maybe we'll get better benchmarks someday.

What would make "Double" higher performance than any other hosted system?

comment 2y ago · link · parent

Yep, I agree with that.

comment 2y ago · link · parent

[deleted]

comment 2y ago · link · parent

An unquantized Qwen1.5-110B model would require some ~220GB of RAM, so 100+GB would not be "enough" for that, unless we put a big emphasis on the "+".

I consider "heavily" quantized to be anything below 4-bit quantization. At 4-bit, you could run a 110B model on around 55GB to 60GB of memory. Right now, Llama-3-70B-Instruct is the highest ranked model you can download[0], and you should be able to fit the 6-bit quantization into 64GB of RAM. Historically, 4-bit quantization represents very little quality loss compared to the full 16-bit models for LLMs, but I have heard rumors that Llama 3 might be so well trained that the quality loss starts to occur earlier, so 6-bit quantization seems like a safe bet for good quality.

If you had 128GB of RAM, you still couldn't run the unquantized 70B model, but you could run the 8-bit quantization in a little over 70GB of RAM. Which could feel unsatisfying, since you would have so much unused RAM sitting around, and Apple charges a shocking amount of money for RAM.

[0]: https://leaderboard.lmsys.org/

comment 2y ago · link · parent

Firstly, I'll say that it's always exciting to see more weight-available models.

However, I don't particularly like that benchmark table. I saw the HumanEval score for Llama 3 70B and immediately said "nope, that's not right". It claims Llama 3 70B scored only 45.7. Llama 3 70B Instruct[0] scored 81.7, not even in the same ballpark.

It turns out that the Qwen team didn't benchmark the chat/instruct versions of the model on virtually any of the benchmarks. Why did they only do those benchmarks for the base models?

It makes it very hard to draw any useful conclusions from this release, since most people would be using the chat-tuned model for the things those base model benchmarks are measuring.

My previous experience with Qwen releases is that the models also have a habit of randomly switching to Chinese for a few words. I wonder if this model is better at responding to English questions with an English response? Maybe we need a benchmark for how well an LLM sticks to responding in the same language as the question, across a range of different languages.

[0]: https://scontent-atl3-1.xx.fbcdn.net/v/t39.2365-6/438037375_...

comment 2y ago · link · parent

Llama-3 8B got it on the first try: https://imgur.com/a/xQy1828

comment 2y ago · link · parent

4-bit is fine for models of all sizes, in my experience.

The only reason I personally don’t quantize tiny models very much is because I don’t have to, not because the accuracy gains from running at 8-bit or fp16 are that great. I tried out 4-bit Phi-3 yesterday, and it was just fine.

comment 2y ago · link · parent

Where do you see that? This comparison[0] shows it outperforming Llama-3-8B on 5 out of 6 benchmarks. I'm not going to claim that this model looks incredible, but it's not that easily dismissed for a model that has the compute complexity of a 17B model.

[0]: https://www.snowflake.com/wp-content/uploads/2024/04/table-3...

comment 2y ago · link · parent

It has 480B parameters total, apparently. You would only need 512GB of RAM if you were running at 8-bit. It could probably fit into 256GB at 4-bit, and 4-bit quantization is broadly accepted as a good trade-off these days. Still... that's a lot of memory.

EDIT: This[0] confirms 240GB at 4-bit.

[0]: https://github.com/ggerganov/llama.cpp/issues/6877#issue-226...

comment 2y ago · link · parent

They also mention in the README:

> CatLIP: CLIP-level Visual Recognition Accuracy with 2.7x Faster Pre-training on Web-scale Image-Text Data

This is the first I’m hearing of that, and the link seems broken.

comment 2y ago · link · parent

> (weights haven't been released, though)

Phi-1, Phi-1.5, and Phi-2 have all had their weights released, and those weights are available under the MIT License.

Hopefully Microsoft will continue that trend with Phi-3.

> outputs 1212 tokens/sec on iOS

I think you meant "12 tokens/sec", which is still nice, just a little less exciting than a kilotoken/sec.

comment 2y ago · link · parent

At what quantization? 4-bit is 80GB. Less than 4-bit is rarely good enough at this point.

comment 2y ago · link · parent

Actually, wow... the plot thickens. I missed this in my initial read of the article:

> We even used it to cut through steel. As the bright, beautiful beam carved a disc out of a metal plate 100 μm thick, our entire lab huddled around, watching in amazement.

So... it can cut steel! As long as the steel is 100 μm thick. I think that is literally about the thickness of a piece of paper.

This newfound information does not weaken my skepticism about the hobbyist laser mill that can cut through (useful) pieces of steel coming to a garage near you any time soon, unfortunately.

comment 2y ago · link · parent

Yes... but you can't buy it. It's in a research lab. And even once it goes into production, what are the odds that it's going to be affordable? They can probably sell every laser they can produce at a very high price for a long time before supply catches up to demand, even though this is supposed to be easy to manufacture.

I'm just extremely skeptical of a steel-cutting laser mill being cheaper than a $10k CNC any time soon. Hardware is hard. Semiconductors are even harder.

As far as I can see, the article provides no indication of when they even hope to bring this product to market, which is never a good sign.

https://xkcd.com/678/

I would love to be wrong.

And really, that video is unsatisfying. They show a mark on the steel, but -- as far as I saw -- they never even show any steel piece that was cut out by the laser. Maybe the steel melts at the very surface... but it may not be possible to cut through a piece of steel unless it is thinner than a piece of paper? We have so little real world information on this laser.

comment 2y ago · link · parent

Okay, but if you’re expecting a magical new diode laser to cut steel any time soon… good luck. That’s what most of this discussion is about. I think starting with a cheap CNC is more likely to work out.

comment 2y ago · link · parent

We're talking hobbyist grade stuff here. People mount router bits on $400 CNCs and cut metal all the time.

Not $10k: https://youtu.be/w26DHMccicE?t=637

Even though it's cheap, the cuts still look pretty smooth and precise. I can't speak to the safety, as I would hope a $10k CNC would have more safety features.

comment 2y ago · link · parent

Yes, for relatively cheaply. I’m not talking about a 5-axis CNC mill, and I’m not saying it’ll be fast. But a laser cutter is not fast either, and even if lasers get more powerful… a really powerful one is unlikely to be “cheap”.

comment 2y ago · link · parent

Yes, laser cutter/engraver.

comment 2y ago · link · parent

Yes, and a laser cutter is also a completely different process for completely different things... yet you can still do some of the same things, and a CNC mill would be more appropriate for smooth cuts than a CNC plasma cutter.

comment 2y ago · link · parent

Can't you buy a CNC mill/router that can cut metal more precisely than a CNC plasma cutter?

comment 2y ago · link · parent

Yeah, my larger point is that there are already plenty of ways to cut metal in a home workshop.

I don't see how a laser would be an improvement on any of those, unless the goal is to CNC with extremely tight tolerances, but even then... it seems unlikely that you'll be CNCing blocks of metal, more likely just 2D cuts from sheets of metal, which is pretty limiting.

It would certainly be fun for some stuff, but I think the danger level of a super high power laser detracts from the fun.

More powerful cutting lasers would definitely be great for industrial use cases.

comment 2y ago · link · parent

Can you expand on why you think this would be so great for home workshops? How do you envision using the laser? Handheld, mounted, or on a CNC?
1
141516
66