DocsFine-tuning
Datasets
The required columns depend on the training method. Map your columns, inspect the preview and reserve separate records for evaluation before submitting the job.
Accepted formats
.csv, .tsv, .json, .jsonl and .parquet. Columns are auto-mapped to the task schema by name similarity; if the guess is wrong you can remap in the UI or via POST /api/datasets/{id}/remap.
Schemas by task
| Task | Required columns |
|---|---|
| Hugin (reasoning) | question, answer — answers must be exactly checkable for GRPO rewards |
| Munin (knowledge) | fact or question, answer pairs |
| Skuld DPO | prompt, chosen, rejected |
| LoRA / QLoRA / Full | prompt, response |
Import sources
For private S3-compatible storage, set up your workspace connection before importing.
| Source | How |
|---|---|
| File upload | Drag a file onto the create form, or POST /api/datasets/upload with multipart fields task, role, file. |
| Hugging Face Hub | Paste a dataset id (e.g. tatsu-lab/alpaca); configs and splits are listed automatically and streamed in without a local download. |
| URL | Any public link to a file in an accepted format. |
| Cloud storage | S3, GCS and Azure Blob URIs (e.g. s3://bucket/train.parquet) with optional credentials. |
curl -X POST https://ragnarok-ai.com/api/datasets/import \
-H "Content-Type: application/json" \
-d '{
"task": "lora", "role": "train", "source": "hf",
"params": {"dataset": "tatsu-lab/alpaca", "split": "train"}
}'Validation splits
Enable model validation and either auto-split a percentage from the training file (default 10%) or upload a separate held-out benchmark set. The held-out rows are evaluated on the base model before training and on the tuned model after, so every delta in the report is attributable to tuning.