Advertisement
Guest User

Untitled

a guest
Jun 1st, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. // Run this by running SRBuilder with program command line options -c customized.conf -m word2smallvec
  2.  
  3. baseDir : "."
  4.  
  5. dao.dataSource.default : h2
  6.  
  7. dao.dataSource.h2.url : "jdbc:h2:"${baseDir}"\/db\/h2;LOG=0;CACHE_SIZE=65536;LOCK_MODE=0;UNDO_LOG=0;MAX_OPERATION_MEMORY=100000000"
  8.  
  9. dao.dataSource.psql.url : "jdbc:postgresql:\/\/localhost\/wikibrain"
  10. dao.dataSource.psql.username : ""
  11. dao.dataSource.psql.password : ""
  12.  
  13. dao.dataSource.postgis.host : "localhost"
  14. dao.dataSource.postgis.port : "5432"
  15. dao.dataSource.postgis.database : "wikibrain"
  16. dao.dataSource.postgis.user : ""
  17. dao.dataSource.postgis.passwd : ""
  18.  
  19. sr.metric.local {
  20.  
  21. // Mikolov's Word2Vec, but trained on Wikipedia articles
  22. word2smallvec : ${sr.densevectorbase} {
  23. generator : {
  24. type : word2vec
  25. corpus : wikified
  26. modelDir : ${baseDir}"/dat/word2vec"
  27. dimensions : 50
  28. }
  29. reliesOn : [ "prebuiltword2vec" ]
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement