From dc23d6a80ab41c844e8ba96323e2ebee540772a2 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Tue, 27 Jul 2021 18:07:04 +0200 Subject: [PATCH] Optimised spacy first loading --- jarvis/ia/trained_model.pth | Bin 3607 -> 3607 bytes jarvis/main.py | 3 ++- jarvis/utils/nlp_utils.py | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/jarvis/ia/trained_model.pth b/jarvis/ia/trained_model.pth index fa492edd841ac58bbe643a9bca1b43f3b895dbe8..faf82083a0cc9e7eaf12d6a047048083326ec3b1 100644 GIT binary patch delta 1364 zcmYLHdoEe~=0SMdH62Y;!*Odd6C+gtm?j87x6Upo(0(K|UUrfSsz|5BOJBf;%U;5Ys3xIx zw16BM9S7Hr|ImN*7qm?_!({6V5b#dC1eG}h(EW&kHpOcY)-VvhJ_J~GU+ABCkQ!E} zfl+HGSe*PsD@5lZqdXf1)E#ub{46*w(MOXT5zyE20gQHDgvSvrbpQ4SC@txMrCBwU zon(-Hx~LyA@~Yvh*B?PycmqQ8O{qKHYIt~LFFMAj<8|?gBH`8XIx23KK5R7Pf`RcR z7;d{zGk7W(SY}s+y{TbXssvPxEhO%jLuw)|v>`yR6FTR=hogTP$khaT~tuLKUgeI1jFV% zNHuU^ORE6{CoRW3t{6jWs%SIoR@k+~9~&i1^kmBLW_vMA%Lty% z+R}TcGZ-3pxG-4^hK>${AsyFtvTVP58}`~Kz!~{#Nb;zJ>aaLq%CaCfT$hM??|^2V z^4YLmx?9Ib+^w=hu7pJrj>>>~!zXbIE75C}1ghlKFlu@qhJQPT-#9FTjvfb8E`9*T z;g0xTavM_mY>9zcAzs-JWT&7EJX^n0(CegFK9~hXr=5r}(isJFT@*>JeAwpN2qtFd z5I*(Me6R!2yvQfEwnWkAWI)dMx5LCUHi_TDC%;Cq6atkI36lAN9+Rf>CTxhWbsm~` zttXl1|3>!hWu*CeBAWDifqmH{nmaTBp(BoDM>qTNl$$Lf%1hF^8FrTCFA~7SVS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