Commit ·
31a8d29
0
Parent(s):
Duplicate from CJJones/Synthetic_Java_Dialog_And_Programs_LLM_Training
Browse filesCo-authored-by: Cameron Jones <CJJones@users.noreply.huggingface.co>
- .gitattributes +59 -0
- 8_of_30_x10k_Java_Program_Examples.txt +0 -0
- README.md +173 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp 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
|
8_of_30_x10k_Java_Program_Examples.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
README.md
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: "cc-by-nc-sa-4.0"
|
| 5 |
+
pretty_name: "Java Programming Examples Dataset"
|
| 6 |
+
tags:
|
| 7 |
+
- programming
|
| 8 |
+
- java
|
| 9 |
+
- synthetic
|
| 10 |
+
- conversation
|
| 11 |
+
- code-examples
|
| 12 |
+
- simulation
|
| 13 |
+
- dialogue
|
| 14 |
+
- conversational-ai
|
| 15 |
+
- large-language-models
|
| 16 |
+
- instruction
|
| 17 |
+
- llm-training
|
| 18 |
+
- conversational-ai
|
| 19 |
+
- training-data
|
| 20 |
+
- retrieval-augmented-generation
|
| 21 |
+
- agentic
|
| 22 |
+
size_categories:
|
| 23 |
+
- 10K<n<100K
|
| 24 |
+
task_categories:
|
| 25 |
+
- question-answering
|
| 26 |
+
- text-generation
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
The full CJ Jones' synthetic dataset catalog is available at: https://datadeveloper1.gumroad.com
|
| 31 |
+
|
| 32 |
+
<a href="https://datadeveloper1.gumroad.com/l/dxxja" style="display: inline-block; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 50px; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s; border: 1px solid rgba(255,255,255,0.2);" onmouseover="this.style.transform='translateY(-2px)'; this.style.boxShadow='0 6px 20px rgba(0,0,0,0.3)';" onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 15px rgba(0,0,0,0.2)';">Want more? 🚀 Get the AI Startup Bundle from Gumroad.</a>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
# Java Programming Examples Dataset
|
| 36 |
+
|
| 37 |
+
## Dataset Description
|
| 38 |
+
|
| 39 |
+
This dataset contains 8 distinct Java programs with 10 conversational examples each, synthetically generated from a larger dataset of 80+ programs. Each program has 10,000 variants, providing a diverse set of Java code examples covering various programming concepts.
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
- **Point of Contact:** CJ Jones (Discord for inquiries) https://discord.gg/aTbRrQ67ju
|
| 43 |
+
|
| 44 |
+
## Dataset Structure
|
| 45 |
+
|
| 46 |
+
### Data Instances
|
| 47 |
+
|
| 48 |
+
Each instance consists of a conversation about Java programming concepts, formatted as JSON with:
|
| 49 |
+
- `conversation_id`: Unique identifier for the conversation
|
| 50 |
+
- `dialog`: List of message exchanges between "Human" and "Bot" discussing Java programming concepts
|
| 51 |
+
|
| 52 |
+
Example:
|
| 53 |
+
```json
|
| 54 |
+
{
|
| 55 |
+
"conversation_id": 1,
|
| 56 |
+
"dialog": [
|
| 57 |
+
{"Human": "How to implement menu options with switch in Java programs?"},
|
| 58 |
+
{"Bot": "Switch statements help organize control flow nicely."},
|
| 59 |
+
...
|
| 60 |
+
]
|
| 61 |
+
}
|
| 62 |
+
Data Fields
|
| 63 |
+
conversation_id: Integer identifying the conversation
|
| 64 |
+
|
| 65 |
+
dialog: List of message objects containing:
|
| 66 |
+
|
| 67 |
+
"Human": User's question/statement about Java programming
|
| 68 |
+
|
| 69 |
+
"Bot": AI assistant's response, often containing Java code examples
|
| 70 |
+
|
| 71 |
+
Data Splits
|
| 72 |
+
The dataset contains:
|
| 73 |
+
|
| 74 |
+
8 distinct program categories
|
| 75 |
+
|
| 76 |
+
10 examples per program (80 total conversations)
|
| 77 |
+
|
| 78 |
+
Each original program has 10,000 variants in the full dataset
|
| 79 |
+
|
| 80 |
+
Dataset Creation
|
| 81 |
+
Curation Rationale
|
| 82 |
+
This dataset was created to:
|
| 83 |
+
|
| 84 |
+
Provide diverse Java programming examples
|
| 85 |
+
|
| 86 |
+
Demonstrate various programming concepts through conversational examples
|
| 87 |
+
|
| 88 |
+
Support AI programming assistant development
|
| 89 |
+
|
| 90 |
+
Offer synthetically generated variations for robust training
|
| 91 |
+
|
| 92 |
+
Source Data
|
| 93 |
+
Initial Data Collection: Synthetic generation from a base of 80+ Java programs
|
| 94 |
+
|
| 95 |
+
Data Annotation: Automated generation of conversational examples
|
| 96 |
+
|
| 97 |
+
Who are the source language producers: AI system generating Java programs and explanations
|
| 98 |
+
|
| 99 |
+
Personal and Sensitive Information
|
| 100 |
+
The dataset contains no personal or sensitive information as all content is synthetically generated.
|
| 101 |
+
|
| 102 |
+
Considerations for Using the Data
|
| 103 |
+
Social Impact
|
| 104 |
+
This dataset could:
|
| 105 |
+
|
| 106 |
+
Help students learn Java programming
|
| 107 |
+
|
| 108 |
+
Assist developers with code examples
|
| 109 |
+
|
| 110 |
+
Improve AI programming assistants
|
| 111 |
+
|
| 112 |
+
Potentially reduce barriers to learning programming
|
| 113 |
+
|
| 114 |
+
Discussion of Biases
|
| 115 |
+
Potential biases may include:
|
| 116 |
+
|
| 117 |
+
Focus on specific Java programming paradigms
|
| 118 |
+
|
| 119 |
+
Limited scope of program categories
|
| 120 |
+
|
| 121 |
+
Synthetic generation may not perfectly match human-written code
|
| 122 |
+
|
| 123 |
+
Other Known Limitations
|
| 124 |
+
Generated examples may contain occasional errors
|
| 125 |
+
|
| 126 |
+
Coverage of Java features is not exhaustive
|
| 127 |
+
|
| 128 |
+
Conversational quality varies across examples
|
| 129 |
+
|
| 130 |
+
Additional Information
|
| 131 |
+
Dataset Curators
|
| 132 |
+
Author: CJ Jones
|
| 133 |
+
|
| 134 |
+
Contact: Available through Discord for inquiries
|
| 135 |
+
|
| 136 |
+
Licensing Information
|
| 137 |
+
License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
|
| 138 |
+
|
| 139 |
+
Commercial Use: Full version with commercial rights available for purchase (contact author)
|
| 140 |
+
|
| 141 |
+
License URL: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
| 142 |
+
|
| 143 |
+
Citation Information
|
| 144 |
+
bibtex
|
| 145 |
+
@dataset{jones_java_programs_2023,
|
| 146 |
+
author = {Jones, CJ},
|
| 147 |
+
title = {Java Programming Examples Dataset},
|
| 148 |
+
year = {2023},
|
| 149 |
+
publisher = {Unpublished},
|
| 150 |
+
license = {CC BY-NC-SA 4.0},
|
| 151 |
+
note = {Full commercial version available for purchase}
|
| 152 |
+
}
|
| 153 |
+
Contributions
|
| 154 |
+
Primary development and curation by CJ Jones
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
## If you liked this, you may also be interested in:
|
| 158 |
+
|
| 159 |
+
- [30k Records LLM Training Data: Linux Automation_1](https://datadeveloper1.gumroad.com/l/zfdnjn)
|
| 160 |
+
- [30k Linux File Operations LLM Training](https://datadeveloper1.gumroad.com/l/xnuugm)
|
| 161 |
+
- [News Search LLM Training Data](https://datadeveloper1.gumroad.com/l/faivv)
|
| 162 |
+
- [RPG Combat Scenario LLM Training Data – Magician, 30,000 records](https://datadeveloper1.gumroad.com/l/lmfhbg)
|
| 163 |
+
- [AI Startup Bundle](https://datadeveloper1.gumroad.com/l/dxxja)
|
| 164 |
+
- [20k LLM Synthetic PenTest Reports Training Dataset](https://datadeveloper1.gumroad.com/l/lkvoo)
|
| 165 |
+
- [Synthetic LLM Physics Training Dataset](https://datadeveloper1.gumroad.com/l/vghhq)
|
| 166 |
+
- [100k Synthetic RPG Scenes LLM Training Dataset](https://datadeveloper1.gumroad.com/l/drbhyu)
|
| 167 |
+
- [100k Contextual Microcontroller Synthetic LLM Training Dialog Dataset](https://datadeveloper1.gumroad.com/l/xscay)
|
| 168 |
+
- [LLM Training Dataset 100k Antenna Design Examples](https://datadeveloper1.gumroad.com/l/sdwom)
|
| 169 |
+
- [100k Synthetic LLM Multiturn Formatted Tech Support](https://datadeveloper1.gumroad.com/l/tgnvjf)
|
| 170 |
+
- [LLM Training Dataset 100k Drone Telemetry and Control Reasoning](https://datadeveloper1.gumroad.com/l/kzzdeb)
|
| 171 |
+
- [100k Specialized Vehicle Diagnostics LLM Training Dataset](https://datadeveloper1.gumroad.com/l/oizcli)
|
| 172 |
+
- [LLM Training Dataset 100k Elementary Animal Comparisons QA](https://datadeveloper1.gumroad.com/l/tzvwk)
|
| 173 |
+
- [LLM Training Dataset 100k Elementary Math Word Problems](https://datadeveloper1.gumroad.com/l/woypqt)
|