Datasets:

ArXiv:
License:
NamCyan commited on
Commit
b3495f4
1 Parent(s): ae2bec3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -15
README.md CHANGED
@@ -166,7 +166,7 @@ See [here](https://github.com/FSoft-AI4Code/TheVault/blob/main/data/README.md) f
166
 
167
  In this repo, The Vault is divided into 5 subsets, where three training versions are split based on dataset size, and the remains are validation set and test set (approximate 20,000 samples in each). The statistic for each language is illustrated in the following section.
168
 
169
- Before split, the dataset is de-duplicated with the test sets in CodeSearchNet, HumanEval, APPS, CoDesc. There are 3 versions of training set that are small (5%), medium (20%) and large (100%).
170
 
171
  ## Dataset Statistics
172
 
@@ -184,20 +184,21 @@ Before split, the dataset is de-duplicated with the test sets in CodeSearchNet,
184
  | CodeT5 | 8 | 3,158,313 |
185
  | **The Vault** | **10** | **40,993,893** |
186
 
187
- - Statistic for each language in The Vault
188
-
189
- | Language | #Code-text pair | #Repository |
190
- |:-----------|-----------------:|------------:|
191
- | Python | 9,893,858 | 628,069 |
192
- | PHP | 5,455,989 | 439,514 |
193
- | JavaScript | 2,562,158 | 355,761 |
194
- | Java | 7,886,299 | 321,129 |
195
- | C# | 4,011,467 | 150,657 |
196
- | C++ | 1,934,958 | 116,897 |
197
- | C | 1,978,551 | 88,556 |
198
- | Go | 5,649,158 | 241,238 |
199
- | Rust | 1,076,588 | 68,615 |
200
- | Ruby | 544,867 | 61,804 |
 
201
 
202
  ## Usage
203
  You can load The Vault dataset using datasets library: ```pip install datasets```
 
166
 
167
  In this repo, The Vault is divided into 5 subsets, where three training versions are split based on dataset size, and the remains are validation set and test set (approximate 20,000 samples in each). The statistic for each language is illustrated in the following section.
168
 
169
+ Before split, the dataset is de-duplicated. There are 3 versions of training set that are small (5%), medium (20%) and large (100%).
170
 
171
  ## Dataset Statistics
172
 
 
184
  | CodeT5 | 8 | 3,158,313 |
185
  | **The Vault** | **10** | **40,993,893** |
186
 
187
+ - Statistic for each set
188
+
189
+
190
+ | | train/small | train/medium | train/full | validation | test |
191
+ |:-----------|------------:|-------------:|-----------:|-----------:|-------:|
192
+ |Python | 370,657 | 1,952,110 | 7,772,647 | 30,992 | 21,652 |
193
+ |Java | 351,213 | 1,612,366 | 6,629,193 | 22,677 | 15,552 |
194
+ |JavaScript | 82,931 | 404,729 | 1,640,416 | 22,044 | 21,108 |
195
+ |PHP | 236,638 | 1,155,476 | 4,656,371 | 21,375 | 19,010 |
196
+ |C | 105,978 | 381,207 | 1,639,319 | 27,525 | 19,122 |
197
+ |C# | 141,090 | 783,166 | 3,305,891 | 24,787 | 19,638 |
198
+ |C++ | 87,420 | 410,907 | 1,671,268 | 20,011 | 18,169 |
199
+ |Go | 267,535 | 1,319,547 | 5,109,020 | 19,102 | 25,314 |
200
+ |Ruby | 23,921 | 112,574 | 424,339 | 17,338 | 19,908 |
201
+ |Rust | 35,367 | 224,015 | 825,130 | 16,716 | 23,141 |
202
 
203
  ## Usage
204
  You can load The Vault dataset using datasets library: ```pip install datasets```