Downloads · 30 days
25
9% of all-time downloads
SpongeBOB9684/qwen3.5-0.8b-mermaid-generator-onnx
qwen3.5-0.8b-mermaid-generator-onnx is a machine learning model from SpongeBOB9684. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
ONNX version of fine-tuned Qwen3.5-0.8B Mermaid diagram generator with FP16 quantization for optimized browser inference.
Downloads · 30 days
25
9% of all-time downloads
All-time downloads
281
Public
Repo size
1.9 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.3 GB · 98%
From the Hugging Face model README
ONNX version of fine-tuned Qwen3.5-0.8B Mermaid diagram generator with FP16 quantization for optimized browser inference.
This ONNX model was converted from PyTorch fine-tuned model:
import { pipeline } from '@xenova/transformers';
// Create pipeline
const generator = await pipeline('text-generation', 'SpongeBOB9684/qwen3.5-0.8b-mermaid-generator-onnx', {
dtype: 'q4', // quantized model
device: 'webgpu',
});
// Generate
const prompt = 'Create a flowchart for a simple login process';
const messages = [
{ role: 'system', content: 'You are a Mermaid diagram code generator. Output ONLY valid Mermaid code.' },
{ role: 'user', content: prompt },
];
const output = await generator(messages);
console.log(output);
FP16 Quantization:
ONNX Format:
Apache 2.0