Skip to content

Commit df77e15

Browse files
committed
Update question number and tests.json
1 parent 08f842f commit df77e15

File tree

10 files changed

+0
-8
lines changed

10 files changed

+0
-8
lines changed

questions/151_implement_SwiGLU_activation_function/description.md renamed to questions/156_implement_SwiGLU_activation_function/description.md

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/example.json renamed to questions/156_implement_SwiGLU_activation_function/example.json

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/learn.md renamed to questions/156_implement_SwiGLU_activation_function/learn.md

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/meta.json renamed to questions/156_implement_SwiGLU_activation_function/meta.json

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/pytorch/solution.py renamed to questions/156_implement_SwiGLU_activation_function/pytorch/solution.py

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/pytorch/starter_code.py renamed to questions/156_implement_SwiGLU_activation_function/pytorch/starter_code.py

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/pytorch/tests.json renamed to questions/156_implement_SwiGLU_activation_function/pytorch/tests.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
"test": "print(torch.round(SwiGLU(torch.tensor([[1.0, -1.0, 2.0, -2.0]])), decimals=4))",
88
"expected_output": "tensor([[1.7616, 0.2384]])"
99
},
10-
{
11-
"test": "print(torch.round(SwiGLU(torch.tensor([[1, -1, 1000, -1000]])), decimals=4))",
12-
"expected_output": "tensor([[1000., 0.]])"
13-
},
1410
{
1511
"test": "print(torch.round(SwiGLU(torch.tensor([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]])), decimals=4))",
1612
"expected_output": "tensor([[2.8577, 7.8561], [34.9681, 47.9839], [98.9984, 119.9992]])"

questions/151_implement_SwiGLU_activation_function/solution.py renamed to questions/156_implement_SwiGLU_activation_function/solution.py

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/starter_code.py renamed to questions/156_implement_SwiGLU_activation_function/starter_code.py

File renamed without changes.

questions/151_implement_SwiGLU_activation_function/tests.json renamed to questions/156_implement_SwiGLU_activation_function/tests.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
"test": "print(np.round(SwiGLU(np.array([[1.0, -1.0, 2.0, -2.0]])), 4))",
88
"expected_output": "[[1.7616, 0.2384]]"
99
},
10-
{
11-
"test": "print(np.round(SwiGLU(np.array([[1, -1, 1000, -1000]])), 4))",
12-
"expected_output": "[[1000., 0.]]"
13-
},
1410
{
1511
"test": "print(np.round(SwiGLU(np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]])), 4))",
1612
"expected_output": "[[2.8577, 7.8561], [34.9681, 47.9839], [98.9983, 119.9993]]"

0 commit comments

Comments
 (0)