News for hackers. Stuff that matters.
Re:SpaCy 3.0 by chartpath on Monday February 01, 2021 @04:32PM (#25994266)
I've been using LASER from Facebook Research via https://github.com/yannvgn/laserembeddings to accept multi-lingual input in front of the the domain-specific models for recommendations and stuff (that are trained on English annotated examples).
Re:SpaCy 3.0 by zburatorul on Tuesday February 02, 2021 @12:18AM (#25997671)
This sounds interesting. Can you share more please? It sounds like there is some multilingual input text on the basis of which you make recommendations, but I think you would have called that a search engine rather than recommender.
Re:SpaCy 3.0 by chartpath on Tuesday February 02, 2021 @09:43AM (#26001468)
That's true, I'm making recommendations based on Multinomial Naive Bayes (and SGDClassifier) over custom TF-IDF bags of words, so it is like search plus text classification. And some endpoints do just check the cosine or Jaccard distance between things. There is a lot of overlap between search and NLP.

My approach to AI is somewhat conservative because of working in a law-adjacent field where explainability is paramount. When it comes to getting "smart" I prefer forward-chaining logic over facts, and facts include predictions from models too. But at least there is a "judge"/engine to coordinate how the predictions from the ensemble of models maps to actions. I love me some pertained neural nets, but use them more as black box appliances.

Re:SpaCy 3.0 by krasi0 on Thursday February 04, 2021 @01:37AM (#26023207)
Which forward-chaining engine do you use? Something based on prolog?
Re:SpaCy 3.0 by chartpath on Friday February 05, 2021 @04:02PM (#26041140)
Currently https://github.com/nilp0inter/experta but https://github.com/noxdafox/clipspy seems nice, I just shied away from using it due to uneasiness about FFI and debugging, even though the original CLIPS is still awesome and has a very interesting manual.

There's also https://github.com/jruizgit/rules but haven't tried it yet.

Re:SpaCy 3.0 by krasi0 on Saturday February 06, 2021 @01:47PM (#26048789)
Interesting. I guess your driving factor was that you can use those directly from Python. How's the performance (with many many rules)?
Re:SpaCy 3.0 by chartpath on Monday February 08, 2021 @10:10AM (#26065500)
Yes exactly, I want to be able to do rich auditing of the predictions. Not sure about performance yet, still prototyping!