Teen-Different commited on
Commit
10af3ad
·
verified ·
1 Parent(s): 6f818eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -6
README.md CHANGED
@@ -1,11 +1,10 @@
1
  ---
2
  license: mit
3
  tags:
4
- - code-generation
5
- - triton
6
- - pytorch
7
  - Python
8
- - code-optimization
 
 
9
  task_categories:
10
  - text-generation
11
  language:
@@ -14,8 +13,6 @@ size_categories:
14
  - 10K<n<100K
15
  ---
16
 
17
- # TEEN-D/Code_Opt_Triton
18
-
19
  ## Overview
20
 
21
  This dataset, `TEEN-D/Code_Opt_Triton`, is an extended version of the publicly available [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset. It contains pairs of original (PyTorch or Triton) programs and their equivalent Triton code (generated by torch inductor), intended for training models in PyTorch-to-Triton code translation and optimization.
@@ -26,6 +23,17 @@ This dataset was created as part of research exploring the capabilities of Large
26
 
27
  **License:** This dataset is derived from the [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset, which is released under the **MIT License**. Therefore, this extended version is also shared under the **MIT License**. You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this dataset, subject to the terms of the MIT License.
28
 
 
 
 
 
 
 
 
 
 
 
 
29
  ## Dataset Creation
30
 
31
  This dataset was generated by processing the [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset through the following steps:
 
1
  ---
2
  license: mit
3
  tags:
 
 
 
4
  - Python
5
+ - Pytorch
6
+ - Triton
7
+ - Kernal-Optimization
8
  task_categories:
9
  - text-generation
10
  language:
 
13
  - 10K<n<100K
14
  ---
15
 
 
 
16
  ## Overview
17
 
18
  This dataset, `TEEN-D/Code_Opt_Triton`, is an extended version of the publicly available [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset. It contains pairs of original (PyTorch or Triton) programs and their equivalent Triton code (generated by torch inductor), intended for training models in PyTorch-to-Triton code translation and optimization.
 
23
 
24
  **License:** This dataset is derived from the [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset, which is released under the **MIT License**. Therefore, this extended version is also shared under the **MIT License**. You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this dataset, subject to the terms of the MIT License.
25
 
26
+
27
+
28
+ ## Rationale
29
+ This extended dataset, pairing optimized Triton with both original Triton and Python code, enhances training for preference-based methods like GRPO/DPO by:
30
+
31
+ - Providing richer preference signals through diverse (original, optimized) pairs.
32
+ - Improving the LLM's understanding of semantic equivalence between PyTorch and Triton.
33
+ - Reducing bias towards a specific input format (Triton vs. Python).
34
+ - Potentially creating more meaningful comparison groups for GRPO.
35
+ - Offering more diverse "rejected" samples for DPO against the "accepted" optimized Triton.
36
+
37
  ## Dataset Creation
38
 
39
  This dataset was generated by processing the [GPUMODE/Inductor_Created_Data_Permissive](https://huggingface.co/datasets/GPUMODE/Inductor_Created_Data_Permissive) dataset through the following steps: