Upload 3 files
Browse filesAdd n8n workflow training datasets (3 formats)
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.
## Dataset Contents
**Three format variations:**
1. **training_data_alpaca.json** - Alpaca format for Llama/Mistral models
- Format: instruction-input-output triplets
- Use case: Fine-tuning with Unsloth, Axolotl, or similar frameworks
2. **training_data_openai.jsonl** - OpenAI format for GPT models
- Format: messages array with system/user/assistant roles
- Use case: OpenAI fine-tuning API
3. **training_data_simple.json** - Simplified format
- Format: Basic instruction-output pairs
- Use case: Custom training pipelines or quick prototyping
## Data Statistics
- Total examples: 4,000+
- Source workflows: 6,837 from n8n marketplace
- Coverage: Diverse workflow types (AI, automation, integrations, data processing)
- Quality: Cleaned, validated, and structured
## Sample Format (Alpaca)
```json
{
"instruction": "Create an n8n workflow for: AI Email Assistant",
"input": "",
"output": {
"name": "AI Email Assistant",
"nodes": [
{"type": "Gmail Trigger"},
{"type": "OpenAI Chat Model"},
{"type": "Gmail"}
],
"node_count": 3,
"categories": ["AI", "Communication"]
}
}
```
## Use Case
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.
## Training Results
- Model: Llama 3 8B (4-bit quantized)
- Training time: 55 minutes on A100 GPU
- Final loss: 1.235900
- Inference quality: Production-ready
## Data Collection Methodology
1. Scraped n8n marketplace via public API
2. Extracted workflow metadata and node structures
3. Generated instruction-output pairs
4. Validated JSON structure and data quality
5. Formatted for multiple training frameworks
## License & Attribution
- Source: n8n marketplace (public workflows)
- Created by: Mustapha Liaichi
- Project: n8n Workflow Generator
- Website: n8nlearninghub.com
- GitHub: MuLIAICHI
## Citation
If you use this dataset, please cite:
```
@dataset {liaichi2024n8nworkflows,
author = {Mustapha Liaichi},
title = {n8n Workflow Training Dataset},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/MustaphaL/n8n-workflow-training-data}
}
```
## Related Resources
- Model: MustaphaL/n8n-workflow-generator
- Analysis: "What Are People Actually Building in n8n?" (Medium)
- Tool: n8n Marketplace Analyzer (Apify)
- Community: r/n8nLearningHub
## Future Updates
This dataset may be updated periodically with:
- Additional workflows from marketplace
- Enhanced metadata and categorization
- Multi-language workflow descriptions
- Advanced workflow patterns
---
For questions or collaboration: mustaphaliaichi@gmail.com
full actor on Apify to get fresh data for training : https://apify.com/scraper_guru/n8n-marketplace-analyzer
full story : [meduim story](https://medium.com/@mustaphaliaichi/what-are-people-actually-building-in-n8n-i-scraped-over-6-000-workflows-to-find-out-59eb8e34c317)
- .gitattributes +3 -0
- training_data_alpaca.json +3 -0
- training_data_openai.jsonl +3 -0
- training_data_simple.json +3 -0
|
@@ -57,3 +57,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
training_data_alpaca.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
training_data_openai.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
training_data_simple.json filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4595839c77504a5fd92bcaf5d46e92d412368652dc467ef7e2d72d35d1c9033b
|
| 3 |
+
size 25212298
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:723ad917a85d1988255aa9080eda429cbe65e93ed2f36a949df220dcb1aaf552
|
| 3 |
+
size 26162638
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fdd9f1be6a077df00d537439c3dc9bc50c27f7ad28986eb4791a7b62cd9db0b
|
| 3 |
+
size 25082395
|