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

6 Episodic memory for NLP

This chapter covers

  • Applying strongly supervised end-to-end memory networks to sequential NLP problems
  • Implementing a multi-hop memory network that allows for semi-supervised training
  • Strongly supervised vs. semi-supervised memory networks

In this chapter, essentially, we will attempt to extend the use of episodic memory to an array of NLP problems by rephrasing them as instance of Question Answering problems. For the data we will use in this chapter, strongly supervised memory networks easily produce above-baseline results with very little effort. Semi-supervised memory networks produce better accuracy in some cases, but not consistently.

6.1 Memory networks for sequential NLP

When was the last time you stroked a ...

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