concept memory in category deep learning

This is an excerpt from Manning's book Deep Learning with PyTorch.
We’re going to assume you’ve installed PyTorch and the other dependencies and have verified that things are working. Earlier we touched on the possibilities for following along with the code in the book. We are going to be making heavy use of Jupyter Notebooks for our example code. A Jupyter Notebook shows itself as a page in the browser through which we can run code interactively. The code is evaluated by a kernel, a process running on a server that is ready to receive code to execute and send back the results, which are then rendered inline on the page. A notebook maintains the state of the kernel, like variables defined during the evaluation of code, in memory until it is terminated or restarted. The fundamental unit with which we interact with a notebook is a cell : a box on the page where we can type code and have the kernel evaluate it (through the menu item or by pressing Shift-Enter). We can add multiple cells in a notebook, and the new cells will see the variables we created in the earlier cells. The value returned by the last line of a cell will be printed right below the cell after execution, and the same goes for plots. By mixing source code, results of evaluations, and Markdown-formatted text cells, we can generate beautiful interactive documents. You can read everything about Jupyter Notebooks on the project website (https://jupyter.org).
Quite often, Python is said to lack speed. While there is some truth to this, the tensor operations we use in PyTorch usually are in themselves large enough that the Python slowness between them is not a large issue. For small devices like smartphones, the memory overhead that Python brings might be more important. So keep in mind that frequently, the speedup gained by taking Python out of the computation is 10% or less.

This is an excerpt from Manning's book Deep Learning for Natural Language Processing.
Unlike the eager types of machine learning that build compact and representative models of their training data, memory-based learning (MBL, Daelemans et al) is a form of lazy learning: it does not compress training data into generalizations, but instead keeps all training data available in memory. During classification, the actual processing of the training takes place: input data is matched with training data by the application of similarity or distance measures. Similar to Support Vector Machines, distance functions between vectors compute similarities. But here, we work on explicit vectors, and we do not perform any dimensionality tricks.
The central task in this chapter is Question Answering: answering a question on the basis of a number of facts. This task involves using memory: facts are stored in memory, and the question refers back to past information. How do the various models for sequential processing stack up to this task?