Update README.md
Browse files
README.md
CHANGED
@@ -249,4 +249,15 @@ configs:
|
|
249 |
path: Swift/Perf_Optimized-*
|
250 |
- split: Size_Optimized
|
251 |
path: Swift/Size_Optimized-*
|
252 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
path: Swift/Perf_Optimized-*
|
250 |
- split: Size_Optimized
|
251 |
path: Swift/Size_Optimized-*
|
252 |
+
---
|
253 |
+
|
254 |
+
The dataset consists of source code and LLVM IR pairs generated from accepted and de-duped programming contest solutions. The dataset is divided into language configs and mode splits. The language can be one of `C`, `C++`, `D`, `Fortran`, `Go`, `Haskell`, `Nim`, `Objective-C`, `Python`, `Rust` and `Swift`, indicating the source files' languages. The mode split indicates the compilation mode, which can be wither `Size_Optimized` or `Perf_Optimized`.
|
255 |
+
|
256 |
+
Once you have submitted an access request which has been approved, loading the dataset can be done as follows:
|
257 |
+
>
|
258 |
+
```python
|
259 |
+
from datasets import load_dataset
|
260 |
+
|
261 |
+
dataset = load_dataset("UKPLab/SLTrans", "C", split="Size_Optimized")
|
262 |
+
```
|
263 |
+
>
|