Live data from Hacker News

Yi-Coder: A Small but Mighty LLM for Code

01-ai.github.io

71–80 of 117 posts

Re: Yi-Coder: A Small but Mighty LLM for Code

#71

Is there an LLM that's useful for Terraform? Something that understands HCL and has been trained on the providers, I imagine.

Copilot writes terraform just fine, including providers.

Thanks. I should have specified, LLMs that can be run locally is what interests me.

Re: Yi-Coder: A Small but Mighty LLM for Code

#72
post #31

The difference between (A) software engineers reacting to AI models and systems for programming and (B) artists (whether it's painters, musicians or otherwise) reacting to AI models for generating images, music, etc. is very interesting. I wonder what's the reason.

Look at who the tools are marketed towards. Writing software involves a lot of tedium, eye strain, and frustration, even for experts who have put in a lot of hours practicing, so LLMs are marketed to help developers make their jobs easier. This is not the case for art or music generators: they are marketed towards (and created by) laypeople with who want generic content and don't care about human artists. These syste…

What you say may be true about the simplest workflow: enter a prompt and get one or more finished images.

But many people use diffusion models in a much more interactive way, doing much more of the editing by hand. The simplest case is to erase part of a generated image, and prompt to infill. But there are people who spend hours to get a single image where they want it.

Re: Yi-Coder: A Small but Mighty LLM for Code

#75
Can someone explain these Aider benchmarks to me? They pass same 113 tests through llm every time. Why they then extrapolate ability of llm to pass these 113 basic python challenges to the general ability to produce/edit code? For me it sounds like this or that model is 70% accurate in solving same hundred python training tasks, but why does it mean that it's good at other languages and arbitrary, private tasks as well? Does anyone ever tried to change them test cases or wiggle conditions a bit to see if it will still hit 70%?

Re: Yi-Coder: A Small but Mighty LLM for Code

#77
post #31

The difference between (A) software engineers reacting to AI models and systems for programming and (B) artists (whether it's painters, musicians or otherwise) reacting to AI models for generating images, music, etc. is very interesting. I wonder what's the reason.

It's just gatekeeping.

Artists put a ton of time into education and refining their vision inside the craft. Amateur efforts to produce compelling work always look amateur. With augmentation, suddenly the "real" artists aren't as differentiated.

The whole conversation is obviously extremely skewed toward digital art, and the ones talking about it most visibly are the digital artists. No abstract painter thinks AI is coming for their occupation or cares wether it is easier to create anime dreamscapes this year or the next.

Re: Yi-Coder: A Small but Mighty LLM for Code

#79
Does anyone know why the sizes of these models are typically expressed in number of weights (i.e 1.5B and 9B in this case), without mentioning the weight size in bytes?

For practical reasons, I often like to know how much GPU RAM is required to run these models locally. The actual number of weights seems to only express some kind of relative power, which I doubt is relevant to most users.

Edit: reformulated to sound like a genuine question instead of a complaint.

Re: Yi-Coder: A Small but Mighty LLM for Code

#80
post #79

Does anyone know why the sizes of these models are typically expressed in number of weights (i.e 1.5B and 9B in this case), without mentioning the weight size in bytes? For practical reasons, I often like to know how much GPU RAM is required to run these models locally. The actual number of weights seems to only express some kind of relative power, which I doubt is relevant to most users. Edit: reformulated to sound…

Since most LLMs are released as FP16, just the number of parameters is enough to know the total required GPU RAM.
Post reply on HN