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