Image-Text-to-Text
Transformers
GGUF
English
qwen3_5
mtp
experimental
text-generation-inference
code
OpenSCAD
code-to-3d
Object-Generation
3D-design
CAD
Parametric-3D
conversational
Instructions to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Ollama:
ollama run hf.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OpenSCAD-Code-Qwen3.5-Preview-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
File size: 4,777 Bytes
ef805b7 d3e0eac cb976f2 d3e0eac ef805b7 cb976f2 ef805b7 c5ab6c3 cb976f2 6743db3 cb976f2 739a2b3 05e5d55 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | ---
license: apache-2.0
language:
- en
base_model:
- prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview
pipeline_tag: image-text-to-text
library_name: transformers
tags:
- qwen3_5
- mtp
- experimental
- text-generation-inference
- code
- OpenSCAD
- code-to-3d
- Object-Generation
- 3D-design
- CAD
- Parametric-3D
---
# **OpenSCAD-Code-Qwen3.5-Preview-GGUF**
> **OpenSCAD-Code-Qwen3.5-Preview** is a dense 9-billion-parameter model based on **Qwen/Qwen3.5-9B** and fine-tuned on approximately **11,000 samples** from the prithivMLmods/OpenSCAD-Code-to-3D-50K-HF dataset. The model is designed for text-to-OpenSCAD (`.scad`) code generation, translating natural language descriptions and instructions into parametric 3D modeling source code. It supports generating geometric shapes, mechanical components, functional objects, structural designs, and other 3D models using OpenSCAD. **OpenSCAD-Code-Qwen3.5-Preview** is a preview and experimental model that incorporates a shorter thinking process compared to the original Qwen3.5-9B model, prioritizing faster code generation. Generated outputs may contain artifacts, geometric inconsistencies, syntax errors, or incomplete structures and may require manual inspection, debugging, and refinement.
> [!IMPORTANT]
> This model is experimental and currently in preview. It may generate artifacts, as it is still under training. A stable version will be released soon.
> [!NOTE]
> MTP — Speculative Decoding: Yes
> [!NOTE]
> Multi-Token Prediction (MTP) GGUF is a specialized GGUF model file format extension that integrates speculative decoding directly into the model weights to significantly accelerate local inference. Unlike traditional speculative decoding which requires a separate, smaller "draft" model, MTP GGUF files include additional output heads within the main model architecture that predict multiple future tokens in a single forward pass.
## Model Files
| File Name | Quant Type | File Size | File Link | Description |
|-----------|------------|-----------|-----------|-------------|
| OpenSCAD-Code-Qwen3.5-Preview.BF16.gguf | BF16 | 18.4 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.BF16.gguf) | Full BF16 weights. Highest quality, largest file size. |
| OpenSCAD-Code-Qwen3.5-Preview.Q3_K_L.gguf | Q3_K_L | 5.15 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q3_K_L.gguf) | Lower quality but usable, good for low RAM availability. |
| OpenSCAD-Code-Qwen3.5-Preview.Q3_K_M.gguf | Q3_K_M | 4.8 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q3_K_M.gguf) | Low quality, smallest file size. |
| OpenSCAD-Code-Qwen3.5-Preview.Q4_K_M.gguf | Q4_K_M | 5.83 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q4_K_M.gguf) | Good quality, default size for most use cases, *recommended*. |
| OpenSCAD-Code-Qwen3.5-Preview.Q4_K_S.gguf | Q4_K_S | 5.49 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q4_K_S.gguf) | Slightly lower quality with more space savings, *recommended*. |
| OpenSCAD-Code-Qwen3.5-Preview.Q5_K_M.gguf | Q5_K_M | 6.67 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q5_K_M.gguf) | High quality, *recommended*. |
| OpenSCAD-Code-Qwen3.5-Preview.Q5_K_S.gguf | Q5_K_S | 6.47 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q5_K_S.gguf) | High quality with slight space savings, *recommended*. |
| OpenSCAD-Code-Qwen3.5-Preview.Q6_K.gguf | Q6_K | 7.56 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q6_K.gguf) | Very high quality, near perfect, *recommended*. |
| OpenSCAD-Code-Qwen3.5-Preview.Q8_0.gguf | Q8_0 | 9.79 GB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.Q8_0.gguf) | Extremely high quality, generally unneeded but max available standard quant. |
| OpenSCAD-Code-Qwen3.5-Preview.mmproj-bf16.gguf | mmproj-bf16 | 922 MB | [Link](https://huggingface.co/prithivMLmods/OpenSCAD-Code-Qwen3.5-Preview-GGUF/blob/main/OpenSCAD-Code-Qwen3.5-Preview.mmproj-bf16.gguf) | Multimodal projection file in BF16 format. Used for vision/image capabilities. |
## llama.cpp
LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp
Quantized using llama.cpp by [prithivMLmods](https://huggingface.co/prithivMLmods). |