Skip to content

Commit b5663e3

Browse files
Fixes bert_vocab_uncased.txt dataset links (#2047)
1 parent 5b13561 commit b5663e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

guides/ipynb/keras_hub/transformer_pretraining.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"\n",
118118
"# Download vocabulary data.\n",
119119
"vocab_file = keras.utils.get_file(\n",
120-
" origin=\"https://storage.googleapis.com/tensorflow/keras-hub/examples/bert/bert_vocab_uncased.txt\",\n",
120+
" origin=\"https://storage.googleapis.com/tensorflow/keras-nlp/examples/bert/bert_vocab_uncased.txt\",\n",
121121
")"
122122
]
123123
},

guides/keras_hub/transformer_pretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
# Download vocabulary data.
7474
vocab_file = keras.utils.get_file(
75-
origin="https://storage.googleapis.com/tensorflow/keras-hub/examples/bert/bert_vocab_uncased.txt",
75+
origin="https://storage.googleapis.com/tensorflow/keras-nlp/examples/bert/bert_vocab_uncased.txt",
7676
)
7777

7878
"""

guides/md/keras_hub/transformer_pretraining.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ sst_dir = os.path.expanduser("~/.keras/datasets/SST-2/")
7878

7979
# Download vocabulary data.
8080
vocab_file = keras.utils.get_file(
81-
origin="https://storage.googleapis.com/tensorflow/keras-hub/examples/bert/bert_vocab_uncased.txt",
81+
origin="https://storage.googleapis.com/tensorflow/keras-nlp/examples/bert/bert_vocab_uncased.txt",
8282
)
8383
```
8484

0 commit comments

Comments
 (0)