News for hackers. Stuff that matters.
Re:SpaCy 2.0 released by kamac on Wednesday November 08, 2017 @10:15AM (#15653191)
For me, the most important thing about this version is the reduced memory usage. Previously the smallest english model took 1GB of RAM, making it troublesome to run it on any cloud instances. If v2 is to take ~200mb instead, that's a huge improvement.
Re:SpaCy 2.0 released by syllogism on Wednesday November 08, 2017 @10:29AM (#15653357)
The thing that always bothered me about v1 was that it was fast, but in many ways not that scaleable. I really under-estimated the importance of Pickle support for instance, because I didn't appreciate that that's how multiprocessing works in Python.

You might find this method particularly useful for meeting memory constraints: https://spacy.io/api/vocab#prune_vectors . This lets you reduce a large word vectors table to a small one by remembering the nearest neighbours for the words you prune out. So if you have a rare word like 'biophysicist', you can map it to the vector for a word like 'scientist', and get a close-enough word vector for it.

Re:SpaCy 2.0 released by Vaskivo on Wednesday November 08, 2017 @10:30AM (#15653363)
Does that mean that it can run on a Raspberry Pi?
Re:SpaCy 2.0 released by kamac on Wednesday November 08, 2017 @10:38AM (#15653464)
Unless RAM usage hasn't significantly increased beyond 200mb since alpha, it should run.