From 38f75d568541172a3b38cf1f28739f2be9c630d3 Mon Sep 17 00:00:00 2001 From: Peter Tatkowski Date: Sun, 21 Jun 2020 16:50:40 +0200 Subject: [PATCH] Updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33201e4..ae43131 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ import torch model = Linformer( input_size=262144, # Dimension 1 of the input channels=64, # Dimension 2 of the input - dim_d=256, # The inner dimension of the attention heads + dim_d=None, # Overwrites the inner dim of the attention heads. If None, sticks with the recommended channels // nhead, as in the "Attention is all you need" paper dim_k=128, # The second dimension of the P_bar matrix from the paper dim_ff=128, # Dimension in the feed forward network dropout_ff=0.15, # Dropout for feed forward network