| # CodeTranslate: Java to Python Translation Framework |
|
|
| <p align="left"> |
| ๐ <a href="https://huggingface.co/papers/xxxx.xxxxx" target="_blank">Paper</a>    |    ๐ <a href="https://codetranslate.github.io/" target="_blank">Project Page</a>    |    ๐พ <a href="https://huggingface.co/collections/toolevalxm/codetranslate-67a978e28fd926b56a4f55a2" target="_blank">Released Resources</a>    |    ๐ฆ <a href="https://github.com/xmhtoolathlon/CodeTranslate-Hub" target="_blank">Repo</a> |
| |
| This is the raw dataset for the CodeTranslate project. The Java code samples are sourced from the CodeSearchNet dataset from GitHub. |
|
|
| ## Data Format |
|
|
| Each sample in `java_functions_raw.jsonl` contains: |
|
|
| ```json |
| { |
| "java_code": "<the original Java function>", |
| "function_name": "<the function name>", |
| "docstring": "<function documentation>", |
| "repository": "<source repository>", |
| "complexity": "<code complexity level>" |
| } |
| ``` |
|
|
| ## Source Information |
|
|
| This dataset is derived from the CodeSearchNet dataset (GitHub/CodeSearchNet), which contains code-documentation pairs from public GitHub repositories. |
|
|
| **License** |
|
|
| The license for this dataset is MIT. |