Pytext: A natural language modeling framework based on PyTorch
github.com
github.com
Edit: Super wow, the documentation is amazing as well (https://allennlp.org/tutorials).
We just released PyTorch 1.0 stable last Friday that adds stable production capabilities, so the stuff is just out of the oven. https://github.com/pytorch/pytorch/releases/tag/v1.0.0
AllenNLP is a great NLP modeling library that is aimed at providing reference implementations and prebuilt state-of-the-art models, and make it easy to iterate on and research with models for different NLP tasks.
We've built PyText to be a rich NLP modeling library (along the lines of AllenNLP) but with production capabilities baked in the design from day 1.
Examples are: - We provide interfaces to make sure data preprocessing can be consistent between training and runtime - The model interfaces are compatible with ONNX and torch.jit - A core goal for us in the next few month is to be able to run models trained in PyText on mobile.
Among other differences like supporting distributed training and multi-task learning.
That being said, so far our library of models has been mostly influenced by our current production use-cases, we are actively working on enriching this library with more models and tasks while keeping production capabilities and inference speed in mind.
I've been looking at Spacy, but as far as I can tell it is hard coded to use universal parts of speech.
Clicking the link takes you to the Github repo, which states ‘natural language processing’ in its title (though perhaps it didn’t earlier).
The title of this HN post has been edited now anyhow.