Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- lean
|
| 7 |
+
- openai
|
| 8 |
+
- math
|
| 9 |
+
- clustering
|
| 10 |
+
- code
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100K<n<1M
|
| 13 |
---
|
| 14 |
+
# Dataset for OpenAI Lean Code grouping
|
| 15 |
+
|
| 16 |
+
### Published Lean code is clustered via combinatorial hierarchical clustering
|
| 17 |
+
|
| 18 |
+
## Method
|
| 19 |
+
1. The Lean code data is combined from all Lean code files in the GitHub repo.
|
| 20 |
+
1. The code data is fed to the Graph AI based combinatorial clustering method directly. No change.
|
| 21 |
+
1. The Graph AI compares the code lines via combinatorial clustering.
|
| 22 |
+
1. Resulting clusters of code lines.
|
| 23 |
+
|
| 24 |
+
## Uses
|
| 25 |
+
* Can be used understand how the Lean code is generated by LLMs.
|
| 26 |
+
|
| 27 |
+
## Schema
|
| 28 |
+
|
| 29 |
+
All files are **new line JSON** files. It could be loaded as **JSONL**
|
| 30 |
+
|
| 31 |
+
1. data_file.json - Base Data file
|
| 32 |
+
- doc_id - Unique ID for the file.
|
| 33 |
+
- data - data from lean code files.
|
| 34 |
+
- folder_name - folder name in which the Lean code file is located.
|
| 35 |
+
- domain_name - domain name from the folder name location.
|
| 36 |
+
- file_name - Lean code file name.
|
| 37 |
+
2. line_data.json - Contains lines used for Clustering
|
| 38 |
+
- doc_id - Unique ID
|
| 39 |
+
- line_id - Unique ID
|
| 40 |
+
- line - Actual Lean Code line as it is.
|
| 41 |
+
3. rows_clusters.json
|
| 42 |
+
- cluster_id - Unique ID denoting cluster.
|
| 43 |
+
- cluster - List of line_id that forms a conceptual cluster.
|
| 44 |
+
- confidence - Score of confidence showing how much these line_id are related.
|
| 45 |
+
4. docs_clusters.json
|
| 46 |
+
- cluster_id - Unique ID denoting cluster
|
| 47 |
+
- cluster - List of doc_id that forms a conceptual cluster.
|
| 48 |
+
- confidence - Score of confidence showing how much these doc_id are related.
|