thegovind commited on
Commit
d562efc
·
verified ·
1 Parent(s): 4ae1aca

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +120 -38
README.md CHANGED
@@ -1,40 +1,122 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: pid
5
- dtype: string
6
- - name: question
7
- dtype: string
8
- - name: image
9
- dtype: string
10
- - name: decoded_image
11
- dtype: image
12
- - name: choices
13
- list: string
14
- - name: answer
15
- dtype: string
16
- - name: question_type
17
- dtype: string
18
- - name: answer_type
19
- dtype: string
20
- - name: metadata
21
- dtype: string
22
- - name: query
23
- dtype: string
24
- splits:
25
- - name: train
26
- num_bytes: 97695767
27
- num_examples: 1678
28
- - name: test
29
- num_bytes: 11358159
30
- num_examples: 187
31
- download_size: 109148909
32
- dataset_size: 109053926
33
- configs:
34
- - config_name: default
35
- data_files:
36
- - split: train
37
- path: data/train-*
38
- - split: test
39
- path: data/test-*
40
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-sa-4.0
3
+ task_categories:
4
+ - visual-question-answering
5
+ - question-answering
6
+ language:
7
+ - en
8
+ tags:
9
+ - azure
10
+ - cloud-architecture
11
+ - solution-architect
12
+ - architecture-diagrams
13
+ - vision-language-model
14
+ - fine-tuning
15
+ - VQA
16
+ size_categories:
17
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  ---
19
+
20
+ # Azure Architecture Visual Question Answering Dataset
21
+
22
+ A comprehensive visual question answering (VQA) dataset for fine-tuning vision language models to become Azure Cloud Solution Architects. Created from the [Azure Architecture Center](https://learn.microsoft.com/en-us/azure/architecture/).
23
+
24
+ ## Dataset Description
25
+
26
+ This dataset contains Q&A pairs paired with Azure architecture diagrams, designed for fine-tuning vision language models (like Qwen 3.5 VL) to understand and reason about cloud architecture patterns.
27
+
28
+ ### Source
29
+ - **Azure Architecture Center**: 373 architecture pages scraped
30
+ - **Architecture Diagrams**: 500+ high-quality architecture diagrams (PNG format)
31
+ - **Q&A Generation**: Generated using Qwen 2.5 72B Instruct via HuggingFace Inference API
32
+
33
+ ### Question Categories
34
+ Each architecture generates 5 Q&A pairs across these categories:
35
+
36
+ 1. **Architecture Overview** (free_form): High-level design purpose and patterns
37
+ 2. **Component Identification** (free_form): Azure services used and their roles
38
+ 3. **Design Decision** (multi_choice): Design choices and best practices
39
+ 4. **Visual Understanding** (free_form): Diagram layout, data flow, and connections
40
+ 5. **Scenario Application** (multi_choice): When and how to apply the pattern
41
+
42
+ ### Architecture Categories Covered
43
+ - Reference Architectures (containers, networking, identity, etc.)
44
+ - Example Scenarios (IoT, data, mainframe, SAP, etc.)
45
+ - Design Patterns (CQRS, Event Sourcing, Gateway, etc.)
46
+ - Solution Ideas (analytics, AI/ML, hybrid, etc.)
47
+ - Best Practices and Guides
48
+ - Cloud migration patterns
49
+ - Microservices architectures
50
+ - Serverless patterns
51
+ - Hybrid and multi-cloud designs
52
+
53
+ ## Dataset Structure
54
+
55
+ ### Data Fields
56
+
57
+ | Field | Type | Description |
58
+ |-------|------|-------------|
59
+ | `pid` | string | Unique question ID |
60
+ | `question` | string | The question text |
61
+ | `image` | string | Image filename reference |
62
+ | `decoded_image` | Image | The architecture diagram (PIL Image) |
63
+ | `choices` | list[string] | Answer choices for multi_choice, empty for free_form |
64
+ | `answer` | string | The correct answer |
65
+ | `question_type` | string | "free_form" or "multi_choice" |
66
+ | `answer_type` | string | Answer format type |
67
+ | `metadata` | string | JSON with category, skills, source, page info |
68
+ | `query` | string | Formatted query with hints |
69
+
70
+ ### Splits
71
+
72
+ | Split | Rows |
73
+ |-------|------|
74
+ | train | 1,678 |
75
+ | test | 187 |
76
+
77
+ ## Intended Use
78
+
79
+ ### Fine-tuning Vision Language Models
80
+ This dataset is specifically designed for fine-tuning models like:
81
+ - **Qwen 3.5 VL** (0.8B, 3B, 8B variants)
82
+ - Other vision-language models that support image+text input
83
+
84
+ ### Target Capability
85
+ Train a model to act as an **Azure Cloud Solution Architect** that can:
86
+ - Analyze architecture diagrams
87
+ - Identify Azure services and their roles
88
+ - Explain design decisions and trade-offs
89
+ - Recommend architectures for given scenarios
90
+ - Understand data flow and system interactions
91
+
92
+ ## Example
93
+
94
+ ```python
95
+ from datasets import load_dataset
96
+
97
+ ds = load_dataset("thegovind/azure-architecture-vqa")
98
+
99
+ # View a sample
100
+ sample = ds['train'][0]
101
+ print(f"Question: {sample['question']}")
102
+ print(f"Answer: {sample['answer']}")
103
+ print(f"Type: {sample['question_type']}")
104
+ if sample['decoded_image']:
105
+ sample['decoded_image'].show()
106
+ ```
107
+
108
+ ## Citation
109
+
110
+ ```bibtex
111
+ @dataset{azure_architecture_vqa_2026,
112
+ title={Azure Architecture Visual Question Answering Dataset},
113
+ author={thegovind},
114
+ year={2026},
115
+ url={https://huggingface.co/datasets/thegovind/azure-architecture-vqa},
116
+ note={Created from Azure Architecture Center documentation}
117
+ }
118
+ ```
119
+
120
+ ## License
121
+
122
+ This dataset is released under CC-BY-SA-4.0. The source content is from Microsoft's Azure Architecture Center documentation.