Skip to content

Proposal for training hooks #53

@lintool

Description

@lintool

As a recap, here's where we're at: we have the init, index, and search hooks fleshed out reasonably well, with the following "canonical" execution sequence:

[init] -> [index: save-to-snapshot] -> [load-from-snapshot: search]

A proposal to add in a training hook is as follows:

[init] -> [index: save-to-snapshot1] -> [load-from-snapshot1: train: save-to-snapshot2]
       -> [load-from-snapshot2: test]

The train hook would get the topics and qrels as input. As part of the contract, the jig would manage the snapshotting, so the from the perspective of the container, it would be as if, init, index, train, test ran in an uninterrupted sequence.

The snapshotting allows the jig to efficiently retrain different models (if the image supports it), and to test on different held-out test sets.

Also, we would propose a cross-validation hook, e.g.,

[init] -> [index: save-to-snapshot] -> [load-from-snapshot: xvalidate]

The input to the cross-validation hook would contain the topic, qrels, and folds.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions