{% extends "base.html" %} {% block title %}Trainline — psyc{% endblock %} {% block content %}

Trainline — Datasets

{{ datasets|length }} dataset{{ '' if datasets|length == 1 else 's' }}
{% if not datasets %}

No datasets yet. Run psyc train-build-all.

{% else %} {% for d in datasets %} {% endfor %}
DatasetExamplesSizeBuilt
{{ d.name }} {{ d.examples }} {{ d.size_bytes }} B {{ d.modified[:16] }}
{% endif %}

Trainline — Adapters

{{ adapters|length }} adapter{{ '' if adapters|length == 1 else 's' }}
{% if not adapters %}

No adapters yet. Build Dockerfile.train and run a QLoRA fine-tune.

{% else %}
{% for a in adapters %}

{{ a.name }}{% if a.has_adapter %} trained{% else %} incomplete{% endif %}

Base model
{{ a.base_model }}
Examples
{{ a.examples }}
Epochs
{{ a.epochs }}
LoRA r
{{ a.lora_r }}
Learning rate
{{ a.lr }}
Final train loss
{% if a.train_loss is not none %}{{ '%.4f'|format(a.train_loss) }}{% else %}— (trained before loss capture){% endif %}
Datasets
{% for ds in a.datasets %}{{ ds }} {% endfor %}{% if not a.datasets %}—{% endif %}
{% if a.loss_history %}

Loss by step

{% for h in a.loss_history %} {% endfor %}
StepEpochLoss
{{ h.step }}{{ h.epoch }}{{ '%.4f'|format(h.loss) }}
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}