if (FALSE) {
# Quick setup with TinyLlama (downloads model, not run in checks)
setup <- edge_quick_setup("TinyLlama-1.1B")
ctx <- setup$context
if (!is.null(ctx)) {
response <- edge_completion(ctx, "Hello!")
cat("Response:", response, "\n")
edge_free_model(ctx)
}
}
Run the code above in your browser using DataLab