Downloads · 30 days
51
4% of all-time downloads
velixar-ai/qwen3-coder-30b-a3b-n8n-workflow-generator
qwen3-coder-30b-a3b-n8n-workflow-generator is a text generation model from velixar-ai. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Downloads · 30 days
51
4% of all-time downloads
All-time downloads
1.4K
Public
Parameters
30.5B
79.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors79.1 GB · 100%
From the Hugging Face model README

Fine-tuned Qwen3-Coder-30B-A3B-Instruct model specialized for generating n8n workflow JSONs from natural language descriptions.
This model is a QLoRA fine-tuned version of Qwen/Qwen3-Coder-30B-A3B-Instruct on the n8nbuilder-n8n-workflows-dataset, containing +2.5K n8n workflow templates.
Key Features:
Training Details:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_name = "mbakgun/qwen3-coder-30b-a3b-n8n-workflow-generator"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
system_prompt = "You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and functional n8n workflow configurations."
user_input = "Create a workflow that monitors a RSS feed and sends new items to Discord."
prompt = f"{system_prompt}\n\n{user_input}"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=4096,
temperature=0.7,
do_sample=True
)
workflow_json = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(workflow_json)
# Download MLX Q4 model
mlx_lm.generate \
--model mbakgun/qwen3-coder-30b-a3b-n8n-workflow-generator/mlx-q4 \
--prompt "You are an expert n8n workflow generation assistant. Your goal is to create valid, efficient, and functional n8n workflow configurations.\n\nCreate a workflow that sends Slack notifications when GitHub issues are created." \
--max-tokens 4096 \
--temp 0.7
If you want to load the base model and apply the LoRA adapter separately:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base_model_name = "Qwen/Qwen3-Coder-30B-A3B-Instruct"
adapter_name = "mbakgun/qwen3-coder-30b-a3b-n8n-workflow-generator"
tokenizer = AutoTokenizer.from_pretrained(base_model_name, trust_remote_code=True)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
model = PeftModel.from_pretrained(base_model, adapter_name)
model = model.merge_and_unload() # Optional: merge adapter into base model
This model was fine-tuned on the n8nbuilder-n8n-workflows-dataset, which contains:
This model uses the A3B (Activate 3 Billion) MoE architecture, which means:
The MoE architecture enables this model to maintain the quality of a 30B parameter model while achieving inference speeds closer to a 3B parameter model.
Apple M4 Pro (64 GB) x1
This model uses the A3B Mixture of Experts architecture, so only ~3B parameters are active per token, enabling 30B-class quality with significantly lower memory and faster inference compared to dense 30B models.
This repository contains:
adapter_model.safetensors, adapter_config.json)mlx-q4/ directory)@model{qwen3_coder_n8n_2025,
title={Qwen3-Coder-30B-A3B-n8n-Workflow-Generator},
author={mbakgun},
year={2025},
base_model={Qwen/Qwen3-Coder-30B-A3B-Instruct},
dataset={mbakgun/n8nbuilder-n8n-workflows-dataset},
url={https://huggingface.co/mbakgun/qwen3-coder-30b-a3b-n8n-workflow-generator}
}
Apache 2.0