Datasets:
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- README.md +31 -91
- dataset_full.jsonl +0 -0
- dataset_noncommercial.jsonl +0 -0
- dataset_permissive.jsonl +0 -0
- images/gfxfundamentals_webgl2_fundamentals_root.png +3 -0
- images/gfxfundamentals_webgl2_fundamentals_webgl_lessons.png +3 -0
- images/gfxfundamentals_webgl2_fundamentals_webgl_lessons_resources.png +3 -0
- images/gfxfundamentals_webgl2_fundamentals_webgl_resources.png +3 -0
- images/gfxfundamentals_webgl2_fundamentals_webgl_resources_tdl.jpg +3 -0
- images/gfxfundamentals_webgl_fundamentals_root.png +3 -0
- images/gfxfundamentals_webgl_fundamentals_webgl_lessons.png +3 -0
- images/gfxfundamentals_webgl_fundamentals_webgl_lessons_resources.png +3 -0
- images/gfxfundamentals_webgl_fundamentals_webgl_resources.png +3 -0
- images/gfxfundamentals_webgl_fundamentals_webgl_resources_tdl.jpg +3 -0
- images/gl_transitions_gl_transitions_scripts.jpg +3 -0
- images/gl_transitions_gl_transitions_scripts_preview.jpg +3 -0
- images/jaeger47_opengl_glut_cpp_g_2_texture_wrapping_texture_wrap.jpg +3 -0
- images/jaeger47_opengl_glut_cpp_z_extra_tutorials_full_model_animation_with_textures.png +3 -0
- images/joeydevries_learnopengl_src_8_guest_2021_3_tessellation_terrain_cpu_src.png +3 -0
- images/joeydevries_learnopengl_src_8_guest_2021_3_tessellation_terrain_gpu_dist.png +3 -0
- images/khronosgroup_vulkan_samples_app.png +3 -0
- images/khronosgroup_vulkan_samples_samples_api_oit_depth_peeling.png +3 -0
- images/khronosgroup_vulkan_samples_samples_api_oit_linked_lists.png +3 -0
- images/khronosgroup_vulkan_samples_samples_api_texture_mipmap_generation.jpg +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_buffer_device_address.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_compute_shader_derivatives.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_conditional_rendering.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_debug_utils.jpg +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_descriptor_indexing.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_device_fault.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_dynamic_line_rasterization.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_dynamic_multisample_rasterization.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_dynamic_primitive_clipping.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_dynamic_rendering_local_read.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_extended_dynamic_state2.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_fragment_density_map.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_fragment_shader_barycentric.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_fragment_shading_rate_dynamic.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_graphics_pipeline_library.jpg +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_gshader_to_mshader.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_logic_op_dynamic_state.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_memory_budget.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_mesh_shader_culling.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_open_cl_interop.jpg +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_open_cl_interop_arm.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_patch_control_points.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_rasterization_order_attachment_access.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_ray_tracing_position_fetch.png +3 -0
- images/khronosgroup_vulkan_samples_samples_extensions_ray_tracing_reflection.png +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
dataset_full.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
dataset_permissive.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,91 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
- code
|
| 5 |
-
license: other
|
| 6 |
-
task_categories:
|
| 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 |
-
- **License Partitioning**: Permissive (MIT, Apache-2.0, BSD, CC0) vs Non-Commercial partitions.
|
| 33 |
-
- **Visual Previews**: High-quality screenshot previews linked to shader code.
|
| 34 |
-
|
| 35 |
-
## Dataset Structure & Splits
|
| 36 |
-
|
| 37 |
-
- `dataset_permissive.jsonl`: Clean, permissive open source licenses (MIT, Apache 2.0, BSD, CC0, Unlicense, Zlib).
|
| 38 |
-
- `dataset_noncommercial.jsonl`: Non-commercial educational content (CC-BY-NC-4.0, Shadertoy CC-BY-NC-SA-3.0).
|
| 39 |
-
- `dataset_full.jsonl`: Complete aggregated corpus.
|
| 40 |
-
|
| 41 |
-
## Schema Specification
|
| 42 |
-
|
| 43 |
-
Each record in JSONL contains:
|
| 44 |
-
|
| 45 |
-
```json
|
| 46 |
-
{
|
| 47 |
-
"id": "webgl_examples_bumpmapping",
|
| 48 |
-
"source": "https://github.com/damdoy/webgl_examples",
|
| 49 |
-
"source_commit": "b2c0c53...",
|
| 50 |
-
"collected_at": "2026-08-17T13:02:12+00:00",
|
| 51 |
-
"source_type": "repo",
|
| 52 |
-
"title": "Bumpmapping",
|
| 53 |
-
"api": "WebGL",
|
| 54 |
-
"glsl_version": "100",
|
| 55 |
-
"topic": "raymarching/texturing/bumpmapping/basics",
|
| 56 |
-
"difficulty": "advanced",
|
| 57 |
-
"files": [
|
| 58 |
-
{
|
| 59 |
-
"path": "bumpmapping/plane.js#[inline_1_vertex]",
|
| 60 |
-
"language": "glsl",
|
| 61 |
-
"stage": "vertex",
|
| 62 |
-
"loc": 18,
|
| 63 |
-
"comment_density": 0.0,
|
| 64 |
-
"code": "attribute vec4 vertex_pos;\n...",
|
| 65 |
-
"validation_status": "valid"
|
| 66 |
-
}
|
| 67 |
-
],
|
| 68 |
-
"validation": {
|
| 69 |
-
"glslang_valid": 2,
|
| 70 |
-
"invalid": 0,
|
| 71 |
-
"unverified": 0,
|
| 72 |
-
"has_ubo_or_ssbo": false,
|
| 73 |
-
"texture_samplers": 1
|
| 74 |
-
},
|
| 75 |
-
"preview_image": "images/webgl_examples_bumpmapping.png",
|
| 76 |
-
"license": "MIT",
|
| 77 |
-
"non_commercial": false,
|
| 78 |
-
"comment_density": 0.054,
|
| 79 |
-
"dedup_hash": "4efd6250c8b26922"
|
| 80 |
-
}
|
| 81 |
-
```
|
| 82 |
-
|
| 83 |
-
## Usage Example
|
| 84 |
-
|
| 85 |
-
```python
|
| 86 |
-
from datasets import load_dataset
|
| 87 |
-
|
| 88 |
-
dataset = load_dataset("json", data_files={"train": "dataset_permissive.jsonl"})
|
| 89 |
-
print(dataset["train"][0]["title"])
|
| 90 |
-
print(dataset["train"][0]["files"][0]["code"])
|
| 91 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- code
|
| 5 |
+
license: other
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- opengl
|
| 10 |
+
- glsl
|
| 11 |
+
- webgl
|
| 12 |
+
- shaders
|
| 13 |
+
- computer-graphics
|
| 14 |
+
- 3d
|
| 15 |
+
- vulkan
|
| 16 |
+
- code-generation
|
| 17 |
+
size_categories:
|
| 18 |
+
- 1K<n<10K
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# GLSL/OpenGL Educational Dataset (AI Training Corpus)
|
| 22 |
+
|
| 23 |
+
Aggregated across 2,096 curated samples from 42 major graphics repositories (OpenGL Core 3.3-4.6, WebGL/WebGL2, Vulkan GLSL/SPIR-V, Lygia shader modules, GL-Transitions, and procedural graphics pipelines).
|
| 24 |
+
All shaders are statically verified with Khronos `glslangValidator`.
|
| 25 |
+
|
| 26 |
+
## Dataset Statistics
|
| 27 |
+
- **Total Samples**: 2,096
|
| 28 |
+
- **Permissive Partition**: 1,965 (`dataset_permissive.jsonl`)
|
| 29 |
+
- **Non-Commercial Partition**: 131 (`dataset_noncommercial.jsonl`)
|
| 30 |
+
- **Total Shaders**: 10,364
|
| 31 |
+
- **Valid GLSL Rate**: 7,802 / 10,364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_full.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
dataset_noncommercial.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
dataset_permissive.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
images/gfxfundamentals_webgl2_fundamentals_root.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl2_fundamentals_webgl_lessons.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl2_fundamentals_webgl_lessons_resources.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl2_fundamentals_webgl_resources.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl2_fundamentals_webgl_resources_tdl.jpg
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl_fundamentals_root.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl_fundamentals_webgl_lessons.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl_fundamentals_webgl_lessons_resources.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl_fundamentals_webgl_resources.png
ADDED
|
Git LFS Details
|
images/gfxfundamentals_webgl_fundamentals_webgl_resources_tdl.jpg
ADDED
|
Git LFS Details
|
images/gl_transitions_gl_transitions_scripts.jpg
ADDED
|
Git LFS Details
|
images/gl_transitions_gl_transitions_scripts_preview.jpg
ADDED
|
Git LFS Details
|
images/jaeger47_opengl_glut_cpp_g_2_texture_wrapping_texture_wrap.jpg
ADDED
|
Git LFS Details
|
images/jaeger47_opengl_glut_cpp_z_extra_tutorials_full_model_animation_with_textures.png
ADDED
|
Git LFS Details
|
images/joeydevries_learnopengl_src_8_guest_2021_3_tessellation_terrain_cpu_src.png
ADDED
|
Git LFS Details
|
images/joeydevries_learnopengl_src_8_guest_2021_3_tessellation_terrain_gpu_dist.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_app.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_api_oit_depth_peeling.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_api_oit_linked_lists.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_api_texture_mipmap_generation.jpg
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_buffer_device_address.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_compute_shader_derivatives.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_conditional_rendering.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_debug_utils.jpg
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_descriptor_indexing.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_device_fault.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_dynamic_line_rasterization.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_dynamic_multisample_rasterization.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_dynamic_primitive_clipping.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_dynamic_rendering_local_read.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_extended_dynamic_state2.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_fragment_density_map.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_fragment_shader_barycentric.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_fragment_shading_rate_dynamic.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_graphics_pipeline_library.jpg
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_gshader_to_mshader.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_logic_op_dynamic_state.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_memory_budget.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_mesh_shader_culling.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_open_cl_interop.jpg
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_open_cl_interop_arm.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_patch_control_points.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_rasterization_order_attachment_access.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_ray_tracing_position_fetch.png
ADDED
|
Git LFS Details
|
images/khronosgroup_vulkan_samples_samples_extensions_ray_tracing_reflection.png
ADDED
|
Git LFS Details
|