five

leetcode-solutions-python

收藏
魔搭社区2026-05-09 更新2024-05-15 收录
下载链接:
https://modelscope.cn/datasets/AI-ModelScope/leetcode-solutions-python
下载链接
链接失效反馈
官方服务:
资源简介:
### Clone with HTTP ```bash git clone https://www.modelscope.cn/datasets/AI-ModelScope/leetcode-solutions-python.git ``` 迁移来源: https://www.huggingface.co/datasets/mhhmm/leetcode-solutions-python 使用sdk下载 ```python from modelscope import MsDataset dataset = MsDataset.load('AI-ModelScope/leetcode-solutions-python').to_hf_dataset() print(dataset) """ Dataset({ features: ['id', 'code_with_data', 'code_only', 'code_with_problem', 'explanation_only'], num_rows: 2359 }) """ ```

### 通过HTTP克隆 bash git clone https://www.modelscope.cn/datasets/AI-ModelScope/leetcode-solutions-python.git 迁移来源:https://www.huggingface.co/datasets/mhhmm/leetcode-solutions-python 使用软件开发工具包(SDK,Software Development Kit)下载: python from modelscope import MsDataset dataset = MsDataset.load('AI-ModelScope/leetcode-solutions-python').to_hf_dataset() print(dataset) """ 数据集对象({ 特征列: ['id', 'code_with_data', 'code_only', 'code_with_problem', 'explanation_only'], 数据总行数: 2359 }) """
提供机构:
maas
创建时间:
2023-09-24
搜集汇总
数据集介绍
main_image_url
背景与挑战
背景概述
该数据集名为leetcode-solutions-python,是一个包含2359行数据的Python代码训练集,专用于LeetCode解题。它提供了代码、问题描述和解释等特征,采用Apache 2.0许可证,于2024年9月更新。
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务