Commit Graph

12 Commits

Author SHA1 Message Date
Alex Muzio
a90950ea25 Merged PR 25154: Add model shapes flag to model_info.py script
Add model shapes flag to model_info.py script through `--matrix-shapes` flag

This will print something like:
```
...
encoder_l6_ffn_W1 (1024, 4096)
encoder_l6_ffn_W2 (4096, 1024)
encoder_l6_ffn_b1 (1, 4096)
encoder_l6_ffn_b2 (1, 1024)
encoder_l6_ffn_ffn_ln_bias (1, 1024)
encoder_l6_ffn_ffn_ln_scale (1, 1024)
encoder_l6_self_Wk (1024, 1024)
encoder_l6_self_Wo (1024, 1024)
encoder_l6_self_Wo_ln_bias (1, 1024)
encoder_l6_self_Wo_ln_scale (1, 1024)
encoder_l6_self_Wq (1024, 1024)
encoder_l6_self_Wv (1024, 1024)
encoder_l6_self_bk (1, 1024)
encoder_l6_self_bo (1, 1024)
encoder_l6_self_bq (1, 1024)
encoder_l6_self_bv (1, 1024)
special:model.yml (1264,)
```
2022-08-10 22:23:47 +00:00
Graeme Nail
4d44627f26
PyYaml safe_load instead of load (#913)
* pyyaml safe_load instead of load
* Update CHANGELOG
2022-02-10 11:20:27 +00:00
Kenneth Heafield
3c0c1e133b
python3 shebang from #620 (#621)
* python3 shebang from #620
* Add changelog entry for python3 change
2020-04-16 11:15:42 +01:00
Marcin Junczys-Dowmunt
209c1d4a4e add back execution rights for python/perl scripts 2019-04-30 12:52:13 -07:00
Roman Grundkiewicz
aed31cd5d5 Add script for injecting 'decoder_c_tt' 2018-10-09 13:36:17 +00:00
Roman Grundkiewicz
9101c00d31 Add option -f for printing whole arrays 2018-04-25 08:12:06 +00:00
Roman Grundkiewicz
ba0ea7491f Add printing value for any key from model.npz 2018-01-13 11:12:27 +00:00
Roman Grundkiewicz
43fbaa6c10 Add scripts printing special:mode.yml from model.npz 2018-01-12 11:39:19 +00:00
Roman Grundkiewicz
bbb96e2ad7 Rename script name 2017-11-07 12:47:15 +00:00
Roman Grundkiewicz
040caa0f6e Remove unwanted newline 2017-09-04 09:44:54 +00:00
Roman Grundkiewicz
9c30760615 Add script injecting s2s options to nematus .npz models 2017-09-01 14:13:38 +00:00
Marcin Junczys-Dowmunt
b5dfd43a52 make hard-attention models work 2017-07-10 18:14:43 +00:00