Datasets:
updated README
Browse files
README.md
CHANGED
@@ -32,12 +32,29 @@ ds = load_dataset("CodedotAI/code_clippy_github", streaming=True)
|
|
32 |
|
33 |
### Data Instances
|
34 |
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
### Data Fields
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
### Data Splits
|
40 |
-
|
41 |
## Languages
|
42 |
The dataset contains 22 programming languages with over 23 extensions:
|
43 |
```python
|
|
|
32 |
|
33 |
### Data Instances
|
34 |
|
35 |
+
```python
|
36 |
+
{
|
37 |
+
'code_text': " a = mc^2",
|
38 |
+
'repo_name': 'NotEinstein',
|
39 |
+
'file_path': 'root/users/einstein.py',
|
40 |
+
'language': 'Python',
|
41 |
+
'license': 'isc',
|
42 |
+
'size': 2
|
43 |
+
}
|
44 |
+
```
|
45 |
|
46 |
### Data Fields
|
47 |
+
|
48 |
+
|Field|Type|Description|
|
49 |
+
|---|---|---|
|
50 |
+
|code_text|string|string of the source code contained in the code file|
|
51 |
+
|repo_name|string|name of the GitHub repository|
|
52 |
+
|file_path|string|path of the code file within the repository |
|
53 |
+
|language|string|programming language used in the file inferred by the file extension|
|
54 |
+
|license|string|license of GitHub repository|
|
55 |
+
|size|int|size of source file in bytes|
|
56 |
### Data Splits
|
57 |
+
Only a train split is provided in this dataset.
|
58 |
## Languages
|
59 |
The dataset contains 22 programming languages with over 23 extensions:
|
60 |
```python
|