Skip to content

Commit

Permalink
Fix git clone in example notebooks (#1155)
Browse files Browse the repository at this point in the history
* update notebook clone repo version
  • Loading branch information
jeswan authored Oct 14, 2020
1 parent 608cb18 commit b81254b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 24 deletions.
6 changes: 2 additions & 4 deletions examples/notebooks/jiant_Basic_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
"outputs": [],
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"!cd jiant\n",
"!git checkout d26c213c742d36f8909f3a910694c8a90da416f1\n",
"!cd .."
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions examples/notebooks/jiant_MNLI_Diagnostic_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@
"outputs": [],
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"!cd jiant\n",
"!git checkout d26c213c742d36f8909f3a910694c8a90da416f1\n",
"!cd .."
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions examples/notebooks/jiant_Multi_Task_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@
"outputs": [],
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"!cd jiant\n",
"!git checkout d26c213c742d36f8909f3a910694c8a90da416f1\n",
"!cd .."
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions examples/notebooks/jiant_STILTs_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@
"outputs": [],
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"!cd jiant\n",
"!git checkout d26c213c742d36f8909f3a910694c8a90da416f1\n",
"!cd .."
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions examples/notebooks/jiant_XNLI_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@
"outputs": [],
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"!cd jiant\n",
"!git checkout d26c213c742d36f8909f3a910694c8a90da416f1\n",
"!cd .."
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions examples/notebooks/simple_api_fine_tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
},
"source": [
"%%capture\n",
"!git clone https://github.com/jiant-dev/jiant.git\n",
"%cd jiant\n",
"!git checkout 572441964e859d00fa2071c0888dd4ab6a8d3619\n",
"%cd ..\n",
"!git clone https://github.com/nyu-mll/jiant.git\n",
"%cd jiant && git checkout tags/2.0.0",
"\n",
"# This Colab notebook already has its CUDA-runtime compatible versions of torch and torchvision installed\n",
"!pip install -r jiant/requirements-no-torch.txt\n",
Expand Down

0 comments on commit b81254b

Please sign in to comment.