File size: 1,201 Bytes
b9dc4f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f38f53b
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# CodeTranslate: Java to Python Translation Framework

<p align="left">
    📑 <a href="https://huggingface.co/papers/xxxx.xxxxx" target="_blank">Paper</a> &nbsp&nbsp | &nbsp&nbsp 🌐 <a href="https://codetranslate.github.io/" target="_blank">Project Page</a> &nbsp&nbsp | &nbsp&nbsp 💾 <a href="https://huggingface.co/collections/toolevalxm/codetranslate-67a978e28fd926b56a4f55a2" target="_blank">Released Resources</a> &nbsp&nbsp | &nbsp&nbsp 📦 <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.