# \donttest{
model_path <- "model.gguf"
if (file.exists(model_path)) {
ctx <- edge_load_model(model_path)
result <- edge_completion(ctx, "The capital of France is", n_predict = 50)
cat(result)
edge_free_model(ctx)
}
# }
Run the code above in your browser using DataLab