mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Reduce encoder-dim and num-heads of center stack.
This commit is contained in:
parent
cdd9cf695f
commit
cd36d149df
@ -136,14 +136,14 @@ def add_model_arguments(parser: argparse.ArgumentParser):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--num-heads",
|
"--num-heads",
|
||||||
type=str,
|
type=str,
|
||||||
default="4,4,8,16,32,16,8,4,4",
|
default="4,4,8,16,16,16,8,4,4",
|
||||||
help="Number of attention heads in the subformer encoder layers: a single int or comma-separated list.",
|
help="Number of attention heads in the subformer encoder layers: a single int or comma-separated list.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--encoder-dim",
|
"--encoder-dim",
|
||||||
type=str,
|
type=str,
|
||||||
default="256,384,512,768,1024,768,512,384,256",
|
default="256,384,512,768,768,768,512,384,256",
|
||||||
help="Embedding dimension in encoder stacks: a single int or comma-separated list."
|
help="Embedding dimension in encoder stacks: a single int or comma-separated list."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user