MustaphaL commited on
Commit
47a8d66
·
verified ·
1 Parent(s): 6f668fd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -3
README.md CHANGED
@@ -1,3 +1,110 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Add n8n workflow training datasets (3 formats)
2
+
3
+ This dataset contains 4,000+ training examples extracted from 6,837 publicly available n8n workflows from the n8n marketplace. The data is designed for fine-tuning Large Language Models to generate n8n workflow configurations from natural language descriptions.
4
+
5
+ ## Dataset Contents
6
+
7
+ **Three format variations:**
8
+
9
+ 1. **training_data_alpaca.json** - Alpaca format for Llama/Mistral models
10
+ - Format: instruction-input-output triplets
11
+ - Use case: Fine-tuning with Unsloth, Axolotl, or similar frameworks
12
+
13
+ 2. **training_data_openai.jsonl** - OpenAI format for GPT models
14
+ - Format: messages array with system/user/assistant roles
15
+ - Use case: OpenAI fine-tuning API
16
+
17
+ 3. **training_data_simple.json** - Simplified format
18
+ - Format: Basic instruction-output pairs
19
+ - Use case: Custom training pipelines or quick prototyping
20
+
21
+ ## Data Statistics
22
+
23
+ - Total examples: 4,000+
24
+ - Source workflows: 6,837 from n8n marketplace
25
+ - Coverage: Diverse workflow types (AI, automation, integrations, data processing)
26
+ - Quality: Cleaned, validated, and structured
27
+
28
+ ## Sample Format (Alpaca)
29
+ ```json
30
+ {
31
+ "instruction": "Create an n8n workflow for: AI Email Assistant",
32
+ "input": "",
33
+ "output": {
34
+ "name": "AI Email Assistant",
35
+ "nodes": [
36
+ {"type": "Gmail Trigger"},
37
+ {"type": "OpenAI Chat Model"},
38
+ {"type": "Gmail"}
39
+ ],
40
+ "node_count": 3,
41
+ "categories": ["AI", "Communication"]
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## Use Case
47
+
48
+ This dataset was used to successfully fine-tune Llama 3 8B for n8n workflow generation. The resulting model can generate valid workflow configurations from natural language descriptions.
49
+
50
+ ## Training Results
51
+
52
+ - Model: Llama 3 8B (4-bit quantized)
53
+ - Training time: 55 minutes on A100 GPU
54
+ - Final loss: 1.235900
55
+ - Inference quality: Production-ready
56
+
57
+ ## Data Collection Methodology
58
+
59
+ 1. Scraped n8n marketplace via public API
60
+ 2. Extracted workflow metadata and node structures
61
+ 3. Generated instruction-output pairs
62
+ 4. Validated JSON structure and data quality
63
+ 5. Formatted for multiple training frameworks
64
+
65
+ ## License & Attribution
66
+
67
+ - Source: n8n marketplace (public workflows)
68
+ - Created by: Mustapha Liaichi
69
+ - Project: n8n Workflow Generator
70
+ - Website: n8nlearninghub.com
71
+ - GitHub: MuLIAICHI
72
+
73
+ ## Citation
74
+
75
+ If you use this dataset, please cite:
76
+ ```
77
+ @dataset{liaichi2024n8nworkflows,
78
+ author = {Mustapha Liaichi},
79
+ title = {n8n Workflow Training Dataset},
80
+ year = {2024},
81
+ publisher = {Hugging Face},
82
+ url = {https://huggingface.co/datasets/MustaphaL/n8n-workflow-training-data}
83
+ }
84
+ ```
85
+
86
+ ## Related Resources
87
+
88
+ - Model: MustaphaL/n8n-workflow-generator
89
+ - Analysis: "What Are People Actually Building in n8n?" (Medium)
90
+ - Tool: n8n Marketplace Analyzer (Apify)
91
+ - Community: r/n8nLearningHub
92
+
93
+ ## Future Updates
94
+
95
+ This dataset may be updated periodically with:
96
+ - Additional workflows from marketplace
97
+ - Enhanced metadata and categorization
98
+ - Multi-language workflow descriptions
99
+ - Advanced workflow patterns
100
+
101
+ ---
102
+
103
+ - For questions or collaboration: mustaphaliaichi@gmail.com
104
+ - Check the Actor on Apify for fresh data training : [Get fresh data ](https://apify.com/scraper_guru/n8n-marketplace-analyzer)
105
+ - Check the full story : [read me ](https://medium.com/@mustaphaliaichi/what-are-people-actually-building-in-n8n-i-scraped-over-6-000-workflows-to-find-out-59eb8e34c317)
106
+
107
+ ---
108
+ license: apache-2.0
109
+ ---
110
+