英文:
CodeSearchNet could not download the database
问题
github项目 https://github.com/github/CodeSearchNet,无法从S3下载数据
当我尝试访问
https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip
时,我收到以下错误消息:
这个XML文件似乎没有与之关联的任何样式信息。文档树如下所示。
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>T24TH6PDCYJ4MH1S</RequestId>
<HostId>D643qny/TdSa0w/ZpgUf8GxL+S8doxkB3bw70XlhBvJ04JdSdkjmr+ghNsM5jMIZakIRb9eh0Ko=</HostId>
</Error>
资源无效吗?
我应该使用什么其他方式来获取这个数据集?
英文:
github project https://github.com/github/CodeSearchNet, unable to Download Data from S3
When I try to access
https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip
I get the following error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>T24TH6PDCYJ4MH1S</RequestId>
<HostId>D643qny/TdSa0w/ZpgUf8GxL+S8doxkB3bw70XlhBvJ04JdSdkjmr+ghNsM5jMIZakIRb9eh0Ko=</HostId>
</Error>
Is the resource invalid?
What else do I use to get this dataset?
答案1
得分: 1
The CodeSearchNet dataset S3 bucket was taken offline when the project was archived, but it can now be downloaded from HuggingFace with the following command:
ds = load_dataset("code_search_net", "python")
See here for discussion on this resolution as well as some links to other sources for it higher up the thread: https://huggingface.co/datasets/code_search_net/discussions/3#645cb625f1e3b219cb07b603
英文:
The CodeSearchNet dataset S3 bucket was taken offline when the project was archived, but it can now be downloaded from HuggingFace with the following command:
ds = load_dataset("code_search_net", "python")
See here for discussion on this resolution as well as some links to other sources for it higher up the thread: https://huggingface.co/datasets/code_search_net/discussions/3#645cb625f1e3b219cb07b603
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论