|
36 | 36 | "## Forget Gate \n", |
37 | 37 | "\n", |
38 | 38 | "The forget gate $f_t$ is responsible for deciding what information should be removed from\n", |
39 | | - "the cell state (memory). Consider the following sentences. Harry is a good singer. He lives in\n", |
| 39 | + "the cell state (memory). \n", |
| 40 | + "\n", |
| 41 | + "\n", |
| 42 | + "Consider the following sentences: Harry is a good singer. He lives in\n", |
40 | 43 | "New York. Zayn is also a good singer.\n", |
41 | 44 | "\n", |
42 | 45 | "As soon as we start talking about Zayn, the network will understand that the subject has\n", |
|
70 | 73 | "\n", |
71 | 74 | "\n", |
72 | 75 | "The input gate is responsible for deciding what information should be stored in the cell\n", |
73 | | - "state. Let's consider the same example. Harry is a good singer. He lives in New York. Zayn is\n", |
| 76 | + "state.\n", |
| 77 | + "\n", |
| 78 | + "Let's consider the same example: Harry is a good singer. He lives in New York. Zayn is\n", |
74 | 79 | "also a good singer.\n", |
| 80 | + "\n", |
| 81 | + "\n", |
75 | 82 | "After the forget gate removes information from the cell state, the input gate decides what\n", |
76 | 83 | "information it has to keep in the memory. Here, since the information about Harry is\n", |
77 | 84 | "removed from the cell state by the forget gate, the input gate decides to update the cell state\n", |
|
110 | 117 | "\n", |
111 | 118 | "We will have a lot of information in the cell state (memory). The output gate is responsible\n", |
112 | 119 | "for deciding what information should be taken from the cell state to give as an\n", |
113 | | - "output. Consider the following sentences. Zayn's debut album was a huge success. Congrats\n", |
| 120 | + "output. \n", |
| 121 | + "\n", |
| 122 | + "Consider the following sentences. Zayn's debut album was a huge success. Congrats\n", |
114 | 123 | "____.\n", |
| 124 | + "\n", |
| 125 | + "\n", |
115 | 126 | "The output gate will look up all the information in the cell state and select the correct\n", |
116 | 127 | "information to fill the blank. Here, congrats is an adjective which is used to describe a noun.\n", |
117 | 128 | "So the output gate will predict Zayn (noun), to fill the blank. Similar to other gates, it is also\n", |
|
0 commit comments