Update README.md
Browse files
README.md
CHANGED
@@ -391,9 +391,9 @@ configs:
|
|
391 |
## Data Collection
|
392 |
|
393 |
This dataset contains information about repos (initially gathered from https://seart-ghs.si.usi.ch) matching the following criteria:
|
394 |
-
* `Java
|
395 |
* 10+ stars
|
396 |
-
* 10-
|
397 |
* updated after 2023-01-01 00:00
|
398 |
* not forks
|
399 |
* permissive licenses (`MIT License`, `Apache License 2.0`, `BSD 3-Clause "New" or "Revised" License`, `BSD 2-Clause "Simplified" License`)
|
@@ -423,12 +423,33 @@ You can find all scripts to reproduce dataset collection in our [GitHub ](https:
|
|
423 |
| `created_at` | Date of the repo was created in format of yyyy-mm-dd hh:mm:ss. |
|
424 |
| `updated_at` | Date of the last repo update in format of yyyy-mm-dd hh:mm:ss. |
|
425 |
| `code_lines` | Number of lines of code in repo. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
-
|
428 |
|
429 |
## How to
|
430 |
* Load the data via [load_dataset](https://huggingface.co/docs/datasets/v2.14.3/en/package_reference/loading_methods#datasets.load_dataset):
|
431 |
```python
|
|
|
|
|
432 |
# Select a configuration from ["java", "kt", "android"]
|
433 |
configuration = "java"
|
434 |
# Select a split from ["dev", "train", "test"]
|
|
|
391 |
## Data Collection
|
392 |
|
393 |
This dataset contains information about repos (initially gathered from https://seart-ghs.si.usi.ch) matching the following criteria:
|
394 |
+
* `Java`, `Kotlin`, `Python` programming languages
|
395 |
* 10+ stars
|
396 |
+
* 10-1000 code lines
|
397 |
* updated after 2023-01-01 00:00
|
398 |
* not forks
|
399 |
* permissive licenses (`MIT License`, `Apache License 2.0`, `BSD 3-Clause "New" or "Revised" License`, `BSD 2-Clause "Simplified" License`)
|
|
|
423 |
| `created_at` | Date of the repo was created in format of yyyy-mm-dd hh:mm:ss. |
|
424 |
| `updated_at` | Date of the last repo update in format of yyyy-mm-dd hh:mm:ss. |
|
425 |
| `code_lines` | Number of lines of code in repo. |
|
426 |
+
| `repo_symbols_count` | Number of symbols in the repository. |
|
427 |
+
| `repo_tokens_count` | Number of tokens in the repository. |
|
428 |
+
| `repo_words_count` | Number of words in the repository. |
|
429 |
+
| `repo_lines_count` | Number of lines in the repository. |
|
430 |
+
| `repo_files_count` | Number of files in the repository. |
|
431 |
+
| `repo_code_symbols_count` | Number of code symbols in the repository. |
|
432 |
+
| `repo_code_tokens_count`* | Number of code tokens in the repository. |
|
433 |
+
| `repo_code_words_count` | Number of code words in the repository. |
|
434 |
+
| `repo_code_lines_count` | Number of code lines in the repository. |
|
435 |
+
| `repo_code_files_count` | Number of code files in the repository. |
|
436 |
+
| `description_symbols_count` | Number of symbols in the repository description. |
|
437 |
+
| `description_tokens_count`* | Number of tokens in the repository description. |
|
438 |
+
| `description_words_count` | Number of words in the repository description. |
|
439 |
+
| `description_lines_count` | Number of lines in the repository description. |
|
440 |
+
| `readme_header` | The header of the repository README. |
|
441 |
+
| `readme_header_symbols_count`| Number of symbols in the repository README header. |
|
442 |
+
| `readme_header_tokens_count`* | Number of tokens in the repository README header. |
|
443 |
+
| `readme_header_words_count` | Number of words in the repository README header. |
|
444 |
+
| `readme_header_lines_count` | Number of lines in the repository README header. |
|
445 |
|
446 |
+
Tokens calcualted for GPT-4 tokenizer
|
447 |
|
448 |
## How to
|
449 |
* Load the data via [load_dataset](https://huggingface.co/docs/datasets/v2.14.3/en/package_reference/loading_methods#datasets.load_dataset):
|
450 |
```python
|
451 |
+
|
452 |
+
from datasets import load_dataset
|
453 |
# Select a configuration from ["java", "kt", "android"]
|
454 |
configuration = "java"
|
455 |
# Select a split from ["dev", "train", "test"]
|