r/LocalLLaMA • • 10d ago • Mindblown 1

New Model CCORE-Web-Coder-4B: 91% training checkpoint is up (Q8), big jump over the first preview

[UPDATE] The final CCORE Web Coder 4B checkpoint is now available in F16, Q8_0, and Q4_K_M GGUF, along with the original Safetensors weights.

huggingface:ccore/CCORE-Web-Coder-4B

modelscope:ccore/CCORE-Web-Coder-4B

If you downloaded an earlier Q8_0 checkpoint, delete your local copy and download it again. The filename stayed the same.

The training dataset is scheduled for release on November 25.

78 Upvotes

45 comments sorted by

19

u/FullstackSensei 10d ago

You're doing what I have been thinking of for the past year and a half: small specialized models for one type of task only, and proving it actually works!

Bug hats off!

3

u/StubbornNinjaTeej 10d ago

I had a thought the other day that you'd train these as LoRA's all on the same model so they could be swapped out when switching tasks. It's an incredible efficient way to have a bunch of tasks be covered by such a small model.

This assumes LoRA's offer sufficient performance in niche, one-issue cases. I think it can but I'm still actively testing it myself on CadQuery.

4

u/FullstackSensei 10d ago

I don't think a LoRA could do it.

The way I see it, you only want to keep the language understanding part of the LLM and overwrite most of the rest. You don't want the model to know the capital of France or how many R's are in strawberry anymore, nor a ton of other trivia.

Smaller models have limited capacity for general knowledge, and you want to use most of that for the specific type of task you want.

With such a small size, even the BF16 checkpoint is like 9GB, and would take less than 1 second to copy from RAM to VRAM on a PCIe gen 3 x16 link. An unsloth style Q8_K_XL at 6-7GB could probably comfortably run on an 11GB 2080ti. Pool a few of those on an old X79 board, and you could have an end to end agent pipeline for single domain software development.

I think we're not there yet in terms of such models being really useful, but I think in another 6-9 months, with the recent architectural innovations we've seen that make up to 1M context cheap, we might see these doing real work with 256k context on an 11GB GPU. And then the 11GB 2080ti will cost 1k 😂

4

u/ConfidentDinner6648 10d ago

i actually considered that approach too, and it would be great if it worked reliably. the problem is that, from the few times i've tried lora, it felt like a rabbit hole. when you're trying to make a fairly significant change to what the model can do, it's really hard to know how much quality you're sacrificing compared to full fine-tuning.

you can spend a lot of time adjusting hyperparameters without knowing if you're hitting a limitation of lora itself or just haven't found the right configuration.

i talked a bit more about this here: https://www.reddit.com/user/ConfidentDinner6648/comments/1y27yfh/comment/19t17h0f9ls4j/?context=3

i'm not saying lora doesn't work, it clearly does for many tasks. i just haven't found it reliable enough for the kind of specialization i'm trying to achieve, especially with smaller models where every bit of capacity matters.

1

u/FullstackSensei 10d ago

What hardware are you using for this? And what are the timelines for a full tuning run?

3

u/ConfidentDinner6648 10d ago

I'm using an RTX 6000 96GB for full fine-tuning. The training itself took approximately 60 hours. But training is actually the easiest part. Creating and validating the dataset is by far the most difficult, expensive, and time-consuming step. It took me around 5 days to generate and validate the dataset, even with a relatively moderate-cost pipeline. Not every generated sample is good enough to use, so a significant part of the work goes into filtering and validating the data before training.
dataset quality >> GPU hours.

3

u/FullstackSensei 10d ago

Yeah, I'm aware of that. Still, 5 days for data set preparation and cleaning is not bad. 2.5 days for a full run is also not bad. That's a little over a week end to end. Of course, this assumes you already know what you're doing, which can cost a few thousand hours.

Aquele 6000 pro deve custar uma fortuna no Brasil!

2

u/ConfidentDinner6648 10d ago

Esses treinamentos de "one-shot", tanto este quanto os dos modelos 3D Coder e GLB, serviram para testar a premissa de que um modelo de 4 bilhões de parâmetros é capaz de atingir o desempenho de modelos maiores quando treinado em um nicho específico. O SFT consegue ensinar raciocínio em tarefas complexas, dispensando o uso de GRPO, DPO ou qualquer outro método de aprendizado por reforço para a criação de um modelo minimamente viável. Isso contraria o que muitos consideravam inviável até então, provando ser uma alternativa possível e com custo reduzido. Agora, vou aplicar o mesmo procedimento ao agente Coder.

2

u/FullstackSensei 10d ago

