Delegate LM.ModelDownloadingProgressCallback
A delegate designed to monitor and report the progress of model downloading.
public delegate bool LM.ModelDownloadingProgressCallback(string path, long? contentLength, long bytesRead)
Parameters
pathstringThe path where the model is being downloaded.
contentLengthlong?The model size is given in bytes. A null value is returned if the content size cannot be obtained.
bytesReadlongTotal bytes read.
Returns
- bool
A boolean indicating whether loading should proceed.