Man pages for dragonfarm
Fine-Tune Small Language Models with LoRA from R

dragon_appLaunch the dragon-farm app
dragon_archived_runsArchived runs
dragon_archive_runArchive, restore, or delete a run
dragon_backendInference backends
dragon_bundlePackage a run for a cloud GPU
dragon_cancelCancel a run
dragon_chatTalk to a model, with memory of the conversation
dragon_checkCheck the Python environment and hardware
dragon_codeR code that reproduces a run
dragon_compareCompare runs side by side
dragon_conversationsMulti-turn conversations as training data
dragon_datasetCreate a dataset for fine-tuning
dragon_evaluateEvaluate a finished run
dragon_example_dataPath to the bundled example dataset
dragon_export_ggufExport a merged model to GGUF
dragon_feedbackTraining data from chat feedback
dragon_generateGenerate replies from a fine-tuned model
dragon_hardwareHardware settings
dragon_importImport results trained on another machine
dragon_judgeJudge a run's replies with a language model
dragon_llm_anthropicLanguage models as functions: the Claude API and ellmer
dragon_loraLoRA settings
dragon_mapMap dataset columns to prompt, response, and system text
dragon_map_pairsMap columns for preference optimization
dragon_map_promptsMap columns for reinforcement learning
dragon_mergeMerge the adapter into the base model
dragon_metricsTask metrics for generated replies
dragon_pipelineRun several post-training stages as one pipeline
dragon_pipeline_cancelCancel a pipeline
dragon_pipeline_statusProgress of a pipeline
dragon_preferPreference optimization with DPO or ORPO
dragon_presetsRecommended small models
dragon_previewPreview mapped rows as chat turns
dragon_promptsPrompts from a run's data files
dragon_publishPush a run's model to the Hugging Face Hub
dragon_python_requirementsPython requirements used by dragonfarm
dragon_reinforceReinforcement learning with verifiable rewards (GRPO)
dragon_remoteOpen a cloud GPU provider for a bundled run
dragon_remote_providersCloud GPU providers
dragon_resumeResume a run from its latest checkpoint
dragon_rewardVerifiable rewards for reinforcement learning
dragon_runReopen an existing run
dragon_runsList runs
dragon_runs_dirDirectory where runs are stored
dragon_serve_ollamaServe a run's model with Ollama
dragon_splitHold out rows for evaluation
dragon_statusInspect a run
dragon_stepSteps of a post-training pipeline
dragon_synthesizeWrite fine-tuning data with a teacher model
dragon_synthesize_pairsBuild preference pairs from a model's own samples
dragon_trainFine-tune a model with LoRA
dragon_train_argsTraining settings
dragon_waitWait for a run to finish
dragon_worker_stopStop the local inference worker
dragonfarm documentation built on Oct. 12, 2026, 5:07 p.m.