Searched refs:hparam_allow_override (Results 1 – 9 of 9) sorted by relevance
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/tests/ |
H A D | test_models.py | 34 def verify_get_model_with_hparam_allow_override(models, hparam_allow_override, predefined_args_dict, argument 39 if hparam_allow_override: 47 hparam_allow_override=hparam_allow_override, **{key: predefined_args[key]}) 49 expected = not hparam_allow_override and not key in mutable_args 57 def test_hparam_allow_override_gpt2(hparam_allow_override): argument 61 verify_get_model_with_hparam_allow_override(models, hparam_allow_override, predefined_args_dict,
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/src/gluonnlp/model/ |
H A D | language_model.py | 251 hparam_allow_override=False, **kwargs): argument 284 if not hparam_allow_override: 295 hparam_allow_override=False, **kwargs): argument 328 if not hparam_allow_override: 338 hparam_allow_override=False, **kwargs): argument 371 if not hparam_allow_override: 382 hparam_allow_override=False, **kwargs): argument 415 if not hparam_allow_override: 459 if not hparam_allow_override: 586 hparam_allow_override=False, **kwargs): argument [all …]
|
H A D | bert.py | 1099 hparam_allow_override=False, **kwargs): argument 1194 hparam_allow_override=hparam_allow_override, **kwargs) 1201 hparam_allow_override=False, **kwargs): argument 1254 hparam_allow_override=hparam_allow_override, **kwargs) 1294 if not hparam_allow_override: 1363 hparam_allow_override=hparam_allow_override, **kwargs) 1405 hparam_allow_override=hparam_allow_override, **kwargs) 1456 hparam_allow_override=hparam_allow_override, **kwargs) 1508 if not hparam_allow_override: 1547 hparam_allow_override=False, **kwargs): argument [all …]
|
H A D | transformer.py | 966 hparam_allow_override=False, **kwargs): argument 992 if not hparam_allow_override:
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/tests/unittest/ |
H A D | test_models.py | 265 def test_pretrained_bert_models_override(hparam_allow_override): argument 282 if hparam_allow_override: 286 hparam_allow_override=hparam_allow_override, 662 def verify_get_model_with_hparam_allow_override(models, hparam_allow_override, predefined_args_dict, argument 667 if hparam_allow_override: 675 hparam_allow_override=hparam_allow_override, **{param: predefined_args[param]}) 679 expected = not hparam_allow_override and not param in mutable_args 688 def test_hparam_allow_override_parameter_in_get_model_api(hparam_allow_override): argument 692 verify_get_model_with_hparam_allow_override(models, hparam_allow_override, predefined_args_dict, 698 verify_get_model_with_hparam_allow_override(models, hparam_allow_override, predefined_args_dict, [all …]
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/text_generation/model/ |
H A D | gpt.py | 397 hparam_allow_override=False, **kwargs): argument 429 if not hparam_allow_override:
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/ |
H A D | test_onnxruntime_nlp.py | 258 hparam_allow_override = True, 389 hparam_allow_override = True,
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/ |
H A D | test_onnxruntime_nlp.py | 258 hparam_allow_override = True, 389 hparam_allow_override = True,
|
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/bert/ |
H A D | pretraining_utils.py | 72 hparam_allow_override=True)
|