Live data from Hacker News

Yi-Coder: A Small but Mighty LLM for Code

01-ai.github.io

101–110 of 117 posts

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

#101
post #4

Claude 3.5 Sonnet still holds the LLM crown for code which I'll use when wanting to check the output of the best LLM, however my Continue Dev, Aider and Claude Dev plugins are currently configured to use DeepSeek Coder V2 236B (and local ollama DeepSeek Coder V2 for tab completions) as it offers the best value at $0.14M/$0.28M which sits just below Claude 3.5 Sonnet on Aider's leaderboard [1] whilst being 43x cheaper…

What kind of hardware is required for the local llm for the continue stack?

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

#102
post #4

Claude 3.5 Sonnet still holds the LLM crown for code which I'll use when wanting to check the output of the best LLM, however my Continue Dev, Aider and Claude Dev plugins are currently configured to use DeepSeek Coder V2 236B (and local ollama DeepSeek Coder V2 for tab completions) as it offers the best value at $0.14M/$0.28M which sits just below Claude 3.5 Sonnet on Aider's leaderboard [1] whilst being 43x cheaper…

Uh, what price format is "14 million cents per 28 million cents"?

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

#103
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.

Because code either works or it doesn't. Nobody is replacing our entire income stream with an LLM. You also need a knowledge of code to instruct an LLM to generate decent code, and even then it's not always perfect. Meanwhile plenty of people are using free/cheap image generation and going "good enough". Now they don't need to pay a graphic artist or a stock photo licence Any layperson can describe what they want a p…

> "Meanwhile plenty of people are using free/cheap image generation and going "good enough". Now they don't need to pay a graphic artist or a stock photo licence"

and getting sandwich photos of ham blending into human fingers:

https://www.reddit.com/r/Wellthatsucks/comments/1f8bvb8/my_l...

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

#104

Earlier quoted context omitted.

No, I’m using 9b-chat-q8_0 on a 4090

Turns out that Ollama on windows will run multiple models in parallell consuming all available VRAM and RAM. Changing it to 1 fixed the issue, now it's working great! However, the context length for the output is very small - only 1024 tokens.

That's some really strange behavior, I don't know why that would cause poor results rather than just poor performance.

Can you configure the context size with `/set parameter num_ctx N`? On my laptop with an RTX A3000 12GB I can run `yi-coder:9b-chat` (Q4_0) with 32768 context and it produces good results quickly. That uses 11GB of VRAM so it's maxed out for this setup.

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

#105

Earlier quoted context omitted.

Turns out that Ollama on windows will run multiple models in parallell consuming all available VRAM and RAM. Changing it to 1 fixed the issue, now it's working great! However, the context length for the output is very small - only 1024 tokens.

That's some really strange behavior, I don't know why that would cause poor results rather than just poor performance. Can you configure the context size with `/set parameter num_ctx N`? On my laptop with an RTX A3000 12GB I can run `yi-coder:9b-chat` (Q4_0) with 32768 context and it produces good results quickly. That uses 11GB of VRAM so it's maxed out for this setup.

Solved, see:

https://github.com/01-ai/Yi-Coder/issues/6#issuecomment-2334...

Works very well now! 65K input tokens with 8192 output tokens is no longer an issue on my 4090. (It maxes out on 22GB/VRAM)

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

#107

Earlier quoted context omitted.

That's some really strange behavior, I don't know why that would cause poor results rather than just poor performance. Can you configure the context size with `/set parameter num_ctx N`? On my laptop with an RTX A3000 12GB I can run `yi-coder:9b-chat` (Q4_0) with 32768 context and it produces good results quickly. That uses 11GB of VRAM so it's maxed out for this setup.

Solved, see: https://github.com/01-ai/Yi-Coder/issues/6#issuecomment-2334... Works very well now! 65K input tokens with 8192 output tokens is no longer an issue on my 4090. (It maxes out on 22GB/VRAM)

Awesome! Glad to hear you got it sorted out.

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

#108
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.

Because code either works or it doesn't. Nobody is replacing our entire income stream with an LLM. You also need a knowledge of code to instruct an LLM to generate decent code, and even then it's not always perfect. Meanwhile plenty of people are using free/cheap image generation and going "good enough". Now they don't need to pay a graphic artist or a stock photo licence Any layperson can describe what they want a p…

At best it's a prototype and concept generator. It would have to yield assets with layers that can be exported by an illustration or bitmap tool of choice. AI generated images are almost completely useless as-is.

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

#109
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…

": they are marketed towards (and created by) laypeople with who want generic content and don't care about human artists"

Good. The artists I know have zero interest in doing that work. I have sacrificed a small fortune to invest in my wife's development as an artist so she never had to worry about making any money. She uses AI to help with promoting and "marketing" herself.

She and all of her colleagues all despise commissioned work and they get a constant stream of them. I always tell her to refuse them. Some pay very well.

If you are creating generic "art" for corporations I have little more than a shrug for your anxiety over AI.

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

#110
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.

I love art and code, IMO is because Cursor is really good and AI art is not that good. There isn't a good metaphor for the problem with AI art. I would say it is like some kind of chocolate cake that the first few bites seem like the best cake you have ever had and then progressive bites become more and more shit until you stop even considering eating it. Then at some point even the thought of the cake makes you want…

AI art is an oxymoron. It will never give me chills or make me cry.
Post reply on HN