Skip to content

Commit

Permalink
update CodeSearchNet url
Browse files Browse the repository at this point in the history
  • Loading branch information
shuailu committed Apr 24, 2023
1 parent c277fe2 commit b859079
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions Code-Text/code-to-text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ The dataset we use comes from [CodeSearchNet](https://arxiv.org/pdf/1909.09436.p
```shell
unzip dataset.zip
cd dataset
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/ruby.zip
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/javascript.zip
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/go.zip
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/php.zip
wget https://zenodo.org/record/7857872/files/go.zip
wget https://zenodo.org/record/7857872/files/java.zip
wget https://zenodo.org/record/7857872/files/javascript.zip
wget https://zenodo.org/record/7857872/files/php.zip
wget https://zenodo.org/record/7857872/files/python.zip
wget https://zenodo.org/record/7857872/files/ruby.zip

unzip python.zip
unzip java.zip
Expand All @@ -45,12 +45,12 @@ cd ..
import os
!unzip dataset.zip
os.chdir("/content/dataset")
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/ruby.zip
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/javascript.zip
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/go.zip
!wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/php.zip
!wget https://zenodo.org/record/7857872/files/go.zip
!wget https://zenodo.org/record/7857872/files/java.zip
!wget https://zenodo.org/record/7857872/files/javascript.zip
!wget https://zenodo.org/record/7857872/files/php.zip
!wget https://zenodo.org/record/7857872/files/python.zip
!wget https://zenodo.org/record/7857872/files/ruby.zip

!unzip python.zip
!unzip java.zip
Expand Down
2 changes: 1 addition & 1 deletion Text-Code/NL-code-search-Adv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Besides, to test the generalization ability of a model, function names and vari
```shell
unzip dataset.zip
cd dataset
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
wget https://zenodo.org/record/7857872/files/python.zip
unzip python.zip
python preprocess.py
rm -r python
Expand Down
2 changes: 1 addition & 1 deletion Text-Code/NL-code-search-WebQuery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Since there's no direct training set for our WebQueryTest dataset, we suggest us

```shell
cd data
wget https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
wget https://zenodo.org/record/7857872/files/python.zip
unzip python.zip
python preprocess.py
rm -r python
Expand Down

0 comments on commit b859079

Please sign in to comment.