parent
171ce51f46
commit
b9a4b0f25f
|
@ -44,7 +44,7 @@ public class DL4JResources {
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final String DL4J_BASE_URL_PROPERTY = DL4JSystemProperties.DL4J_RESOURCES_BASE_URL_PROPERTY;
|
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 File baseDirectory;
|
||||||
private static String baseURL;
|
private static String baseURL;
|
||||||
|
|
|
@ -331,7 +331,7 @@ If the word isn't in the vocabulary, Word2vec returns zeros.
|
||||||
|
|
||||||
### <a name="import">Importing Word2vec Models</a>
|
### <a name="import">Importing Word2vec Models</a>
|
||||||
|
|
||||||
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.
|
If you trained with the [C vectors](https://docs.google.com/file/d/0B7XkCwpI5KDYaDBDQm1tZGNDRHc/edit) or Gensimm, this line will import the model.
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class BERTGraphTest extends BaseNd4jTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBert() throws Exception {
|
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");
|
File saveDir = new File(TFGraphTestZooModels.getBaseModelDir(), ".nd4jtests/bert_mrpc_frozen_v1");
|
||||||
saveDir.mkdirs();
|
saveDir.mkdirs();
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ public class BERTGraphTest extends BaseNd4jTest {
|
||||||
|
|
||||||
@Test //@Ignore //AB ignored 08/04/2019 until fixed
|
@Test //@Ignore //AB ignored 08/04/2019 until fixed
|
||||||
public void testBertTraining() throws Exception {
|
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");
|
File saveDir = new File(TFGraphTestZooModels.getBaseModelDir(), ".nd4jtests/bert_mrpc_frozen_v1");
|
||||||
saveDir.mkdirs();
|
saveDir.mkdirs();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue