infinityofspace
commited on
Commit
•
224cc88
1
Parent(s):
9fd6f7b
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,34 @@ dataset_info:
|
|
27 |
num_examples: 28194
|
28 |
download_size: 645473358
|
29 |
dataset_size: 2121589456.5357592
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
---
|
31 |
# Dataset Card for "python_codestyles-mixed1-500"
|
32 |
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
num_examples: 28194
|
28 |
download_size: 645473358
|
29 |
dataset_size: 2121589456.5357592
|
30 |
+
license: mit
|
31 |
+
tags:
|
32 |
+
- python
|
33 |
+
- code-style
|
34 |
+
- mixed
|
35 |
+
size_categories:
|
36 |
+
- 100K<n<1M
|
37 |
---
|
38 |
# Dataset Card for "python_codestyles-mixed1-500"
|
39 |
|
40 |
+
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
|
41 |
+
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
|
42 |
+
component consists of a code that either conforms to the code style or violates it and the second component
|
43 |
+
corresponding to an example code that already conforms to a code style.
|
44 |
+
The dataset combines both
|
45 |
+
datasets [infinityofspace/python_codestyles-random-500](https://huggingface.co/datasets/infinityofspace/python_codestyles-random-500)
|
46 |
+
and [infinityofspace/python_codestyles-single-500](https://huggingface.co/datasets/infinityofspace/python_codestyles-single-500)
|
47 |
+
by randomly selecting half of the examples from each of the two datasets.
|
48 |
+
The code styles in the combined dataset differ in at least one and exactly one codestyle rule, which is called a
|
49 |
+
`mixed` codestyle dataset variant. The dataset consists of a training and test group, with none of the code styles
|
50 |
+
overlapping between groups. In addition, both groups contain completely different underlying codes.
|
51 |
+
|
52 |
+
The examples contain source code from the following repositories:
|
53 |
+
|
54 |
+
| repository | tag or commit |
|
55 |
+
|:-----------------------------------------------------------------------:|:----------------------------------------:|
|
56 |
+
| [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) | f614ed72170011d2d439f7901e1c8daa7deac8c4 |
|
57 |
+
| [huggingface/transformers](https://github.com/huggingface/transformers) | v4.31.0 |
|
58 |
+
| [huggingface/datasets](https://github.com/huggingface/datasets) | 2.13.1 |
|
59 |
+
| [huggingface/diffusers](https://github.com/huggingface/diffusers) | v0.18.2 |
|
60 |
+
| [huggingface/accelerate](https://github.com/huggingface/accelerate) | v0.21.0 |
|