odenmehmet commited on
Commit
f5b10ce
·
verified ·
1 Parent(s): 6f32629

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +231 -0
README.md ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - tr
4
+ - en
5
+ license: apache-2.0
6
+ tags:
7
+ - trobject
8
+ - clomosy
9
+ - code-generation
10
+ - instruction-dataset
11
+ - natural-language-to-code
12
+ - llm-fine-tuning
13
+ - turkish
14
+ - domain-specific-llm
15
+ - text-generation
16
+ task_categories:
17
+ - text-generation
18
+ - text2text-generation
19
+ pretty_name: TRObject Code Generation Instruction Dataset
20
+ size_categories:
21
+ - n<1K
22
+ ---
23
+
24
+ # TRObject Code Generation Instruction Dataset
25
+
26
+ This dataset contains natural language instructions paired with TRObject code outputs.
27
+
28
+ It was created for fine-tuning and evaluating domain-specific LLMs that generate TRObject code for Clomosy-style mobile application development.
29
+
30
+ ## Dataset Description
31
+
32
+ TRObject is used in the Clomosy mobile application development platform. Since general-purpose LLMs do not reliably understand TRObject syntax or Clomosy-specific UI patterns, this dataset was created to support natural-language-to-TRObject code generation.
33
+
34
+ The dataset follows an instruction-response format:
35
+
36
+ | Column | Description |
37
+ |---|---|
38
+ | `input` | Natural language instruction describing the requested UI/code behavior |
39
+ | `output` | Corresponding TRObject code snippet |
40
+
41
+ The dataset includes examples for:
42
+
43
+ - Form creation
44
+ - Button and input field creation
45
+ - Click event definitions
46
+ - Login/register screen components
47
+ - SQLite query usage
48
+ - ListView data loading
49
+ - UI component configuration
50
+ - Mobile interface generation patterns
51
+
52
+ ## Dataset Size
53
+
54
+ The dataset contains approximately **327 instruction-output pairs**.
55
+
56
+ ## Example
57
+
58
+ ### Input
59
+
60
+ ```text
61
+ Buton ekle ve ona bir tıklama olayı ekle.
62
+ ```
63
+
64
+ ### Output
65
+
66
+ ```text
67
+ testBtn = MyForm.AddNewButton(MyForm,'testBtn','Scan Barcode...');
68
+ testBtn.Align = alCenter;
69
+ testBtn.Height = 100;
70
+ testBtn.Width = 200;
71
+ MyForm.AddNewEvent(testBtn,tbeOnClick,'BtnOnClick');
72
+ ```
73
+
74
+ ## Additional Examples
75
+
76
+ ### Example 1 — Create a form and input field
77
+
78
+ **Input**
79
+
80
+ ```text
81
+ Form oluştur ve bir edit alanı ekle.
82
+ ```
83
+
84
+ **Output**
85
+
86
+ ```text
87
+ MyForm = TclForm.Create(Self);
88
+ testEdit = MyForm.AddNewEdit(MyForm,'testEdit','Barcode here ...');
89
+ testEdit.Align = alTop;
90
+ testEdit.Height = 40;
91
+ ```
92
+
93
+ ### Example 2 — Create a simple login UI
94
+
95
+ **Input**
96
+
97
+ ```text
98
+ Bir giriş ekranı oluştur ve e-posta ile parola alanlarını ekle.
99
+ ```
100
+
101
+ **Output**
102
+
103
+ ```text
104
+ myForm = TclForm.Create(Self);
105
+
106
+ EmailEdit = myForm.AddNewProEdit(MainPnl, 'EmailEdit', 'E-posta');
107
+ EmailEdit.Align = alTop;
108
+ EmailEdit.Height = 50;
109
+
110
+ ParolaEdit = myForm.AddNewProEdit(MainPnl, 'ParolaEdit', 'Parola');
111
+ ParolaEdit.Align = alTop;
112
+ ParolaEdit.Height = 50;
113
+ ParolaEdit.Password = True;
114
+ ```
115
+
116
+ ### Example 3 — Create a button interaction
117
+
118
+ **Input**
119
+
120
+ ```text
121
+ Bir buton oluştur ve tıklama eventi bağla.
122
+ ```
123
+
124
+ **Output**
125
+
126
+ ```text
127
+ SubmitBtn = MyForm.AddNewButton(MyForm, 'SubmitBtn', 'Gönder');
128
+ SubmitBtn.Align = alTop;
129
+ SubmitBtn.Height = 45;
130
+ MyForm.AddNewEvent(SubmitBtn, tbeOnClick, 'SubmitBtnOnClick');
131
+ ```
132
+
133
+ ## Intended Use
134
+
135
+ This dataset is intended for:
136
+
137
+ - Fine-tuning LLMs for TRObject code generation
138
+ - Natural language to code generation experiments
139
+ - Domain-specific LLM adaptation studies
140
+ - Educational demonstrations of custom dataset creation
141
+ - Evaluating model behavior on Clomosy/TRObject-style coding tasks
142
+ - Building AI-assisted mobile UI/code generation workflows
143
+
144
+ ## Related Model
145
+
146
+ This dataset was used to fine-tune a TRObject code generation model:
147
+
148
+ `odenmehmet/trobject_llama-3_8b_unsloth_2x_faster_finetuning`
149
+
150
+ ## Data Creation Process
151
+
152
+ The dataset was created by collecting, labeling, and structuring TRObject examples and documentation-style code patterns into an instruction-response format.
153
+
154
+ The preparation process included:
155
+
156
+ 1. Collecting TRObject code examples
157
+ 2. Grouping examples by UI or application-development behavior
158
+ 3. Writing natural language instructions for each code output
159
+ 4. Structuring the data into `input` and `output` pairs
160
+ 5. Reviewing examples for practical code-generation use
161
+
162
+ ## Dataset Structure
163
+
164
+ A typical row follows this structure:
165
+
166
+ ```json
167
+ {
168
+ "input": "Buton ekle ve ona bir tıklama olayı ekle.",
169
+ "output": "testBtn = MyForm.AddNewButton(MyForm,'testBtn','Scan Barcode...');\ntestBtn.Align = alCenter;\ntestBtn.Height = 100;\ntestBtn.Width = 200;\nMyForm.AddNewEvent(testBtn,tbeOnClick,'BtnOnClick');"
170
+ }
171
+ ```
172
+
173
+ ## Use in Fine-Tuning
174
+
175
+ The dataset can be used for supervised fine-tuning of language models on TRObject code generation tasks.
176
+
177
+ Example use cases:
178
+
179
+ - Instruction tuning
180
+ - Code generation fine-tuning
181
+ - Domain-specific model adaptation
182
+ - Low-resource programming-language adaptation
183
+ - Natural-language-to-code experiments
184
+
185
+ ## Limitations
186
+
187
+ This dataset is experimental and relatively small.
188
+
189
+ Known limitations:
190
+
191
+ - It may not cover the full TRObject language.
192
+ - Some outputs may require manual validation before use.
193
+ - It focuses mainly on common UI and application-development patterns.
194
+ - It may not generalize well to advanced or unseen TRObject APIs.
195
+ - Models trained on this dataset may hallucinate unsupported components or incorrect syntax.
196
+ - The dataset should not be treated as a complete TRObject reference.
197
+
198
+ ## Data Safety and Privacy
199
+
200
+ Before using or sharing this dataset publicly, ensure that all examples are sanitized and do not contain confidential, proprietary, personal, or sensitive information.
201
+
202
+ The dataset should not include:
203
+
204
+ - Real credentials
205
+ - Customer data
206
+ - Production secrets
207
+ - Private business logic
208
+ - Internal-only confidential code
209
+ - Personally identifiable information
210
+
211
+ All examples should be treated as educational or demonstration-oriented code-generation samples.
212
+
213
+ ## Recommended Usage
214
+
215
+ Use this dataset for research, experimentation, and educational demonstrations of domain-specific LLM fine-tuning.
216
+
217
+ Generated code should always be reviewed and tested inside the relevant TRObject/Clomosy development environment before real use.
218
+
219
+ ## Citation
220
+
221
+ If you use this dataset, please reference the dataset repository:
222
+
223
+ ```text
224
+ TRObject Code Generation Instruction Dataset
225
+ Author: Mehmet Öden
226
+ Repository: odenmehmet/TRObject-Dataset-Test
227
+ ```
228
+
229
+ ## Author
230
+
231
+ Created by **Mehmet Öden** for domain-specific LLM fine-tuning and TRObject code generation experiments.