odenmehmet's picture
Update README.md
6419f4a verified
---
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.