Adds a checkpoint exported with Laya's export_onnx.py (or downloaded by
another tool) to layaR's model root, so laya_engine() finds it by name.
Arguments
- path
The export's folder: it holds
model.onnx(orencoder.onnxandhead.onnx),rl_agent_config.jsonand the tokenizer.- checkpoint
Which checkpoint the export is.
- method
"symlink"(the default) links to the folder without copying 1.3 GB;"copy"copies it, so the original can be deleted.- overwrite
Replace an installed model?