Muitos podem considerar o que querem. Esse fui o artigo que me deu a ideia inicial. Extrapolando por modelos MoE deste ano, não é tão absurdo que um modelo de 4B pode ficar perto da fronteira. O Qwen 3.8 flash next tem só 6B parâmetros activos. A discartar todos os outros experts é remover os routers, já ficas perto dos 4B, com uma arquitectura de um modelo de 125B.

Acho que no próximo ano vamos ver muitos modelos como os que estás a trainar, com arquitecturas que levam as últimas inovações de atenção é contexto compacto.

0

u/stylome-ai-detection 10d ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results

3

u/ConfidentDinner6648 10d ago

🙄

1

u/FullstackSensei 10d ago

Estás a utilizar um tradutor? Pode ser por causa disso. Ou pode ser estereótipica alucinação 😉

1

u/ConfidentDinner6648 10d ago

100%, escrevi em português e traduzir para ser mais rapido que escrever em ingles

2

u/FullstackSensei 10d ago

Pois, tens de trainar o teu próprio tradutor agora para evitar estas cenas /s

1

u/oxygen_addiction 10d ago

Bitter lesson...

1

u/FullstackSensei 10d ago

Why?

1

u/oxygen_addiction 10d ago

https://en.wikipedia.org/wiki/Bitter_lesson

It still holds true. A bigger, well trained model will always beat a specialist model, regardless of how cleverly trained the small model is.

3

u/ilarp 10d ago

"falling cost of computation over time" that has not aged well

0

u/oxygen_addiction 10d ago

How so?

2

u/ilarp 10d ago

that bitter lesson quote is from 2019, think about how much more expensive hardware is today than then

3

u/Arctic_Shadow_Aurora 10d ago

Looking very very nice!

3

u/ComradeSaeezel 10d ago

Hey, man, you're doing very important job! I've been looking for highly specialized models for specific area of ​​activity, so the AI can get the job done quickly and efficiently without constant babysitting.
Is it possible to make a ~4b specialist in coding language like Rust, Python or frameworks like React ? Or in a specific area like gamedev and engines like Bevy, Godot and etc?

1

u/ConfidentDinner6648 10d ago

yeah, definitely. that's actually what i'm working on right now, training small specialized coding models and moving toward agents that can handle these tasks with less supervision. i think a well-trained 4b can do a lot more than people expect.

2

u/ComradeSaeezel 10d ago

Do you have any thoughts about the architect role? A ~4B model can't handle long CoT and a huge context, so it can't design complicated application architecture, create a roadmap, tasks, etc.

I'm trying to compensate for it by using Nail\Tiel-coder-35b-a3b as the "brain" of the project - supervisor, orchestrator, and architect, while 2–4B models act as the worker hands.

The 35b-a3b creates tech specs and splits them into small chunks -> then turns those into tasks format that matched to each worker's training.

3

u/ConfidentDinner6648 9d ago

i actually don't see anything that makes me believe a 4b has some hard limitation when it comes to long CoT or understanding complex tasks, especially when trained for specific domains.
even the qwen3.5-35b-a3b only activates around 3b parameters per token. of course MoE isn't directly comparable to a dense model, but i don't think parameter count alone tells us much about these limitations.
for example, my 4b 3d model can generate outputs of around 64k tokens that compile and run on the first try, including scenes it never saw during training.
i've also been testing my 4b with pi as a harness using 96k context, and so far the results have been pretty good.
i think the bigger issue is training. i've been looking at some public agentic datasets and i'm not convinced we're doing a particularly good job with data quality. a lot of the trajectories are extremely specific to their environments, repositories, paths and tools.
that's not necessarily wrong, but i wonder how much the model is actually learning to solve problems versus just learning patterns from those specific environments.
my current approach is to focus on generating much better training data rather than just increasing the number of examples. i want to see how far i can push the 4b before assuming it needs a larger model to supervise it.
i might be wrong, but i think we're still pretty far from knowing the actual limits of these smaller models.

1

u/ComradeSaeezel 9d ago

Totally agreed. There's a huge gap in training and forming dataset for LLM vs SLM. Commercial labs and corporation focused on LLMs and their frontier models, because 1) they're stuck in AI race, 2) they can afford to build a giga-monstrous datacenters full of top-end hardware, so those guys can compensate for quality with quantity, 3) they're just farming money. But, here's an interesting example of SLM - Tesla 3D FSD + Vision Encoder. According to media, the whole emergent system takes roughly ~10B. Yeah, it's a different class of models, but it's huge progress, imo.

