Learn R Programming

ggmlR (version 0.6.1)

ggml_load_weights: Load Model Weights from File

Description

Loads previously saved weights into a compiled model. The model architecture must match the saved weights (same layer types, sizes, and shapes).

Usage

ggml_load_weights(model, path)

Value

The model with loaded weights.

Arguments

model

A compiled ggml_sequential_model (same architecture as saved)

path

File path to load weights from