infinityofspace commited on
Commit
f4d469a
1 Parent(s): ccb1d76

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -1
README.md CHANGED
@@ -27,7 +27,36 @@ dataset_info:
27
  num_examples: 56394
28
  download_size: 639857749
29
  dataset_size: 4223184476
 
 
 
 
 
 
 
30
  ---
31
  # Dataset Card for "python_codestyles-single-1k"
32
 
33
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  num_examples: 56394
28
  download_size: 639857749
29
  dataset_size: 4223184476
30
+ license: mit
31
+ tags:
32
+ - python
33
+ - code-style
34
+ - single
35
+ size_categories:
36
+ - 100K<n<1M
37
  ---
38
  # Dataset Card for "python_codestyles-single-1k"
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. In total, the dataset contains `1.000` completely
44
+ different code styles. The code styles differ in exactly one codestyle rule, which is called a `single` codestyle
45
+ dataset variant. The dataset consists of a training and test group, with none of the code styles overlapping between
46
+ groups. In addition, both groups contain completely different underlying codes.
47
+
48
+ The examples contain source code from the following repositories:
49
+
50
+ | repository | tag or commit |
51
+ |:-----------------------------------------------------------------------:|:----------------------------------------:|
52
+ | [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) | f614ed72170011d2d439f7901e1c8daa7deac8c4 |
53
+ | [huggingface/transformers](https://github.com/huggingface/transformers) | v4.31.0 |
54
+ | [huggingface/datasets](https://github.com/huggingface/datasets) | 2.13.1 |
55
+ | [huggingface/diffusers](https://github.com/huggingface/diffusers) | v0.18.2 |
56
+ | [huggingface/accelerate](https://github.com/huggingface/accelerate) | v0.21.0 |
57
+
58
+ You can find the corresponding code styles of the examples in the file [additional_data.json](additional_data.json).
59
+ The code styles in the file are split by training and test group and the index corresponds to the class for the
60
+ columns `code_codestyle` and `style_context_codestyle` in the dataset.
61
+
62
+ There are 364.381 samples in total and 182.181 positive and 182.200 negative samples.