five

nlpctx/java_optimisation

收藏
Hugging Face2026-04-08 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/nlpctx/java_optimisation
下载链接
链接失效反馈
官方服务:
资源简介:
--- language: en license: apache-2.0 task_categories: - text-generation task_ids: - text2text-generation tags: - java - code-optimization - codet5 - source-code - program-analysis --- # Java Optimisation Dataset ## 📌 Overview The **Java Optimisation Dataset** is a curated collection of paired Java code snippets designed for training and evaluating machine learning models on **code optimization and refactoring tasks**. Each example consists of: - **Input:** Unoptimized or verbose Java code - **Output:** Optimized, cleaner, or more efficient equivalent code This dataset is intended for training sequence-to-sequence models such as CodeT5 for automated code improvement. --- ## 📊 Dataset Details - **Total Samples:** ~6,000 training pairs / ~680 validation pairs - **Language:** Java - **Format:** JSONL (input-output pairs) - **Task Type:** Text-to-text (code transformation) --- ## 🧠 Use Cases - Code optimization using machine learning - Automated refactoring systems - Program transformation research - Educational tools for improving coding practices --- ## 📂 Data Format Each entry in the dataset follows this structure: ```json { "input": "String result = \"\"; for(int i=0;i<n;i++){ result += arr[i]; }", "output": "StringBuilder result = new StringBuilder(); for(int i=0;i<n;i++){ result.append(arr[i]); }" }
提供机构:
nlpctx
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作