5 ms·
SpaCy and HuggingFace fulfill practically 99% of all our needs for NLP project at work. Really incredible bodies of work. Also, my team chat is currently fille
by ZeroCool2u 6y ago
SpaCy and HuggingFace fulfill practically 99% of all our needs for NLP project at work. Really incredible bodies of work.
Also, my team chat is currently filled with people being extremely stoked about the SpaCy + FastAPI support! Really hope FastAPI replaces Flask sooner rather than later.
- gavinray 6y agoThere's some native SpaCy + FastAPI integration being created?! This sounds mindblowing, off to Google I go...
- thesehands 6y agoThe author of FastAPI https://twitter.com/tiangolo https://twitter.com/tiangolo is a Spacy employee
- tiangolo 6y agoYep, that's me, I work at Explosion (spaCy's home)!
- ZeroCool2u 6y agoBig fan my dude! While FastAPI is amazing, the docs for it are a work of art. I know a few people that have just used the FastAPI docs to learn what API's are and how they work, nevermind how use FastAPI itself.
- tiangolo 6y agoThanks for saying that! :)
- tiangolo 6y agoWith the new "spaCy project" it's easy to generate the boilerplate for many spaCy related projects, including a FastAPI app to serve models. But apart from that, there's actually not really much to integrate, as it all just works. Both libraries are actually (well ) designed to be decoupled. So that you can mix them independently with anything else. Note: I'm the creator of FastAPI, and also a developer at Explosion (spaCy's home).
- number6 6y agoAs someone who never used NLP, what is it used for? Or better what is SpaCy used for - I know that it can generate Texts... but how would I use it in a business?
- ZeroCool2u 6y agoObviously, it depends, but assuming you do have an NLP use case already, there are certain things that you will almost certainly have to do in your preprocessing regardless of your task. For example, sentence parsing. Writing your own basic sentence parser is fairly easy. Writing your own _good_ sentence parser is a nightmare akin to trying to parse HTML with regex. SpaCy provides a very good one for you. Down the line it will help you train a model on various tasks in a compute efficient manner as well. This is just a small example.
- number6 6y agoThanks for the explanation. Guss I never had an NLP usecase. So SpaCy can take a text or sentences apart and knows what the parts "mean" but I can't think of a problem to solve with this. Maybe summarize a text or something, but I guess I am not imaginative enough