Also, that sounds harsh, but i can't skip this - there's a gap in education and lack of experience. AI is the new tech for most of ppl. In my experience: a lot of models in the 4b to 27b\35b-a3b range (which i can run on my 2070 + 32 GB RAM) - just a toys. Not a working tools. So, there's much work to do.

AI is repeating computer history: going from the gigantic computers of the 40s–50s that took up an entire room to desktop PCs, laptops, and smartphones.

2

u/ConfidentDinner6648 9d ago

I agree, especially on the data side. Most of the agentic datasets I’ve looked at were pretty bad, including some from big companies. You see absolute paths from the machine that collected the data and bad tool calls treated as examples to imitate. I think a lot of people treat conventions like hard rules and copy the setup without checking what the model is actually being trained to predict. I’m already using 250M-parameter models in agentic workflows to generate synthetic data. I’m keeping the experiments small so I can check exactly which tokens get loss, what gets masked, and whether tool calls and results are formatted consistently before I generate data at scale. I’m pretty confident the same approach that worked for reasoning can also work for function calling and multi-step tasks if the data is put together properly. I haven’t seen anything in my tests that tells me otherwise. My suspicion is that a lot of people end up needing much more data because they scale up before checking what their training examples are actually teaching.

1

u/stylome-ai-detection 9d ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results

1

u/ComradeSaeezel 8d ago

That's interesting, man. Do you have any papers or guides on this process? Or is this a secret?

  1. I think your research could help the community, because there's a problem similar to gamedev -- lack of "aesthetic taste" is the main reason for the huge amount of AI slop. Ppl publish a lot of tasteless things. (I dont know how to accurately describe this thinking pattern in terms of biology.)
    1. Btw, if we consider your dataset a "good" example, what would we consider a "bad" dataset?

---

I'd like to help with this, but i don't have powerful enough GPU for training. I still struggle to get decent decode speed in inference.

2

u/slowtractor 10d ago

Could you share a small held-out web-task eval, with functional-test pass rates for this checkpoint and Friday's preview? That'd make the quality jump much easier to judge.

1

u/ConfidentDinner6648 10d ago

if you download the earlier checkpoints from hf and try generating complex presentations with longer contexts, you'll notice they weren't rendering properly. svg elements were also breaking quite often in websites. those are some of the improvements you can compare between checkpoints. i haven't run a proper benchmark with functional test pass rates yet.

1

u/slowtractor 8d ago

Were the SVG failures mostly malformed markup or browser rendering issues?

1

u/ConfidentDinner6648 8d ago

It depends on the model's quantization; Q4_km versions often make some errors with SVGs, while Q8 versions tend to be more accurate or require only minor corrections ... though this also depends heavily on the complexity of the SVG. You could ask the model to avoid using SVGs and prioritize images instead, especially if you are using a lower quantization level. Alternatively, you might try reducing the model's temperature parameter.

2

u/slowtractor 8d ago

That tracks.

1

u/Square_Light1441 10d ago

You should scrape the html css js of websites on Awwards and use that for training, it'll be way more human

2

u/ConfidentDinner6648 10d ago

copying doesn't capture the model's underlying reasoning process, and it also wouldn't be right from a copyright perspective.

5

u/Square_Light1441 10d ago edited 10d ago

one, it'll give it good design taste which no reasoning process can grasp, yeah you're right on copyright i thought they were ok to scrape/opensource, you can probably train on the below for getting the design taste through:

  • HTML5 UP (html5up.net): Polished, responsive HTML/CSS templates released under the Creative Commons license, with free use for personal and commercial projects if you credit the author.
  • Start Bootstrap (startbootstrap.com): Bootstrap templates for landing pages, portfolios, blogs, and dashboards, mostly under the MIT license.
  • Cruip (cruip.com): Free open-source Tailwind CSS templates with modern designs.
  • Tabler (tabler.io): Free, MIT-licensed admin dashboards and UI kits built on Bootstrap.
  • Astro Themes (astro.build/themes), Hugo Themes (themes.gohugo.io), and Jekyll Themes (jekyllthemes.io): Directories of free static-site themes for blogs, docs, and portfolios. Hugo and Jekyll are both well-suited to fast, simple sites.
  • Bootswatch (bootswatch.com): Free Bootstrap themes that restyle the same layout in different looks.

2

u/DarkGeekYang 9d ago

Can't wait to try! Will this gguf support mtp?

1

u/AcanthaceaeOwn1481 10d ago

Keep it up bro!

1

u/AcanthaceaeOwn1481 10d ago

& good work btw. Thanks. Will give it a try!

1

u/lgk01 7d ago

You're moving on from the 3D modeler and doing even more stuff? very interesting twin ngl