Add initial README
Browse files
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CodeTranslate: Java to Python Translation Framework
|
| 2 |
+
|
| 3 |
+
<p align="left">
|
| 4 |
+
📑 <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>
|
| 5 |
+
|
| 6 |
+
This is the raw dataset for the CodeTranslate project. The Java code samples are sourced from the CodeSearchNet dataset from GitHub.
|
| 7 |
+
|
| 8 |
+
## Data Format
|
| 9 |
+
|
| 10 |
+
Each sample in `java_functions_raw.jsonl` contains:
|
| 11 |
+
|
| 12 |
+
```json
|
| 13 |
+
{
|
| 14 |
+
"java_code": "<the original Java function>",
|
| 15 |
+
"function_name": "<the function name>",
|
| 16 |
+
"docstring": "<function documentation>",
|
| 17 |
+
"repository": "<source repository>",
|
| 18 |
+
"complexity": "<code complexity level>"
|
| 19 |
+
}
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
## Source Information
|
| 23 |
+
|
| 24 |
+
This dataset is derived from the CodeSearchNet dataset (GitHub/CodeSearchNet), which contains code-documentation pairs from public GitHub repositories.
|