Downloads · 30 days
0
Ashwin999/qwen3-4b-html-spatial-8bit
qwen3-4b-html-spatial-8bit is a text generation model from Ashwin999. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a fine-tuned version of Qwen3-4B for generating 3D HTML visualizations using Three.js (8-bit).
Downloads · 30 days
0
Access
Public
Updated Dec 31, 2025
Repo size
540 MB
Likes
1
Public
Click a slice to open those files.
.safetensors529 MB · 97%
From the Hugging Face model README
This is a fine-tuned version of Qwen3-4B for generating 3D HTML visualizations using Three.js (8-bit).
Generate complete HTML (CSS + JS) for 3D scenes using Three.js r128 from natural language prompts.
You are an expert in generating 3D HTML visualizations using Three.js. Given a user prompt describing a 3D scene or spatial concept, generate clean, functional HTML code with embedded JavaScript and CSS. Always use Three.js r128 from cdnjs and include all necessary script imports for GLTFLoader, OrbitControls, and other addons when needed.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Ashwin999/qwen3-4b-html-spatial-8bit")
tokenizer = AutoTokenizer.from_pretrained("Ashwin999/qwen3-4b-html-spatial-8bit")
prompt = "Create a rotating 3D cube"
# Generate HTML...