Skip to Content
Deep Learning for Natural Language Processing
book

Deep Learning for Natural Language Processing

by Stephan Raaijmakers
November 2022
Beginner to intermediate content levelBeginner to intermediate
296 pages
8h 27m
English
Manning Publications
Content preview from Deep Learning for Natural Language Processing

8 Multitask learning

This chapter covers

  • Understanding deep multitask learning for NLP
  • Implementing hard, soft, and mixed parameter sharing for multitask learning

In this chapter, we apply different multitask learning approaches to practical NLP problems. In particular, we apply multitask learning to three datasets:

  • Two sentiment datasets consisting of consumer product reviews and restaurant reviews

  • The Reuters topic dataset

  • A part-of-speech and named-entity tagging dataset

8.1 Introduction to multitask learning

Multitask learning is concerned with learning several things at the same time (figure 8.1). An example is learning both part-of-speech tagging and sentiment analysis simultaneously or learning two topic taggers in one go. Why ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Deep Learning for Natural Language Processing, 2nd Edition

Deep Learning for Natural Language Processing, 2nd Edition

Jon Krohn
Natural Language Processing in Action

Natural Language Processing in Action

Cole Howard, Hobson Lane, Hannes Hapke

Publisher Resources

ISBN: 9781617295447Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link