Blog
CCORE Web Coder 4BAI slide deck generatorHTML React generator

How to Generate Slide Decks and Websites With CCORE Web Coder 4B

Turn one brief into a website, slide deck or infographic as a single HTML file with CCORE Web Coder 4B. Includes the system prompt and settings.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For Marketing, Engineering and Design

A fanned stack of printed slide deck pages with title, chart and bullet layouts sits next to a handwritten brief sheet and a printed source data table.

How do you turn a brief into a website, slide deck or infographic with a small local model?

You download CCORE Web Coder 4B, load it in a program that runs GGUF files, paste in its system prompt, and write a short brief describing your audience, your information, and what the page should help people do. The model returns one complete HTML file with React components, styles and interactions. Save it as index.html, open it in a browser, and edit it. Everything runs on your own machine.

TL;DR

  • CCORE Web Coder 4B is an open-weight model that returns a single HTML file for a website, a slide deck, or a web infographic.
  • The weights are under the Apache 2.0 license, and the smallest download (Q4_K_M) is 2.71 GB.
  • The system prompt does the heavy lifting. It sets the format rules, including a Save as PDF button on decks.
  • A full response runs around 20,000 output tokens, so do not cap output at 8K or the file may stop before the closing </html> tag.
  • Good briefs name the audience, the facts to include, and the action the page should support.
  • In an agent pipeline, a coordinating model can hand Web Coder a table and a brief, then check the figures against the source before exporting a PDF.

What is CCORE Web Coder 4B?

It is a 4-billion-parameter model trained from Qwen3.5-4B-Base by an independent developer, who released the weights for anyone to use. The goal was to see how much design and implementation a small model could handle in one pass. For a presentation, that means going from notes for a talk to a deck you would be comfortable putting on screen.

It handles three formats:

FormatWhat you get
Website or interfaceA page organized around the visitor's main task, with working navigation and the interactions you asked for
Slide deckOne main point per slide, on-screen navigation, and a Save as PDF button
Web infographic or informational pageA page where the main takeaway is easy to find, with headings, diagrams, tables or examples

The training set behind it, 3,500 web design examples, is public as CCORE Web Designs on Hugging Face.

What do you need to download?

Pick one file. The model card lists these formats:

FormatSizeUse
Q4_K_M GGUF2.71 GBSmallest download for local use
Q8_0 GGUF4.48 GBThe format used for the preview demos
F16 GGUF8.42 GB16-bit weights for GGUF runtimes
Original Safetensors17.49 GBFive shards, for the Transformers library

Most people should start with Q8_0 if their machine has room, since that is what the preview demos used, or Q4_K_M if they want the smallest file. If you downloaded Q8_0 before November 23, 2026 at 13:03:39 UTC, delete it and download it again. The final checkpoint kept the same filename as the earlier release.

There is also an optional 641 MiB vision projector for image-input experiments. You do not need it to generate pages from text briefs.

How do you set it up, step by step?

  1. Download a GGUF file from the model's Hugging Face page.
  2. Load it in a GGUF runner. Programs such as llama.cpp or LM Studio read this format. The model card says to use your preferred runner.
  3. Paste the system prompt (below) into the system prompt field.
  4. Set the sampling values from the table in the next section.
  5. Remove the output cap. Use -1 for unlimited where supported, or a number large enough for the whole document.
  6. Write your brief and send it.
  7. Save the output as index.html and open it in a browser.

The page loads React, ReactDOM and Babel from a CDN (a public file host), so the browser needs an internet connection to render it. Babel compiles the JSX in the browser, so there is no build step.

What settings should you use?

A full response typically uses around 20,000 output tokens, including the model's reasoning and the HTML. Keep thinking enabled, and do not set a separate reasoning budget.

SettingValue
Temperature0.6 to 0.8
Top-k40
Top-p0.95
Min-p0.05
Repeat penalty1.0

The most common failure is a low output limit. An 8K cap can end generation before the closing </html> tag, and you get a broken page.

Speed depends on your hardware. The preview video measured Q8_0 on a page of about 19,000 tokens: roughly 240 tokens per second on an RTX 5090, about 120 on a Mac Studio, 110 on an RTX 5070, and 60 on an RTX 3070 Mobile. By simple arithmetic, that is about 80 seconds on the fastest card and about five minutes on the slowest.

What is in the system prompt?

The system prompt is the instruction set the model was trained to follow. Here it is in full, as published on the model card (with the page orientation worded as "horizontal"):

You design and build polished HTML experiences in React. Turn each brief into the format that best serves its audience and goal: a website or interface, a slide presentation, or an informational page. Follow the requested format when the brief specifies one.

Return only one complete HTML document, from <!doctype html> through </html>. Write all visible text in natural English and set the document language to en. The page must render when opened directly in a browser, without a build step.

Load these scripts in this order:
https://cdn.jsdelivr.net/npm/react@18.3.1/umd/react.production.min.js
https://cdn.jsdelivr.net/npm/react-dom@18.3.1/umd/react-dom.production.min.js
https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.10/babel.min.js

Put all CSS in one <style> block. Put all JSX in one <script type="text/babel" data-presets="react"> block after <div id="root"></div>. Mount with ReactDOM.createRoot(document.getElementById("root")).render(<App />). Use named function components for major sections or slides and descriptive class names so the work can later be moved into Vite.

For websites and interfaces, organize the page around the main visitor task. Make navigation and the interactions requested in the brief work.

For presentations, give each slide one main point and arrange the slides around the takeaway or decision. Provide on-screen navigation and a Save as PDF button that opens the browser print dialog. In print, show all slides in order, with one complete slide per horizontal A4 page. Hide on-screen controls and avoid clipped content or blank pages.

For informational pages, make the main takeaway easy to find. Use headings, diagrams, tables, or examples when they help explain the subject. Preserve figures and claims supplied in the brief. Label fictional data as illustrative when needed.

Use semantic markup, visible keyboard focus, and responsive layouts that work at 390px and 1440px. You may choose publicly accessible images that fit the brief. Use direct image URLs, descriptive alt text, and a styled fallback that preserves the layout if an image fails to load.

Three parts matter most for your own use. First, the format follows your brief, so say "slide deck" or "one-page report" outright. Second, the prompt tells the model to preserve figures you supply. Third, the layout targets are 390px (a phone) and 1440px (a laptop screen).

How do you write a brief that works?

The model card says to describe the audience, the information to include, and what the page should help them do. Use this template:

Make a [website / slide deck / one-page report] for [audience].
Include: [the exact facts, figures and names to appear].
The goal: [the decision or action the reader should take].

The model card gives three example briefs, one per format:

  • Website: "Give an appearance-model studio a portfolio of a handheld enclosure, a display stand, and a packaging insert, explaining the question each prototype helped a team examine."
  • Slide deck: "Make a proposal deck for an evening language-support session after an illustrative survey found 22 of 60 respondents could not attend daytime hours. The pilot needs two helpers for four weekly sessions."
  • Infographic: "Make a one-page report on 20 illustrative camping-gear returns: 9 missing parts, 6 unclear sizing, and 5 changed plans, with a practical action beside each category."

Notice what they share: specific numbers, a clear audience, and a stated purpose. The infographic brief gives counts that add up (9 + 6 + 5 = 20), which lets you check the chart against them.

How do slide decks and PDF export work?

The deck is a web page with one component per slide and on-screen navigation. The Save as PDF button opens your browser's print dialog. In print mode, the page shows all slides in order, one per horizontal A4 page, with the controls hidden. Choose "Save as PDF" as the destination in the dialog.

After generating, flip through every slide and preview the print layout before you send it anywhere. The prompt asks for no clipped content or blank pages, but a 4B model can miss, so confirm it yourself.

How can you use it in an agent pipeline?

An agent pipeline is a setup where one AI model coordinates several others, each doing a specific job. The model card describes this scenario: a research agent passes Web Coder a table of survey results and a brief for a presentation. Web Coder returns the deck as HTML. The pipeline then renders it, checks the figures against the source table, and exports a PDF.

That check matters. Small models can misplace a number. A pipeline step that compares what is on the slide with the source table catches that before anyone sees it. If you are not building a pipeline, do the same by hand: keep your source numbers open beside the rendered page.

What are the limits?

  • It is a 4B model. Treat the output as a strong first draft that you review and edit, not a finished deliverable.
  • Long output. Around 20,000 tokens per page means minutes of generation on modest hardware.
  • Needs a connection to render. The scripts come from a CDN, and images are fetched from public URLs. The prompt asks for a styled fallback if an image fails.
  • Illustrative data. The prompt labels fictional data as illustrative. Replace placeholder figures with real ones, or state them in your brief.
  • One file, no backend. You get a page, not an app with a database or logins.

What does this mean for you?

If you build presentations or simple pages at work, this is a way to get a layout draft from notes without sending your content to a hosted service. That helps when the material is sensitive. Marketers can draft a campaign recap page, analysts can turn a results table into a deck, and managers can prototype a proposal before asking for design time.

What to do: start with the Q4_K_M or Q8_0 file, run one brief from the examples to confirm your setup produces a complete page, then try a real brief with real numbers. Check every figure against your source. If you work with developers, hand them the HTML. The prompt names components and classes so the work can be moved into Vite, a common development tool.

What if you need an app, not a single page?

A one-file page works for a deck or a portfolio, but a request form, tracker or dashboard needs data storage, sign-in and a live URL. Remy builds those from a plain-English description. It produces a full-stack app with a database and authentication, tests it and deploys it. You could describe an intake form that routes requests to the right person, or a returns tracker like the camping-gear example above, instead of keeping the numbers in a spreadsheet. Remy's flat rate is $99 per month, and AI tokens are billed at cost.

Frequently Asked Questions

4 questions

Can CCORE Web Coder 4B run without an internet connection?

The model runs locally, so generation does not need a connection. The generated page loads React, ReactDOM and Babel from a CDN, so opening it in a browser needs one unless you host those scripts yourself. Public images also load over the internet.

Why did my generated page cut off?

Most likely the output limit was too low. A full response typically uses around 20,000 tokens, and an 8K cap can stop generation before the closing </html> tag. Set output to unlimited (-1 where supported) or a number large enough for the whole document.

Can I use it commercially?

The model weights are released under the Apache 2.0 license. Read the license file on the model page for the full terms before you rely on it for a specific commercial use.

Which file should I download first?

Q4_K_M is the smallest at 2.71 GB. Q8_0 is 4.48 GB and is the format used for the preview demos. If you have the room, Q8_0 is the safer starting point for matching what the author showed.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.