Hieu Hoang http://moses-smt.org/
On 14 January 2018 at 17:03, Hieu Hoang <[email protected]> wrote: > > > Hieu Hoang > http://moses-smt.org/ > > > On 14 January 2018 at 15:11, Manli Zhu <[email protected]> wrote: > >> Thank you, Hieu! I still have questions for your suggestion, could you >> answer my question below? >> >> 1. moses will be slow for the 1stfew Sentences >> >> If client will submit one sentence at a time, will it always be slow? >> Is my lm and phrase table too big? >> > it will get faster. > >> >> 2. The server runs only 1 thread for each daemon, but it can handle >> multiple daemons at once. >> >> By multiple daemons, do you mean run multiple Maemo.pl simultaneously? >> The multiple daemons share the same port number? >> > yes > >> >> 3. If you want to use more than 16 cores, it's better to use Moses2. >> >> Can Moses2 run multiple threads for each daemon? >> > the daemon is the same, the server is different. Maybe write your own > multithreaded daemon > Sorry - didn't answer your question correctly. No, Moses2 server behaves in the same way as moses(1) - it runs 1 thread for each daemon > >> Thanks! >> >> >> >> >> On Sunday, January 14, 2018, Hieu Hoang <[email protected]> wrote: >> >>> 1. moses will be slow for the 1st few sentences. You can make it faster >>> by running >>> http://www.statmt.org/moses/?n=Moses.Optimize#ntoc3 >>> 2. The server runs only 1 thread for each daemon, but it can handle >>> multiple daemons at once. >>> 3. If you want to use more than 16 cores, it's better to use Moses2. See >>> here >>> http://www.statmt.org/moses/?n=Site.Moses2 >>> >>> Hieu Hoang >>> http://moses-smt.org/ >>> >>> >>> On 14 January 2018 at 06:20, Manli Zhu <[email protected]> wrote: >>> >>>> >>>> Hello, >>>> >>>> I built a FR-EN translator. >>>> >>>> binarised phrase-table.minphr : 13.9G >>>> binarized recorerig-table.minlexr 6.9G >>>> language model model.blm.en 17.1G >>>> >>>> >>>> I am using daemon.pl running as moses server. >>>> >>>> It successfully open the port and loaded the translation model and >>>> language mode. I can send sentence to this port and get correct >>>> translation. My problem is the translation time is too long: >>>> >>>> Line 0: Initialize search took 0.001 seconds total >>>> Line 0: Collecting options took 60.428 seconds at moses/Manager.cpp >>>> Line 141 >>>> Line 0: Search took 0.641 seconds >>>> >>>> So, it took more than one minute to translate one normal sentence. >>>> >>>> Moses run on a server with 64 cores and each CPU speec is 1400MHz. >>>> >>>> During translation, it only used 100% of one CPU although I set the >>>> threads: 12 in moses.ini file. >>>> >>>> Is there any way to speed up the translation? >>>> >>>> Thank you! >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moses-support mailing list >>>> [email protected] >>>> http://mailman.mit.edu/mailman/listinfo/moses-support >>>> >>>> >>> >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
