DIMER fine-tuner for the Mitra classifier pipeline. It fine-tunes AutoGluon's Mitra
(autogluon/mitra-classifier) on a
validated tabular-classification dataset, then writes the fine-tuner artifacts and a result.json
with metrics and provenance (see Outputs). See the model card
for the model's provenance, checksums, and licence.
Dockerfile into an ECR image and runs train.py.dimer-pipeline.json at the repo root defines the workbench preprocessing and fine-tuning
fields. The finetuner build re-reads it on every build.mitra-classifier-dataset-validator.Fine-tuning Mitra requires a GPU; on CPU its backward pass hits an unsupported low-precision
path. train.py detects the GPU at runtime:
fine_tune=True).fine_tune=False), automatically.Each run records the effective mode (fine-tune/zero-shot) and device in result.json.
The target's distinct values are the class labels. train.py infers binary versus
multiclass from the target's cardinality (2–10 classes; Mitra's ceiling is 10) and lets
AutoGluon load the Mitra classifier checkpoint accordingly.
Two images are provided: Dockerfile (the default — a lean CPU image, since the default DIMER
deployment provisions no GPU node pool and CPU builds stay within CodeBuild's 15-minute limit)
and Dockerfile.gpu (opt-in CUDA image for GPU-enabled environments, auto-falls back to CPU
zero-shot). DIMER always builds the root Dockerfile; for a GPU environment, rename
Dockerfile.gpu to Dockerfile before connecting the repo.
train.py materializes the DIMER fine-tuner artifact layout under DIMER_OUTPUT_DIR:
artifacts/best.pt — the exported model artifact (the name DIMER's exporter greps). Mitra has
no single weight file, so this is a zip of the AutoGluon predictor directory.evaluation/report.json — the evaluation metrics report.logs/run-summary.json — the run summary log.progress/epoch_0001.json — a single terminal progress record (Mitra exposes no per-epoch
loop, so there is exactly one).result.json carries the metrics and provenance, plus an artifacts object with
modelArtifact, evaluationReport, and logArtifact entries — each {path, name, contentType, sizeBytes}, path relative to the /data mount (fine-tuning/<run_id>/...). The raw AutoGluon
predictor directory is also left in place under mitra_predictor/.
The complete pipeline documentation, dataset specification, and the validator are in the mitra-classifier-pipeline project.
14 commits
Python
99.4%
DIMER fine-tuner for the Mitra classifier pipeline. It fine-tunes AutoGluon's Mitra
(autogluon/mitra-classifier) on a
validated tabular-classification dataset, then writes the fine-tuner artifacts and a result.json
with metrics and provenance (see Outputs). See the model card
for the model's provenance, checksums, and licence.
Dockerfile into an ECR image and runs train.py.dimer-pipeline.json at the repo root defines the workbench preprocessing and fine-tuning
fields. The finetuner build re-reads it on every build.mitra-classifier-dataset-validator.Fine-tuning Mitra requires a GPU; on CPU its backward pass hits an unsupported low-precision
path. train.py detects the GPU at runtime:
fine_tune=True).fine_tune=False), automatically.Each run records the effective mode (fine-tune/zero-shot) and device in result.json.
The target's distinct values are the class labels. train.py infers binary versus
multiclass from the target's cardinality (2–10 classes; Mitra's ceiling is 10) and lets
AutoGluon load the Mitra classifier checkpoint accordingly.
Two images are provided: Dockerfile (the default — a lean CPU image, since the default DIMER
deployment provisions no GPU node pool and CPU builds stay within CodeBuild's 15-minute limit)
and Dockerfile.gpu (opt-in CUDA image for GPU-enabled environments, auto-falls back to CPU
zero-shot). DIMER always builds the root Dockerfile; for a GPU environment, rename
Dockerfile.gpu to Dockerfile before connecting the repo.
train.py materializes the DIMER fine-tuner artifact layout under DIMER_OUTPUT_DIR:
artifacts/best.pt — the exported model artifact (the name DIMER's exporter greps). Mitra has
no single weight file, so this is a zip of the AutoGluon predictor directory.evaluation/report.json — the evaluation metrics report.logs/run-summary.json — the run summary log.progress/epoch_0001.json — a single terminal progress record (Mitra exposes no per-epoch
loop, so there is exactly one).result.json carries the metrics and provenance, plus an artifacts object with
modelArtifact, evaluationReport, and logArtifact entries — each {path, name, contentType, sizeBytes}, path relative to the /data mount (fine-tuning/<run_id>/...). The raw AutoGluon
predictor directory is also left in place under mitra_predictor/.
The complete pipeline documentation, dataset specification, and the validator are in the mitra-classifier-pipeline project.
14 commits
Python
99.4%