Fine-tuned Qwen2.5-Coder-14B-Instruct model specialized for generating n8n workflow JSONs from natural language descriptions.
This model is a QLoRA fine-tuned version of Qwen/Qwen2.5-Coder-14B-Instruct on the n8nbuilder-n8n-workflows-dataset, containing +2.5K n8n workflow templates.
Training Details:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_name = "mbakgun/Qwen2.5-Coder-14B-n8n-Workflow-Generator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
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/Qwen2.5-Coder-14B-n8n-Workflow-Generator/mlx-q4 \
--prompt "You are an expert n8n workflow generation assistant...\n\nCreate a workflow that sends Slack notifications when GitHub issues are created." \
--max-tokens 4096
This model was fine-tuned on the n8nbuilder-n8n-workflows-dataset, which contains:
@model{qwen25_coder_n8n_2025,
title={Qwen2.5-Coder-14B-n8n-Workflow-Generator},
author={mbakgun},
year={2025},
base_model={Qwen/Qwen2.5-Coder-14B-Instruct},
dataset={mbakgun/n8nbuilder-n8n-workflows-dataset},
url={https://huggingface.co/mbakgun/Qwen2.5-Coder-14B-n8n-Workflow-Generator}
}
Apache 2.0
mlx-q4/model-00001-of-00002.safetensors 5.4 GBmerged-hf/model-00001-of-00006.safetensors 5.0 GBmerged-hf/model-00003-of-00006.safetensors 5.0 GBmerged-hf/model-00004-of-00006.safetensors 5.0 GBmerged-hf/model-00005-of-00006.safetensors 5.0 GBmerged-hf/model-00002-of-00006.safetensors 5.0 GBmerged-hf/model-00006-of-00006.safetensors 4.7 GBmlx-q4/model-00002-of-00002.safetensors 3.0 GBadapter_model.safetensors 551 MBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo evansanih/Qwen2.5-Coder-14B-n8n-Workflow-Generator ./model-folderQwen/Qwen2.5-Coder-14B-Instruct