Skip to contents

Copies the outputs of a run that trained elsewhere (through dragon_remote()) back into the local run directory: the adapter, the status, the progress log, the evaluation, and the sample generations. Afterwards dragon_status(), dragon_progress(), dragon_evaluate(), dragon_generate(), and dragon_merge() work as if the run had trained locally.

Usage

dragon_import(run, results)

Arguments

run

A dragon_run or run directory.

results

Path to the dragonfarm-results-<run id>.zip the notebook produced, or to a directory holding its unpacked contents.

Value

The run, invisibly.

Examples

if (FALSE) { # \dontrun{
dragon_import(run, "~/Downloads/dragonfarm-results-20260914-101500-qwen2-5-0-5b-instruct.zip")
} # }