code: public static WordVectors loadStaticModel(InputStream inputStream) throws IOException {
  
          File tmpFile = DL4JFileUtils.createTempFile("word2vec"+System.currentTimeMillis(), ".tmp");
          FileUtils.copyInputStreamToFile(inputStream, tmpFile);
          try {
              return loadStaticModel(tmpFile);
          } finally {
              tmpFile.delete();
          }
  
      }
docs: This method restores previously saved w2v model. File can be in one of the following formats:
  1) Binary model, either compressed or not. Like well-known Google Model
  2) Popular CSV word2vec text format
  3) DL4j compressed format
  
  In return you get StaticWord2Vec model, which might be used as lookup table only in multi-gpu environment.
  
  @param file File should point to previously saved w2v model
  @return