Download text/G2PWModel/config.py from teststet/test2: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/teststet/test2/resolve/main/text/G2PWModel/config.py
- Command line
-
hf download hf://spaces/teststet/test2/text/G2PWModel/config.py
-
curl -L -o config.py https://huggingface.co/spaces/teststet/test2/resolve/main/text/G2PWModel/config.py
347 Bytes
| manual_seed = 1313 | |
| model_source = 'bert-base-chinese' | |
| window_size = 32 | |
| num_workers = 2 | |
| use_mask = True | |
| use_conditional = True | |
| param_conditional = { | |
| 'bias': True, | |
| 'char-linear': True, | |
| 'pos-linear': False, | |
| 'char+pos-second': True, | |
| } | |
| batch_size = 256 | |
| use_pos = True | |
| param_pos = { | |
| 'weight': 0.1, | |
| 'pos_joint_training': True, | |
| } | |