ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

too slow if training custom corps

Open dxteam2024 opened this issue 9 years ago • 10 comments

i have corps with 6000000 lines data , and i try to train the corps but it's too slow ,is there any ways to improve the performance in ChatterBot ?

dxteam2024 avatar Aug 08 '17 03:08 dxteam2024

Right now, no. Luckily training only has to be done once for a chat bot. You may encounter further issues once you finish training with that much data. I'm currently working on changes to solve performance issues for large data sets.

gunthercox avatar Aug 08 '17 04:08 gunthercox

@aliray , if you don't mind can you please state where you acquired the data from?

neutralboy avatar Aug 19 '17 15:08 neutralboy

Corps with 900000 lines data, use mongodb, super slow.

laonan avatar Aug 22 '17 04:08 laonan

@laonan hello, have u solved the problem of efficiency. I meet the same problem

jxfruit avatar Sep 30 '17 08:09 jxfruit

not yet, if u have any good news, would pls let me know? thx.

在 2017年9月30日,下午4:43,Lee Tao [email protected] 写道:

@laonan https://github.com/laonan hello, have u solved the problem of efficiency. I meet the same problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gunthercox/ChatterBot/issues/908#issuecomment-333294204, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYyVo7otDYXF_A6xGfCTk_Ht8Tfp13Yks5snf9OgaJpZM4OwNqn.

laonan avatar Sep 30 '17 09:09 laonan

@laonan I have read the doc and asked the author. There is no good approach to efficiency and the author is working on it. The later version will get some changes and I may do some preprocessing before training to improve retrieve speed of response

jxfruit avatar Oct 04 '17 02:10 jxfruit

Corps with 10000 lines data, use mongodb, trainning once is acceptable. But getresponse more than 2 second.

BestMatch get all 10000 lines and compute confidence each

calmzealA avatar Oct 20 '17 10:10 calmzealA

I'm going to close this ticket off because as far as I can see there isn't any actionable items that can be done for it. For details on the planned performance improvements, please refer to #925.

gunthercox avatar Dec 03 '17 00:12 gunthercox

@calmzealA has you installed python-Levenshtein?

zxsimple avatar Jan 17 '18 01:01 zxsimple

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Mar 09 '19 23:03 lock[bot]