CodeSearchNet 无法下载数据库。

huangapple go评论48阅读模式
英文:

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.
&lt;Error&gt;
&lt;Code&gt;AccessDenied&lt;/Code&gt;
&lt;Message&gt;Access Denied&lt;/Message&gt;
&lt;RequestId&gt;T24TH6PDCYJ4MH1S&lt;/RequestId&gt;
&lt;HostId&gt;D643qny/TdSa0w/ZpgUf8GxL+S8doxkB3bw70XlhBvJ04JdSdkjmr+ghNsM5jMIZakIRb9eh0Ko=&lt;/HostId&gt;
&lt;/Error&gt;

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(&quot;code_search_net&quot;, &quot;python&quot;)

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

huangapple
  • 本文由 发表于 2023年5月7日 15:06:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76192594.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定