From b9a4b0f25fe459ca3a1851cede247603d3cb4db3 Mon Sep 17 00:00:00 2001 From: Alex Black Date: Wed, 16 Oct 2019 12:59:52 +1100 Subject: [PATCH] Update links (#8292) Signed-off-by: AlexDBlack --- .../org/deeplearning4j/common/resources/DL4JResources.java | 2 +- docs/deeplearning4j-nlp/templates/word2vec.md | 2 +- .../test/java/org/nd4j/imports/TFGraphs/BERTGraphTest.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deeplearning4j/deeplearning4j-common/src/main/java/org/deeplearning4j/common/resources/DL4JResources.java b/deeplearning4j/deeplearning4j-common/src/main/java/org/deeplearning4j/common/resources/DL4JResources.java index 916dd3e62..a28ad375d 100644 --- a/deeplearning4j/deeplearning4j-common/src/main/java/org/deeplearning4j/common/resources/DL4JResources.java +++ b/deeplearning4j/deeplearning4j-common/src/main/java/org/deeplearning4j/common/resources/DL4JResources.java @@ -44,7 +44,7 @@ public class DL4JResources { */ @Deprecated public static final String DL4J_BASE_URL_PROPERTY = DL4JSystemProperties.DL4J_RESOURCES_BASE_URL_PROPERTY; - private static final String DL4J_DEFAULT_URL = "https://deeplearning4jblob.blob.core.windows.net/"; + private static final String DL4J_DEFAULT_URL = "https://dl4jdata.blob.core.windows.net/"; private static File baseDirectory; private static String baseURL; diff --git a/docs/deeplearning4j-nlp/templates/word2vec.md b/docs/deeplearning4j-nlp/templates/word2vec.md index d49b02265..e941060f2 100644 --- a/docs/deeplearning4j-nlp/templates/word2vec.md +++ b/docs/deeplearning4j-nlp/templates/word2vec.md @@ -331,7 +331,7 @@ If the word isn't in the vocabulary, Word2vec returns zeros. ### Importing Word2vec Models -The [Google News Corpus model](https://deeplearning4jblob.blob.core.windows.net/resources/wordvectors/GoogleNews-vectors-negative300.bin.gz) we use to test the accuracy of our trained nets is hosted on S3. Users whose current hardware takes a long time to train on large corpora can simply download it to explore a Word2vec model without the prelude. +The [Google News Corpus model](https://dl4jdata.blob.core.windows.net/resources/wordvectors/GoogleNews-vectors-negative300.bin.gz) we use to test the accuracy of our trained nets is hosted on S3. Users whose current hardware takes a long time to train on large corpora can simply download it to explore a Word2vec model without the prelude. If you trained with the [C vectors](https://docs.google.com/file/d/0B7XkCwpI5KDYaDBDQm1tZGNDRHc/edit) or Gensimm, this line will import the model. diff --git a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/imports/TFGraphs/BERTGraphTest.java b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/imports/TFGraphs/BERTGraphTest.java index 074cef780..68f09c864 100644 --- a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/imports/TFGraphs/BERTGraphTest.java +++ b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/imports/TFGraphs/BERTGraphTest.java @@ -62,7 +62,7 @@ public class BERTGraphTest extends BaseNd4jTest { @Test public void testBert() throws Exception { - String url = "https://deeplearning4jblob.blob.core.windows.net/testresources/bert_mrpc_frozen_v1.zip"; + String url = "https://dl4jdata.blob.core.windows.net/testresources/bert_mrpc_frozen_v1.zip"; File saveDir = new File(TFGraphTestZooModels.getBaseModelDir(), ".nd4jtests/bert_mrpc_frozen_v1"); saveDir.mkdirs(); @@ -270,7 +270,7 @@ public class BERTGraphTest extends BaseNd4jTest { @Test //@Ignore //AB ignored 08/04/2019 until fixed public void testBertTraining() throws Exception { - String url = "https://deeplearning4jblob.blob.core.windows.net/testresources/bert_mrpc_frozen_v1.zip"; + String url = "https://dl4jdata.blob.core.windows.net/testresources/bert_mrpc_frozen_v1.zip"; File saveDir = new File(TFGraphTestZooModels.getBaseModelDir(), ".nd4jtests/bert_mrpc_frozen_v1"); saveDir.mkdirs();