Chapter 5: Training Sequence Labeling Models

In this book, we have so far covered a number of features and models Flair offers right out of the box. The set of pre-trained sequence taggers, embeddings, and other models at first seems large enough for us to never need anything more than what's already available in Flair. But chances are, if you work with natural language processing (NLP) for long enough, you will encounter a problem that isn't generic enough to be solved by pre-trained models. When faced with such a problem, we usually need to train our own. This process involves acquiring training data, preprocessing it, possibly hand-labeling it, and finally, working with an NLP framework to train the model. But because Flair ships a wide selection ...

Get Natural Language Processing with Flair now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.