Skip to content

Commit 7119e14

Browse files
committed
Update GenerateTxtModel.java
1 parent ae5be7b commit 7119e14

File tree

1 file changed

+1
-1
lines changed
  • dl4j-examples/src/main/java/org/deeplearning4j/examples/advanced/modelling/charmodelling/generatetext

1 file changed

+1
-1
lines changed

dl4j-examples/src/main/java/org/deeplearning4j/examples/advanced/modelling/charmodelling/generatetext/GenerateTxtModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static CharacterIterator getShakespeareIterator(int miniBatchSize, int sequenceL
137137
//The Complete Works of William Shakespeare
138138
//5.3MB file in UTF-8 Encoding, ~5.4 million characters
139139
//https://www.gutenberg.org/ebooks/100
140-
String url = "https://s3.amazonaws.com/dl4j-distribution/pg100.txt";
140+
String url = "https://raw.githubusercontent.com/KonduitAI/dl4j-test-resources/master/src/main/resources/word2vec/shakespeare.txt";
141141
String tempDir = System.getProperty("java.io.tmpdir");
142142
String fileLocation = tempDir + "/Shakespeare.txt"; //Storage location from downloaded file
143143
File f = new File(fileLocation);

0 commit comments

Comments
 (0)