dragonfarm: Fine-Tune Small Language Models with LoRA from R

Fine-tune small (100M to 3B parameter) causal language models with LoRA (Low-Rank Adaptation) from R. Datasets are mapped to chat-format prompts and responses, training runs in a background 'Python' process built on Hugging Face 'transformers' and 'peft', and a 'shiny' app offers drag-and-drop dataset upload and column mapping. 'Python' dependencies are declared through 'reticulate' and resolved automatically on first use.

Package details

AuthorTejas Patel [aut, cre]
MaintainerTejas Patel <algocrat@gmail.com>
LicenseMIT + file LICENSE
Version0.3.4
URL https://github.com/tejas4patel/dragon-farm 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dragonfarm")

Try the dragonfarm package in your browser

Any scripts or data that you put into this service are public.

dragonfarm documentation built on Oct. 12, 2026, 5:07 p.m.