Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a problem about LSTM #81

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

add a problem about LSTM #81

wants to merge 3 commits into from

Conversation

Hui-cd
Copy link
Contributor

@Hui-cd Hui-cd commented Sep 30, 2024

It is a regular LSTM layer, should be medium or hard diffcult

Copy link
Collaborator

@moe18 moe18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work, I had some issues with the rendering of the learn section, but the solution looks good and the overall learn section is nice!

<p>First time step ((t = 1)):</p>
<p>[
\begin{aligned}
f_1 &= \sigma(0.5 \times 1.0 + 0.1) = 0.6487 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should end each line with \ so it goes to the next line

<ul>
<li>(W_f, W_i, W_c, W_o) are weight matrices for the forget gate, input gate, cell state, and output gate respectively.</li>
<li>(b_f, b_i, b_c, b_o) are bias vectors.</li>
<li>(\sigma) is the sigmoid activation function.</li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be (\sigma) so it renders correctly

<li>(W_f, W_i, W_c, W_o) are weight matrices for the forget gate, input gate, cell state, and output gate respectively.</li>
<li>(b_f, b_i, b_c, b_o) are bias vectors.</li>
<li>(\sigma) is the sigmoid activation function.</li>
<li>(\circ) denotes element-wise multiplication.</li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be (\circ) so it renders correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants