Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -31,6 +31,48 @@ configs:
|
|
31 |
---
|
32 |
license: apache-2.0
|
33 |
---
|
|
|
34 |
|
|
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
|
|
31 |
---
|
32 |
license: apache-2.0
|
33 |
---
|
34 |
+
### This is an exact copy of the dataset from the original github repo: https://github.com/WeixiangYAN/CodeTransOcean.git
|
35 |
|
36 |
+
# [CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation](https://arxiv.org/abs/2310.04951)
|
37 |
|
38 |
+
<div align="center">
|
39 |
+
<a href="https://yuchen814.github.io/CodeTransOcean/"><img src="./images/leaderboard6.png" alt="Leaderboard">Leaderboard</a> |
|
40 |
+
<a href="https://arxiv.org/pdf/2310.04951.pdf">📄 Paper</a> |
|
41 |
+
<a href="https://drive.google.com/file/d/1xw6Edqf_nknKoei_LC49n4EtvNQezKGe/view?usp=sharing"><img src="./images/Google_Drive_Logo_16px.png" alt="Google Drive"> Access from Google Drive datasets</a>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<br>
|
45 |
+
|
46 |
+
**CodeTransOcean**, a large-scale comprehensive benchmark that supports the largest variety of programming languages for code translation. CodeTransOcean consists of three novel multilingual datasets, namely, **MultilingualTrans** supporting translations between multiple popular programming languages, **NicheTrans** for translating between niche programming languages and popular ones, and **LLMTrans** for evaluating executability of translated code by large language models (LLMs). CodeTransOcean also includes a novel cross-framework dataset, **DLTrans**, for translating deep learning code across different frameworks.
|
47 |
+
|
48 |
+
|
49 |
+
<div align="center">
|
50 |
+
<img src="./images/codetransocean.png">
|
51 |
+
</div>
|
52 |
+
|
53 |
+
|
54 |
+
## Datasets
|
55 |
+
🤗[Hugging Face](https://huggingface.co/datasets/Owos/CodeTransOcean-copy) or <img src="./images/Google_Drive_Logo_16px.png">[Google Drive](https://drive.google.com/file/d/1xw6Edqf_nknKoei_LC49n4EtvNQezKGe/view?usp=sharing)
|
56 |
+
|
57 |
+
|
58 |
+
## Code
|
59 |
+
The MultilingualTrans, NicheTrans, and DLTrans datasets were experimented with on CodeT5+, and the code is in the [CodeT5+](https://github.com/WeixiangYAN/CodeTransOcean/tree/main/CodeT5%2B) file.
|
60 |
+
|
61 |
+
The LLMTrans dataset was experimented with on GPT-3.5, and the code is in the [ChatGPT](https://github.com/WeixiangYAN/CodeTransOcean/tree/main/ChatGPT) file.
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
## Citation
|
66 |
+
Please cite the paper if you use the data or code from CodeTransOcean.
|
67 |
+
```
|
68 |
+
@article{yan2023codetransocean,
|
69 |
+
title={CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation},
|
70 |
+
author={Yan, Weixiang and Tian, Yuchen and Li, Yunzhe and Chen, Qian and Wang, Wen},
|
71 |
+
journal={arXiv preprint arXiv:2310.04951},
|
72 |
+
year={2023}
|
73 |
+
}
|
74 |
+
```
|
75 |
+
|
76 |
+
## Contact
|
77 |
+
For questions, please feel free to reach out via email at ``[email protected]``.
|
78 |
|