Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
json
Sub-tasks:
language-modeling
Languages:
code
Size:
100K - 1M
DOI:
License:
Commit
·
2e4d015
1
Parent(s):
8ac45cb
Update README.md
Browse files
README.md
CHANGED
@@ -140,10 +140,10 @@ created at step one.
|
|
140 |
5. Exporting the resulting dataset into the bucket created in step 2. Export format of JSON with gzip compression.
|
141 |
|
142 |
The result of these steps leads to the following results:
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
|
148 |
The SQL Query used is:
|
149 |
```sql
|
@@ -160,9 +160,18 @@ JOIN
|
|
160 |
ON
|
161 |
f.repo_name = l.repo_name
|
162 |
WHERE
|
163 |
-
NOT c.binary AND ((f.path LIKE '%.
|
164 |
```
|
165 |
|
166 |
-
##
|
|
|
167 |
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
5. Exporting the resulting dataset into the bucket created in step 2. Export format of JSON with gzip compression.
|
141 |
|
142 |
The result of these steps leads to the following results:
|
143 |
+
* 2.7 TB Processed,
|
144 |
+
* number of extracted rows/Swift files was 464,215
|
145 |
+
* total logical bytes 1.46 GB.
|
146 |
+
* The result amounts to 7 json.gz files in a total of 700 MB
|
147 |
|
148 |
The SQL Query used is:
|
149 |
```sql
|
|
|
160 |
ON
|
161 |
f.repo_name = l.repo_name
|
162 |
WHERE
|
163 |
+
NOT c.binary AND ((f.path LIKE '%.swift') AND (c.size BETWEEN 0 AND 1048575))
|
164 |
```
|
165 |
|
166 |
+
## Data Splits
|
167 |
+
The dataset only contains a train split.
|
168 |
|
169 |
+
Using the curated version of this dataset, a split was made into multiple repositories:
|
170 |
+
* Clean Version: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean
|
171 |
+
* Clean Version Train: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean-train
|
172 |
+
* Clean Version Valid: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean-valid
|
173 |
+
|
174 |
+
# Considerations for Using the Data
|
175 |
+
|
176 |
+
The dataset consists of source code from a wide range of repositories.
|
177 |
+
As such they can potentially include harmful or biased code as well as sensitive information like passwords or usernames.
|